forked from qt-creator/qt-creator
Android: Remove trailing white spaces from translated strings
Change-Id: Ie88b3bcd8f5e5c04bcd639924c278871245fad70 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -712,9 +712,13 @@ void AndroidSettingsWidget::downloadOpenSslRepo(const bool silent)
|
|||||||
connect(openSslProgressDialog, &QProgressDialog::canceled, gitCloner, &QtcProcess::kill);
|
connect(openSslProgressDialog, &QProgressDialog::canceled, gitCloner, &QtcProcess::kill);
|
||||||
|
|
||||||
auto failDialog = [=](const QString &msgSuffix = {}) {
|
auto failDialog = [=](const QString &msgSuffix = {}) {
|
||||||
|
QStringList sl;
|
||||||
|
sl << tr("OpenSSL prebuilt libraries cloning failed.");
|
||||||
|
if (!msgSuffix.isEmpty())
|
||||||
|
sl << msgSuffix;
|
||||||
|
sl << tr("Opening OpenSSL URL for manual download.");
|
||||||
QMessageBox msgBox;
|
QMessageBox msgBox;
|
||||||
msgBox.setText(tr("OpenSSL prebuilt libraries cloning failed. ") + msgSuffix
|
msgBox.setText(sl.join(" "));
|
||||||
+ tr("Opening OpenSSL URL for manual download."));
|
|
||||||
msgBox.addButton(tr("Cancel"), QMessageBox::RejectRole);
|
msgBox.addButton(tr("Cancel"), QMessageBox::RejectRole);
|
||||||
QAbstractButton *openButton = msgBox.addButton(tr("Open Download URL"), QMessageBox::ActionRole);
|
QAbstractButton *openButton = msgBox.addButton(tr("Open Download URL"), QMessageBox::ActionRole);
|
||||||
msgBox.exec();
|
msgBox.exec();
|
||||||
|
Reference in New Issue
Block a user