From 15191ba9713826a6d2ec53b66b4e9011460849ae Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Fri, 1 Nov 2024 12:39:09 +0100 Subject: [PATCH] Don't use fuzzy matching in update_messages.sh, output a warning instead of an error in check_messages.sh --- tools/check_messages.sh | 4 ++-- tools/update_messages.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/check_messages.sh b/tools/check_messages.sh index 2b8d8487..3a5f4d63 100755 --- a/tools/check_messages.sh +++ b/tools/check_messages.sh @@ -21,7 +21,7 @@ do then RC=1 - echo ::error file=$i::$i is not up to date + echo ::warning file=$i::$i is not up to date fi done @@ -40,7 +40,7 @@ do then RC=1 - echo ::error file=$i::$i is not up to date + echo ::warning file=$i::$i is not up to date fi rm $i.new diff --git a/tools/update_messages.sh b/tools/update_messages.sh index 7d742315..3a5e98fd 100755 --- a/tools/update_messages.sh +++ b/tools/update_messages.sh @@ -10,7 +10,7 @@ sed -i 's/charset=CHARSET/charset=UTF-8/g' $WIVRN_POT for i in $(find client/locale -name wivrn.po) do echo Updating $i - msgmerge --quiet --update $i $WIVRN_POT + msgmerge --quiet --no-fuzzy-matching --update $i $WIVRN_POT done rm $WIVRN_POT