Trad: Fix activity box translation
This commit is contained in:
parent
8e6cde61c0
commit
5d357c7736
@ -71,7 +71,7 @@ class box_activity extends ModeleBoxes
|
|||||||
|
|
||||||
$nbofyears=2;
|
$nbofyears=2;
|
||||||
if (! empty($conf->global->MAIN_BOX_ACTIVITY_DURATION)) $nbofyears=$conf->global->MAIN_BOX_ACTIVITY_DURATION;
|
if (! empty($conf->global->MAIN_BOX_ACTIVITY_DURATION)) $nbofyears=$conf->global->MAIN_BOX_ACTIVITY_DURATION;
|
||||||
$textHead = $langs->trans("Activity").' ('.$nbofyears.' '.$langs->trans("years").')';
|
$textHead = $langs->trans("Activity").' ('.$nbofyears.' '.$langs->trans("DurationYears").')';
|
||||||
$this->info_box_head = array('text' => $textHead, 'limit'=> dol_strlen($textHead));
|
$this->info_box_head = array('text' => $textHead, 'limit'=> dol_strlen($textHead));
|
||||||
|
|
||||||
// compute the year limit to show
|
// compute the year limit to show
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user