From ea128cd8fc36aa5e5edc53f97e8c72e588b49abd Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Thu, 22 Oct 2015 16:17:52 +0200 Subject: [PATCH] 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 --- src/plugins/projectexplorer/projectexplorer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 41a9ffc11e7..d64479adf02 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"); });