diff options
Diffstat (limited to 'sphinx/util/nodes.py')
-rw-r--r-- | sphinx/util/nodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/nodes.py b/sphinx/util/nodes.py index 7c7300c60..a5ab83f5d 100644 --- a/sphinx/util/nodes.py +++ b/sphinx/util/nodes.py @@ -199,7 +199,7 @@ def is_translatable(node: Node) -> bool: if isinstance(node, addnodes.translatable): return True - if isinstance(node, nodes.Inline) and 'translatable' not in node: + if isinstance(node, nodes.Inline) and 'translatable' not in node: # type: ignore # inline node must not be translated if 'translatable' is not set return False |