This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goplasmabindings.

commit 18fd65eb173ad842e6eec1c2ad4596a72f65acac
Author: Mihai Moldovan <io...@ionic.de>
Date:   Wed Aug 16 02:51:36 2023 +0200

    po/create_potfile.sh: add new -k arguments used by KF5 to xgettext call.
---
 debian/changelog     | 1 +
 po/create-potfile.sh | 9 +++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3fff439..54dce20 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -63,6 +63,7 @@ x2goplasmabindings (3.0.2.3-0x2go1) UNRELEASED; urgency=medium
       use for older operating systems.
     - misc: pre-release copyright update.
     - po/create_potfile.sh: also extract strings from *.qml files.
+    - po/create_potfile.sh: add new -k arguments used by KF5 to xgettext call.
   * x2goplasmabindings.spec:
     + Prepare for Plasma 5 support.
     + Stop duplicating Group tag.
diff --git a/po/create-potfile.sh b/po/create-potfile.sh
index b71dde4..c744d88 100755
--- a/po/create-potfile.sh
+++ b/po/create-potfile.sh
@@ -17,8 +17,13 @@ cd ${BASEDIR}
 find . -name '*.cpp' -o -name '*.h' -o -name '*.c' -o -name '*.qml' | sort > 
${WDIR}/infiles.list
 echo "rc.cpp" >> ${WDIR}/infiles.list
 cd ${WDIR}
-xgettext --from-code=UTF-8 -C -kde -ci18n -ki18n:1 -ki18nc:1c,2 -ki18np:1,2 
-ki18ncp:1c,2,3 -ktr2i18n:1 \
--kI18N_NOOP:1 -kI18N_NOOP2:1c,2 -kaliasLocale -kki18n:1 -kki18nc:1c,2 
-kki18np:1,2 -kki18ncp:1c,2,3 \
+xgettext --from-code=UTF-8 -C -kde -ci18n \
+-ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 \
+-kki18n:1 -kki18nc:1c,2 -kki18np:1,2 -kki18ncp:1c,2,3 \
+-kkli18n:1 -kkli18nc:1c,2 -kkli18np:1,2 -kkli18ncp:1c,2,3 \
+-ktr2i18n:1 \
+-kI18N_NOOP:1 -kI18NC_NOOP:1c,2 \
+-kaliasLocale \
 --msgid-bugs-address="${BUGADDR}" \
 --files-from=infiles.list -D ${BASEDIR} -D ${WDIR} -o ${PROJECT}.pot || { echo 
"error while calling xgettext. aborting."; exit 1; }
 echo "Done extracting messages"

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2goplasmabindings.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to