X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=check-translations.sh;h=94a94f8e787e9a7e58fb0e4ebd5a6c9ccb63e411;hb=ae62eb7b0a48758de854556a9f1a1d580df36cfc;hp=3245df1a5f742d05c6002eaf0c6ef4dccae687ef;hpb=b31fdb3f0d23f507bb97e84b7a3171570f58fa61;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