Commit 04807648 authored by JanKusanagi's avatar JanKusanagi

Nicer initial log messages, more translatable

parent 8c08ca32
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2016-2017 JanKusanagi (JRR) <jancoding@gmx.com> -->
<!-- Copyright 2012-2018 JanKusanagi (JRR) <jancoding@gmx.com> -->
<component type="desktop">
<id>dianara.desktop</id>
......
......@@ -761,12 +761,16 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
initializationComplete = false;
logViewer->addToLog(tr("Dianara started."));
logViewer->addToLog(tr("Running with Qt v%1.").arg(qVersion()
+ QStringLiteral(" (")
+ qApp->platformName()
+ QStringLiteral(")"))
+ " " + QSysInfo::prettyProductName() + ".");
logViewer->addToLog(tr("%1 started.",
"1=program name and version")
.arg("Dianara v" + qApp->applicationVersion()));
logViewer->addToLog(tr("Running with Qt v%1 on %2.",
"1=Qt version, 2=OS name")
.arg(qVersion()
+ QStringLiteral(" (")
+ qApp->platformName()
+ QStringLiteral(")"),
QSysInfo::prettyProductName()));
this->statusAccountButtonUsed = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment