changeset 8960:0c9c91ac3873 i18n

i18n: prevent msgmerge fuzzy matching - it is too random
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 12 Dec 2022 22:24:50 +0100
parents e19ca5912d57
children a01936ef40be
files scripts/i18n_utils.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/i18n_utils.py	Wed Aug 10 21:23:26 2022 +0200
+++ b/scripts/i18n_utils.py	Mon Dec 12 22:24:50 2022 +0100
@@ -168,7 +168,7 @@
 
 def _normalize_po_file(po_file, merge_pot_file=None, strip=False):
     if merge_pot_file:
-        runcmd(['msgmerge', '--width=76', '--backup=none', '--previous',
+        runcmd(['msgmerge', '--width=76', '--backup=none', '--previous', '--no-fuzzy-matching',
                 '--update', po_file, '-q', merge_pot_file])
     if strip:
         po_tmp = po_file + '.tmp'