diff --git a/src/calibre/customize/zipplugin.py b/src/calibre/customize/zipplugin.py index a5145d8141..044347b613 100644 --- a/src/calibre/customize/zipplugin.py +++ b/src/calibre/customize/zipplugin.py @@ -102,8 +102,8 @@ def load_translations(namespace, zfp): from io import BytesIO trans = _translations_cache[zfp] = GNUTranslations(BytesIO(mo)) - namespace['_'] = trans.gettext - namespace['ngettext'] = trans.ngettext + namespace['_'] = trans.ugettext + namespace['ngettext'] = trans.ungettext class PluginLoader(object):