Commit f6e166e5 authored by Jarek Kobus's avatar Jarek Kobus

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
......@@ -187,6 +187,10 @@ bool BuildConfiguration::fromMap(const QVariantMap &map)
delete list;
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);
}
......
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