Skip to content
Snippets Groups Projects
Commit f6e166e5 authored by Jarek Kobus's avatar Jarek Kobus
Browse files

Make "Clean" and "Build" translated in "Add %1 Step"


Do the same as in case of "Deploy" string: after
restoring overwrite it with proper translated string.
Side note: tr("Build") and tr("Clean") have already
been used inside buildconfiguration.cpp so it will
not produce a new record in .ts file, i.e. this
change is not introducing a new message in string freeze
period.

Task-number: QTCREATORBUG-6595
Change-Id: I05040bba5066cbe0b55085cb2acbe43df34becd7
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 63007d2b
No related branches found
No related tags found
No related merge requests found
...@@ -187,6 +187,10 @@ bool BuildConfiguration::fromMap(const QVariantMap &map) ...@@ -187,6 +187,10 @@ bool BuildConfiguration::fromMap(const QVariantMap &map)
delete list; delete list;
return false; return false;
} }
if (list->id() == QLatin1String(Constants::BUILDSTEPS_BUILD))
list->setDefaultDisplayName(tr("Build"));
else if (list->id() == QLatin1String(Constants::BUILDSTEPS_CLEAN))
list->setDefaultDisplayName(tr("Clean"));
m_stepLists.append(list); m_stepLists.append(list);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment