diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-02-20 15:22:55 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-02-20 15:22:55 (GMT) |
commit | 499328f89d802a506248a2c46a7c793a67fdc76b (patch) | |
tree | 93d48c5c0cc3dd7be4bedc2291fc16e26f9857e4 | |
parent | 137c50498411ef4d62a17e68f6f210d914d91353 (diff) | |
download | swift-contrib-499328f89d802a506248a2c46a7c793a67fdc76b.zip swift-contrib-499328f89d802a506248a2c46a7c793a67fdc76b.tar.bz2 |
Added missing translation string for version.
-rw-r--r-- | Swift/QtUI/QtAboutWidget.cpp | 2 | ||||
-rw-r--r-- | Swift/Translations/swift.ts | 9 | ||||
-rw-r--r-- | Swift/Translations/swift_nl.ts | 9 |
3 files changed, 15 insertions, 5 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()); diff --git a/Swift/Translations/swift.ts b/Swift/Translations/swift.ts index 32ca913..634faca 100644 --- a/Swift/Translations/swift.ts +++ b/Swift/Translations/swift.ts @@ -716,6 +716,11 @@ <translation type="unfinished"></translation> </message> <message> + <location filename="../QtUI/QtAboutWidget.cpp" line="40"/> + <source>Version %1</source> + <translation type="unfinished"></translation> + </message> + <message> <location filename="../QtUI/QtAboutWidget.cpp" line="42"/> <source>Built with Qt %1</source> <translation type="unfinished"></translation> @@ -1133,12 +1138,12 @@ <context> <name>Swift::QtStatusWidget</name> <message> - <location filename="../QtUI/QtStatusWidget.cpp" line="232"/> + <location filename="../QtUI/QtStatusWidget.cpp" line="231"/> <source>Connecting</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QtUI/QtStatusWidget.cpp" line="264"/> + <location filename="../QtUI/QtStatusWidget.cpp" line="263"/> <source>(No message)</source> <translation type="unfinished"></translation> </message> diff --git a/Swift/Translations/swift_nl.ts b/Swift/Translations/swift_nl.ts index 2d6bbf2..0de6e89 100644 --- a/Swift/Translations/swift_nl.ts +++ b/Swift/Translations/swift_nl.ts @@ -716,6 +716,11 @@ <translation>Over %1</translation> </message> <message> + <location filename="../QtUI/QtAboutWidget.cpp" line="40"/> + <source>Version %1</source> + <translation>Versie %1</translation> + </message> + <message> <location filename="../QtUI/QtAboutWidget.cpp" line="42"/> <source>Built with Qt %1</source> <translation>Gebouwd met Qt %1</translation> @@ -1134,12 +1139,12 @@ afbeelding</translation> <context> <name>Swift::QtStatusWidget</name> <message> - <location filename="../QtUI/QtStatusWidget.cpp" line="232"/> + <location filename="../QtUI/QtStatusWidget.cpp" line="231"/> <source>Connecting</source> <translation>Aan het verbinden</translation> </message> <message> - <location filename="../QtUI/QtStatusWidget.cpp" line="264"/> + <location filename="../QtUI/QtStatusWidget.cpp" line="263"/> <source>(No message)</source> <translation>(Geen boodschap)</translation> </message> |