i18n: automatic i18n merges are down

This commit is contained in:
Adriaan de Groot 2017-08-08 03:20:16 -04:00
parent 61865a8e11
commit 17a6ca2207
2 changed files with 3 additions and 3 deletions

View File

@ -34,4 +34,4 @@ for MODULE_DIR in `find src/modules -maxdepth 1 -mindepth 1 -type d`; do
fi fi
done done
git push --set-upstream origin master # git push --set-upstream origin master

View File

@ -25,10 +25,10 @@ for MODULE_DIR in `find src/modules -maxdepth 1 -mindepth 1 -type d`; do
${PYGETTEXT} -p ${MODULE_DIR}/lang -d ${MODULE_NAME} ${MODULE_DIR}/*.py ${PYGETTEXT} -p ${MODULE_DIR}/lang -d ${MODULE_NAME} ${MODULE_DIR}/*.py
if [ -f ${MODULE_DIR}/lang/${MODULE_NAME}.pot ]; then if [ -f ${MODULE_DIR}/lang/${MODULE_NAME}.pot ]; then
tx set -r calamares.${MODULE_NAME} --source -l en ${MODULE_DIR}/lang/${MODULE_NAME}.pot tx set -r calamares.${MODULE_NAME} --source -l en ${MODULE_DIR}/lang/${MODULE_NAME}.pot
tx push --force --source --no-interactive -r calamares.${MODULE_NAME} tx push --source --no-interactive -r calamares.${MODULE_NAME}
fi fi
fi fi
fi fi
done done
tx push --force --source --no-interactive -r calamares.calamares-master tx push --source --no-interactive -r calamares.calamares-master