fix kcm/Messages.sh

Do't process cpp files, they don't have i18n() calls
This commit is contained in:
Aleix Pol committed 2025-09-20 15:56:08 +02:00
1 parent ee47bcce09
commit 0794837d38
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@
# shellcheck disable=SC2046
podir=${podir:?} # ensure it is defined
$XGETTEXT $(find . -name \*.cpp -o -name \*.h) -o "$podir"/kcm_plasmakeyboard.pot
#$XGETTEXT $(find . -name \*.cpp -o -name \*.h) -o "$podir"/kcm_plasmakeyboard.pot
# Extract JavaScripty files as what they are, otherwise for example template literals won't work correctly (by default we extract as C++).
# https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
$XGETTEXT --join-existing --language=JavaScript $(find . -name \*.qml -o -name \*.js) -o "$podir"/kcm_plasmakeyboard.pot