mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-05-05 01:41:03 +03:00
[Minor] Remove Debug Print Statements
This commit is contained in:
parent
e8497c22e6
commit
22aa4adc6e
4
l10n.py
4
l10n.py
@ -307,14 +307,12 @@ class _Locale:
|
||||
else:
|
||||
current_locale = win32api.GetUserDefaultLangID()
|
||||
lang = locale.windows_locale[current_locale]
|
||||
print(lang)
|
||||
# HACK: <n/a> | 2021-12-11: OneSky calls "Chinese Simplified" "zh-Hans"
|
||||
# in the name of the file, but that will be zh-CN in terms of
|
||||
# locale. So map zh-CN -> zh-Hans
|
||||
languages = [lang.replace('_', '-')] if lang else []
|
||||
languages = ['zh-Hans' if lang == 'zh-CN' else lang for lang in languages]
|
||||
print(languages)
|
||||
return ['en-US']
|
||||
return languages
|
||||
|
||||
|
||||
# singletons
|
||||
|
Loading…
x
Reference in New Issue
Block a user