mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-01-31 05:10:45 -06:00
Added japanese, croatian and serbian
This commit is contained in:
parent
89e39e2168
commit
6022cecad1
@ -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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user