Cleanup comments etc. in src
[gimp-lqr-plugin.git] / intltool-update-all
blob0c45c64f4d5ee28a600eb8fe25ef78ca3f725f40
1 #!/bin/bash
3 #[ -x "intltool-update" ] || { echo "error: intltool-update not found, run autogen.sh" > /dev/stderr; exit 1; }
4 which "intltool-update" || { echo "error: intltool-update not found, run autogen.sh" > /dev/stderr; exit 1; }
5 INTLTOOL_UPDATE="$(which "intltool-update")"
8 eval $(grep "^[[:space:]]*ALL_LINGUAS[[:space:]]*=[[:space:]]*\".*\"[[:space:]]*$" "configure.ac")
10 cd po || exit 1;
12 for PO_LANG in $ALL_LINGUAS
14 echo "Updating \"$PO_LANG\""
15 $INTLTOOL_UPDATE $PO_LANG || exit 1;
16 echo
17 done