mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-08-28 18:51:34 +00:00
German and croatian are added to language handler, message logs format has changed to partially fix #5
This commit is contained in:
@@ -165,7 +165,7 @@ def setLanguage(lang):
|
||||
trans=gettext.translation("twblue",fallback=True)
|
||||
curLang="en"
|
||||
trans.install(unicode=True)
|
||||
log.debug("Current language: %s" % (curLang,))
|
||||
# log.debug(u"Current language: %s" % (curLang,))
|
||||
# Install our pgettext function.
|
||||
# __builtin__.__dict__["pgettext"] = makePgettext(trans)
|
||||
|
||||
@@ -191,11 +191,13 @@ def langToWindowsLocale(lang):
|
||||
languages = {"en": "eng",
|
||||
"ar": "ara",
|
||||
"ca": "cat",
|
||||
"de": "deu",
|
||||
"es": "esp",
|
||||
"fi": "fin",
|
||||
"fr": "fre_FRA",
|
||||
"gl": "glc",
|
||||
"eu": "euq",
|
||||
"hr": "hrv",
|
||||
"hu": "hun",
|
||||
"it": "ita",
|
||||
"pl": "plk",
|
||||
|
Reference in New Issue
Block a user