forked from sphinx-doc/sphinx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix loading custom template translations for en
The English language was hardcoded to load empty translations for templates as part of sphinx-doc#10067, but the rest of the code is already capable of handling missing translations just fine, so we can simply drop the first if block. This allows to use translations for English in custom templates, as for all the other languages. Fixes sphinx-doc#12214
- Loading branch information
Showing
1 changed file
with
19 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters