# HG changeset patch # User Wuzzy # Date 1491858656 -7200 # Node ID 072ece492a65bbc4b868ff493e04f15d97363088 # Parent b532cc42ebd432deb6263f0292ece81d720c083c Make entire top part of about screen translatable diff -r b532cc42ebd4 -r 072ece492a65 QTfrontend/ui/widget/about.cpp --- a/QTfrontend/ui/widget/about.cpp Mon Apr 10 22:43:55 2017 +0200 +++ b/QTfrontend/ui/widget/about.cpp Mon Apr 10 23:10:56 2017 +0200 @@ -75,11 +75,18 @@ "a { color: #ffcc00; }" // "a:hover { color: yellow; }" "" - "

Hedgewars " + *cVersionString + "

" - "

" + QLabel::tr("Revision") + " " + *cRevisionString + " (" + *cHashString + ")

" - "

https://www.hedgewars.org/

" + - QLabel::tr("This program is distributed under the %1").arg("GNU GPL v2") + + //: %1 contains Hedgewars' version number + "

"+QString(tr("Hedgewars %1")).arg(*cVersionString) + "

" + //: “Revision” stands for a revision in Mercurial, a distributed version control system. %1 is the revision, %2 is the hexadecimal hash. + "

" + QString(tr("Revision %1 (%2)")).arg(*cRevisionString, *cHashString) + "

" + //: %1 is replaced by the URL of Hedgewars. + "

" + QString(tr("Visit our homepage: %1")) + .arg("https://www.hedgewars.org/") + "

" + + //: %1 is the name of a license + tr("This program is distributed under the %1.") + .arg(""+ + //: Short for “GNU General Public License version 2” + tr("GNU GPL v2")+"") + "
" ); lbl1->setWordWrap(true); @@ -94,6 +101,7 @@ /* Library information */ QString libinfo = ""; + //: For the version numbers of Hedgewars' software dependencies libinfo.append(QString(tr("Dependency versions:") + QString("
"))); #ifdef __GNUC__