[PATCH] dispatch: translate alias debugging messages
dsp at php.net
dsp at php.net
Tue Jun 21 06:41:32 CDT 2011
# HG changeset patch
# User David Soria Parra <dsp at php.net>
# Date 1308655459 -7200
# Node ID 162fdc22be9b509c40a6be73a3e04b28f06d75d4
# Parent b1880474e3adb25d2242cb00005b872ce67e85b2
dispatch: translate alias debugging messages
diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py
--- a/mercurial/dispatch.py
+++ b/mercurial/dispatch.py
@@ -333,7 +333,7 @@
def __call__(self, ui, *args, **opts):
if self.shadows:
- ui.debug("alias '%s' shadows command '%s'\n" %
+ ui.debug(_("alias '%s' shadows command '%s'\n") %
(self.name, self.cmdname))
if hasattr(self, 'shell'):
@@ -343,7 +343,7 @@
util.checksignature(self.fn)(ui, *args, **opts)
except error.SignatureError:
args = ' '.join([self.cmdname] + self.args)
- ui.debug("alias '%s' expands to '%s'\n" % (self.name, args))
+ ui.debug(_("alias '%s' expands to '%s'\n") % (self.name, args))
raise
def addaliases(ui, cmdtable):
More information about the Mercurial-devel
mailing list