Skip to content

Commit

Permalink
Merge pull request #1138 from jcb91/warnings
Browse files Browse the repository at this point in the history
[nbTranslate] use traitlets > 4.1 tag API
  • Loading branch information
jcb91 authored Oct 24, 2017
2 parents d06eaa2 + fa1e444 commit 1f80ca6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ class NotebookLangExporter(NotebookExporter):
"""
)

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

language = Unicode('en', shortname="rh",
help="Selected language").tag(config=True)
language = Unicode(
'en', help="Selected language").tag(config=True, alias="lang")

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

Expand Down

0 comments on commit 1f80ca6

Please # to comment.