Minor - update var langs

pull/2757/head
Julio Montoya 8 years ago
parent b70f12622a
commit bbc3e4a3d7
  1. 2
      main/lp/lp_edit.php
  2. 2
      main/lp/lp_list.php
  3. 2
      main/template/default/learnpath/view.tpl

@ -162,7 +162,7 @@ $form->addElement('html', '</div>');
// Time Control
if (api_get_configuration_value('lp_minimum_time')) {
$accumulateTime = $_SESSION['oLP']->getAccumulateWorkTime();
$form->addText('accumulate_work_time', [get_lang('LearnpathTimeIn'), get_lang('LpAccumulateTimeDescription')]);
$form->addText('accumulate_work_time', [get_lang('LpMinTime'), get_lang('LpMinTimeDescription')]);
$defaults['accumulate_work_time'] = $accumulateTime;
}

@ -449,7 +449,7 @@ foreach ($categories as $item) {
if ($lpTime < ($accumulateWorkTime * 60)) {
$linkMinTime = Display::return_icon(
'warning.png',
get_lang('LpMessageTimeMin').' - '.api_time_to_hms($lpTime).' / '.api_time_to_hms(
get_lang('LpMinTimeWarning').' - '.api_time_to_hms($lpTime).' / '.api_time_to_hms(
$accumulateWorkTime * 60
)
);

@ -75,7 +75,7 @@
})
</script>
<b>
{{ "ExceedingMinimumTime"|get_lang|format(lp_accumulate_work_time) }}
{{ "TimeSpentInLp"|get_lang|format(lp_accumulate_work_time) }}
</b>
<div id="progress_bar">
<div class="progress">

Loading…
Cancel
Save