forked from qt-creator/qt-creator
CurrentBuild:Type: Do not mark these strings as translatable
They are constants that should not change based on locale. We have the CurrentBuild:Name for something that is localized. Change-Id: Ied7c123e0cdeee3f98ac6ea28e19137b9e70a9a8 Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
This commit is contained in:
@@ -1374,11 +1374,11 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
|
||||
if (BuildConfiguration *bc = activeBuildConfiguration()) {
|
||||
BuildConfiguration::BuildType type = bc->buildType();
|
||||
if (type == BuildConfiguration::Debug)
|
||||
return tr("debug");
|
||||
return QLatin1String("debug");
|
||||
if (type == BuildConfiguration::Release)
|
||||
return tr("release");
|
||||
return QLatin1String("release");
|
||||
if (type == BuildConfiguration::Profile)
|
||||
return tr("profile");
|
||||
return QLatin1String("profile");
|
||||
}
|
||||
return tr("unknown");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user