X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=check-translations.sh;h=94a94f8e787e9a7e58fb0e4ebd5a6c9ccb63e411;hb=3806086769ac43e01ce52e422d76fe47e4f3c380;hp=3245df1a5f742d05c6002eaf0c6ef4dccae687ef;hpb=6cd9d29be770ad3fd1beb612e8c4423fa74a0d94;p=xonotic%2Fxonotic-data.pk3dir.git 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