From bbc3e4a3d7781b8d14614ecaf5792012a77a2466 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 14 Dec 2018 09:43:59 +0100 Subject: [PATCH] Minor - update var langs --- main/lp/lp_edit.php | 2 +- main/lp/lp_list.php | 2 +- main/template/default/learnpath/view.tpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/lp/lp_edit.php b/main/lp/lp_edit.php index 35ecb14ffe..184247f9e9 100755 --- a/main/lp/lp_edit.php +++ b/main/lp/lp_edit.php @@ -162,7 +162,7 @@ $form->addElement('html', ''); // 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; } diff --git a/main/lp/lp_list.php b/main/lp/lp_list.php index 00799b0a8b..725b4cd1d3 100755 --- a/main/lp/lp_list.php +++ b/main/lp/lp_list.php @@ -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 ) ); diff --git a/main/template/default/learnpath/view.tpl b/main/template/default/learnpath/view.tpl index 20f6386513..9d18eb6450 100644 --- a/main/template/default/learnpath/view.tpl +++ b/main/template/default/learnpath/view.tpl @@ -75,7 +75,7 @@ }) - {{ "ExceedingMinimumTime"|get_lang|format(lp_accumulate_work_time) }} + {{ "TimeSpentInLp"|get_lang|format(lp_accumulate_work_time) }}