Browse Source

Miscellaneous changes

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
b2c9dda8be
  1. 2
      tools/make-firefox-meta.py

2
tools/make-firefox-meta.py

@ -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…
Cancel
Save