Commit 83d451be authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Make strings consistant, part. descriptions in the 'New' wizard.

parent 41b3b3e3
......@@ -760,7 +760,7 @@ void MainWindow::registerDefaultActions()
void MainWindow::newFile()
{
showNewItemDialog(tr("New", "Title of dialog"), IWizard::allWizards());
showNewItemDialog(tr("New...", "Title of dialog"), IWizard::allWizards());
}
void MainWindow::openFile()
......
......@@ -165,11 +165,11 @@ bool CppPlugin::initialize(const QStringList & /*arguments*/, QString *errorMess
wizardParameters.setCategory(QLatin1String("C++"));
wizardParameters.setTrCategory(tr("C++"));
wizardParameters.setDescription(tr("Creates a new C++ header file."));
wizardParameters.setDescription(tr("Creates a C++ header file."));
wizardParameters.setName(tr("C++ Header File"));
addAutoReleasedObject(new CppFileWizard(wizardParameters, Header, core));
wizardParameters.setDescription(tr("Creates a new C++ source file."));
wizardParameters.setDescription(tr("Creates a C++ source file."));
wizardParameters.setName(tr("C++ Source File"));
addAutoReleasedObject(new CppFileWizard(wizardParameters, Source, core));
......
......@@ -148,14 +148,14 @@ bool FormEditorPlugin::initializeTemplates(QString *error)
wizardParameters.setTrCategory(tr("Qt"));
const QString formFileType = QLatin1String(Constants::FORM_FILE_TYPE);
wizardParameters.setName(tr("Qt Designer Form"));
wizardParameters.setDescription(tr("This creates a new Qt Designer form file."));
wizardParameters.setDescription(tr("Creates a Qt Designer form file (.ui)."));
m_formWizard = new FormWizard(wizardParameters, this);
addObject(m_formWizard);
#ifdef CPP_ENABLED
wizardParameters.setKind(Core::IWizard::ClassWizard);
wizardParameters.setName(tr("Qt Designer Form Class"));
wizardParameters.setDescription(tr("This creates a new Qt Designer form class."));
wizardParameters.setDescription(tr("Creates a Qt Designer form file (.ui) with a matching class."));
m_formClassWizard = new FormClassWizard(wizardParameters, this);
addObject(m_formClassWizard);
#endif
......
......@@ -95,7 +95,7 @@ bool DuiEditorPlugin::initialize(const QStringList & /*arguments*/, QString *err
addObject(m_editor);
Core::BaseFileWizardParameters wizardParameters(Core::IWizard::FileWizard);
wizardParameters.setDescription(tr("Qt QML File"));
wizardParameters.setDescription(tr("Creates a Qt QML file."));
wizardParameters.setName(tr("Qt QML File"));
wizardParameters.setCategory(QLatin1String("Qt"));
wizardParameters.setTrCategory(tr("Qt"));
......
......@@ -94,7 +94,7 @@ bool QtScriptEditorPlugin::initialize(const QStringList & /*arguments*/, QString
addObject(m_editor);
Core::BaseFileWizardParameters wizardParameters(Core::IWizard::FileWizard);
wizardParameters.setDescription(tr("Qt Script file"));
wizardParameters.setDescription(tr("Creates a Qt Script file."));
wizardParameters.setName(tr("Qt Script file"));
wizardParameters.setCategory(QLatin1String("Qt"));
wizardParameters.setTrCategory(tr("Qt"));
......
......@@ -74,8 +74,8 @@ bool ResourceEditorPlugin::initialize(const QStringList &arguments, QString *err
addObject(m_editor);
Core::BaseFileWizardParameters wizardParameters(Core::IWizard::FileWizard);
wizardParameters.setDescription(tr("Resource file"));
wizardParameters.setName(tr("Resource file"));
wizardParameters.setDescription(tr("Create a Qt Resource file (.qrc)."));
wizardParameters.setName(tr("Qt Resource file"));
wizardParameters.setCategory(QLatin1String("Qt"));
wizardParameters.setTrCategory(tr("Qt"));
......
......@@ -90,7 +90,7 @@ bool TextEditorPlugin::initialize(const QStringList &arguments, QString *errorMe
return false;
Core::BaseFileWizardParameters wizardParameters(Core::IWizard::FileWizard);
wizardParameters.setDescription(tr("This creates a new text file (.txt)"));
wizardParameters.setDescription(tr("Creates a text file (.txt)."));
wizardParameters.setName(tr("Text File"));
wizardParameters.setCategory(QLatin1String("General"));
wizardParameters.setTrCategory(tr("General"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment