[X2Go-Commits] [x2goplasmabindings] 02/06: po/create_potfile.sh: also extract strings from *.qml files.

git-admin at x2go.org git-admin at x2go.org
Wed Aug 16 03:54:39 CEST 2023


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

x2go pushed a commit to branch master
in repository x2goplasmabindings.

commit c9e125ad556e8853b41a3a1a5c1379eb0d607ed6
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Aug 16 02:39:06 2023 +0200

    po/create_potfile.sh: also extract strings from *.qml files.
---
 debian/changelog     | 1 +
 po/create-potfile.sh | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 49f60a5..3fff439 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -62,6 +62,7 @@ x2goplasmabindings (3.0.2.3-0x2go1) UNRELEASED; urgency=medium
     - CMakeLists.txt: also add the X-Plasma keys the metadata.desktop file we
       use for older operating systems.
     - misc: pre-release copyright update.
+    - po/create_potfile.sh: also extract strings from *.qml files.
   * x2goplasmabindings.spec:
     + Prepare for Plasma 5 support.
     + Stop duplicating Group tag.
diff --git a/po/create-potfile.sh b/po/create-potfile.sh
index cf8b0ef..b71dde4 100755
--- a/po/create-potfile.sh
+++ b/po/create-potfile.sh
@@ -14,7 +14,7 @@ cd ${WDIR}
 echo "Done preparing rc files"
 echo "Extracting messages"
 cd ${BASEDIR}
-find . -name '*.cpp' -o -name '*.h' -o -name '*.c' | sort > ${WDIR}/infiles.list
+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 \

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goplasmabindings.git


More information about the x2go-commits mailing list