summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-20 15:22:55 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-20 15:22:55 (GMT)
commit499328f89d802a506248a2c46a7c793a67fdc76b (patch)
tree93d48c5c0cc3dd7be4bedc2291fc16e26f9857e4 /Swift/QtUI
parent137c50498411ef4d62a17e68f6f210d914d91353 (diff)
downloadswift-contrib-499328f89d802a506248a2c46a7c793a67fdc76b.zip
swift-contrib-499328f89d802a506248a2c46a7c793a67fdc76b.tar.bz2
Added missing translation string for version.
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtAboutWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtAboutWidget.cpp b/Swift/QtUI/QtAboutWidget.cpp
index 8bea27a..70efc02 100644
--- a/Swift/QtUI/QtAboutWidget.cpp
+++ b/Swift/QtUI/QtAboutWidget.cpp
@@ -37,7 +37,7 @@ QtAboutWidget::QtAboutWidget() : QDialog() {
QLabel* appNameLabel = new QLabel("<center><font size='+1'><b>" + QCoreApplication::applicationName() + "</b></font></center>", this);
mainLayout->addWidget(appNameLabel);
- QLabel* versionLabel = new QLabel(QString("<center><font size='-1'>Version ") + QCoreApplication::applicationVersion() + "</font></center>", this);
+ QLabel* versionLabel = new QLabel(QString("<center><font size='-1'>") + tr("Version %1").arg(QCoreApplication::applicationVersion()) + "</font></center>", this);
mainLayout->addWidget(versionLabel);
QString buildString = QString("<center><font size='-1'>") + QString(tr("Built with Qt %1")).arg(QT_VERSION_STR);
buildString += QString("<br/>") + QString(tr("Running with Qt %1")).arg(qVersion());