]> git.sur5r.net Git - minitube/blobdiff - src/AboutView.cpp
Updated translations
[minitube] / src / AboutView.cpp
index 53daa2211f4ffe2f1f04050c002260f231f1e7ca..00afb425056e9b8cdbc5461888bd2cfe806055ab 100644 (file)
@@ -1,5 +1,5 @@
 #include "AboutView.h"
-#include "Constants.h"
+#include "constants.h"
 
 AboutView::AboutView(QWidget *parent) : QWidget(parent) {
 
@@ -20,33 +20,51 @@ AboutView::AboutView(QWidget *parent) : QWidget(parent) {
                    "<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) +
-
-                   "<p>" + tr("This is a \"Technology Preview\" release, do not expect it to be perfect.") + "<br/>"
-                   + tr("Report bugs and send in your ideas to %1")
-                   .arg(QString("<a href=\"mailto:%1\">%1</a>").arg(Constants::EMAIL)) + "</p>"
-
+#if !defined(APP_MAC) && !defined(Q_WS_WIN)
                    "<p>" +  tr("%1 is Free Software but its development takes precious time.").arg(Constants::APP_NAME) + "<br/>"
-                   + tr("Please <a href='%1'>donate via PayPal</a> to support the continued development of %2.")
+                   + 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") + "</p>"
-
-                   "<p>" + tr("Compact mode contributed by %1.").arg("Stefan Brück") + "</p>"
+                   "<p>"
+                   + tr("Icon designed by %1.").arg("Sebastian Kraft")
+                   + "<br>" + tr("Compact mode contributed by %1.").arg("Stefan Brück")
+                   + "<br>" + tr("HTTP proxy support contributed by %1.").arg("Kiwamu Okabe")
+                   + "</p>"
 
                    "<p>" + tr("Translated by %1").arg("Nikita Lyalin (ru_RU), "
                                                       "Márcio Moraes (pt_BR), "
-                                                      "Sergio Tocalini Joerg (es_AR), "
+                                                      // "Sergio Tocalini Joerg (es_AR), "
                                                       "Stefan Brück (de_DE), "
                                                       "Grzegorz Gibas (pl_PL), "
                                                       "Kiwamu Okabe (ja_JP), "
                                                       "Dan Vrátil (cs_CZ), "
-                                                      "Yaron Shahrabani (he_IL)"
+                                                      // "Rafa (es_ES), "
+                                                      "Yaron Shahrabani (he_IL), "
+                                                      "Oleksandr Korneta (uk), "
+                                                      "Inga Muste (lat), "
+                                                      "Srecko Belaic & Zvonimir Đeri (hr_HR), "
+                                                      "Miguel Anxo Bouzada (es, gl), "
+                                                      "Guillaume Betous & Mathieu Dimanche (fr_FR), "
+                                                      "Krisztián Horváth (hu_HU), "
+                                                      "Ali E. İmrek (tr_TR), "
+                                                      "Jan W. Skjoldal & Halvor Lyche Strandvoll (nb_NO), "
+                                                      "Ovidiu Niţan (ro_RO), "
+                                                      "Giorgos Skettos (el_GR), "
+                                                      "Brian Keetman (nl_NL), "
+                                                      "Sderawi (ar), "
+                                                      "Daniel Rodrigues (pt_PT), "
+                                                      "Jesse Jaara (fi_FI), "
+                                                      "Tsvyatko Makazchiev (bg_BG), "
+                                                      "Changtai Liang (zh_CN)"
                                                       ) + "</p>"
 
                    "<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 " + Constants::ORG_NAME + "</p>";
+                   "<p>&copy; 2009-2010 " + Constants::ORG_NAME + "</p>";
     QLabel *infoLabel = new QLabel(info, this);
     infoLabel->setOpenExternalLinks(true);
     infoLabel->setWordWrap(true);
@@ -65,17 +83,3 @@ AboutView::AboutView(QWidget *parent) : QWidget(parent) {
     layout->addLayout(buttonLayout);
 
 }
-
-void AboutView::paintEvent(QPaintEvent * /*event*/) {
-
-    QPainter painter(this);
-
-#ifdef Q_WS_MAC
-    QLinearGradient linearGrad(0, 0, 0, height());
-    QPalette palette;
-    linearGrad.setColorAt(0, palette.color(QPalette::Light));
-    linearGrad.setColorAt(1, palette.color(QPalette::Midlight));
-    painter.fillRect(0, 0, width(), height(), QBrush(linearGrad));
-#endif
-
-}