Commit f99dda79 authored by Michal Čihař's avatar Michal Čihař

Fix handling plurals in new QT TS file

Fixes rb#381
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent b50f0b6c
......@@ -926,7 +926,10 @@ class TSFormat(FileFormat):
for unit in store.units:
if unit.istranslatable():
unit.markfuzzy()
unit.settarget('')
if unit.hasplural():
unit.settarget([''])
else:
unit.settarget('')
store.savefile(filename)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment