TargetSetupPage: Translate less HTML

Change-Id: I5dadcffcf6bb776d1c3e16f611783861428e61b9
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Robert Loehning
2020-03-24 17:50:46 +01:00
parent 2444595fbc
commit d3cf1549ee

View File

@@ -101,9 +101,11 @@ public:
noValidKitLabel = new QLabel(setupTargetPage); noValidKitLabel = new QLabel(setupTargetPage);
noValidKitLabel->setWordWrap(true); noValidKitLabel->setWordWrap(true);
noValidKitLabel->setText(TargetSetupPage::tr("<span style=\" font-weight:600;\">No suitable kits found.</span><br/>" noValidKitLabel->setText("<span style=\" font-weight:600;\">"
"Add a kit in the <a href=\"buildandrun\">options</a> " + TargetSetupPage::tr("No suitable kits found.") + "</span><br/>"
"or via the maintenance tool of the SDK.")); + TargetSetupPage::tr("Add a kit in the <a href=\"buildandrun\">"
"options</a> or via the maintenance tool of"
" the SDK."));
noValidKitLabel->setTextInteractionFlags(Qt::TextBrowserInteraction); noValidKitLabel->setTextInteractionFlags(Qt::TextBrowserInteraction);
noValidKitLabel->setVisible(false); noValidKitLabel->setVisible(false);