if [ x"${X#*.dat.}" != x"$language.po" ]; then
continue
fi
+ else
+ if [ x"${X#*.dat.}" = x"en.po" ]; then
+ continue
+ fi
fi
msgmerge -F -U "$X" "$VM".dat.pot >&2
msgattrib --untranslated "$X" | grep . > "$X".untranslated || rm -f "$X".untranslated
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" <<EOF
set fileencoding=utf-8
set nobomb