From 5448a9f0b7d75a89f500400d61c66fc16ac21caf Mon Sep 17 00:00:00 2001 From: Friedemann Kleint <Friedemann.Kleint@nokia.com> Date: Mon, 15 Feb 2010 11:08:23 +0100 Subject: [PATCH] Fix project wizard / German. ...to not suggest invalid file paths. --- share/qtcreator/translations/qtcreator_de.ts | 2 +- src/plugins/projectexplorer/baseprojectwizarddialog.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts index c36e16fdc69..b3fca09985d 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 9f5b8bd3c50..f9470c85200 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; -- GitLab