summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swift/QtUI/QtAboutWidget.cpp2
-rw-r--r--Swift/Translations/swift.ts9
-rw-r--r--Swift/Translations/swift_nl.ts9
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>