From: Philipp Spitzer Date: Mon, 23 Jan 2017 20:47:08 +0000 (+0100) Subject: Used tr() for some GUI strings (there are plenty more that should be treated this... X-Git-Tag: 0.6.2~2 X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/commitdiff_plain/6984e9df124d234ac308144b0197a88c250c95f3 Used tr() for some GUI strings (there are plenty more that should be treated this way). --- diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 9f04963..556f6c7 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -421,8 +421,8 @@ void MainWindow::sslErrors(QNetworkReply *aReply, const QList &errors if (QMessageBox::warning( this, - QString("SSL errors"), - QString("One or more SSL errors have occurred: ") + errorString, + tr("SSL errors"), + tr("One or more SSL errors have occurred: %1", 0, errors.size()).arg(errorString), QMessageBox::Ignore | QMessageBox::Cancel) == QMessageBox::Ignore) { aReply->ignoreSslErrors(); } else {