Added japanese, croatian and serbian

This commit is contained in:
Manuel Cortez 2015-09-23 10:01:22 -05:00
parent 89e39e2168
commit 6022cecad1

View File

@ -69,6 +69,7 @@ def getLanguageDescription(language):
"ar":pgettext("languageName","Arabic"), "ar":pgettext("languageName","Arabic"),
"ne":pgettext("languageName","Nepali"), "ne":pgettext("languageName","Nepali"),
"sr":pgettext("languageName","Serbian (Latin)"), "sr":pgettext("languageName","Serbian (Latin)"),
"ja":pgettext("languageName","Japanese"),
}.get(language,None) }.get(language,None)
return desc return desc
@ -195,10 +196,13 @@ def langToWindowsLocale(lang):
"gl": "glc", "gl": "glc",
"eu": "euq", "eu": "euq",
"hu": "hun", "hu": "hun",
"hr": "hrv",
"it": "ita", "it": "ita",
"ja": "jpn",
"pl": "plk", "pl": "plk",
"pt": "ptb", "pt": "ptb",
"ru": "rus", "ru": "rus",
"tr": "trk" "tr": "trk",
"sr": "eng",
} }
return languages[lang] return languages[lang]