]> git.sur5r.net Git - minitube/blobdiff - src/AboutView.cpp
Imported Debian patch 1.4.1-1
[minitube] / src / AboutView.cpp
index e9357ea577e8a1f5f09443d2c8ee5a6f447301de..7b02adfc7f399acc996d9a96fbab6668f8f7d452 100644 (file)
@@ -1,10 +1,11 @@
 #include "AboutView.h"
-#include "Constants.h"
+#include "constants.h"
 
 AboutView::AboutView(QWidget *parent) : QWidget(parent) {
 
     QBoxLayout *aboutlayout = new QHBoxLayout(this);
     aboutlayout->setAlignment(Qt::AlignCenter);
+    aboutlayout->setMargin(30);
     aboutlayout->setSpacing(30);
 
     QLabel *logo = new QLabel(this);
@@ -16,20 +17,20 @@ AboutView::AboutView(QWidget *parent) : QWidget(parent) {
     layout->setSpacing(30);
     aboutlayout->addLayout(layout);
 
-    QString info = "<h1>" + QString(Constants::APP_NAME) + "</h1>"
+    QString info = "<html><style>a { color: palette(text); }</style><body><h1>" + QString(Constants::APP_NAME) + "</h1>"
                    "<p>" + tr("There's life outside the browser!") + "</p>"
                    "<p>" + tr("Version %1").arg(Constants::VERSION) + "</p>"
                    + QString("<p><a href=\"%1/\">%1</a></p>").arg(Constants::WEBSITE) +
-
+#if !defined(APP_MAC) && !defined(APP_WIN)
                    "<p>" +  tr("%1 is Free Software but its development takes precious time.").arg(Constants::APP_NAME) + "<br/>"
                    + tr("Please <a href='%1'>donate</a> to support the continued development of %2.")
                    .arg(QString(Constants::WEBSITE).append("#donate"), Constants::APP_NAME) + "</p>"
-
+#endif
                    "<p>" + tr("Report bugs and send in your ideas to %1")
                    .arg(QString("<a href=\"mailto:%1\">%1</a>").arg(Constants::EMAIL)) + "</p>"
 
                    "<p>"
-                   + tr("Icon designed by %1.").arg("Sebastian Kraft")
+                   + tr("Icon designed by %1.").arg("<a href='http://www.kolorguild.com/'>David Nel</a>")
                    + "<br>" + tr("Compact mode contributed by %1.").arg("Stefan Brück")
                    + "<br>" + tr("HTTP proxy support contributed by %1.").arg("Kiwamu Okabe")
                    + "</p>"
@@ -45,7 +46,7 @@ AboutView::AboutView(QWidget *parent) : QWidget(parent) {
                                                       "Yaron Shahrabani (he_IL), "
                                                       "Oleksandr Korneta (uk), "
                                                       "Inga Muste (lat), "
-                                                      "Srecko Belaic (hr_HR), "
+                                                      "Srecko Belaic & Zvonimir Đeri (hr_HR), "
                                                       "Miguel Anxo Bouzada (es, gl), "
                                                       "Guillaume Betous & Mathieu Dimanche (fr_FR), "
                                                       "Krisztián Horváth (hu_HU), "
@@ -57,13 +58,16 @@ AboutView::AboutView(QWidget *parent) : QWidget(parent) {
                                                       "Sderawi (ar), "
                                                       "Daniel Rodrigues (pt_PT), "
                                                       "Jesse Jaara (fi_FI), "
-                                                      "Tsvyatko Makazchiev (bg_BG)"
+                                                      "Tsvyatko Makazchiev (bg_BG), "
+                                                      "Changtai Liang (zh_CN), "
+                                                      "Veta Branislav (mkd_MKD)"
                                                       ) + "</p>"
-
+#if !defined(APP_MAC) && !defined(APP_WIN)
                    "<p>" + tr("Released under the <a href='%1'>GNU General Public License</a>")
                    .arg("http://www.gnu.org/licenses/gpl.html") + "</p>"
-
-                   "<p>&copy; 2009-2010 " + Constants::ORG_NAME + "</p>";
+#endif
+                   "<p>&copy; 2009-2011 " + Constants::ORG_NAME + "</p>"
+                   "</body></html>";;
     QLabel *infoLabel = new QLabel(info, this);
     infoLabel->setOpenExternalLinks(true);
     infoLabel->setWordWrap(true);