summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-10-17 14:52:10 +0200
committerFriedemann Kleint <Friedemann.Kleint@digia.com>2013-10-24 10:50:56 +0200
commit119548a0ffadee65fe6798cf4ed249b6cfcaab09 (patch)
tree63da194a1b0c0dc1e40de4abeea39e584e0b1a56 /src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp
parent4de3b9484051483f6f0329f1ec0c3feef325045c (diff)
downloadqt-creator-119548a0ffadee65fe6798cf4ed249b6cfcaab09.tar.gz
Remove most leading/trailing blanks from translated messages.
They are a hassle for translators and reviewers alike. Change-Id: I363138212b692cf75fe1605df8af3721315d37e1 Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp b/src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp
index a68a919c1d..f3a49624e9 100644
--- a/src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp
@@ -455,7 +455,7 @@ ShadowBuildPage::ShadowBuildPage(CMakeOpenProjectWizard *cmakeWizard, bool chang
QLabel *label = new QLabel(this);
label->setWordWrap(true);
if (change)
- label->setText(tr("Please enter the directory in which you want to build your project. "));
+ label->setText(tr("Please enter the directory in which you want to build your project.") + QLatin1Char(' '));
else
label->setText(tr("Please enter the directory in which you want to build your project. "
"Qt Creator recommends to not use the source directory for building. "
@@ -507,13 +507,14 @@ void ChooseCMakePage::updateErrorText()
} else {
QString text = tr("Specify the path to the CMake executable. No CMake executable was found in the path.");
if (!cmakeExecutable.isEmpty()) {
+ text += QLatin1Char(' ');
QFileInfo fi(cmakeExecutable);
if (!fi.exists())
- text += tr(" The CMake executable (%1) does not exist.").arg(cmakeExecutable);
+ text += tr("The CMake executable (%1) does not exist.").arg(cmakeExecutable);
else if (!fi.isExecutable())
- text += tr(" The path %1 is not an executable.").arg(cmakeExecutable);
+ text += tr("The path %1 is not an executable.").arg(cmakeExecutable);
else
- text += tr(" The path %1 is not a valid CMake executable.").arg(cmakeExecutable);
+ text += tr("The path %1 is not a valid CMake executable.").arg(cmakeExecutable);
}
m_cmakeLabel->setText(text);
}