Commit d344d6f8 by Ned Batchelder

Merge pull request #10815 from edx/ned/add-translator-comments

Add translator comments
parents 8b97ca1b ed96a9d8
...@@ -89,9 +89,12 @@ class InheritanceMixin(XBlockMixin): ...@@ -89,9 +89,12 @@ class InheritanceMixin(XBlockMixin):
help=_("Enter the ids for the content groups this problem belongs to."), help=_("Enter the ids for the content groups this problem belongs to."),
scope=Scope.settings, scope=Scope.settings,
) )
showanswer = String( showanswer = String(
display_name=_("Show Answer"), display_name=_("Show Answer"),
help=_( help=_(
# Translators: DO NOT translate the words in quotes here, they are
# specific words for the acceptable values.
'Specify when the Show Answer button appears for each problem. ' 'Specify when the Show Answer button appears for each problem. '
'Valid values are "always", "answered", "attempted", "closed", ' 'Valid values are "always", "answered", "attempted", "closed", '
'"finished", "past_due", "correct_or_past_due", and "never".' '"finished", "past_due", "correct_or_past_due", and "never".'
...@@ -102,10 +105,12 @@ class InheritanceMixin(XBlockMixin): ...@@ -102,10 +105,12 @@ class InheritanceMixin(XBlockMixin):
rerandomize = String( rerandomize = String(
display_name=_("Randomization"), display_name=_("Randomization"),
help=_( help=_(
# Translators: DO NOT translate the words in quotes here, they are
# specific words for the acceptable values.
'Specify the default for how often variable values in a problem are randomized. ' 'Specify the default for how often variable values in a problem are randomized. '
'This setting should be set to \"never\" unless you plan to provide a Python ' 'This setting should be set to "never" unless you plan to provide a Python '
'script to identify and randomize values in most of the problems in your course. ' 'script to identify and randomize values in most of the problems in your course. '
'Valid values are \"always\", \"onreset\", \"never\", and \"per_student\".' 'Valid values are "always", "onreset", "never", and "per_student".'
), ),
scope=Scope.settings, scope=Scope.settings,
default="never", default="never",
......
...@@ -43,6 +43,8 @@ class LmsBlockMixin(XBlockMixin): ...@@ -43,6 +43,8 @@ class LmsBlockMixin(XBlockMixin):
) )
chrome = String( chrome = String(
display_name=_("Courseware Chrome"), display_name=_("Courseware Chrome"),
# Translators: DO NOT translate the words in quotes here, they are
# specific words for the acceptable values.
help=_("Enter the chrome, or navigation tools, to use for the XBlock in the LMS. Valid values are: \n" help=_("Enter the chrome, or navigation tools, to use for the XBlock in the LMS. Valid values are: \n"
"\"chromeless\" -- to not use tabs or the accordion; \n" "\"chromeless\" -- to not use tabs or the accordion; \n"
"\"tabs\" -- to use tabs only; \n" "\"tabs\" -- to use tabs only; \n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment