Skip to content

Commit 1f80ca6

Browse files
authored
Merge pull request #1138 from jcb91/warnings
[nbTranslate] use traitlets > 4.1 tag API
2 parents d06eaa2 + fa1e444 commit 1f80ca6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/jupyter_contrib_nbextensions/nbconvert_support/nbTranslate.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,11 @@ class NotebookLangExporter(NotebookExporter):
207207
"""
208208
)
209209

210-
# language = CaselessStrEnum(langs.keys(), shortname="rh",
211-
# help="Selected language").tag(config=True)
210+
# language = CaselessStrEnum(
211+
# langs.keys(), help="Selected language").tag(config=True, alias="lang")
212212

213-
language = Unicode('en', shortname="rh",
214-
help="Selected language").tag(config=True)
213+
language = Unicode(
214+
'en', help="Selected language").tag(config=True, alias="lang")
215215

216216
addSuffix = Bool(True, help="Use language tag as suffix")
217217

0 commit comments

Comments
 (0)