From 6984e9df124d234ac308144b0197a88c250c95f3 Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Mon, 23 Jan 2017 21:47:08 +0100 Subject: [PATCH] Used tr() for some GUI strings (there are plenty more that should be treated this way). --- src/gui/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.5