mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Don't install gettext into builtins
This commit is contained in:
parent
4ad65171e2
commit
48b5faba57
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user