mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-09-30 09:06:56 +13:00
Miscellaneous changes
This commit is contained in:
parent
b95f974586
commit
b2c9dda8be
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ target_locale_dir = pj(build_dir, 'locale')
|
||||||
language_codes = []
|
language_codes = []
|
||||||
description = ''
|
description = ''
|
||||||
|
|
||||||
for alpha2 in os.listdir(source_locale_dir):
|
for alpha2 in sorted(os.listdir(source_locale_dir)):
|
||||||
locale_path = pj(source_locale_dir, alpha2, 'messages.json')
|
locale_path = pj(source_locale_dir, alpha2, 'messages.json')
|
||||||
with open(locale_path, encoding='utf-8') as f:
|
with open(locale_path, encoding='utf-8') as f:
|
||||||
string_data = json.load(f, object_pairs_hook=OrderedDict)
|
string_data = json.load(f, object_pairs_hook=OrderedDict)
|
||||||
|
|
Loading…
Reference in a new issue