diff --git a/src/plugins/cppeditor/cppplugin.cpp b/src/plugins/cppeditor/cppplugin.cpp index f4dc37f404cdeee51283e0c59d1b66ff73d968a8..8cda27b2f31f4b08ed3828901a92b536bd3f0002 100644 --- a/src/plugins/cppeditor/cppplugin.cpp +++ b/src/plugins/cppeditor/cppplugin.cpp @@ -59,6 +59,7 @@ #include <QtCore/QFileInfo> #include <QtCore/QSettings> #include <QtCore/QTimer> +#include <QtCore/QCoreApplication> #include <QtGui/QMenu> @@ -209,7 +210,8 @@ bool CppPlugin::initialize(const QStringList & /*arguments*/, QString *errorMess CppFileWizard::BaseFileWizardParameters wizardParameters(Core::IWizard::FileWizard); 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.setId(QLatin1String("A.Class")); wizardParameters.setKind(Core::IWizard::ClassWizard);