mirror-kde-plasma-desktop/desktoppackage/Messages.sh
Karl Ove Hufthammer 05261f23ef Don’t extract QML text as Java strings
Extracting the strings as Java strings causes the string ‘%1%’
to be marked as ‘java-printf-format’ in the translation file.
The result is that it can’t be properly translated in all
languages, e.g., into ‘%1 %’ for languages which require a
space in front of the percentage sign.

See https://mail.kde.org/pipermail/kde-i18n-doc/2021-March/000450.html
and
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/711
for more details.
2024-07-10 21:30:18 +02:00

3 lines
116 B
Bash

#! /usr/bin/env bash
$XGETTEXT `find . -name \*.qml` -o $podir/plasma_shell_org.kde.plasma.desktop.pot
rm -f rc.cpp