mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-29 11:30:20 +12:00
this fixes https://github.com/chrisaljoudi/uBlock/issues/1219 for Firefox
This commit is contained in:
parent
d7418c9c45
commit
f3f461e94c
|
@ -56,13 +56,13 @@ for alpha2 in sorted(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(u'\nlocale ublock en ./locale/en/\n')
|
||||
f.write(u'\nlocale ublock0 en ./locale/en/\n')
|
||||
|
||||
for alpha2 in language_codes:
|
||||
if alpha2 == 'en':
|
||||
continue
|
||||
|
||||
f.write(u'locale ublock ' + alpha2 + ' ./locale/' + alpha2 + '/\n')
|
||||
f.write(u'locale ublock0 ' + alpha2 + ' ./locale/' + alpha2 + '/\n')
|
||||
|
||||
rmtree(source_locale_dir)
|
||||
|
||||
|
|
Loading…
Reference in a new issue