From 141ca202692bba34f1831e92c8f679514b7a9f46 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 15 Jan 2020 14:44:53 +0100 Subject: [PATCH] Trans --- htdocs/holiday/card.php | 6 +++++- htdocs/langs/en_US/holiday.lang | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/htdocs/holiday/card.php b/htdocs/holiday/card.php index f6484a313aa..b55c5468a09 100644 --- a/htdocs/holiday/card.php +++ b/htdocs/holiday/card.php @@ -1278,9 +1278,13 @@ else print ''; print ''; } + // Nb of days print ''; - print ''.$langs->trans('NbUseDaysCP').''; + print ''; + $htmlhelp = $langs->trans('NbUseDaysCPHelp'); + print $form->textwithpicto($langs->trans('NbUseDaysCP'), $htmlhelp); + print ''; print ''.num_open_day($object->date_debut_gmt, $object->date_fin_gmt, 0, 1, $object->halfday).''; print ''; diff --git a/htdocs/langs/en_US/holiday.lang b/htdocs/langs/en_US/holiday.lang index 69b6a698e1a..e30366286fe 100644 --- a/htdocs/langs/en_US/holiday.lang +++ b/htdocs/langs/en_US/holiday.lang @@ -39,6 +39,7 @@ TypeOfLeaveId=Type of leave ID TypeOfLeaveCode=Type of leave code TypeOfLeaveLabel=Type of leave label NbUseDaysCP=Number of days of vacation consumed +NbUseDaysCPHelp=The calculation takes into account the non working days and the holidays defined in the dictionary NbUseDaysCPShort=Days consumed NbUseDaysCPShortInMonth=Days consumed in month DateStartInMonth=Start date in month