Skip to content
Snippets Groups Projects
Unverified Commit d26ee8a0 authored by Wei-Hsiang (Matt) Wang's avatar Wei-Hsiang (Matt) Wang Committed by GitHub
Browse files

gh-98366: use sphinx.locale._ as gettext() in pyspecific.py (#98437)

fix(doc-tools): use sphinx.locale._ as gettext() for backward-compatibility in pyspecific.py

[why] spinix 5.3 changed locale.translators from a defaultdict(gettext.NullTranslations) to a dict, which leads to failure of pyspecific.py. Use sphinx.locale._ as gettext to fix the issue.
parent 3a1dde8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment