forked from qt-creator/qt-creator
ProjectExplorer: Tr::tr
Change-Id: I8f1b463c5cc7a53627f7a9ad261998b92f13e56a Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "buildmanager.h"
|
||||
#include "buildstep.h"
|
||||
#include "projectexplorerconstants.h"
|
||||
#include "projectexplorertr.h"
|
||||
#include "target.h"
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
@@ -81,15 +82,15 @@ QString BuildStepList::displayName() const
|
||||
{
|
||||
if (m_id == Constants::BUILDSTEPS_BUILD) {
|
||||
//: Display name of the build build step list. Used as part of the labels in the project window.
|
||||
return tr("Build");
|
||||
return Tr::tr("Build");
|
||||
}
|
||||
if (m_id == Constants::BUILDSTEPS_CLEAN) {
|
||||
//: Display name of the clean build step list. Used as part of the labels in the project window.
|
||||
return tr("Clean");
|
||||
return Tr::tr("Clean");
|
||||
}
|
||||
if (m_id == Constants::BUILDSTEPS_DEPLOY) {
|
||||
//: Display name of the deploy build step list. Used as part of the labels in the project window.
|
||||
return tr("Deploy");
|
||||
return Tr::tr("Deploy");
|
||||
}
|
||||
QTC_CHECK(false);
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user