diff --git a/po/Makevars b/po/Makevars index 67434a5f..4e2ea72a 100644 --- a/po/Makevars +++ b/po/Makevars @@ -17,3 +17,6 @@ COPYRIGHT_HOLDER = Free Software Foundation, Inc. # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = + +# Don't do fuzzy matching when merging the PO files against the POT file. +MSGMERGE_OPTIONS = --no-fuzzy-matching diff --git a/po/update_linguas.sh b/po/update_linguas.sh index c52f5b9c..17a90d21 100755 --- a/po/update_linguas.sh +++ b/po/update_linguas.sh @@ -21,9 +21,9 @@ fi echo "Regenerating POT file and remerging and recompiling PO files..." make update-po -echo "Removing the dead weight of obsolete translations..." +echo "Removing the dead weight of obsolete and fuzzy translations..." for pofile in *.po; do - msgattrib --no-obsolete $pofile >trimmed.po || exit 4 + msgattrib --no-obsolete --no-fuzzy $pofile >trimmed.po || exit 4 mv trimmed.po $pofile || exit 4 done