Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Bugs fixed
* #10520: HTML Theme: Fix use of sidebar classes in ``agogo.css_t``.
* #6679: HTML Theme: Fix inclusion of hidden toctrees in the agogo theme.
* #10566: HTML Theme: Fix enable_search_shortcuts does not work
* #10579: i18n: UnboundLocalError is raised on translating raw directive

Testing
--------
Expand Down
1 change: 1 addition & 0 deletions sphinx/transforms/i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def apply(self, **kwargs: Any) -> None:
continue # skip if the node is already translated by phase1

msgstr = catalog.gettext(msg)
noqa = False

# See above.
if not isinstance(node, LITERAL_TYPE_NODES):
Expand Down