Mercurial > public > mercurial-scm > hg-stable
diff mercurial/ui.py @ 11600:76454cbc11e4 stable
mark ui.warn strings for translation
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Fri, 16 Jul 2010 14:44:30 +0200 |
parents | caf10970950e |
children | 5094e6b2f640 77f1f206e135 |
line wrap: on
line diff
--- a/mercurial/ui.py Fri Jul 16 14:40:57 2010 +0200 +++ b/mercurial/ui.py Fri Jul 16 14:44:30 2010 +0200 @@ -304,7 +304,7 @@ p = self.config('paths', loc) if p: if '%%' in p: - self.warn("(deprecated '%%' in path %s=%s from %s)\n" % + self.warn(_("(deprecated '%%' in path %s=%s from %s)\n") % (loc, p, self.configsource('paths', loc))) p = p.replace('%%', '%') p = util.expandpath(p)