Commit 903f4ec9 authored by Karl Ove Hufthammer's avatar Karl Ove Hufthammer
Browse files

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.

(cherry picked from commit 6811816a)
parent eb5bd219
Pipeline #56674 passed with stage
in 6 minutes and 39 seconds
#!/usr/bin/env bash
$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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment