Content deleted Content added
No edit summary |
No edit summary |
||
Line 80:
lang_obj = mw.getLanguage (lang); -- make a language object for the current language
for i, en_month in ipairs (en_months_t) do -- spin through the English month-names table
month_names_t[index_name] = en_month; -- translate the English name to the current language and store in the translations table; first day of month required -- month_names_t[lang_obj:formatDate('F', '1 ' ..en_month):lower()] = en_month; -- translate the English name to the current language and store in the translations table; first day of month required
if 'pl' == lang then -- for polish and other languages that have nominative and genitive forms
month_names_t[lang_obj:formatDate('xg', en_month):lower()] = en_month; -- translate English to genitive form and save
|