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
19ca6c84
Commit
19ca6c84
authored
Aug 14, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor i18n fixes prompted by translators
parent
6dd9d9ec
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
common/lib/capa/capa/responsetypes.py
+4
-0
common/lib/xmodule/xmodule/capa_base.py
+1
-0
lms/templates/open_ended_problems/open_ended_flagged_problems.html
+1
-1
lms/templates/peer_grading/peer_grading.html
+1
-1
No files found.
common/lib/capa/capa/responsetypes.py
View file @
19ca6c84
...
...
@@ -1218,8 +1218,12 @@ class NumericalResponse(LoncapaResponse):
for
inclusion
,
answer
in
zip
(
self
.
inclusion
,
self
.
answer_range
):
boundary
=
self
.
get_staff_ans
(
answer
)
if
boundary
.
imag
!=
0
:
# Translators: This is an error message for a math problem. If the instructor provided a boundary
# (end limit) for a variable that is a complex number (a + bi), this message displays.
raise
StudentInputError
(
_
(
"There was a problem with the staff answer to this problem: complex boundary."
))
if
isnan
(
boundary
):
# Translators: This is an error message for a math problem. If the instructor did not provide
# a boundary (end limit) for a variable, this message displays.
raise
StudentInputError
(
_
(
"There was a problem with the staff answer to this problem: empty boundary."
))
boundaries
.
append
(
boundary
.
real
)
if
compare_with_tolerance
(
...
...
common/lib/xmodule/xmodule/capa_base.py
View file @
19ca6c84
...
...
@@ -1384,6 +1384,7 @@ class CapaMixin(CapaFields):
self
.
track_function_unmask
(
'reset_problem_fail'
,
event_info
)
return
{
'success'
:
False
,
# Translators: A student must "make an attempt" to solve the problem on the page before they can reset it.
'error'
:
_
(
"Refresh the page and make an attempt before resetting."
),
}
...
...
lms/templates/open_ended_problems/open_ended_flagged_problems.html
View file @
19ca6c84
...
...
@@ -22,7 +22,7 @@
<h1>
${_("Flagged Open Ended Problems")}
</h1>
<h2>
${_("Instructions")}
</h2>
<p>
${_("Here
are
a list of open ended problems for this course that have been flagged by students as potentially inappropriate.")}
</p>
<p>
${_("Here
is
a list of open ended problems for this course that have been flagged by students as potentially inappropriate.")}
</p>
% if success:
% if len(problem_list) == 0:
<div
class=
"message-container"
>
...
...
lms/templates/peer_grading/peer_grading.html
View file @
19ca6c84
...
...
@@ -18,7 +18,7 @@ criteria.{end_li_tag}
<div
class=
"peer-grading-tools"
>
<h1
class=
"peer-grading-title"
>
${_("Peer Grading")}
</h1>
<h2
class=
"peer-grading-instructions"
>
${_("Instructions")}
</h2>
<p>
${_("Here
are
a list of problems that need to be peer graded for this course.")}
</p>
<p>
${_("Here
is
a list of problems that need to be peer graded for this course.")}
</p>
% if success:
% if len(problem_list) == 0:
<div
class=
"message-container"
>
...
...
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