Skip to content

Commit 099a5a3

Browse files
committed
Deleted comments
1 parent 55af49e commit 099a5a3

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

remove-json-keys/src/remove_json_keys/lib/language.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ def get_msgs(cli: sn, lang_code: str = 'en') -> sn:
6767
mod_root_path / '_locales/en/messages.json'))
6868

6969
if not lang_code.startswith('en'): # fetch non-English msgs from jsDelivr
70-
# Check if terminal supports non-Latin scripts
7170
non_latin_locales = data.json.read(mod_root_path / 'assets/data/non_latin_locales.json')
7271
if lang_code.split('-')[0] in non_latin_locales and not env.can_render_non_latin_scripts():
7372
return sn(**msgs) # en ones

translate-messages/src/translate_messages/lib/language.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ def get_msgs(cli: sn, lang_code: str = 'en') -> sn:
9999
mod_root_path / '_locales/en/messages.json'))
100100

101101
if not lang_code.startswith('en'): # fetch non-English msgs from jsDelivr
102-
# Check if terminal supports non-Latin scripts
103102
non_latin_locales = data.json.read(mod_root_path / 'assets/data/non_latin_locales.json')
104103
if lang_code.split('-')[0] in non_latin_locales and not env.can_render_non_latin_scripts():
105104
return sn(**msgs) # en ones

0 commit comments

Comments
 (0)