summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Lam <leolino.lam@gmail.com>2017-07-23 14:35:44 +0800
committerGitHub <noreply@github.com>2017-07-23 14:35:44 +0800
commit55fb6efea320397f58e1dfdef75109646b6bc63a (patch)
tree0e29897e8cff5be877e5a11220522244323eb6cb
parenta7c3d035c882837acfc40b4f1dbb8e165c2420f2 (diff)
parent4776fdc130f95f7bd4af556f0520698fa03be76d (diff)
Merge pull request #5812 from ligfx/gettexttizeqt
gettextize: extract arguments to Qt's `tr`
-rwxr-xr-xLanguages/gettextize2
-rw-r--r--Source/Core/DolphinQt2/AboutDialog.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/Languages/gettextize b/Languages/gettextize
index 6587f26b1c..e1f88e74d0 100755
--- a/Languages/gettextize
+++ b/Languages/gettextize
@@ -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
diff --git a/Source/Core/DolphinQt2/AboutDialog.cpp b/Source/Core/DolphinQt2/AboutDialog.cpp
index 9c237e8eea..a1eb297c30 100644
--- a/Source/Core/DolphinQt2/AboutDialog.cpp
+++ b/Source/Core/DolphinQt2/AboutDialog.cpp
@@ -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();