1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-26 18:10:39 +12:00

Miscellaneous changes

This commit is contained in:
Deathamns 2015-01-11 18:41:52 +01:00 committed by gorhill
parent b95f974586
commit b2c9dda8be

View file

@ -25,7 +25,7 @@ target_locale_dir = pj(build_dir, 'locale')
language_codes = []
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')
with open(locale_path, encoding='utf-8') as f:
string_data = json.load(f, object_pairs_hook=OrderedDict)