Skip to content

Commit

Permalink
Create checkPOFiles.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
boutinb committed Sep 2, 2024
1 parent 6bc2d54 commit 6294f22
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Tools/checkPOFiles.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6294f22

Please sign in to comment.