From a3a5afe1198266e7c4a1bc6dd8f65062426b24c4 Mon Sep 17 00:00:00 2001 From: Jan Dalheimer Date: Sun, 2 Nov 2014 19:24:28 +0100 Subject: Fix #231: Enable translation for more strings --- gui/dialogs/AboutDialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gui/dialogs/AboutDialog.cpp') 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( "" "" "" @@ -56,9 +56,9 @@ QString getCreditsHtml(QStringList patrons) "%1" "" "" - ""; + ""); if (patrons.isEmpty()) - return creditsHtml.arg("

Loading...

"); + return creditsHtml.arg(QObject::tr("

Loading...

")); else { QString patronsStr; -- cgit v1.2.3