the new translate-toolkit does not need "removeblanks" anymore
This commit is contained in:
parent
81e5a2e8fd
commit
1f75580b95
1 changed files with 0 additions and 2 deletions
|
@ -170,12 +170,10 @@ def process_language_file(hdf_file, po_dir, textDomain):
|
|||
for po_unit in po_data.units:
|
||||
po_unit.settarget(po_unit.getsource())
|
||||
po_data.removeduplicates()
|
||||
po_data.removeblanks()
|
||||
po_data.savefile(po_file)
|
||||
else:
|
||||
po_content = translate.storage.po.pofile.parsefile(po_file)
|
||||
po_content.removeduplicates()
|
||||
po_content.removeblanks()
|
||||
po_content.savefile(po_file)
|
||||
revert_if_unchanged(po_file)
|
||||
## make it writeable for pootle
|
||||
|
|
Loading…
Add table
Reference in a new issue