From 22aa4adc6ea23849a9223b0dd2d893fa4e62ad62 Mon Sep 17 00:00:00 2001 From: David Sangrey Date: Sun, 27 Apr 2025 13:21:00 -0400 Subject: [PATCH] [Minor] Remove Debug Print Statements --- l10n.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/l10n.py b/l10n.py index e1efb70a..e3403a06 100755 --- a/l10n.py +++ b/l10n.py @@ -307,14 +307,12 @@ class _Locale: else: current_locale = win32api.GetUserDefaultLangID() lang = locale.windows_locale[current_locale] - print(lang) # HACK: | 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