From 7c4bf23b09b58d49b6b983020bd9818bb6a1adf1 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Mon, 16 Mar 2015 14:54:06 +0100 Subject: [PATCH] BareMetal: use proper product name for ST-LINK Utility In translatable UI strings. Change-Id: I0890ce916bdcf4939d008cbcfd7af5044ddb8d9a Reviewed-by: Denis Shienkov Reviewed-by: Eike Ziller --- src/plugins/baremetal/stlinkutilgdbserverprovider.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/baremetal/stlinkutilgdbserverprovider.cpp b/src/plugins/baremetal/stlinkutilgdbserverprovider.cpp index daf70f6d672..c4e20522401 100644 --- a/src/plugins/baremetal/stlinkutilgdbserverprovider.cpp +++ b/src/plugins/baremetal/stlinkutilgdbserverprovider.cpp @@ -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); }