Skip to content
GitLab
Menu
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
8d32f7f2
Commit
8d32f7f2
authored
Apr 09, 2010
by
Daniel Molkentin
Browse files
Fix translation of C++ category
parent
8dc3b90e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppplugin.cpp
View file @
8d32f7f2
...
@@ -59,6 +59,7 @@
...
@@ -59,6 +59,7 @@
#include <QtCore/QFileInfo>
#include <QtCore/QFileInfo>
#include <QtCore/QSettings>
#include <QtCore/QSettings>
#include <QtCore/QTimer>
#include <QtCore/QTimer>
#include <QtCore/QCoreApplication>
#include <QtGui/QMenu>
#include <QtGui/QMenu>
...
@@ -209,7 +210,8 @@ bool CppPlugin::initialize(const QStringList & /*arguments*/, QString *errorMess
...
@@ -209,7 +210,8 @@ bool CppPlugin::initialize(const QStringList & /*arguments*/, QString *errorMess
CppFileWizard
::
BaseFileWizardParameters
wizardParameters
(
Core
::
IWizard
::
FileWizard
);
CppFileWizard
::
BaseFileWizardParameters
wizardParameters
(
Core
::
IWizard
::
FileWizard
);
wizardParameters
.
setCategory
(
QLatin1String
(
Constants
::
WIZARD_CATEGORY
));
wizardParameters
.
setCategory
(
QLatin1String
(
Constants
::
WIZARD_CATEGORY
));
wizardParameters
.
setDisplayCategory
(
Constants
::
WIZARD_TR_CATEGORY
);
wizardParameters
.
setDisplayCategory
(
QCoreApplication
::
translate
(
Constants
::
WIZARD_CATEGORY
,
Constants
::
WIZARD_TR_CATEGORY
));
wizardParameters
.
setDisplayName
(
tr
(
"C++ Class"
));
wizardParameters
.
setDisplayName
(
tr
(
"C++ Class"
));
wizardParameters
.
setId
(
QLatin1String
(
"A.Class"
));
wizardParameters
.
setId
(
QLatin1String
(
"A.Class"
));
wizardParameters
.
setKind
(
Core
::
IWizard
::
ClassWizard
);
wizardParameters
.
setKind
(
Core
::
IWizard
::
ClassWizard
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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