# HG changeset patch # User David Soria Parra # Date 1308655459 -7200 # Node ID 1ec8bd909ac3b570d5ffd196bd46d60b838c7148 # Parent 4b93bd0417729fe5204d1936c7fa37dbdaa7c9ee dispatch: translate alias debugging messages diff -r 4b93bd041772 -r 1ec8bd909ac3 mercurial/dispatch.py --- a/mercurial/dispatch.py Tue Jun 21 00:17:52 2011 +0200 +++ b/mercurial/dispatch.py Tue Jun 21 13:24:19 2011 +0200 @@ -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):