From: Rudolf Polzer Date: Wed, 22 Feb 2012 13:17:09 +0000 (+0100) Subject: detect syntax erorrs X-Git-Tag: xonotic-v0.6.0~53^2~17 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d517785bc54f6c2d9e12ea6f3f0fb8c148c500fc;p=xonotic%2Fxonotic-data.pk3dir.git detect syntax erorrs --- diff --git a/check-translations.sh b/check-translations.sh index dccc1e855..155029cbd 100755 --- a/check-translations.sh +++ b/check-translations.sh @@ -64,6 +64,10 @@ 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 vim -E "$Y" <