Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
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-ora2
Commits
2d295957
Commit
2d295957
authored
Jun 19, 2017
by
Eric Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use lazy translation to avoid import issues
parent
cf48f2b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
openassessment/xblock/studio_mixin.py
+4
-4
No files found.
openassessment/xblock/studio_mixin.py
View file @
2d295957
...
...
@@ -10,7 +10,7 @@ from xml import UpdateFromXmlError
from
django.conf
import
settings
from
django.template
import
Context
from
django.template.loader
import
get_template
from
django.utils.translation
import
ugettext
as
_
from
django.utils.translation
import
ugettext
as
_
,
ugettext_lazy
from
voluptuous
import
MultipleInvalid
from
xblock.core
import
XBlock
from
xblock.fields
import
List
,
Scope
...
...
@@ -45,9 +45,9 @@ class StudioMixin(object):
]
NECESSITY_OPTIONS
=
{
"required"
:
_
(
"Required"
),
"optional"
:
_
(
"Optional"
),
""
:
_
(
"None"
)
"required"
:
ugettext_lazy
(
"Required"
),
"optional"
:
ugettext_lazy
(
"Optional"
),
""
:
ugettext_lazy
(
"None"
)
}
# Since the XBlock problem definition contains only assessment
...
...
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