Commit 70233a96 by Waheed Ahmed

Merge pull request #2926 from edx/waheed/lms2195-localization-fix-on-staff-grading-page

Internationalization fixed for error msg on staff grading page.
parents 137faf44 741881b3
......@@ -287,9 +287,11 @@ def get_problem_list(request, course_id):
else:
problem_list = []
# Make an error messages to reflect that we could not find anything to grade.
response['error'] = ("Cannot find any open response problems in this course. "
"Have you submitted answers to any open response assessment questions? "
"If not, please do so and return to this page.")
response['error'] = _(
u'Cannot find any open response problems in this course. '
u'Have you submitted answers to any open response assessment questions? '
u'If not, please do so and return to this page.'
)
valid_problem_list = []
for i in xrange(0,len(problem_list)):
# Needed to ensure that the 'location' key can be accessed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment