Mercurial > public > mercurial-scm > hg-stable
diff mercurial/context.py @ 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 | e9165c18f8df |
children | e53f6b72a0e4 fd1bab28a8cc |
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)