From 499328f89d802a506248a2c46a7c793a67fdc76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sun, 20 Feb 2011 16:22:55 +0100
Subject: Added missing translation string for version.


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>
-- 
cgit v0.10.2-6-g49f6