forked from qt-creator/qt-creator
Proliferate Tr::tr in various places
This changes several tr() calls which were either missed during Tr::tr- ization or were added later. Found with regular expression: (?<!(Tr::)|([\w]))tr\( Change-Id: I1c0c03589e941614a7a8449ecfebc7d2cad396c3 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/projectexplorertr.h>
|
||||
#include <projectexplorer/session.h>
|
||||
#include <projectexplorer/target.h>
|
||||
#include <projectexplorer/taskhub.h>
|
||||
@@ -1970,12 +1971,12 @@ BuildInfo CMakeBuildConfigurationFactory::createBuildInfo(BuildType buildType)
|
||||
switch (buildType) {
|
||||
case BuildTypeNone:
|
||||
info.typeName = "Build";
|
||||
info.displayName = BuildConfiguration::tr("Build");
|
||||
info.displayName = ::ProjectExplorer::Tr::tr("Build");
|
||||
info.buildType = BuildConfiguration::Unknown;
|
||||
break;
|
||||
case BuildTypeDebug: {
|
||||
info.typeName = "Debug";
|
||||
info.displayName = BuildConfiguration::tr("Debug");
|
||||
info.displayName = ::ProjectExplorer::Tr::tr("Debug");
|
||||
info.buildType = BuildConfiguration::Debug;
|
||||
QVariantMap extraInfo;
|
||||
// enable QML debugging by default
|
||||
@@ -1985,7 +1986,7 @@ BuildInfo CMakeBuildConfigurationFactory::createBuildInfo(BuildType buildType)
|
||||
}
|
||||
case BuildTypeRelease:
|
||||
info.typeName = "Release";
|
||||
info.displayName = BuildConfiguration::tr("Release");
|
||||
info.displayName = ::ProjectExplorer::Tr::tr("Release");
|
||||
info.buildType = BuildConfiguration::Release;
|
||||
break;
|
||||
case BuildTypeMinSizeRel:
|
||||
|
||||
Reference in New Issue
Block a user