summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-02-15 11:08:23 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-02-15 11:08:23 +0100
commit5448a9f0b7d75a89f500400d61c66fc16ac21caf (patch)
tree05a6b709efc4611c42f99ee424862c9935df0585
parentcac7f826b563a27701089a44750e48b27569fb50 (diff)
downloadqt-creator-5448a9f0b7d75a89f500400d61c66fc16ac21caf.tar.gz
Fix project wizard / German.
...to not suggest invalid file paths.
-rw-r--r--share/qtcreator/translations/qtcreator_de.ts2
-rw-r--r--src/plugins/projectexplorer/baseprojectwizarddialog.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts
index c36e16fdc6..b3fca09985 100644
--- a/share/qtcreator/translations/qtcreator_de.ts
+++ b/share/qtcreator/translations/qtcreator_de.ts
@@ -19930,7 +19930,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../../src/plugins/projectexplorer/baseprojectwizarddialog.cpp" line="+124"/>
<source>untitled</source>
- <translation type="unfinished">kein Titel</translation>
+ <translation type="unfinished"></translation>
</message>
</context>
<context>
diff --git a/src/plugins/projectexplorer/baseprojectwizarddialog.cpp b/src/plugins/projectexplorer/baseprojectwizarddialog.cpp
index 9f5b8bd3c5..f9470c8520 100644
--- a/src/plugins/projectexplorer/baseprojectwizarddialog.cpp
+++ b/src/plugins/projectexplorer/baseprojectwizarddialog.cpp
@@ -121,6 +121,8 @@ Utils::ProjectIntroPage *BaseProjectWizardDialog::introPage() const
QString BaseProjectWizardDialog::uniqueProjectName(const QString &path)
{
const QDir pathDir(path);
+ //: File path suggestion for a new project. If you choose
+ //: to translate it, make sure it is a valid path name without blanks.
const QString prefix = tr("untitled");
for (unsigned i = 0; ; i++) {
QString name = prefix;