[PATCH 3 of 3] Fix typos in translatable strings
Wald Commits
scm-commit at wald.intevation.org
Mon Jul 14 11:50:28 CEST 2014
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1405331423 -7200
# Node ID 60d3f59f08039f3bb7a9b8cf347d440b2f46beae
# Parent 9f13c00a2647f97c945941293b2c8d13f1a36d59
Fix typos in translatable strings.
diff -r 9f13c00a2647 -r 60d3f59f0803 ui/createinstallerdialog.cpp
--- 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;
}
diff -r 9f13c00a2647 -r 60d3f59f0803 ui/mainwindow.cpp
--- 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:"));
More information about the Trustbridge-commits
mailing list