1
0
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:
David Sangrey 2025-04-27 13:21:00 -04:00
parent e8497c22e6
commit 22aa4adc6e
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC

View File

@ -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