From 9b1c00854c623e1fa89d001b0ec61feb32b04690 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 23 Feb 2012 20:36:47 +0100 Subject: [PATCH] first convert, then check --- check-translations.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/check-translations.sh b/check-translations.sh index 3245df1a5..94a94f8e7 100755 --- a/check-translations.sh +++ b/check-translations.sh @@ -68,10 +68,6 @@ for VM in menu csprogs; do changed=false for Y in ~/check-translations/"$X".*; do [ -f "$Y" ] || continue - if ! msgcat "$Y" >/dev/null; then - echo "File $Y has syntax errors. Skipped." - continue - fi echo "Merging $Y..." vim -E "$Y" </dev/null; then + echo "File $Y has syntax errors. Skipped." + continue + fi msgcat -F --use-first "$Y" "$X" > "$X".new mv "$X".new "$X" changed=true -- 2.39.2