[pitivi] Allow translators to credit themselves, fix the version string



commit 62ee118814de6c955091f9acf91b64555263a52a
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Mon Jun 6 15:59:29 2011 -0400

    Allow translators to credit themselves, fix the version string

 pitivi/ui/mainwindow.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index 1315dec..6923836 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -626,7 +626,7 @@ class PitiviMainWindow(gtk.Window, Loggable):
     def _aboutCb(self, unused_action):
         abt = gtk.AboutDialog()
         abt.set_name(APPNAME)
-        abt.set_version("v%s" % pitivi_version)
+        abt.set_version(pitivi_version)
         gtk.about_dialog_set_url_hook(self._showWebsiteCb)
         abt.set_website(APPURL)
         authors = ["Edward Hervey <bilboed bilboed com>",
@@ -647,6 +647,9 @@ class PitiviMainWindow(gtk.Window, Loggable):
                    "Sarath Lakshman <sarathlakshman slynux org>",
                    "Alex Balut <alexandru balut gmail com>"]
         abt.set_authors(authors)
+        translators = _("translator-credits")
+        if translators != "translator-credits":
+            abt.set_translator_credits(translators)
         abt.set_license(_("GNU Lesser General Public License\n"
                           "See http://www.gnu.org/copyleft/lesser.html for more details"))
         abt.set_icon_name("pitivi")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]