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

This commit is contained in:
Georg Brandl 2010-05-26 00:13:11 +02:00
parent 6012506d74
commit b3b58ea24c

View File

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