diff --git a/setup.py b/setup.py index d098cf0..4cc7a98 100755 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ from distutils.core import setup, Extension import glob -VERSION = "0.42" +VERSION = "0.46" LICENSE = """ The vapp library is distributed under version 2 of GNU Public diff --git a/vapp/Locale.py b/vapp/Locale.py index b8121b1..12931fe 100644 --- a/vapp/Locale.py +++ b/vapp/Locale.py @@ -53,8 +53,8 @@ def __init__(self, localename): self.__translator.add_fallback(tr) except IOError: pass - self.__gettext = self.__translator.lgettext - self.__ngettext = self.__translator.lngettext + self.__gettext = self.__translator.gettext + self.__ngettext = self.__translator.ngettext except IOError: self.__translator = None self.__name = "en"