Fix project wizard / German.

...to not suggest invalid file paths.
This commit is contained in:
Friedemann Kleint
2010-02-15 11:08:23 +01:00
parent cac7f826b5
commit 5448a9f0b7
2 changed files with 3 additions and 1 deletions

View File

@@ -19930,7 +19930,7 @@ p, li { white-space: pre-wrap; }
<message> <message>
<location filename="../../../src/plugins/projectexplorer/baseprojectwizarddialog.cpp" line="+124"/> <location filename="../../../src/plugins/projectexplorer/baseprojectwizarddialog.cpp" line="+124"/>
<source>untitled</source> <source>untitled</source>
<translation type="unfinished">kein Titel</translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>

View File

@@ -121,6 +121,8 @@ Utils::ProjectIntroPage *BaseProjectWizardDialog::introPage() const
QString BaseProjectWizardDialog::uniqueProjectName(const QString &path) QString BaseProjectWizardDialog::uniqueProjectName(const QString &path)
{ {
const QDir pathDir(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"); const QString prefix = tr("untitled");
for (unsigned i = 0; ; i++) { for (unsigned i = 0; ; i++) {
QString name = prefix; QString name = prefix;