diff --git a/ci/txpush.sh b/ci/txpush.sh index 5ec2c0614..3633c1664 100755 --- a/ci/txpush.sh +++ b/ci/txpush.sh @@ -59,7 +59,7 @@ for MODULE_DIR in $(find src/modules -maxdepth 1 -mindepth 1 -type d) ; do if test -n "$FILES" ; then MODULE_NAME=$(basename ${MODULE_DIR}) if [ -d ${MODULE_DIR}/lang ]; then - ${PYGETTEXT} -p ${MODULE_DIR}/lang -d ${MODULE_NAME} ${MODULE_DIR}/*.py + ${PYGETTEXT} -k _n -p ${MODULE_DIR}/lang -d ${MODULE_NAME} ${MODULE_DIR}/*.py 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 push --source --no-interactive -r calamares.${MODULE_NAME} @@ -71,7 +71,7 @@ for MODULE_DIR in $(find src/modules -maxdepth 1 -mindepth 1 -type d) ; do done if test -n "$SHARED_PYTHON" ; then - ${PYGETTEXT} -p lang -d python $SHARED_PYTHON + ${PYGETTEXT} -k _n -p lang -d python $SHARED_PYTHON tx set -r calamares.python --source -l en lang/python.pot tx push --source --no-interactive -r calamares.python fi