diff --git a/Tools/checkPOFiles.sh b/Tools/checkPOFiles.sh new file mode 100644 index 0000000000..7f08f5c920 --- /dev/null +++ b/Tools/checkPOFiles.sh @@ -0,0 +1,17 @@ +function checkPO { + for LANGUAGE in cs de eo es eu fr gl id ja nl pl pt_BR pt ru zh_Hans hs_Hant + do + PO_FILE="po/QML-${LANGUAGE}.po" + if [ -e ${PO_FILE} ] + then + if ! grep X-Language ${PO_FILE} >> /dev/null 2>&1 + then + echo "No X-Language for ${LANGUAGE}" + fi + fi + done +} + +export -f checkPO + +git submodule foreach checkPO