From dea5f5524414e743e098151382e4d00a5b924bd1 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Wed, 30 Jan 2019 13:47:44 +0100 Subject: linguist: Don't translate HTML-tags Change-Id: Ifaaa316c5ed0273790e9957d04f0c36c08803eb8 Reviewed-by: Leena Miettinen Reviewed-by: Kai Koehne --- src/linguist/linguist/mainwindow.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/linguist/linguist/mainwindow.cpp b/src/linguist/linguist/mainwindow.cpp index e93bf5610..f443d25ea 100644 --- a/src/linguist/linguist/mainwindow.cpp +++ b/src/linguist/linguist/mainwindow.cpp @@ -1357,11 +1357,13 @@ void MainWindow::about() QString version = tr("Version %1"); version = version.arg(QLatin1String(QT_VERSION_STR)); - box.setText(tr("

%1

" - "

Qt Linguist is a tool for adding translations to Qt " - "applications.

" - "

Copyright (C) %2 The Qt Company Ltd." - ).arg(version, QStringLiteral("2019"))); + const QString description + = tr("Qt Linguist is a tool for adding translations to Qt applications."); + const QString copyright + = tr("Copyright (C) %1 The Qt Company Ltd.").arg(QStringLiteral("2019")); + box.setText(QStringLiteral("

%1

" + "

%2

" + "

%3

").arg(version, description, copyright)); box.setWindowTitle(QApplication::translate("AboutDialog", "Qt Linguist")); box.setIcon(QMessageBox::NoIcon); -- cgit v1.2.1