diff options
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) |