diff options
author | Niels Weber <niels.weber@digia.com> | 2014-10-31 09:19:23 +0100 |
---|---|---|
committer | Niels Weber <niels.weber@digia.com> | 2014-10-31 09:55:27 +0100 |
commit | 074688b9ba3aa2d38ef375bf278f36bd8ef977b1 (patch) | |
tree | 1b050051a00d60195f4b18cf84860820107bf65d /src/libs/installer/simplemovefileoperation.cpp | |
parent | 3bba22fdcc02418f3781df13c80029f853545918 (diff) |
Replace all occurrences of "can not" with "cannot"
Also fix some other issues in the touched strings,
making them comply to Qt style.
Change-Id: I46515e1a3bec5e21610943ded2ef7fa1f09a4a15
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Diffstat (limited to 'src/libs/installer/simplemovefileoperation.cpp')
-rw-r--r-- | src/libs/installer/simplemovefileoperation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/simplemovefileoperation.cpp b/src/libs/installer/simplemovefileoperation.cpp index c808595be..b3f4b6282 100644 --- a/src/libs/installer/simplemovefileoperation.cpp +++ b/src/libs/installer/simplemovefileoperation.cpp @@ -73,7 +73,7 @@ bool SimpleMoveFileOperation::performOperation() if (file.exists()) { if (!file.remove()) { setError(UserDefinedError); - setErrorString(tr("Can not move source '%1' to target '%2', because target exists and is " + setErrorString(tr("Cannot move source '%1' to target '%2', because target exists and is " "not removable.").arg(source, target)); return false; } @@ -82,7 +82,7 @@ bool SimpleMoveFileOperation::performOperation() file.setFileName(source); if (!file.rename(target)) { setError(UserDefinedError); - setErrorString(tr("Can not move source '%1' to target '%2': %3").arg(source, target, + setErrorString(tr("Cannot move source '%1' to target '%2': %3").arg(source, target, file.errorString())); return false; } |