Skip to content

Commit

Permalink
Merge branch 'jupyter:main' into remove-bower
Browse files Browse the repository at this point in the history
  • Loading branch information
RRosio authored May 11, 2022
2 parents 7ceb14f + 5328e00 commit 42109dd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: notebook_docs
name: nbclassic_docs
channels:
- conda-forge
dependencies:
Expand All @@ -19,3 +19,5 @@ dependencies:
- prometheus_client
- sphinxcontrib_github_alt
- ipython_genutils
- jupyter_server>=1.8
- notebook_shim>=0.1.0
1 change: 0 additions & 1 deletion nbclassic/__version__.py

This file was deleted.

13 changes: 13 additions & 0 deletions nbclassic/transutils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""Translation related utilities. When imported, injects _ to builtins"""

# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

import os
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.gettext

0 comments on commit 42109dd

Please sign in to comment.