mirror of
https://github.com/RustyRaptor/plasma-keyboard.git
synced 2026-12-03 15:55:19 -07:00
fix kcm/Messages.sh
Do't process cpp files, they don't have i18n() calls
This commit is contained in:
1 parent
ee47bcce09
commit
0794837d38
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
Reference in new issue
Block a user