mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#421: fix Unicode errors for translations with non-ASCII characters.
This commit is contained in:
parent
6012506d74
commit
b3b58ea24c
@ -167,7 +167,7 @@ pairindextypes = {
|
||||
translator = None
|
||||
|
||||
def _(message):
|
||||
return translator.gettext(message)
|
||||
return translator.ugettext(message)
|
||||
|
||||
def init(locale_dirs, language):
|
||||
global translator
|
||||
|
Loading…
Reference in New Issue
Block a user