|
|
@ -36,8 +36,7 @@ def merge_translations(filelist): |
|
|
|
elif merged_trnsl and i == filelist[0]: |
|
|
|
# In the absence of Devuan translations for forked packages, just |
|
|
|
# remove upstream ones in case they are incorrect. |
|
|
|
from re import sub as re_sub |
|
|
|
en_trnsl = re_sub('-[a-z]{2}(_[A-Z]{2})?', '-en', i) |
|
|
|
en_trnsl = join(dirname(i),'Translation-en.bz2') |
|
|
|
tfile = bz2_open(en_trnsl).read() |
|
|
|
tfile = tfile.decode('utf-8') |
|
|
|
trnsl = parse_packages(tfile) |
|
|
|