From aa2dc049a24ff52d4f7ccebd43d85022ab977738 Mon Sep 17 00:00:00 2001 From: Deathamns Date: Fri, 19 Dec 2014 13:15:43 +0100 Subject: [PATCH] Firefox: set "en" as default locale --- tools/make-firefox-meta.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/make-firefox-meta.py b/tools/make-firefox-meta.py index c1fce916a..a8c066bf5 100644 --- a/tools/make-firefox-meta.py +++ b/tools/make-firefox-meta.py @@ -50,10 +50,11 @@ for alpha2 in os.listdir(source_locale_dir): chrome_manifest = pj(build_dir, 'chrome.manifest') 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: - f.write('locale ublock ' + alpha2 + ' ./locale/' + alpha2 + '/\n') + if alpha2 != 'en': + f.write('locale ublock ' + alpha2 + ' ./locale/' + alpha2 + '/\n') rmtree(source_locale_dir)