From: Rudolf Polzer Date: Thu, 23 Feb 2012 19:36:47 +0000 (+0100) Subject: first convert, then check X-Git-Tag: xonotic-v0.6.0~52 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9b1c00854c623e1fa89d001b0ec61feb32b04690;p=xonotic%2Fxonotic-data.pk3dir.git first convert, then check --- 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