forked from qt-creator/qt-creator
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:
@@ -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."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user