diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-10-22 16:17:52 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-10-23 07:59:32 +0000 |
commit | ea128cd8fc36aa5e5edc53f97e8c72e588b49abd (patch) | |
tree | c28a0bf78e63bf0ccaa1ae01484abfcb004346fc | |
parent | b0cd8f14bca50d27ad5dbff63c8bce044897ce0e (diff) | |
download | qt-creator-ea128cd8fc36aa5e5edc53f97e8c72e588b49abd.tar.gz |
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>
-rw-r--r-- | src/plugins/projectexplorer/projectexplorer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 41a9ffc11e..d64479adf0 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -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"); }); |