[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kronometer] src: Fix missing i18n()
From: Elvis Angelaccio <elvis.angelaccio () kdemail ! net>
Date: 2014-07-31 20:29:07
Message-ID: E1XCwyJ-00020j-2Q () scm ! kde ! org
[Download RAW message or body]
Git commit b10a1b9186b0d7defddbc7b3e1b4a8a547b230e3 by Elvis Angelaccio.
Committed on 31/07/2014 at 20:25.
Pushed by elvisangelaccio into branch 'master'.
Fix missing i18n()
M +1 -1 src/mainwindow.cpp
http://commits.kde.org/kronometer/b10a1b9186b0d7defddbc7b3e1b4a8a547b230e3
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index cee1444..03e9aa9 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -520,7 +520,7 @@ void MainWindow::openFile(const QString& name)
}
}
else {
- KMessageBox::error(this, "Cannot open file: " + errorMsg);
+ KMessageBox::error(this, i18n("Cannot open file: %1", errorMsg=
));
KIO::NetAccess::removeTempFile(buffer);
close();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic