After all, I created some changes against Contao 2.9.1.
Basically, I added three new variables to a language file of backend, default.php:
Code:
$GLOBALS['TL_LANG']['MSC']['yearSuffix'] = '';
$GLOBALS['TL_LANG']['MSC']['monthyearOrder'] = 1;
$GLOBALS['TL_LANG']['MSC']['wdayLetterCount'] = 2;
In Japanese version:
Code:
$GLOBALS['TL_LANG']['MSC']['yearSuffix'] = '?';
$GLOBALS['TL_LANG']['MSC']['monthyearOrder'] = 0;
$GLOBALS['TL_LANG']['MSC']['wdayLetterCount'] = 1;
- 'yearSuffix' adds suffix (or units) for year.[/*:m:1h2bmhlr]
- 'monthyearOrder' define order of "month" and "year".[/*:m:1h2bmhlr]
- 'wdayLetterCount' is number of letter to be used for week of day in mini calendar.[/*:m:1h2bmhlr]
Attached zip file contains patch for these files. (Oops, library/Date.php isn't need to be changed
and it contains some trial code...)
Code:
libraries/Date.php
modules/backend/languages/en/default.php
modules/backend/languages/ja/default.php
modules/calendar/Events.php
modules/calendar/ModuleCalendar.php
modules/calendar/ModuleEventMenu.php
modules/calendar/ModuleEventlist.php
modules/calendar/templates/cal_mini.tpl
modules/calendar/templates/mod_eventmenu.tpl
modules/frontend/Module.php
modules/news/ModuleNewsArchive.php
modules/news/ModuleNewsMenu.php
modules/news/templates/mod_newsmenu.tpl
modules/news/templates/mod_newsmenu_day.tpl
Best regards.
Bookmarks