I have this on top of the script:
And this in the Menu:QTRSUITEVERSION="18.06.17"
MYTITLE="QTR Suite $QTRSUITEVERSION"
# Gettext, multiple Variables in Message
[ "`which gettext.sh`" != "" ] && . gettext.sh
# Gettext localization
export TEXTDOMAIN="QTR-Suite"
export OUTPUT_CHARSET=UTF-8
# Install DE locale
LOCALS="$APPDIR"/gettext-locales/de/LC_MESSAGES/"QTR-Suite".mo
[ -f "$LOCALS" ] && cp -a -u "$LOCALS" /usr/share/locale/de/LC_MESSAGES/"QTR-Suite".mo
And then I got this in the .po file:<menuitem label="'$(gettext "Archiving $MYTITLE RoxApp")'" icon="qtrsuite" accel-key="'$skey'" accel-mods="'$strgshiftkey'" tooltip-markup="'$(gettext " Archiving $MYTITLE RoxApp to save all Data, Songs and Mixdowns in a .tar.gz Archive.")'">
<action>'$APPDIR'/AppRun -MakeArchive &</action>
<action>SaveWindowGeometry "'$WINGEOCONFIG'"</action>
</menuitem>
Though, when starting the program, gettext doesn't translatemsgid "Archiving %s RoxApp"
msgstr "%s RoxApp archivieren"
Archiving QTR Suite 18.06.17 RoxApp
to
QTR Suite 18.06.17 RoxApp archivieren
So, what am I doing wrong here?
Thanks in advance...