diff --git a/htdocs/index.php b/htdocs/index.php
index 63b3a1fa689..2843289c557 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -539,7 +539,8 @@ if ($showweather)
$boxwork.='
';
$text='';
if ($totallate > 0) $text=$langs->transnoentitiesnoconv("WarningYouHaveAtLeastOneTaskLate").' ('.$langs->transnoentitiesnoconv("NActionsLate",$totallate.(!empty($conf->global->MAIN_USE_METEO_WITH_PERCENTAGE) ? '%' : '')).')';
- $text.='. '.$langs->trans("LateDesc");
+ else $text=$langs->transnoentitiesnoconv("NoItemLate");
+ $text.='. '.$langs->transnoentitiesnoconv("LateDesc");
//$text.=$form->textwithpicto('',$langs->trans("LateDesc"));
$options='height="64px"';
$boxwork.=showWeather($totallate,$text,$options);
diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang
index a76a0218cdd..c9320a9ebb1 100644
--- a/htdocs/langs/en_US/main.lang
+++ b/htdocs/langs/en_US/main.lang
@@ -507,6 +507,7 @@ NoneF=None
NoneOrSeveral=None or several
Late=Late
LateDesc=Delay to define if a record is late or not depends on your setup. Ask your admin to change delay from menu Home - Setup - Alerts.
+NoItemLate=No late item
Photo=Picture
Photos=Pictures
AddPhoto=Add picture
|