##// END OF EJS Templates
i18n: remove translation of debug messages
David Soria Parra -
r14708:8083f4d0 stable
parent child Browse files
Show More
@@ -4552,7 +4552,7 b' def showconfig(ui, repo, *values, **opts'
4552 4552 """
4553 4553
4554 4554 for f in scmutil.rcpath():
4555 ui.debug(_('read config from: %s\n') % f)
4555 ui.debug('read config from: %s\n' % f)
4556 4556 untrusted = bool(opts.get('untrusted'))
4557 4557 if values:
4558 4558 sections = [v for v in values if '.' not in v]
@@ -267,8 +267,8 b' class cmdalias(object):'
267 267 elif int(m.groups()[0]) <= len(args):
268 268 return m.group()
269 269 else:
270 ui.debug(_("No argument found for substitution "
271 "of %i variable in alias '%s' definition.")
270 ui.debug("No argument found for substitution "
271 "of %i variable in alias '%s' definition."
272 272 % (int(m.groups()[0]), self.name))
273 273 return ''
274 274 cmd = re.sub(r'\$(\d+|\$)', _checkvar, self.definition[1:])
@@ -159,8 +159,8 b' class ui(object):'
159 159 if self.debugflag and not untrusted and self._reportuntrusted:
160 160 uvalue = self._ucfg.get(section, name)
161 161 if uvalue is not None and uvalue != value:
162 self.debug(_("ignoring untrusted configuration option "
163 "%s.%s = %s\n") % (section, name, uvalue))
162 self.debug("ignoring untrusted configuration option "
163 "%s.%s = %s\n" % (section, name, uvalue))
164 164 return value
165 165
166 166 def configpath(self, section, name, default=None, untrusted=False):
@@ -330,8 +330,8 b' class ui(object):'
330 330 if self.debugflag and not untrusted and self._reportuntrusted:
331 331 for k, v in self._ucfg.items(section):
332 332 if self._tcfg.get(section, k) != v:
333 self.debug(_("ignoring untrusted configuration option "
334 "%s.%s = %s\n") % (section, k, v))
333 self.debug("ignoring untrusted configuration option "
334 "%s.%s = %s\n" % (section, k, v))
335 335 return items
336 336
337 337 def walkconfig(self, untrusted=False):
General Comments 0
You need to be logged in to leave comments. Login now