Android: Fix UI text

Task-number: QTCREATORBUG-26458
Change-Id: Ibc407db46a605c6bde8f994af63f678a5a102b0e
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Leena Miettinen
2021-10-25 16:55:27 +02:00
parent dcd4d1c92e
commit 354c6405c3

View File

@@ -168,7 +168,7 @@ void AndroidSdkManagerWidget::installEssentials()
if (!m_sdkModel->missingEssentials().isEmpty()) { if (!m_sdkModel->missingEssentials().isEmpty()) {
QMessageBox::warning(this, QMessageBox::warning(this,
tr("Android SDK Changes"), tr("Android SDK Changes"),
tr("%1 couldn't find the following essential packages: \"%2\".\n" tr("%1 cannot find the following essential packages: \"%2\".\n"
"Install them manually after the current operation is done.\n") "Install them manually after the current operation is done.\n")
.arg(Core::Constants::IDE_DISPLAY_NAME) .arg(Core::Constants::IDE_DISPLAY_NAME)
.arg(m_sdkModel->missingEssentials().join("\", \""))); .arg(m_sdkModel->missingEssentials().join("\", \"")));
@@ -277,7 +277,7 @@ void AndroidSdkManagerWidget::onLicenseCheckResult(const AndroidSdkManager::Oper
} else { } else {
// Assertion was found. Provide user workflow to accept licenses. // Assertion was found. Provide user workflow to accept licenses.
QString warningMessage = tr("Review Android SDK package licenses that have not been " QString warningMessage = tr("Review Android SDK package licenses that have not been "
"accepted?\nPlease note that the installation and use of " "accepted?\nNote that the installation and use of "
"Android SDK packages may fail if respective licenses are not " "Android SDK packages may fail if respective licenses are not "
"accepted."); "accepted.");
int userSelection = QMessageBox::question(this, tr("Android SDK Licenses"), warningMessage, int userSelection = QMessageBox::question(this, tr("Android SDK Licenses"), warningMessage,