Initialize other langauges, update README to provide more information, simplify the langauge codes

This commit is contained in:
blitzmann
2020-06-30 23:33:34 -04:00
parent 4d49512a7e
commit 29f6ac0d99
9 changed files with 13662 additions and 29 deletions

View File

@@ -538,13 +538,17 @@ class GraphSettings:
class LocaleSettings:
_instance = None
DEFAULT = "en_US"
DEFAULT = "en"
supported_langauges = {
"en_US": wx.LANGUAGE_ENGLISH_US,
"zh_CN": wx.LANGUAGE_CHINESE_SIMPLIFIED,
# todo: add the others that EVE supports
}
"en": wx.LANGUAGE_ENGLISH_US,
"fr": wx.LANGUAGE_FRENCH,
"it": wx.LANGUAGE_ITALIAN,
"ja": wx.LANGUAGE_JAPANESE,
"ko": wx.LANGUAGE_KOREAN,
"ru": wx.LANGUAGE_RUSSIAN,
"zh": wx.LANGUAGE_CHINESE_SIMPLIFIED,
}
@classmethod
def getInstance(cls):