i18n some strings in LmsBlockMixin

This commit is contained in:
David Baumgold
2015-03-04 14:45:20 -05:00
parent 7641fbf5d9
commit 6b90763d6b

View File

@@ -28,13 +28,14 @@ class LmsBlockMixin(XBlockMixin):
Mixin that defines fields common to all blocks used in the LMS
"""
hide_from_toc = Boolean(
help="Whether to display this module in the table of contents",
help=_("Whether to display this module in the table of contents"),
default=False,
scope=Scope.settings
)
format = String(
help="What format this module is in (used for deciding which "
"grader to apply, and what to show in the TOC)",
# Translators: "TOC" stands for "Table of Contents"
help=_("What format this module is in (used for deciding which "
"grader to apply, and what to show in the TOC)"),
scope=Scope.settings,
)
chrome = String(