summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/lib7z_facade.cpp
diff options
context:
space:
mode:
authorjkobus <jaroslaw.kobus@theqtcompany.com>2015-01-30 16:38:30 +0100
committerNiels Weber <niels.weber@theqtcompany.com>2015-02-11 11:12:09 +0000
commite5d2246c53a1f683de70b9f5044fe5d64704380e (patch)
tree8fc22a179d5b1c8725666ab5fc3fabead7a4b057 /src/libs/installer/lib7z_facade.cpp
parentc945bbd5b9af6641a91044eb81b842c6b292962c (diff)
Fix messages
Change-Id: I3cfa75df0d4da9c818b3341b1a422f845a056ae0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/lib7z_facade.cpp')
-rw-r--r--src/libs/installer/lib7z_facade.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/installer/lib7z_facade.cpp b/src/libs/installer/lib7z_facade.cpp
index e310f557b..b0ce95c41 100644
--- a/src/libs/installer/lib7z_facade.cpp
+++ b/src/libs/installer/lib7z_facade.cpp
@@ -842,7 +842,7 @@ public:
// do not follow symlinks, so we need to remove an existing one
if (fi.isSymLink() && (!QFile::remove(fi.absoluteFilePath()))) {
Lib7z::setLastError(QCoreApplication::translate("ExtractCallbackImpl",
- "Could not remove already existing symlink. %1").arg(fi.absoluteFilePath()));
+ "Could not remove already existing symlink %1.").arg(fi.absoluteFilePath()));
return E_FAIL;
}
#endif
@@ -850,7 +850,7 @@ public:
new QFile(fi.absoluteFilePath()), QIODeviceSequentialOutStream::CloseAndDeleteDevice);
if (!qOutStream->errorString().isEmpty()) {
Lib7z::setLastError(QCoreApplication::translate("ExtractCallbackImpl",
- "Could not open file: %1 (%2)").arg(fi.absoluteFilePath(),
+ "Could not open file %1: %2.").arg(fi.absoluteFilePath(),
qOutStream->errorString()));
return E_FAIL;
}
@@ -882,7 +882,7 @@ public:
UString s;
if (arc->GetItemPath(currentIndex, s) != S_OK) {
Lib7z::setLastError(QCoreApplication::translate("ExtractCallbackImpl",
- "Could not retrieve path of archive item %1").arg(currentIndex));
+ "Could not retrieve path of archive item %1.").arg(currentIndex));
return E_FAIL;
}
const QString path = UString2QString(s).replace(QLatin1Char('\\'), QLatin1Char('/'));
@@ -922,7 +922,7 @@ public:
QFile targetFile(QString::fromLatin1(symlinkTarget));
if (!targetFile.link(absFilePath)) {
Lib7z::setLastError(QCoreApplication::translate("ExtractCallbackImpl",
- "Could not create symlink at %1. %2").arg(absFilePath,
+ "Could not create symlink at %1: %2.").arg(absFilePath,
targetFile.errorString()));
return E_FAIL;
}