Open planetis-m opened 1 month ago
Oh boy: https://github.com/izimobil/polib/blob/85f6d1cf727452c2fcc7cf15f4c21e273d704b79/polib.py#L1360-L1361 Edit: dirty hack:
if tokens[0] == '#~|':
# continue
tokens[0] = '#|'
line = '#|' + line[3:]
self.entry_obsolete = 1
Repro:
The .po file's contents:
After running b.py