diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-07-02 20:28:50 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-07-02 20:28:50 +0900 |
commit | 007593fa810918f243223080598d7ef74fd48fe9 (patch) | |
tree | 1f839dce20983d00b4e38fdb44e3231b0abc5899 /sphinx/ext/mathbase.py | |
parent | 2d5e05a2ee7c5eb656a00704d60045ef3fcfd6f7 (diff) | |
parent | 7a8384c81fe390debfc76c4724cc7ff0c173e585 (diff) | |
download | sphinx-git-007593fa810918f243223080598d7ef74fd48fe9.tar.gz |
Merge branch 'stable'
Diffstat (limited to 'sphinx/ext/mathbase.py')
-rw-r--r-- | sphinx/ext/mathbase.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/mathbase.py b/sphinx/ext/mathbase.py index d4833e976..f83ca5da8 100644 --- a/sphinx/ext/mathbase.py +++ b/sphinx/ext/mathbase.py @@ -14,7 +14,7 @@ from docutils.parsers.rst import Directive, directives from sphinx.config import string_classes from sphinx.roles import XRefRole -from sphinx.locale import _ +from sphinx.locale import __ from sphinx.domains import Domain from sphinx.util import logging from sphinx.util.nodes import make_refnode, set_source_info @@ -113,7 +113,7 @@ class MathDomain(Domain): equations = self.data['objects'] if labelid in equations: path = env.doc2path(equations[labelid][0]) - msg = _('duplicate label of equation %s, other instance in %s') % (labelid, path) + msg = __('duplicate label of equation %s, other instance in %s') % (labelid, path) raise UserWarning(msg) else: eqno = self.get_next_equation_number(docname) |