Mercurial > hg
changeset 14702:1ec8bd909ac3 stable
dispatch: translate alias debugging messages
author | David Soria Parra <dsp@php.net> |
---|---|
date | Tue, 21 Jun 2011 13:24:19 +0200 |
parents | 4b93bd041772 |
children | 0e64286760d5 b24d596fcd25 |
files | mercurial/dispatch.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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):