Commits

Georg Brandl  committed 7a02c94

#421: fix Unicode errors for translations with non-ASCII characters.

  • Participants
  • Parent commits 15d4cfc

Comments (0)

Files changed (1)

File sphinx/locale/__init__.py

 translator = None
 
 def _(message):
-    return translator.gettext(message)
+    return translator.ugettext(message)
 
 def init(locale_dirs, language):
     global translator