# HG changeset patch
# User Yuki KODAMA <endflow....@gmail.com>
# Date 1256456760 -32400
# Branch stable
# Node ID 70712f367e0d33d3034be216799375a923503b92
# Parent  592d7c2ac3ca27dc9f22d90a347ecda0a0cfa893
commit: add gettext wrappers to dialog title

diff --git a/tortoisehg/hgtk/commit.py b/tortoisehg/hgtk/commit.py
--- a/tortoisehg/hgtk/commit.py
+++ b/tortoisehg/hgtk/commit.py
@@ -145,11 +145,11 @@
         date = self.opts.get('date') or ''
         pats = ' '.join(self.pats) or ''
         if self.qnew:
-            return root + ' - qnew'
+            return root + _(' - qnew')
         elif self.mqmode:
             patch = self.repo.mq.lookup('qtip')
-            return root + ' - qrefresh ' + patch
-        return root + ' - ' + ' '.join(['commit', pats, user, date])
+            return root + _(' - qrefresh ') + patch
+        return root + ' - ' + ' '.join([_('commit'), pats, user, date])

     def get_icon(self):
         return 'menucommit.ico'

Attachment: thg-kuy_rev4755.patch
Description: Binary data

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to