Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
bf95a99c
Commit
bf95a99c
authored
May 12, 2010
by
Daniel Molkentin
Browse files
New texts for the wizard types in the new dialog
Reviewed-by: Leena Miettinen
parent
28ec2233
Changes
18
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/templates/wizards/qml-runtime/wizard.xml
View file @
bf95a99c
...
...
@@ -37,7 +37,7 @@ leave room for the Qt 4 target page.
<wizard
version=
"1"
kind=
"project"
class=
"qt4project"
firstpage=
"10"
id=
"QmlRuntimePlugin"
category=
"F.Projects"
>
<description>
Creates a plug
-
in
for
the QML runtime.
</description>
<description>
Creates a
C++
plugin
to extend the funtionality of
the QML runtime.
</description>
<displayname>
QML Runtime Plug-in
</displayname>
<displaycategory>
QML Runtime Plug-in
</displaycategory>
<files>
...
...
src/plugins/cppeditor/cppplugin.cpp
View file @
bf95a99c
...
...
@@ -215,16 +215,16 @@ bool CppPlugin::initialize(const QStringList & /*arguments*/, QString *errorMess
wizardParameters
.
setDisplayName
(
tr
(
"C++ Class"
));
wizardParameters
.
setId
(
QLatin1String
(
"A.Class"
));
wizardParameters
.
setKind
(
Core
::
IWizard
::
ClassWizard
);
wizardParameters
.
setDescription
(
tr
(
"Creates a header and a source file for a new class."
));
wizardParameters
.
setDescription
(
tr
(
"Creates a
C++
header and a source file for a new class
that you can add to a C++ project
."
));
addAutoReleasedObject
(
new
CppClassWizard
(
wizardParameters
,
core
));
wizardParameters
.
setKind
(
Core
::
IWizard
::
FileWizard
);
wizardParameters
.
setDescription
(
tr
(
"Creates a C++ source file."
));
wizardParameters
.
setDescription
(
tr
(
"Creates a C++ source file
that you can add to a C++ project
."
));
wizardParameters
.
setDisplayName
(
tr
(
"C++ Source File"
));
wizardParameters
.
setId
(
QLatin1String
(
"B.Source"
));
addAutoReleasedObject
(
new
CppFileWizard
(
wizardParameters
,
Source
,
core
));
wizardParameters
.
setDescription
(
tr
(
"Creates a C++ header file."
));
wizardParameters
.
setDescription
(
tr
(
"Creates a C++ header file
that you can add to a C++ project
."
));
wizardParameters
.
setDisplayName
(
tr
(
"C++ Header File"
));
wizardParameters
.
setId
(
QLatin1String
(
"C.Header"
));
addAutoReleasedObject
(
new
CppFileWizard
(
wizardParameters
,
Header
,
core
));
...
...
src/plugins/cvs/checkoutwizard.cpp
View file @
bf95a99c
...
...
@@ -53,7 +53,7 @@ QIcon CheckoutWizard::icon() const
QString
CheckoutWizard
::
description
()
const
{
return
tr
(
"Checks out a project from a CVS repository."
);
return
tr
(
"Checks out a project from a CVS repository
and tries to load the contained project
."
);
}
QString
CheckoutWizard
::
displayName
()
const
...
...
src/plugins/designer/formeditorplugin.cpp
View file @
bf95a99c
...
...
@@ -129,14 +129,16 @@ void FormEditorPlugin::initializeTemplates()
const
QString
formFileType
=
QLatin1String
(
Constants
::
FORM_FILE_TYPE
);
wizardParameters
.
setDisplayName
(
tr
(
"Qt Designer Form"
));
wizardParameters
.
setId
(
QLatin1String
(
"D.Form"
));
wizardParameters
.
setDescription
(
tr
(
"Creates a Qt Designer form file (.ui)."
));
wizardParameters
.
setDescription
(
tr
(
"Creates a Qt Designer form along with a matching class (C++ header and source file) "
"for implementation purposes. You can add the form and class to an existing Qt C++ Project."
));
addAutoReleasedObject
(
new
FormWizard
(
wizardParameters
,
this
));
#ifdef CPP_ENABLED
wizardParameters
.
setKind
(
Core
::
IWizard
::
ClassWizard
);
wizardParameters
.
setDisplayName
(
tr
(
"Qt Designer Form Class"
));
wizardParameters
.
setId
(
QLatin1String
(
"C.FormClass"
));
wizardParameters
.
setDescription
(
tr
(
"Creates a Qt Designer form file (.ui) with a matching class."
));
wizardParameters
.
setDescription
(
tr
(
"Creates a Qt Designer form that you can add to a Qt C++ project. "
"This is useful if you already have an existing class for the UI business logic."
));
addAutoReleasedObject
(
new
FormClassWizard
(
wizardParameters
,
this
));
addAutoReleasedObject
(
new
CppSettingsPage
);
#endif
...
...
src/plugins/genericprojectmanager/genericprojectwizard.cpp
View file @
bf95a99c
...
...
@@ -96,7 +96,8 @@ Core::BaseFileWizardParameters GenericProjectWizard::parameters()
parameters
.
setIcon
(
QIcon
(
QLatin1String
(
":/wizards/images/console.png"
)));
parameters
.
setDisplayName
(
tr
(
"Import Existing Project"
));
parameters
.
setId
(
QLatin1String
(
"Z.Makefile"
));
parameters
.
setDescription
(
tr
(
"Creates a generic project, supporting any build system."
));
parameters
.
setDescription
(
tr
(
"Imports existing projects that do not use qmake or CMake. "
"This allows you to use Qt Creator as a code editor."
));
parameters
.
setCategory
(
QLatin1String
(
ProjectExplorer
::
Constants
::
PROJECT_WIZARD_CATEGORY
));
parameters
.
setDisplayCategory
(
QCoreApplication
::
translate
(
"ProjectExplorer"
,
ProjectExplorer
::
Constants
::
PROJECT_WIZARD_TR_CATEGORY
));
return
parameters
;
...
...
src/plugins/git/clonewizard.cpp
View file @
bf95a99c
...
...
@@ -52,7 +52,7 @@ QIcon CloneWizard::icon() const
QString
CloneWizard
::
description
()
const
{
return
tr
(
"Clones a project from a
g
it repository."
);
return
tr
(
"Clones a project from a
G
it repository
and tries to load the contained project
."
);
}
QString
CloneWizard
::
displayName
()
const
...
...
src/plugins/git/gitorious/gitoriousclonewizard.cpp
View file @
bf95a99c
...
...
@@ -80,7 +80,7 @@ QIcon GitoriousCloneWizard::icon() const
QString
GitoriousCloneWizard
::
description
()
const
{
return
tr
(
"Clones a project from a Gitorious repository."
);
return
tr
(
"Clones a project from a Gitorious repository
and tries to load the contained project
."
);
}
QString
GitoriousCloneWizard
::
displayName
()
const
...
...
src/plugins/mercurial/clonewizard.cpp
View file @
bf95a99c
...
...
@@ -53,7 +53,7 @@ QIcon CloneWizard::icon() const
QString
CloneWizard
::
description
()
const
{
return
tr
(
"Clone a Mercurial repository"
);
return
tr
(
"Clone
s
a Mercurial repository
and tries to load the contained project.
"
);
}
QString
CloneWizard
::
displayName
()
const
...
...
src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp
View file @
bf95a99c
...
...
@@ -61,7 +61,8 @@ Core::BaseFileWizardParameters QmlProjectApplicationWizard::parameters()
parameters
.
setIcon
(
QIcon
(
QLatin1String
(
":/wizards/images/console.png"
)));
parameters
.
setDisplayName
(
tr
(
"Qt QML Application"
));
parameters
.
setId
(
QLatin1String
(
"QA.QML Application"
));
parameters
.
setDescription
(
tr
(
"Creates a Qt QML application."
));
parameters
.
setDescription
(
tr
(
"Creates a Qt QML application project with a single QML file containing the main view.
\n\n
"
"QML application projects are executed through the QML runtime and do not need to be built."
));
parameters
.
setCategory
(
QLatin1String
(
Constants
::
QML_WIZARD_CATEGORY
));
parameters
.
setDisplayCategory
(
QCoreApplication
::
translate
(
Constants
::
QML_WIZARD_TR_SCOPE
,
Constants
::
QML_WIZARD_TR_CATEGORY
));
...
...
src/plugins/qt4projectmanager/wizards/consoleappwizard.cpp
View file @
bf95a99c
...
...
@@ -57,7 +57,8 @@ ConsoleAppWizard::ConsoleAppWizard()
QLatin1String
(
Constants
::
QT_APP_WIZARD_TR_SCOPE
),
QLatin1String
(
Constants
::
QT_APP_WIZARD_TR_CATEGORY
),
tr
(
"Qt Console Application"
),
tr
(
"Creates a Qt console application."
),
tr
(
"Creates a project containing a single main.cpp file with a stub implementation.
\n\n
"
"Preselects a desktop Qt for building the application if available."
),
QIcon
(
QLatin1String
(
":/wizards/images/console.png"
)))
{
}
...
...
src/plugins/qt4projectmanager/wizards/emptyprojectwizard.cpp
View file @
bf95a99c
...
...
@@ -44,7 +44,8 @@ EmptyProjectWizard::EmptyProjectWizard()
QLatin1String
(
ProjectExplorer
::
Constants
::
PROJECT_WIZARD_TR_SCOPE
),
QLatin1String
(
ProjectExplorer
::
Constants
::
PROJECT_WIZARD_TR_CATEGORY
),
tr
(
"Empty Qt Project"
),
tr
(
"Creates an empty Qt project."
),
tr
(
"Creates a qmake-based project without any files. This allows you to create "
"an application without any default classes."
),
QIcon
(
QLatin1String
(
":/wizards/images/gui.png"
)))
{
}
...
...
src/plugins/qt4projectmanager/wizards/guiappwizard.cpp
View file @
bf95a99c
...
...
@@ -81,7 +81,9 @@ GuiAppWizard::GuiAppWizard()
QLatin1String
(
Constants
::
QT_APP_WIZARD_TR_SCOPE
),
QLatin1String
(
Constants
::
QT_APP_WIZARD_TR_CATEGORY
),
tr
(
"Qt Gui Application"
),
tr
(
"Creates a Qt Gui Application with one form."
),
tr
(
"Creates a Qt application for the desktop. "
"Includes a Qt Designer-based main window.
\n\n
"
"Preselects a desktop Qt for building the application if available."
),
QIcon
(
QLatin1String
(
":/wizards/images/gui.png"
))),
m_createMobileProject
(
false
)
{
...
...
src/plugins/qt4projectmanager/wizards/librarywizard.cpp
View file @
bf95a99c
...
...
@@ -53,7 +53,9 @@ LibraryWizard::LibraryWizard()
QLatin1String
(
ProjectExplorer
::
Constants
::
PROJECT_WIZARD_TR_SCOPE
),
QLatin1String
(
ProjectExplorer
::
Constants
::
PROJECT_WIZARD_TR_CATEGORY
),
tr
(
"C++ Library"
),
tr
(
"Creates a Qt based C++ Library."
),
tr
(
"Creates a C++ library based on qmake. This can be used to create:<ul>"
"<li>a shared C++ library for use with <tt>QPluginLoader</tt> and runtime (Plugins)</li>"
"<li>a shared or static C++ library for use with another project at linktime</li></ul>."
),
QIcon
(
QLatin1String
(
":/wizards/images/lib.png"
)))
{
}
...
...
src/plugins/qt4projectmanager/wizards/mobileguiappwizard.cpp
View file @
bf95a99c
...
...
@@ -42,7 +42,9 @@ MobileGuiAppWizard::MobileGuiAppWizard() :
QLatin1String
(
Constants
::
QT_APP_WIZARD_TR_SCOPE
),
QLatin1String
(
Constants
::
QT_APP_WIZARD_TR_CATEGORY
),
tr
(
"Mobile Qt Application"
),
tr
(
"Creates a mobile Qt Gui Application with one form."
),
tr
(
"Creates a Qt application optimized for mobile devices "
"with a Qt Designer-based main window.
\n\n
"
"Preselects Qt for Simulator and mobile targets if available"
),
QIcon
(
QLatin1String
(
":/projectexplorer/images/SymbianDevice.png"
)),
true
)
{
...
...
src/plugins/qt4projectmanager/wizards/testwizard.cpp
View file @
bf95a99c
...
...
@@ -49,7 +49,9 @@ TestWizard::TestWizard() :
QLatin1String
(
ProjectExplorer
::
Constants
::
PROJECT_WIZARD_TR_SCOPE
),
QLatin1String
(
ProjectExplorer
::
Constants
::
PROJECT_WIZARD_TR_CATEGORY
),
tr
(
"Qt Unit Test"
),
tr
(
"Creates a Qt Unit Test."
),
tr
(
"Creates a QTestLib-based unit test for a feature or a class. "
"Unit tests allow you to verify that the code is fit for use "
"and that there are no regressions."
),
QIcon
(
QLatin1String
(
":/wizards/images/console.png"
)))
{
}
...
...
src/plugins/resourceeditor/resourceeditorplugin.cpp
View file @
bf95a99c
...
...
@@ -75,7 +75,7 @@ bool ResourceEditorPlugin::initialize(const QStringList &arguments, QString *err
addObject
(
m_editor
);
Core
::
BaseFileWizardParameters
wizardParameters
(
Core
::
IWizard
::
FileWizard
);
wizardParameters
.
setDescription
(
tr
(
"Creates a Qt Resource file (.qrc)."
));
wizardParameters
.
setDescription
(
tr
(
"Creates a Qt Resource file (.qrc)
that you can add to a Qt C++ project
."
));
wizardParameters
.
setDisplayName
(
tr
(
"Qt Resource file"
));
wizardParameters
.
setId
(
QLatin1String
(
"F.Resource"
));
wizardParameters
.
setCategory
(
QLatin1String
(
Core
::
Constants
::
WIZARD_CATEGORY_QT
));
...
...
src/plugins/subversion/checkoutwizard.cpp
View file @
bf95a99c
...
...
@@ -53,7 +53,7 @@ QIcon CheckoutWizard::icon() const
QString
CheckoutWizard
::
description
()
const
{
return
tr
(
"Checks out a project from a Subversion repository."
);
return
tr
(
"Checks out a project from a Subversion repository
and tries to load the contained project
."
);
}
QString
CheckoutWizard
::
displayName
()
const
...
...
src/plugins/texteditor/texteditorplugin.cpp
View file @
bf95a99c
...
...
@@ -91,7 +91,8 @@ bool TextEditorPlugin::initialize(const QStringList &arguments, QString *errorMe
return
false
;
Core
::
BaseFileWizardParameters
wizardParameters
(
Core
::
IWizard
::
FileWizard
);
wizardParameters
.
setDescription
(
tr
(
"Creates a text file (.txt)."
));
wizardParameters
.
setDescription
(
tr
(
"Creates a text file. The default file extension is <tt>.txt</tt>. "
"You can specify a different extension as part of the filename."
));
wizardParameters
.
setDisplayName
(
tr
(
"Text File"
));
wizardParameters
.
setCategory
(
QLatin1String
(
"U.General"
));
wizardParameters
.
setDisplayCategory
(
tr
(
"General"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment