diff --git a/src/widget/form/settings/aboutform.cpp b/src/widget/form/settings/aboutform.cpp index 7ecea8840..9344ecf9b 100644 --- a/src/widget/form/settings/aboutform.cpp +++ b/src/widget/form/settings/aboutform.cpp @@ -49,17 +49,43 @@ AboutForm::AboutForm() : //nightly builds from stable releases. void AboutForm::replaceVersions() { - QString toxcoreVersionString = QString::number(TOX_VERSION_MAJOR) + "." + - QString::number(TOX_VERSION_MINOR) + "." + - QString::number(TOX_VERSION_PATCH); + QString TOXCORE_VERSION = QString::number(TOX_VERSION_MAJOR) + "." + + QString::number(TOX_VERSION_MINOR) + "." + + QString::number(TOX_VERSION_PATCH); bodyUI->youareusing->setText(bodyUI->youareusing->text().replace("$GIT_DESCRIBE", QString(GIT_DESCRIBE))); bodyUI->gitVersion->setText(bodyUI->gitVersion->text().replace("$GIT_VERSION", QString(GIT_VERSION))); - bodyUI->toxCoreVersion->setText(bodyUI->toxCoreVersion->text().replace("$TOXCOREVERSION", toxcoreVersionString)); + bodyUI->toxCoreVersion->setText(bodyUI->toxCoreVersion->text().replace("$TOXCOREVERSION", TOXCORE_VERSION)); bodyUI->qtVersion->setText(bodyUI->qtVersion->text().replace("$QTVERSION", QT_VERSION_STR)); - bodyUI->knownIssues->setText(bodyUI->knownIssues->text().replace("$GIT_DESCRIBE", QString(GIT_DESCRIBE))); - bodyUI->knownIssues->setText(bodyUI->knownIssues->text().replace("$GIT_VERSION", QString(GIT_VERSION))); - bodyUI->knownIssues->setText(bodyUI->knownIssues->text().replace("$TOXCOREVERSION", toxcoreVersionString)); - bodyUI->knownIssues->setText(bodyUI->knownIssues->text().replace("$QTVERSION", QT_VERSION_STR)); + bodyUI->knownIssues->setText( + tr("A list of all known issues may be found at our %1 at Github. If you discover a bug or security vulnerability within qTox, please %3 according to the guidelines in our %2 wiki article.") + .arg(QString::fromUtf8("%1") + .arg(tr("bug-tracker"))) + .arg(QString::fromUtf8("%1") + .arg(tr("Writing Useful Bug Reports"))) + .arg(QString::fromUtf8("%8") + .arg( + QString("%0"), + QString("%2"), + QString("%3"), + QString(GIT_DESCRIBE), + QString(GIT_VERSION), + QString(TOXCORE_VERSION), + QString(QT_VERSION_STR), + tr("report it"))) + ); } AboutForm::~AboutForm()