Commit 77558abc authored by Robert Loehning's avatar Robert Loehning
Browse files

Fixed translation of "Projects"

Reviewed-by: dt
parent 16081c10
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include <projectexplorer/environment.h> #include <projectexplorer/environment.h>
#include <qtconcurrent/QtConcurrentTools> #include <qtconcurrent/QtConcurrentTools>
#include <QtCore/QtConcurrentRun> #include <QtCore/QtConcurrentRun>
#include <QtCore/QCoreApplication>
#include <QtCore/QSettings> #include <QtCore/QSettings>
#include <QtGui/QFormLayout> #include <QtGui/QFormLayout>
#include <QtGui/QBoxLayout> #include <QtGui/QBoxLayout>
...@@ -255,7 +256,8 @@ QString CMakeSettingsPage::category() const ...@@ -255,7 +256,8 @@ QString CMakeSettingsPage::category() const
QString CMakeSettingsPage::displayCategory() const QString CMakeSettingsPage::displayCategory() const
{ {
return tr(ProjectExplorer::Constants::PROJECTEXPLORER_SETTINGS_TR_CATEGORY); return QCoreApplication::translate("ProjectExplorer",
ProjectExplorer::Constants::PROJECTEXPLORER_SETTINGS_TR_CATEGORY);
} }
QIcon CMakeSettingsPage::categoryIcon() const QIcon CMakeSettingsPage::categoryIcon() const
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include <coreplugin/filemanager.h> #include <coreplugin/filemanager.h>
#include <QtGui/QLabel> #include <QtGui/QLabel>
#include <QtCore/QCoreApplication>
namespace ProjectExplorer { namespace ProjectExplorer {
namespace Internal { namespace Internal {
...@@ -136,7 +137,8 @@ QString ProjectExplorerSettingsPage::category() const ...@@ -136,7 +137,8 @@ QString ProjectExplorerSettingsPage::category() const
QString ProjectExplorerSettingsPage::displayCategory() const QString ProjectExplorerSettingsPage::displayCategory() const
{ {
return tr(Constants::PROJECTEXPLORER_SETTINGS_TR_CATEGORY); return QCoreApplication::translate("ProjectExplorer",
Constants::PROJECTEXPLORER_SETTINGS_TR_CATEGORY);
} }
QIcon ProjectExplorerSettingsPage::categoryIcon() const QIcon ProjectExplorerSettingsPage::categoryIcon() const
......
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