i18n: make hint message of exception translatable stable
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Sat, 01 Nov 2014 02:43:08 +0900
branchstable
changeset 23110 692bde7f486d
parent 23109 cf56f7a60b45
child 23111 0dae9147c3b6
i18n: make hint message of exception translatable
mercurial/context.py
--- a/mercurial/context.py	Sat Nov 01 02:43:08 2014 +0900
+++ b/mercurial/context.py	Sat Nov 01 02:43:08 2014 +0900
@@ -953,7 +953,7 @@
             if self._repo.ui.config("censor", "policy", "abort") == "ignore":
                 return ""
             raise util.Abort(_("censored node: %s") % short(self._filenode),
-                             hint="set censor.policy to ignore errors")
+                             hint=_("set censor.policy to ignore errors"))
 
     def size(self):
         return self._filelog.size(self._filerev)