Mercurial > hg
changeset 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 | 964a72038bb0 |
children | 6c7283faa967 |
files | mercurial/commands.py mercurial/dispatch.py mercurial/ui.py |
diffstat | 3 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Jun 21 15:38:10 2011 +0300 +++ b/mercurial/commands.py Tue Jun 21 18:35:13 2011 +0200 @@ -4552,7 +4552,7 @@ """ for f in scmutil.rcpath(): - ui.debug(_('read config from: %s\n') % f) + ui.debug('read config from: %s\n' % f) untrusted = bool(opts.get('untrusted')) if values: sections = [v for v in values if '.' not in v]
--- a/mercurial/dispatch.py Tue Jun 21 15:38:10 2011 +0300 +++ b/mercurial/dispatch.py Tue Jun 21 18:35:13 2011 +0200 @@ -267,8 +267,8 @@ elif int(m.groups()[0]) <= len(args): return m.group() else: - ui.debug(_("No argument found for substitution " - "of %i variable in alias '%s' definition.") + ui.debug("No argument found for substitution " + "of %i variable in alias '%s' definition." % (int(m.groups()[0]), self.name)) return '' cmd = re.sub(r'\$(\d+|\$)', _checkvar, self.definition[1:])
--- a/mercurial/ui.py Tue Jun 21 15:38:10 2011 +0300 +++ b/mercurial/ui.py Tue Jun 21 18:35:13 2011 +0200 @@ -159,8 +159,8 @@ if self.debugflag and not untrusted and self._reportuntrusted: uvalue = self._ucfg.get(section, name) if uvalue is not None and uvalue != value: - self.debug(_("ignoring untrusted configuration option " - "%s.%s = %s\n") % (section, name, uvalue)) + self.debug("ignoring untrusted configuration option " + "%s.%s = %s\n" % (section, name, uvalue)) return value def configpath(self, section, name, default=None, untrusted=False): @@ -330,8 +330,8 @@ if self.debugflag and not untrusted and self._reportuntrusted: for k, v in self._ucfg.items(section): if self._tcfg.get(section, k) != v: - self.debug(_("ignoring untrusted configuration option " - "%s.%s = %s\n") % (section, k, v)) + self.debug("ignoring untrusted configuration option " + "%s.%s = %s\n" % (section, k, v)) return items def walkconfig(self, untrusted=False):