mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Update fuzzy translations without -o
This is what the polib version does already. If a translation is marked fuzzy then it is not used, so if the other file contains a non-fuzzy translation we do not throw away useful information if we overtake it.
This commit is contained in:
parent
499ffc3c13
commit
05ef47f47c
@ -67,7 +67,7 @@ def translate(msgid, flags, msgstr_lines, po2, options):
|
||||
if msgstr == other.msgstr:
|
||||
return 0
|
||||
else:
|
||||
if msgstr != '':
|
||||
if msgstr != '' and not u'fuzzy' in flags:
|
||||
return 0
|
||||
other = po2.find(msgid)
|
||||
if not other:
|
||||
|
Loading…
Reference in New Issue
Block a user