# HG changeset patch
# User Giampaolo Fadel <[email protected]>
# Date 1245066939 -7200
# Node ID 32fc307c41bacb214753c3bf713687145d2a0ff1
# Parent  9f49cebfeba33e0fd964e994aebfbab525aadb9f
about: add gettext wrapper

diff --git a/hggtk/about.py b/hggtk/about.py
--- a/hggtk/about.py
+++ b/hggtk/about.py
@@ -53,10 +53,10 @@
 
         self.set_website("http://bitbucket.org/tortoisehg/stable/";)
         self.set_name("TortoiseHg")
-        self.set_version("(version %s)" % version.version())
+        self.set_version(_("(version %s)") % version.version())
         if hasattr(self, 'set_wrap_license'):
             self.set_wrap_license(True)
-        self.set_copyright("Copyright 2009 TK Soh and others")
+        self.set_copyright(_("Copyright 2009 TK Soh and others"))
 
         thg_logo = paths.get_tortoise_icon('thg_logo_92x50.png')
         thg_icon = paths.get_tortoise_icon('thg_logo.ico')
@@ -67,7 +67,7 @@
             license = hgtk.shortlicense.splitlines()[1:]
             self.set_license('\n'.join(license))
 
-        self.set_comments("with " + lib_versions + "\n\n" + comment)
+        self.set_comments(_("with %s") % lib_versions + "\n\n" + comment)
         self.set_logo(gtk.gdk.pixbuf_new_from_file(thg_logo))
         self.set_icon_from_file(thg_icon)
         self.connect('response', self.response)

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to