We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7b28e3 commit f30a46aCopy full SHA for f30a46a
sphinx/extensions/texdomain.py
@@ -11,13 +11,16 @@
11
import re
12
from sphinx import addnodes
13
from sphinx.domains import Domain, ObjType
14
-from sphinx.locale import l_, _
+from sphinx.locale import get_translation
15
from sphinx.directives import ObjectDescription
16
from sphinx.roles import XRefRole
17
from sphinx.util.nodes import make_refnode
18
from sphinx.util.docfields import Field, GroupedField, TypedField
19
from docutils import nodes
20
21
+# Copied from sphinx.locale, and changed back __ to l_
22
+_ = get_translation('sphinx')
23
+l_ = get_translation('sphinx', 'console')
24
25
class desc_texenvcontent(nodes.Part, nodes.TextElement):
26
"""Node for a general parameter list."""
0 commit comments