From b3b58ea24c4ecab87de01368dd2233225eb730a3 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 26 May 2010 00:13:11 +0200 Subject: [PATCH] #421: fix Unicode errors for translations with non-ASCII characters. --- sphinx/locale/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/locale/__init__.py b/sphinx/locale/__init__.py index 43e0942cd..2165e7dd2 100644 --- a/sphinx/locale/__init__.py +++ b/sphinx/locale/__init__.py @@ -167,7 +167,7 @@ pairindextypes = { translator = None def _(message): - return translator.gettext(message) + return translator.ugettext(message) def init(locale_dirs, language): global translator