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
3584b246
Commit
3584b246
authored
Jan 17, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Translate strings in xmodule/capa_*.py
LMS-1744
parent
42c543b7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
common/lib/xmodule/xmodule/capa_base.py
+0
-0
common/lib/xmodule/xmodule/capa_module.py
+4
-2
lms/djangoapps/instructor_task/tests/test_integration.py
+2
-2
No files found.
common/lib/xmodule/xmodule/capa_base.py
View file @
3584b246
This diff is collapsed.
Click to expand it.
common/lib/xmodule/xmodule/capa_module.py
View file @
3584b246
...
...
@@ -62,12 +62,14 @@ class CapaModule(CapaMixin, XModule):
'ungraded_response'
:
self
.
handle_ungraded_response
}
generic_error_message
=
(
_
=
self
.
runtime
.
service
(
self
,
"i18n"
)
.
ugettext
generic_error_message
=
_
(
"We're sorry, there was an error with processing your request. "
"Please try reloading your page and trying again."
)
not_found_error_message
=
(
not_found_error_message
=
_
(
"The state of this problem has changed since you loaded this page. "
"Please refresh your page."
)
...
...
lms/djangoapps/instructor_task/tests/test_integration.py
View file @
3584b246
...
...
@@ -265,10 +265,10 @@ class TestRescoringTask(TestIntegrationTask):
self
.
assertEqual
(
instructor_task
.
task_state
,
FAILURE
)
status
=
json
.
loads
(
instructor_task
.
task_output
)
self
.
assertEqual
(
status
[
'exception'
],
'NotImplementedError'
)
self
.
assertEqual
(
status
[
'message'
],
"Problem's definition does not support rescoring"
)
self
.
assertEqual
(
status
[
'message'
],
"Problem's definition does not support rescoring
.
"
)
status
=
InstructorTaskModuleTestCase
.
get_task_status
(
instructor_task
.
task_id
)
self
.
assertEqual
(
status
[
'message'
],
"Problem's definition does not support rescoring"
)
self
.
assertEqual
(
status
[
'message'
],
"Problem's definition does not support rescoring
.
"
)
def
define_randomized_custom_response_problem
(
self
,
problem_url_name
,
redefine
=
False
):
"""
...
...
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