ProjectExplorer: Tr::tr

Change-Id: I8f1b463c5cc7a53627f7a9ad261998b92f13e56a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2023-01-13 12:38:22 +01:00
parent e373fe6aa9
commit c5f7f5ab0a
149 changed files with 1672 additions and 15967 deletions

View File

@@ -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 {};