Commit ea128cd8 authored by Tobias Hunger's avatar Tobias Hunger

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: default avatarUlf Hermann <ulf.hermann@theqtcompany.com>
parent b0cd8f14
......@@ -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");
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment