浏览代码

Fix translation

Laurent Destailleur 9 年之前
父节点
当前提交
c6ab11a9e5
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      htdocs/langs/en_US/errors.lang
  2. 1 1
      htdocs/projet/element.php

+ 1 - 1
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.

+ 1 - 1
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