projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b5a6d6
)
detect syntax erorrs
author
Rudolf Polzer <divverent@xonotic.org>
Wed, 22 Feb 2012 13:17:09 +0000
(14:17 +0100)
committer
Rudolf Polzer <divverent@xonotic.org>
Wed, 22 Feb 2012 13:17:30 +0000
(14:17 +0100)
check-translations.sh
patch
|
blob
|
history
diff --git
a/check-translations.sh
b/check-translations.sh
index
dccc1e8
..
155029c
100755
(executable)
--- 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" <<EOF
set fileencoding=utf-8
set nobomb