summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@nokia.com>2010-06-16 17:30:18 +0200
committerRobert Loehning <robert.loehning@nokia.com>2010-06-16 17:30:18 +0200
commit77558abc3203348636268c5881b3574ac8eeb954 (patch)
tree23ed7f36c0dabfb3bbf2119254c1aff4664ae3a9 /src
parent16081c105b9b7d0f90d59e80c6cebe8a171864ff (diff)
downloadqt-creator-77558abc3203348636268c5881b3574ac8eeb954.tar.gz
Fixed translation of "Projects"
Reviewed-by: dt
Diffstat (limited to 'src')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp4
-rw-r--r--src/plugins/projectexplorer/projectexplorersettingspage.cpp4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp
index 0ef46a5f64..3a4cc432bb 100644
--- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp
@@ -37,6 +37,7 @@
#include <projectexplorer/environment.h>
#include <qtconcurrent/QtConcurrentTools>
#include <QtCore/QtConcurrentRun>
+#include <QtCore/QCoreApplication>
#include <QtCore/QSettings>
#include <QtGui/QFormLayout>
#include <QtGui/QBoxLayout>
@@ -255,7 +256,8 @@ QString CMakeSettingsPage::category() 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
diff --git a/src/plugins/projectexplorer/projectexplorersettingspage.cpp b/src/plugins/projectexplorer/projectexplorersettingspage.cpp
index db70b96890..806b9b4570 100644
--- a/src/plugins/projectexplorer/projectexplorersettingspage.cpp
+++ b/src/plugins/projectexplorer/projectexplorersettingspage.cpp
@@ -36,6 +36,7 @@
#include <coreplugin/filemanager.h>
#include <QtGui/QLabel>
+#include <QtCore/QCoreApplication>
namespace ProjectExplorer {
namespace Internal {
@@ -136,7 +137,8 @@ QString ProjectExplorerSettingsPage::category() 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