Label week too long with some language

This commit is contained in:
Laurent Destailleur 2016-08-02 23:33:31 +02:00
parent 88dcb27981
commit 216ec6ac4b
2 changed files with 2 additions and 1 deletions

View File

@ -256,6 +256,7 @@ DurationDays=days
Year=Year
Month=Month
Week=Week
WeekShort=Week
Day=Day
Hour=Hour
Minute=Minute

View File

@ -291,7 +291,7 @@ $param=($mode?'&mode='.$mode:'');
// Show navigation bar
$nav ="<a href=\"?year=".$prev_year."&amp;month=".$prev_month."&amp;day=".$prev_day.$param."\">".img_previous($langs->trans("Previous"))."</a>\n";
$nav.=" <span id=\"month_name\">".dol_print_date(dol_mktime(0,0,0,$first_month,$first_day,$first_year),"%Y").", ".$langs->trans("Week")." ".$week." </span>\n";
$nav.=" <span id=\"month_name\">".dol_print_date(dol_mktime(0,0,0,$first_month,$first_day,$first_year),"%Y").", ".$langs->trans("WeekShort")." ".$week." </span>\n";
$nav.="<a href=\"?year=".$next_year."&amp;month=".$next_month."&amp;day=".$next_day.$param."\">".img_next($langs->trans("Next"))."</a>\n";
$nav.=" &nbsp; (<a href=\"?year=".$nowyear."&amp;month=".$nowmonth."&amp;day=".$nowday.$param."\">".$langs->trans("Today")."</a>)";
$nav.='<br>'.$form->select_date(-1,'',0,0,2,"addtime",1,0,1).' ';