BareMetal: use proper product name for ST-LINK Utility

In translatable UI strings.

Change-Id: I0890ce916bdcf4939d008cbcfd7af5044ddb8d9a
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Leena Miettinen
2015-03-16 14:54:06 +01:00
committed by Leena Miettinen
parent ac01185f5e
commit 7c4bf23b09

View File

@@ -98,7 +98,7 @@ QString StLinkUtilGdbServerProvider::defaultResetCommands()
QString StLinkUtilGdbServerProvider::typeDisplayName() const
{
return StLinkUtilGdbServerProviderFactory::tr("STLink-Util");
return StLinkUtilGdbServerProviderFactory::tr("ST-LINK Utility");
}
QString StLinkUtilGdbServerProvider::channel() const
@@ -221,7 +221,7 @@ GdbServerProviderConfigWidget *StLinkUtilGdbServerProvider::configurationWidget(
StLinkUtilGdbServerProviderFactory::StLinkUtilGdbServerProviderFactory()
{
setId(QLatin1String(Constants::STLINK_UTIL_PROVIDER_ID));
setDisplayName(tr("STLink-Util"));
setDisplayName(tr("ST-LINK Utility"));
}
GdbServerProvider *StLinkUtilGdbServerProviderFactory::create()
@@ -377,10 +377,10 @@ void StLinkUtilGdbServerProviderConfigWidget::setTransportLayer(
void StLinkUtilGdbServerProviderConfigWidget::populateTransportLayers()
{
m_transportLayerComboBox->insertItem(
m_transportLayerComboBox->count(), tr("STLINKv1"),
m_transportLayerComboBox->count(), tr("ST-LINK/V1"),
StLinkUtilGdbServerProvider::ScsiOverUsb);
m_transportLayerComboBox->insertItem(
m_transportLayerComboBox->count(), tr("STLINKv2"),
m_transportLayerComboBox->count(), tr("ST-LINK/V2"),
StLinkUtilGdbServerProvider::RawUsb);
}