##// END OF EJS Templates
mark ui.warn strings for translation
Martin Geisler -
r11600:76454cbc stable
parent child Browse files
Show More
@@ -478,7 +478,7 b' def _dispatch(ui, args):'
478 478 raise
479 479 args.insert(0, repo)
480 480 elif rpath:
481 ui.warn("warning: --repository ignored\n")
481 ui.warn(_("warning: --repository ignored\n"))
482 482
483 483 d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
484 484 return runcommand(lui, repo, cmd, fullargs, ui, options, d,
@@ -150,9 +150,10 b' def strip(ui, repo, node, backup="all"):'
150 150 os.unlink(chgrpfile)
151 151 except:
152 152 if backupfile:
153 ui.warn("strip failed, full bundle stored in '%s'\n" % backupfile)
153 ui.warn(_("strip failed, full bundle stored in '%s'\n")
154 % backupfile)
154 155 elif saveheads:
155 ui.warn("strip failed, partial bundle stored in '%s'\n"
156 ui.warn(_("strip failed, partial bundle stored in '%s'\n")
156 157 % chgrpfile)
157 158 raise
158 159
@@ -304,7 +304,7 b' class ui(object):'
304 304 p = self.config('paths', loc)
305 305 if p:
306 306 if '%%' in p:
307 self.warn("(deprecated '%%' in path %s=%s from %s)\n" %
307 self.warn(_("(deprecated '%%' in path %s=%s from %s)\n") %
308 308 (loc, p, self.configsource('paths', loc)))
309 309 p = p.replace('%%', '%')
310 310 p = util.expandpath(p)
General Comments 0
You need to be logged in to leave comments. Login now