Don’t extract QML strings as Java printf strings

The percentage sign in strings like ‘%1% charging’ couldn’t
be properly translated in the resulting POT file. For example,
translating it to ‘%1 % charging’ (some languages use a space
before the percentage sign) resulted in an invalid Java printf
string (but a valid QML string), which was reject by msgfmt.
This commit is contained in:
Karl Ove Hufthammer 2021-04-06 21:01:25 +02:00
parent 39c7bbe73b
commit 6811816ac0

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#.qml
$XGETTEXT `find package -name '*.qml'` -L Java -o $podir/plasma_applet_org.kde.kdeconnect.pot
$XGETTEXT `find package -name '*.qml'` -o $podir/plasma_applet_org.kde.kdeconnect.pot