summaryrefslogtreecommitdiff
path: root/ci/txpush.sh
diff options
context:
space:
mode:
authorAdriaan de Groot <groot@kde.org>2017-08-30 17:36:48 -0400
committerAdriaan de Groot <groot@kde.org>2017-08-30 17:37:04 -0400
commit44262951a1b87d802da30c203aef51f863571d08 (patch)
treee9c632386f08c34c7642916518fb1b2bf4facf1a /ci/txpush.sh
parenta31c4b4cb35a7bec7b4d6326c07ce611507b06a7 (diff)
Python-i18n: add _n() as a gettext keyword, for plurals
Diffstat (limited to 'ci/txpush.sh')
-rwxr-xr-xci/txpush.sh4
1 files changed, 2 insertions, 2 deletions
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