QTfrontend/about.cpp
changeset 236 7ca605677704
parent 235 28903e620258
child 243 556b40fbd28c
equal deleted inserted replaced
235:28903e620258 236:7ca605677704
    31 
    31 
    32 	QLabel *lbl1 = new QLabel(this);
    32 	QLabel *lbl1 = new QLabel(this);
    33 
    33 
    34 	lbl1->setOpenExternalLinks(true);
    34 	lbl1->setOpenExternalLinks(true);
    35 	lbl1->setText(
    35 	lbl1->setText(
    36 			"<div align=\"center\"><h1>Hedgewars</h1>"
    36 			"<div align=\"center\"><h1>Hedgewars</h1>" +
    37 			"<h3>Version 0.8</h3>"
    37 			QLabel::tr("<h3>Version 0.8</h3>") +
    38 			"<p><a href=\"http://www.hedgewars.org/\">http://www.hedgewars.org/</a></p><br>"
    38 			"<p><a href=\"http://www.hedgewars.org/\">http://www.hedgewars.org/</a></p><br>" +
    39 			"This program is distributed under the GNU General Public License"
    39 			QLabel::tr("This program is distributed under the GNU General Public License") +
    40 			"</div>"
    40 			"</div>"
    41 			);
    41 			);
    42 	lbl1->setWordWrap(true);
    42 	lbl1->setWordWrap(true);
    43 	mainLayout->addWidget(lbl1, 0, 1);
    43 	mainLayout->addWidget(lbl1, 0, 1);
    44 
    44 
    45 	QLabel *lbl2 = new QLabel(this);
    45 	QLabel *lbl2 = new QLabel(this);
    46 
    46 
    47 	lbl2->setOpenExternalLinks(true);
    47 	lbl2->setOpenExternalLinks(true);
    48 	lbl2->setText(
    48 	lbl2->setText(
    49 			"<h2>Developers:</h2><p>"
    49 			QLabel::tr("<h2>Developers:</h2>") +
       
    50 			"<p>"
    50 			"Andrey Korotaev &lt;<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>&gt;<br>"
    51 			"Andrey Korotaev &lt;<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>&gt;<br>"
    51 			"Igor Ulyanov &lt;<a href=\"mailto:iulyanov@gmail.com\">iulyanov@gmail.com</a>&gt;"
    52 			"Igor Ulyanov &lt;<a href=\"mailto:iulyanov@gmail.com\">iulyanov@gmail.com</a>&gt;"
    52 			"</p>"
    53 			"</p>" +
    53 			"<h2>Translations:</h2>"
    54 			QLabel::tr("<h2>Translations:</h2>") +
    54 			"english: Andrey Korotaev &lt;<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>&gt;<br>"
    55 			"english: Andrey Korotaev &lt;<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>&gt;<br>"
    55 			"russian: Andrey Korotaev &lt;<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>&gt;"
    56 			"russian: Andrey Korotaev &lt;<a href=\"mailto:unC0Rr@gmail.com\">unC0Rr@gmail.com</a>&gt;"
    56 			);
    57 			);
    57 	lbl2->setWordWrap(true);
    58 	lbl2->setWordWrap(true);
    58 	mainLayout->addWidget(lbl2, 1, 1);
    59 	mainLayout->addWidget(lbl2, 1, 1);