Merge pull request #5812 from ligfx/gettexttizeqt
gettextize: extract arguments to Qt's `tr`
This commit is contained in:
commit
55fb6efea3
|
@ -5,7 +5,7 @@ SRCDIR=Source
|
|||
find $SRCDIR -name '*.cpp' -o -name '*.h' -o -name '*.c' | \
|
||||
xgettext -d dolphin-emu -s --keyword=_ --keyword=wxTRANSLATE --keyword=SuccessAlertT \
|
||||
--keyword=PanicAlertT --keyword=PanicYesNoT --keyword=AskYesNoT --keyword=CriticalAlertT \
|
||||
--keyword=GetStringT --keyword=_trans --add-comments=i18n -p ./Languages/po \
|
||||
--keyword=GetStringT --keyword=_trans --keyword=tr --add-comments=i18n -p ./Languages/po \
|
||||
-o dolphin-emu.pot -f - --package-name="Dolphin Emulator"
|
||||
|
||||
sed -i "s/SOME DESCRIPTIVE TITLE\./Translation of dolphin-emu.pot to LANGUAGE/" Languages/po/dolphin-emu.pot
|
||||
|
|
|
@ -54,8 +54,8 @@ AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent)
|
|||
text_label->setOpenExternalLinks(true);
|
||||
|
||||
QLabel* copyright =
|
||||
new QLabel(tr("© 2003-%1 Dolphin Team. “GameCube” and “Wii” are"
|
||||
" trademarks of Nintendo. Dolphin is not affiliated with Nintendo in any way.")
|
||||
new QLabel(tr("\u00A9 2003-%1 Dolphin Team. \u201cGameCubeu201d and \u201cWiiu201d are "
|
||||
"trademarks of Nintendo. Dolphin is not affiliated with Nintendo in any way.")
|
||||
.arg(QStringLiteral(__DATE__).right(4)));
|
||||
|
||||
QLabel* logo = new QLabel();
|
||||
|
|
Loading…
Reference in New Issue