Browse Source

Firefox: set "en" as default locale

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

3
tools/make-firefox-meta.py

@ -50,9 +50,10 @@ for alpha2 in os.listdir(source_locale_dir):
chrome_manifest = pj(build_dir, 'chrome.manifest') chrome_manifest = pj(build_dir, 'chrome.manifest')
with open(chrome_manifest, 'at', encoding='utf-8', newline='\n') as f: with open(chrome_manifest, 'at', encoding='utf-8', newline='\n') as f:
f.write('\n')
f.write('\nlocale ublock en ./locale/en/\n')
for alpha2 in language_codes: for alpha2 in language_codes:
if alpha2 != 'en':
f.write('locale ublock ' + alpha2 + ' ./locale/' + alpha2 + '/\n') f.write('locale ublock ' + alpha2 + ' ./locale/' + alpha2 + '/\n')
rmtree(source_locale_dir) rmtree(source_locale_dir)

Loading…
Cancel
Save