Skip to content

Commit

Permalink
Untranslatable token Calendar in datepicker
Browse files Browse the repository at this point in the history
  • Loading branch information
aspangaro committed Dec 2, 2014
1 parent a81c483 commit 5a05d4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/core/datepicker.php
Expand Up @@ -39,6 +39,7 @@

if (GETPOST('lang')) $langs->setDefaultLang(GETPOST('lang')); // If language was forced on URL by the main.inc.php
$langs->load("main");
$langs->load("agenda");
$right=($langs->trans("DIRECTION")=='rtl'?'left':'right');
$left=($langs->trans("DIRECTION")=='rtl'?'right':'left');

Expand All @@ -57,7 +58,7 @@
}
else
{
print '<title>Calendar</title>';
print '<title>'.$langs->trans("Calendar").'</title>';
}

// Define tradMonths javascript array (we define this in datapicker AND in parent page to avoid errors with IE8)
Expand Down

0 comments on commit 5a05d4a

Please sign in to comment.