Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-drag-and-drop-v2
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
OpenEdx
xblock-drag-and-drop-v2
Commits
6f5e60df
Commit
6f5e60df
authored
Feb 18, 2016
by
asadiqbal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renaming
parent
d19ed338
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drag_and_drop_v2/drag_and_drop_v2.py
+2
-2
No files found.
drag_and_drop_v2/drag_and_drop_v2.py
View file @
6f5e60df
...
@@ -112,10 +112,10 @@ class DragAndDropBlock(XBlock, XBlockWithSettingsMixin, ThemableXBlockMixin):
...
@@ -112,10 +112,10 @@ class DragAndDropBlock(XBlock, XBlockWithSettingsMixin, ThemableXBlockMixin):
"""
"""
Hand the translation work off to the runtime's I18N service
Hand the translation work off to the runtime's I18N service
"""
"""
extra
_info
=
{
'xblock_root'
:
xblock_root
}
xblock
_info
=
{
'xblock_root'
:
xblock_root
}
runtime_service
=
self
.
runtime
.
service
(
self
,
"i18n"
)
runtime_service
=
self
.
runtime
.
service
(
self
,
"i18n"
)
runtime_ugettext
=
runtime_service
.
ugettext
runtime_ugettext
=
runtime_service
.
ugettext
response
=
runtime_ugettext
(
text
,
**
extra
_info
)
response
=
runtime_ugettext
(
text
,
**
xblock
_info
)
return
response
return
response
@XBlock.supports
(
"multi_device"
)
# Enable this block for use in the mobile app via webview
@XBlock.supports
(
"multi_device"
)
# Enable this block for use in the mobile app via webview
...
...
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