i18n: see if Transifex sync uses these scripts.

This commit is contained in:
Adriaan de Groot 2017-06-28 08:09:22 -04:00
parent 4561849c39
commit 97ded0ec48

View File

@ -11,7 +11,7 @@ git config --global http.sslVerify false
export QT_SELECT=5 export QT_SELECT=5
tx pull --force --source --all tx pull --force --source --all
git add --verbose lang/calamares*.ts git add --verbose lang/calamares*.ts
git commit --author='Calamares CI <teo@kde.org>' --message='[core] Automatic merge of Transifex translations' | true git commit --author='Calamares CI <groot@kde.org>' --message='[core] Automatic merge of Transifex translations' | true
for MODULE_DIR in `find src/modules -maxdepth 1 -mindepth 1 -type d`; do for MODULE_DIR in `find src/modules -maxdepth 1 -mindepth 1 -type d`; do
FILES=(${MODULE_DIR}/*.py) FILES=(${MODULE_DIR}/*.py)
@ -23,7 +23,7 @@ for MODULE_DIR in `find src/modules -maxdepth 1 -mindepth 1 -type d`; do
msgfmt -o ${POFILE/.po/.mo} $POFILE msgfmt -o ${POFILE/.po/.mo} $POFILE
done done
git add --verbose ${MODULE_DIR}/lang/* git add --verbose ${MODULE_DIR}/lang/*
git commit --author='Calamares CI <teo@kde.org>' --message="[${MODULE_NAME}] Automatic merge of Transifex translations" | true git commit --author='Calamares CI <groot@kde.org>' --message="[${MODULE_NAME}] Automatic merge of Transifex translations" | true
fi fi
fi fi
done done