MCU: Fine-tune UI text

Change-Id: Ia03f10891a6bc6af96d8a6165dd6bbe989131e4f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Leena Miettinen
2023-06-19 11:24:15 +02:00
parent 1fe2b3e583
commit b21f0c779b
2 changed files with 3 additions and 3 deletions

View File

@@ -229,7 +229,7 @@ void McuSupportOptionsWidget::updateStatus()
: Tr::tr("A kit for the selected target can be created.")); : Tr::tr("A kit for the selected target can be created."));
} else { } else {
m_kitCreationInfoLabel->setType(Utils::InfoLabel::NotOk); m_kitCreationInfoLabel->setType(Utils::InfoLabel::NotOk);
m_kitCreationInfoLabel->setText(Tr::tr("Provide the package paths in order to create a kit " m_kitCreationInfoLabel->setText(Tr::tr("Provide the package paths to create a kit "
"for your target.")); "for your target."));
} }
} }
@@ -243,7 +243,7 @@ void McuSupportOptionsWidget::updateStatus()
if (m_statusInfoLabel->isVisible()) { if (m_statusInfoLabel->isVisible()) {
m_statusInfoLabel->setType(Utils::InfoLabel::NotOk); m_statusInfoLabel->setType(Utils::InfoLabel::NotOk);
m_statusInfoLabel->setText(Tr::tr("No CMake tool was detected. Add a CMake tool in the " m_statusInfoLabel->setText(Tr::tr("No CMake tool was detected. Add a CMake tool in the "
"<a href=\"cmake\">CMake options</a> and press Apply.")); "<a href=\"cmake\">CMake options</a> and select Apply."));
} }
} }
} }

View File

@@ -168,7 +168,7 @@ void McuSupportPlugin::askUserAboutMcuSupportKitsUpgrade(const SettingsHandler::
return; return;
Utils::InfoBarEntry info(upgradeMcuSupportKits, Utils::InfoBarEntry info(upgradeMcuSupportKits,
Tr::tr("New version of Qt for MCUs detected. Upgrade existing Kits?"), Tr::tr("New version of Qt for MCUs detected. Upgrade existing kits?"),
Utils::InfoBarEntry::GlobalSuppression::Enabled); Utils::InfoBarEntry::GlobalSuppression::Enabled);
using McuKitManager::UpgradeOption; using McuKitManager::UpgradeOption;
static UpgradeOption selectedOption = UpgradeOption::Keep; static UpgradeOption selectedOption = UpgradeOption::Keep;