Add igungor to aboutdlg.cpp
[quassel.git] / src / qtui / aboutdlg.cpp
index 439d50d..065e97e 100644 (file)
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
 
+#include <QDateTime>
+
 #include "aboutdlg.h"
-#include "global.h"
+#include "icon.h"
+#include "iconloader.h"
+#include "quassel.h"
 
 AboutDlg::AboutDlg(QWidget *parent) : QDialog(parent) {
   ui.setupUi(this);
+  ui.quasselLogo->setPixmap(DesktopIcon("quassel", IconLoader::SizeHuge));
 
-  ui.versionLabel->setText(QString(tr("<b>Version %1</b><br>Protocol version: %2<br>Built: %3 %4")).arg(Global::quasselVersion)
-                          .arg(Global::protocolVersion)
-                          .arg(Global::quasselBuildDate).arg(Global::quasselBuildTime));
+  ui.versionLabel->setText(QString(tr("<b>Version:</b> %1<br><b>Protocol version:</b> %2<br><b>Built:</b> %3"))
+                           .arg(Quassel::buildInfo().fancyVersionString)
+                          .arg(Quassel::buildInfo().protocolVersion)
+                          .arg(Quassel::buildInfo().buildDate));
   ui.aboutTextBrowser->setHtml(about());
   ui.authorTextBrowser->setHtml(authors());
   ui.contributorTextBrowser->setHtml(contributors());
   ui.thanksToTextBrowser->setHtml(thanksTo());
 
+  setWindowIcon(Icon("quassel"));
 }
 
 QString AboutDlg::about() const {
@@ -67,12 +74,16 @@ QString AboutDlg::authors() const {
 
 QString AboutDlg::contributors() const {
   QString res;
-  res = tr("We would like to thank the following contributors (in alphabetical order) and everybody we forgot to mention here:") + "<br>"
+  res = tr("We would like to thank the following contributors (in alphabetical order) and everybody we forgot to mention here:")
+      + QString::fromUtf8("<br>"
            "<dl>"
            "<dt><b>Daniel \"al\" Albers</b></dt><dd>German translation, various fixes</dd>"
            "<dt><b>Terje \"tan\" Andersen</b></dt><dd>Norwegian translation, documentation</dd>"
+           "<dt><b>Kevin \"KRF\" Funk</b></dt><dd>German translation</dd>"
            "<dt><b>Marco \"kaffeedoktor\" Genise</b></dt><dd>Ideas, hacking, motivation</dd>"
            "<dt><b>Sebastian \"seezer\" Goth</b></dt><dd>Various improvements and features</dd>"
+           "<dt><b>H. İbrahim \"igungor\" Güngör</b></dt><dd>Turkish translation</dd>"
+           "<dt><b>Edward \"Aides\" Toroshchin</b></dt><dd>Russian translation</dd>"
            "<dt><b>John \"nox-Hand\" Hand</b></dt><dd>Gorgeous application and tray icons</dd>"
            "<dt><b>Jonas \"Dante\" Heese</b></dt><dd>Project founder, various improvements</dd>"
            "<dt><b>Paul \"Haudrauf\" Klumpp</b></dt><dd>Initial design and mainwindow layout</dd>"
@@ -86,7 +97,7 @@ QString AboutDlg::contributors() const {
            "<dt><b>Adam \"adamt\" Tulinius</b></dt><dd>Early beta tester and bughunter, Danish translation</dd>"
            "<dt><b>Pavel \"int\" Volkovitskiy</b></dt><dd>Early beta tester and bughunter</dd>"
            "</dl><br>"
-           "...and anybody else finding and reporting bugs, giving feedback, helping others and being part of the community!";
+           "...and anybody else finding and reporting bugs, giving feedback, helping others and being part of the community!");
 
   return res;
 }
@@ -95,12 +106,14 @@ QString AboutDlg::thanksTo() const {
   QString res;
   res = tr("Special thanks goes to:<br>"
            "<dl>"
-           "<dt><b>John \"nox-Hand\" Hand</b></dt>"
+           "<dt><b>John \"nox\" Hand</b></dt>"
               "<dd>for great artwork and the Quassel logo/icon</dt>"
            "<dt><b><a href=\"http://www.oxygen-icons.org\">The Oxygen Team</a></b></dt>"
               "<dd>for creating most of the other shiny icons you see throughout Quassel</dd>"
-           "<dt><b><a href=\"http://www.trolltech.com\">Trolltech</a></b></dt>"
-              "<dd>for creating Qt and Qtopia, and for sponsoring development of Quasseltopia with Greenphones and more</dd>"
+           "<dt><b><a href=\"http://www.trolltech.com\">Qt Software formerly known as Trolltech</a></b></dt>"
+              "<dd>for creating Qt and Qtopia, and for sponsoring development of QuasselTopia with Greenphones and more</dd>"
+           "<dt><b><a href=\"http://www.nokia.com\">Nokia</a></b></dt>"
+              "<dd>for keeping Qt alive, and for sponsoring development of Quassel Mobile with N810s</dd>"
           );
 
   return res;