Skip to content

Commit

Permalink
Fix another issue with latest gettext module.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Jan 11, 2024
1 parent 0f5f772 commit 117c984
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions vapp/Locale.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 117c984

Please sign in to comment.