commit dae9f6a83df37576fbb3753492fe6a1094d92248
Author: Georg Baum <[email protected]>
Date:   Sun Apr 24 21:06:12 2016 +0200

    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.

diff --git a/development/tools/mergepo.py b/development/tools/mergepo.py
index 577f348..a86b75d 100755
--- a/development/tools/mergepo.py
+++ b/development/tools/mergepo.py
@@ -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:

Reply via email to