Mercurial > hg
comparison mercurial/dispatch.py @ 14708:8083f4d00bd1 stable
i18n: remove translation of debug messages
author | David Soria Parra <dsp@php.net> |
---|---|
date | Tue, 21 Jun 2011 18:35:13 +0200 |
parents | b24d596fcd25 |
children | 8a62bae94425 |
comparison
equal
deleted
inserted
replaced
14707:964a72038bb0 | 14708:8083f4d00bd1 |
---|---|
265 if m.groups()[0] == '$': | 265 if m.groups()[0] == '$': |
266 return m.group() | 266 return m.group() |
267 elif int(m.groups()[0]) <= len(args): | 267 elif int(m.groups()[0]) <= len(args): |
268 return m.group() | 268 return m.group() |
269 else: | 269 else: |
270 ui.debug(_("No argument found for substitution " | 270 ui.debug("No argument found for substitution " |
271 "of %i variable in alias '%s' definition.") | 271 "of %i variable in alias '%s' definition." |
272 % (int(m.groups()[0]), self.name)) | 272 % (int(m.groups()[0]), self.name)) |
273 return '' | 273 return '' |
274 cmd = re.sub(r'\$(\d+|\$)', _checkvar, self.definition[1:]) | 274 cmd = re.sub(r'\$(\d+|\$)', _checkvar, self.definition[1:]) |
275 replace = dict((str(i + 1), arg) for i, arg in enumerate(args)) | 275 replace = dict((str(i + 1), arg) for i, arg in enumerate(args)) |
276 replace['0'] = self.name | 276 replace['0'] = self.name |