mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Firefox: set "en" as default locale
This commit is contained in:
parent
782f8d441d
commit
aa2dc049a2
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue