[PATCH 17 of 17] mark strings for translation in transplant extension

Martin Geisler mg at daimi.au.dk
Sat Aug 23 15:55:33 CDT 2008


# HG changeset patch
# User Martin Geisler <mg at daimi.au.dk>
# Date 1219523218 -7200
# Node ID 774e12ab0e3f6d02aaae67ed9b7ff2d75c9889f4
# Parent  ff74e656bd8be89305f7f2710e53799469299733
mark strings for translation in transplant extension

diff -r ff74e656bd8b -r 774e12ab0e3f hgext/transplant.py
--- a/hgext/transplant.py	Sat Aug 23 22:26:58 2008 +0200
+++ b/hgext/transplant.py	Sat Aug 23 22:26:58 2008 +0200
@@ -169,7 +169,7 @@
     def filter(self, filter, changelog, patchfile):
         '''arbitrarily rewrite changeset before applying it'''
 
-        self.ui.status('filtering %s\n' % patchfile)
+        self.ui.status(_('filtering %s\n') % patchfile)
         user, date, msg = (changelog[1], changelog[2], changelog[4])
 
         fd, headerfile = tempfile.mkstemp(prefix='hg-transplant-')


More information about the Mercurial-devel mailing list