Don't install gettext into builtins

This commit is contained in:
Thomas Kluyver 2018-02-12 10:39:14 +00:00
parent 4ad65171e2
commit 48b5faba57

View File

@ -10,5 +10,4 @@ import gettext
# Set up message catalog access
base_dir = os.path.realpath(os.path.join(__file__, '..', '..'))
trans = gettext.translation('notebook', localedir=os.path.join(base_dir, 'notebook/i18n'), fallback=True)
trans.install()
_ = trans.gettext