From c6ab11a9e54f73d5ff32172f63a0462ddbaff85b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Sat, 9 Jul 2016 15:44:03 +0200 Subject: [PATCH] Fix translation --- htdocs/langs/en_US/errors.lang | 2 +- htdocs/projet/element.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/langs/en_US/errors.lang b/htdocs/langs/en_US/errors.lang index 3c5d0e1cf12..acbb0e286b9 100644 --- a/htdocs/langs/en_US/errors.lang +++ b/htdocs/langs/en_US/errors.lang @@ -192,5 +192,5 @@ WarningClickToDialUserSetupNotComplete=Setup of ClickToDial information for your WarningFeatureDisabledWithDisplayOptimizedForBlindNoJs=Feature disabled when display setup is optimized for blind person or text browsers. WarningPaymentDateLowerThanInvoiceDate=Payment date (%s) is earlier than invoice date (%s) for invoice %s. WarningTooManyDataPleaseUseMoreFilters=Too many data (more than %s lines). Please use more filters or set the constant %s to a higher limit. -WarningSomeLinesWithNullHourlyRate=Some times were recorded by users when their hourly rate was not defined. A value of 0 was used but this may result in wrong valuation of time spent. +WarningSomeLinesWithNullHourlyRate=Some times were recorded by some users while their hourly rate was not defined. A value of 0 %s per hour was used but this may result in wrong valuation of time spent. WarningYourLoginWasModifiedPleaseLogin=Your login was modified. For security purpose you will have to login with your new login before next action. diff --git a/htdocs/projet/element.php b/htdocs/projet/element.php index 1664f2e7269..a28ed69ab23 100644 --- a/htdocs/projet/element.php +++ b/htdocs/projet/element.php @@ -801,7 +801,7 @@ foreach ($listofreferent as $key => $value) if ($tmp['nblinesnull'] > 0) { $langs->load("errors"); - $warning=$langs->trans("WarningSomeLinesWithNullHourlyRate"); + $warning=$langs->trans("WarningSomeLinesWithNullHourlyRate", $conf->currency); } } else -- GitLab