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