changeset 23110:692bde7f486d stable

i18n: make hint message of exception translatable
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Sat, 01 Nov 2014 02:43:08 +0900
parents cf56f7a60b45
children 0dae9147c3b6
files mercurial/context.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)