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.
W
Wei-Hsiang (Matt) Wang committed
d26ee8a0a552de111b8245ef0de63e3f3f535d9f
Parent: 3a1dde8
Committed by GitHub <noreply@github.com>
on 11/11/2022, 1:18:11 AM