changeset 781:60d3f59f0803

Fix typos in translatable strings.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 14 Jul 2014 11:50:23 +0200
parents 9f13c00a2647
children e65e2a0be7c8
files ui/createinstallerdialog.cpp ui/mainwindow.cpp
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ui/createinstallerdialog.cpp	Mon Jul 14 11:50:02 2014 +0200
+++ b/ui/createinstallerdialog.cpp	Mon Jul 14 11:50:23 2014 +0200
@@ -235,7 +235,7 @@
     /* Sign the linux installer */
     QDir linuxDir(binDir.path() + "/linux");
     if (!linuxDir.exists()) {
-        showErrorMessage(tr("Failed to find the directory for linux binaries: %s")
+        showErrorMessage(tr("Failed to find the directory for linux binaries: %1")
                 .arg(linuxDir.path()));
         return;
     }
@@ -243,12 +243,12 @@
     nameFilter << "*.sh";
     QStringList candidates = linuxDir.entryList(nameFilter, QDir::Files | QDir::Readable);
     if (candidates.isEmpty()) {
-        showErrorMessage(tr("Failed to find a readable *.sh file in: %s")
+        showErrorMessage(tr("Failed to find a readable *.sh file in: %1")
                 .arg(linuxDir.path()));
         return;
     }
     if (candidates.size() > 1) {
-        showErrorMessage(tr("Unexpected additional .sh files in: %s")
+        showErrorMessage(tr("Unexpected additional .sh files in: %1")
                 .arg(linuxDir.path()));
         return;
     }
--- a/ui/mainwindow.cpp	Mon Jul 14 11:50:02 2014 +0200
+++ b/ui/mainwindow.cpp	Mon Jul 14 11:50:23 2014 +0200
@@ -527,7 +527,7 @@
     if (lastCheck.isValid()) {
         const QString lastUpdateCheck = QLocale::system().toString(lastCheck, DATETIME_FORMAT);
         mLastUpdateCheck =
-            new QLabel(tr("Last sucessful update check:"));
+            new QLabel(tr("Last successful update check:"));
         mLastUpdateCheckContents = new QLabel(lastUpdateCheck);
     } else {
         mLastUpdateCheck = new QLabel(tr("Last successful update check:"));

http://wald.intevation.org/projects/trustbridge/