1/***************************************************************************
2 * Copyright (C) 2005-2014 by the Quassel Project *
3 * devel@quassel-irc.org *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) version 3. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
19 ***************************************************************************/
20
21#include <QDateTime>
22
23#include "aboutdlg.h"
24#include "icon.h"
25#include "iconloader.h"
26#include "quassel.h"
27
28AboutDlg::AboutDlg(QWidget *parent) : QDialog(parent)
29{
30 ui.setupUi(this);
31 ui.quasselLogo->setPixmap(DesktopIcon("quassel", IconLoader::SizeHuge));
32
33 ui.versionLabel->setText(QString(tr("<b>Version:</b> %1<br><b>Protocol version:</b> %2<br><b>Built:</b> %3"))
34 .arg(Quassel::buildInfo().fancyVersionString)
35 .arg(Quassel::buildInfo().protocolVersion)
36 .arg(Quassel::buildInfo().buildDate));
37 ui.aboutTextBrowser->setHtml(about());
38 ui.authorTextBrowser->setHtml(authors());
39 ui.contributorTextBrowser->setHtml(contributors());
40 ui.thanksToTextBrowser->setHtml(thanksTo());
41
42 setWindowIcon(Icon("quassel"));
43}
44
45
46QString AboutDlg::about() const
47{
48 QString res;
49 res = tr("<b>A modern, distributed IRC Client</b><br><br>"
50 "&copy;%1 by the Quassel Project<br>"
51 "<a href=\"http://quassel-irc.org\">http://quassel-irc.org</a><br>"
52 "<a href=\"irc://irc.freenode.net/quassel\">#quassel</a> on <a href=\"http://www.freenode.net\">Freenode</a><br><br>"
53 "Quassel IRC is dual-licensed under <a href=\"http://www.gnu.org/licenses/gpl-2.0.txt\">GPLv2</a> and "
54 "<a href=\"http://www.gnu.org/licenses/gpl-3.0.txt\">GPLv3</a>.<br>"
55 "Most icons are &copy; by the <a href=\"http://www.oxygen-icons.org\">Oxygen Team</a> and used under the "
56 "<a href=\"http://www.gnu.org/licenses/lgpl.html\">LGPL</a>.<br><br>"
57 "Please use <a href=\"http://bugs.quassel-irc.org\">http://bugs.quassel-irc.org</a> to report bugs."
58 ).arg("2005-2014");
59
60 return res;
61}
62
63
64QString AboutDlg::authors() const
65{
66 QString res;
67 res = tr("Quassel IRC is mainly developed by:") +
68 "<dl>"
69 "<dt><b>Manuel \"Sputnick\" Nickschas</b></dt><dd><a href=\"mailto:sput@quassel-irc.org\">sput@quassel-irc.org</a><br>"
70 "Project Founder, Lead Developer</dd>"
71 "<dt><b>Marcus \"EgS\" Eggenberger</b></dt><dd><a href=\"mailto:egs@quassel-irc.org\">egs@quassel-irc.org</a><br>"
72 "Project Motivator, Lead Developer, Mac Maintainer</dd>"
73 "<dt><b>Alexander \"phon\" von Renteln</b></dt><dd><a href=\"mailto:phon@quassel-irc.org\">phon@quassel-irc.org</a><br>"
74 "Developer, Windows Maintainer</dd>"
75 "</dl>";
76
77 return res;
78}
79
80
81QString AboutDlg::contributors() const
82{
83 QString res;
84 res = tr("We would like to thank the following contributors (in alphabetical order) and everybody we forgot to mention here:")
85 + QString::fromUtf8("<br>"
86 "<dl>"
87 "<dt><b>Daniel \"al\" Albers</b></dt><dd>Master Of Translation, many fixes and enhancements</dd>"
88 "<dt><b>Liudas Alisauskas</b></dt><dd>Lithuanian translation</dd>"
89 "<dt><b>Terje \"tan\" Andersen</b></dt><dd>Norwegian translation, documentation</dd>"
90 "<dt><b>Jens \"amiconn\" Arnold</b></dt><dd>Postgres migration fixes</dd>"
91 "<dt><b>Adolfo Jayme Barrientos</b></dt><dd>Spanish translation</dd>"
92 "<dt><b>Pete \"elbeardmorez\" Beardmore</b></dt><dd>Linewrap for input line</dd>"
93 "<dt><b>Rafael \"EagleScreen\" Belmonte</b></dt><dd>Spanish translation</dd>"
94 "<dt><b>Sergiu Bivol</b></dt><dd>Romanian translation</dd>"
95 "<dt><b>Bruno Brigras</b></dt><dd>Crash fixes</dd>"
96 "<dt><b>Florent Castelli</b></dt><dd>Sanitize topic handling</dd>"
97 "<dt><b>Theo \"tampakrap\" Chatzimichos</b></dt><dd>Greek translation</dd>"
98 "<dt><b>Yuri Chornoivan</b></dt><dd>Ukrainian translation</dd>"
99 "<dt><b>Tomáš \"scarabeus\" Chvátal</b></dt><dd>Czech translation</dd>"
100 "<dt><b>\"Condex\"</b></dt><dd>Galician translation</dd>"
101 "<dt><b>Joshua \"tvakah\" Corbin</b></dt><dd>Various fixes</dd>"
102 "<dt><b>\"cordata\"</b></dt><dd>Esperanto translation</dd>"
103 "<dt><b>Matthias \"pennywise\" Coy</b></dt><dd>German translation</dd>"
104 "<dt><b>\"derpella\"</b></dt><dd>Polish translation</dd>"
105 "<dt><b>\"Dorian\"</b></dt><dd>French translation</dd>"
106 "<dt><b>Luke Faraone</b></dt><dd>Doc fixes</dd>"
107 "<dt><b>Chris \"stitch\" Fuenty</b></dt><dd>SASL support</dd>"
108 "<dt><b>Kevin \"KRF\" Funk</b></dt><dd>German translation</dd>"
109 "<dt><b>Fabiano \"elbryan\" Francesconi</b></dt><dd>Italian translation</dd>"
110 "<dt><b>Leo Franchi</b></dt><dd>OSX improvements</dd>"
111 "<dt><b>Sebastien Fricker</b></dt><dd>Audio backend improvements</dd>"
112 "<dt><b>Alf Gaida</b></dt><dd>Language improvements</dd>"
113 "<dt><b>Aurélien \"agateau\" Gâteau</b></dt><dd>Message Indicator support</dd>"
114 "<dt><b>Marco \"kaffeedoktor\" Genise</b></dt><dd>Ideas, hacking, motivation</dd>"
115 "<dt><b>Felix \"debfx\" Geyer</b></dt><dd>Certificate handling improvements</dd>"
116 "<dt><b>Volkan Gezer</b></dt><dd>Turkish translation</dd>"
117 "<dt><b>Sjors \"dazjorz\" Gielen</b></dt><dd>Fixes</dd>"
118 "<dt><b>Sebastian \"seezer\" Goth</b></dt><dd>Many improvements and features</dd>"
119 "<dt><b>Michael \"brot\" Groh</b></dt><dd>German translation, fixes</dd>"
120 "<dt><b>\"Gryllida\"</b></dt><dd>IRC parser improvements</dd>"
121 "<dt><b>H. İbrahim \"igungor\" Güngör</b></dt><dd>Turkish translation</dd>"
122 "<dt><b>Jiri Grönroos</b></dt><dd>Finnish translation</dd>"
123 "<dt><b>Chris \"Zren\" H</b></dt><dd>Various improvements</dd>"
124 "<dt><b>Edward Hades</b></dt><dd>Russian translation</dd>"
125 "<dt><b>John \"nox\" Hand</b></dt><dd>Former All-Seeing Eye logo</dd>"
126 "<dt><b>Adam \"2kah\" Harwood</b></dt><dd>ChatView improvements</dd>"
127 "<dt><b>Jonas \"Dante\" Heese</b></dt><dd>Project founder, various improvements</dd>"
128 "<dt><b>Thomas \"Datafreak\" Hogh</b></dt><dd>Windows builder</dd>"
129 "<dt><b>Johannes \"j0hu\" Huber</b></dt><dd>Many fixes and features, bug triaging</dd>"
130 "<dt><b>Theofilos Intzoglou</b></dt><dd>Greek translation</dd>"
131 "<dt><b>Jovan Jojkić</b></dt><dd>Serbian translation</dd>"
132 "<dt><b>Michael \"ycros\" Kedzierski</b></dt><dd>Mac fixes</dd>"
133 "<dt><b>Scott \"ScottK\" Kitterman<b></dt><dd>Kubuntu nightly packager, (packaging/build system) bughunter</dd>"
134 "<dt><b>Paul \"Haudrauf\" Klumpp</b></dt><dd>Initial design and mainwindow layout</dd>"
135 "<dt><b>Maia Kozheva</b></dt><dd>Russian translation</dd>"
136 "<dt><b>Tae-Hoon Kwon</b></dt><dd>Korean translation</dd>"
137 "<dt><b>\"Larso\"</b></dt><dd>Finnish translation</dd>"
138 "<dt><b>Patrick \"bonsaikitten\" Lauer</b></dt><dd>Gentoo packaging</dd>"
139 "<dt><b>Chris \"Fish-Face\" Le Sueur</b></dt><dd>Various fixes and improvements</dd>"
140 "<dt><b>Jerome \"Adys\" Leclanche</b></dt><dd>Context menu fixes</dd>"
141 "<dt><b>Hendrik \"nevcairiel\" Leppkes</b></dt><dd>Various features</dd>"
142 "<dt><b>Jason Lynch</b></dt><dd>Bugfixes</dd>"
143 "<dt><b>Awad \"firesock\" Mackie</b></dt><dd>ChatView improvements</dd>"
144 "<dt><b>Michael \"mamarley\" Marley</b></dt><dd>Various fixes and improvements</dd>"
145 "<dt><b>Martin \"m4yer\" Mayer</b></dt><dd>German translation</dd>"
146 "<dt><b>Daniel \"hydrogen\" Meltzer</b></dt><dd>Various fixes and improvements</dd>"
147 "<dt><b>Daniel E. Moctezuma</b></dt><dd>Japanese translation</dd>"
148 "<dt><b>Chris \"kode54\" Moeller</b></dt><dd>Various fixes and improvements</dd>"
149 "<dt><b>Thomas Müller</b></dt><dd>Fixes, Debian packaging</dd>"
150 "<dt><b>Gábor \"ELITE_x\" Németh</b></dt><dd>Hungarian translation</dd>"
151 "<dt><b>Per Nielsen</b></dt><dd>Danish translation</dd>"
152 "<dt><b>J-P Nurmi</b></dt><dd>Fixes</dd>"
153 "<dt><b>Marco \"Quizzlo\" Paolone</b></dt><dd>Italian translation</dd>"
154 "<dt><b>Bas \"Tucos\" Pape</b></dt><dd>Many fixes and improvements, bug and patch triaging, tireless community support</dd>"
155 "<dt><b>Bruno Patri</b></dt><dd>French translation</dd>"
156 "<dt><b>Drew \"LinuxDolt\" Patridge</b></dt><dd>BluesTheme stylesheet</dd>"
157 "<dt><b>Celeste \"seele\" Paul</b></dt><dd>Usability Queen</dd>"
158 "<dt><b>Vit Pelcak</b></dt><dd>Czech translation</dd>"
159 "<dt><b>Regis \"ZRegis\" Perrin</b></dt><dd>French translation</dd>"
160 "<dt><b>Diego \"Flameeyes\" Petten&ograve;</b></dt><dd>Gentoo maintainer, build system improvements</dd>"
161 "<dt><b>Simon Philips</b></dt><dd>Dutch translation</dd>"
162 "<dt><b>Daniel \"billie\" Pielmeier</b></dt><dd>Gentoo maintainer</dd>"
163 "<dt><b>Nuno \"pinheiro\" Pinheiro</b></dt><dd>Tons of Oxygen icons including our application icon</dd>"
164 "<dt><b>David Planella</b></dt><dd>Translation system fixes</dd>"
165 "<dt><b>Jure \"JLP\" Repinc</b></dt><dd>Slovenian translation</dd>"
166 "<dt><b>Patrick \"TheOneRing\" von Reth</b></dt><dd>MinGW support, SNORE backend, Windows packager</dd>"
167 "<dt><b>Dirk \"MarcLandis\" Rettschlag</b></dt><dd>Various fixes and new features</dd>"
168 "<dt><b>Miguel Revilla</b></dt><dd>Spanish translation</dd>"
169 "<dt><b>Jaak Ristioja</b></dt><dd>Fixes</dd>"
170 "<dt><b>Henning \"honk\" Rohlfs</b></dt><dd>Various fixes</dd>"
171 "<dt><b>Stella \"differentreality\" Rouzi</b></dt><dd>Greek translation</dd>"
172 "<dt><b>\"salnx\"</b></dt><dd>Highlight configuration improvements</dd>"
173 "<dt><b>Martin \"sandsmark\" Sandsmark</b></dt><dd>Core fixes, Quasseldroid</dd>"
174 "<dt><b>David Sansome</b></dt><dd>OSX Notification Center support</dd>"
175 "<dt><b>Dennis \"DevUrandom\" Schridde</b></dt><dd>D-Bus notifications</dd>"
176 "<dt><b>Jussi \"jussi01\" Schultink</b></dt><dd>Tireless tester, {ku|U}buntu tester and lobbyist, liters of delicious Finnish alcohol</dd>"
177 "<dt><b>Tim \"xAFFE\" Schumacher</b></dt><dd>Fixes and feedback</dd>"
178 "<dt><b>\"sfionov\"</b></dt><dd>Russian translation</dd>"
179 "<dt><b>Harald \"apachelogger\" Sitter</b></dt><dd>{ku|U}buntu packager, motivator, promoter</dd>"
180 "<dt><b>Stefanos Sofroniou</b></dt><dd>Greek translation</dd>"
181 "<dt><b>Rüdiger \"ruediger\" Sonderfeld</b></dt><dd>Emacs keybindings</dd>"
182 "<dt><b>Alexander Stein</b></dt><dd>Tray icon fix</dd>"
183 "<dt><b>Daniel \"son\" Steinmetz</b></dt><dd>Early beta tester and bughunter (on Vista&trade;!)</dd>"
184 "<dt><b>Jesper Thomschütz</b></dt><dd>Various fixes</dd>"
185 "<dt><b>Arthur \"roentgen\" Titeica</b></dt><dd>Romanian translation</dd>"
186 "<dt><b>\"ToBeFree\"</b></dt><dd>German translation</dd>"
187 "<dt><b>Edward \"Aides\" Toroshchin</b></dt><dd>Russian translation</dd>"
188 "<dt><b>Adam \"adamt\" Tulinius</b></dt><dd>Early beta tester and bughunter, Danish translation</dd>"
189 "<dt><b>Frederik M.J. \"freqmod\" Vestre</b></dt><dd>Norwegian translation</dd>"
190 "<dt><b>Atte Virtanen</b></dt><dd>Finnish translation</dd>"
191 "<dt><b>Pavel \"int\" Volkovitskiy</b></dt><dd>Early beta tester and bughunter</dd>"
192 "<dt><b>Roscoe van Wyk</b></dt><dd>Fixes</dd>"
193 "<dt><b>Zé</b></dt><dd>Portuguese translation</dd>"
194 "<dt><b>Benjamin \"zbenjamin\" Zeller</b></dt><dd>Windows build system fixes</dd>"
195 "<dt><b>\"zeugma\"</b></dt><dd>Turkish translation</dd>"
196 "</dl><br>"
197 "...and anybody else finding and reporting bugs, giving feedback, helping others and being part of the community!");
198
199 return res;
200}
201
202
203QString AboutDlg::thanksTo() const
204{
205 QString res;
206 res = tr("Special thanks goes to:<br>"
207 "<dl>"
208 "<dt><img src=\":/pics/quassel-eye.png\">&nbsp;<b>John \"nox\" Hand</b></dt>"
209 "<dd>for the original Quassel icon - The All-Seeing Eye</dt>"
210 "<dt><img src=\":/pics/oxygen.png\">&nbsp;<b><a href=\"http://www.oxygen-icons.org\">The Oxygen Team</a></b></dt>"
211 "<dd>for creating all the artwork you see throughout Quassel</dd>"
212 "<dt><img src=\":/pics/qt-logo-32.png\">&nbsp;<b><a href=\"http://www.trolltech.com\">Qt Software formerly known as Trolltech</a></b></dt>"
213 "<dd>for creating Qt and Qtopia, and for sponsoring development of QuasselTopia with Greenphones and more</dd>"
214 "<dt><a href=\"http://www.nokia.com\"><img src=\":/pics/nokia.png\"></a></b></dt>"
215 "<dd>for keeping Qt alive, and for sponsoring development of Quassel Mobile with N810s</dd>"
216 );
217
218 return res;
219}
220