summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/AboutDialog.cpp
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-11-02 19:24:28 +0100
committerJan Dalheimer <jan@dalheimer.de>2014-11-02 19:25:11 +0100
commita3a5afe1198266e7c4a1bc6dd8f65062426b24c4 (patch)
tree6df6a629cabd3e1d4314abb3bb3e6575be13cc67 /gui/dialogs/AboutDialog.cpp
parent7fb6cafe9e54270b7daf47bf394fd969d44e1c37 (diff)
downloadMultiMC-a3a5afe1198266e7c4a1bc6dd8f65062426b24c4.tar
MultiMC-a3a5afe1198266e7c4a1bc6dd8f65062426b24c4.tar.gz
MultiMC-a3a5afe1198266e7c4a1bc6dd8f65062426b24c4.tar.lz
MultiMC-a3a5afe1198266e7c4a1bc6dd8f65062426b24c4.tar.xz
MultiMC-a3a5afe1198266e7c4a1bc6dd8f65062426b24c4.zip
Fix #231: Enable translation for more strings
Diffstat (limited to 'gui/dialogs/AboutDialog.cpp')
-rw-r--r--gui/dialogs/AboutDialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/dialogs/AboutDialog.cpp b/gui/dialogs/AboutDialog.cpp
index 3d8848c3..002d5cf6 100644
--- a/gui/dialogs/AboutDialog.cpp
+++ b/gui/dialogs/AboutDialog.cpp
@@ -26,7 +26,7 @@
// This is a hack, but I can't think of a better way to do this easily without screwing with QTextDocument...
QString getCreditsHtml(QStringList patrons)
{
- QString creditsHtml =
+ QString creditsHtml = QObject::tr(
"<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0//EN' 'http://www.w3.org/TR/REC-html40/strict.dtd'>"
"<html>"
""
@@ -56,9 +56,9 @@ QString getCreditsHtml(QStringList patrons)
"%1"
""
"</body>"
- "</html>";
+ "</html>");
if (patrons.isEmpty())
- return creditsHtml.arg("<p>Loading...</p>");
+ return creditsHtml.arg(QObject::tr("<p>Loading...</p>"));
else
{
QString patronsStr;