Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
d344d6f8
Commit
d344d6f8
authored
Dec 03, 2015
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10815 from edx/ned/add-translator-comments
Add translator comments
parents
8b97ca1b
ed96a9d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
common/lib/xmodule/xmodule/modulestore/inheritance.py
+7
-2
lms/djangoapps/lms_xblock/mixin.py
+2
-0
No files found.
common/lib/xmodule/xmodule/modulestore/inheritance.py
View file @
d344d6f8
...
...
@@ -89,9 +89,12 @@ class InheritanceMixin(XBlockMixin):
help
=
_
(
"Enter the ids for the content groups this problem belongs to."
),
scope
=
Scope
.
settings
,
)
showanswer
=
String
(
display_name
=
_
(
"Show Answer"
),
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. '
'Valid values are "always", "answered", "attempted", "closed", '
'"finished", "past_due", "correct_or_past_due", and "never".'
...
...
@@ -102,10 +105,12 @@ class InheritanceMixin(XBlockMixin):
rerandomize
=
String
(
display_name
=
_
(
"Randomization"
),
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. '
'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. '
'Valid values are
\"
always
\"
,
\"
onreset
\"
,
\"
never
\"
, and
\"
per_student
\
"
.'
'Valid values are
"always", "onreset", "never", and "per_student
".'
),
scope
=
Scope
.
settings
,
default
=
"never"
,
...
...
lms/djangoapps/lms_xblock/mixin.py
View file @
d344d6f8
...
...
@@ -43,6 +43,8 @@ class LmsBlockMixin(XBlockMixin):
)
chrome
=
String
(
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
"
"
\"
chromeless
\"
-- to not use tabs or the accordion;
\n
"
"
\"
tabs
\"
-- to use tabs only;
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment