feedback page: allow translations for main text; added link to known bugs in order to reduce the future number of bug report duplicates a bit (We can all hope, right? :P)
authorsheepluva
Fri, 29 Mar 2013 23:58:03 +0100
changeset 8820 9cc4a057473f
parent 8818 8f317ba10675
child 8822 fc9877ff7f1a
feedback page: allow translations for main text; added link to known bugs in order to reduce the future number of bug report duplicates a bit (We can all hope, right? :P)
QTfrontend/ui/widget/feedbackdialog.cpp
--- a/QTfrontend/ui/widget/feedbackdialog.cpp	Fri Mar 29 10:54:12 2013 -0400
+++ b/QTfrontend/ui/widget/feedbackdialog.cpp	Fri Mar 29 23:58:03 2013 +0100
@@ -74,16 +74,22 @@
     QHBoxLayout * systemLayout = new QHBoxLayout();
 
     info = new QLabel();
-    info->setText(
+    info->setText(QString(
         "<style type=\"text/css\">"
         "a { color: #fc0; }"
         "b { color: #0df; }"
         "</style>"
-        "<div align=\"center\"><h1>Please give us feedback!</h1>"
-        "<h3>We are always happy about suggestions, ideas, or bug reports.<h3>"
-        "<h4>Your email address is optional, but we may want to contact you.<h4>"
-        "</div>"
+        "<div align=\"center\"><h1>%1</h1>"
+        "<h3>%2<h3>"
+        "<h4>%3 <a href=\"http://code.google.com/p/hedgewars/wiki/KnownBugs\">known bugs</a><h4>"
+        "<h4>%4<h4>"
+        "</div>")
+        .arg(tr("Please give us feedback!"))
+        .arg(tr("We are always happy about suggestions, ideas, or bug reports."))
+        .arg(tr("If you found a bug, you can see if it's already known here (english): "))
+        .arg(tr("Your email address is optional, but we may want to contact you."))
     );
+    info->setOpenExternalLinks(true);
     pageLayout->addWidget(info);
 
     QVBoxLayout * summaryEmailLayout = new QVBoxLayout();