Commit 8797a4f6 by Sarina Canelake

Merge pull request #9855 from edx/gymnasium/fix-final-check-label

fix label for check/final check
parents 1665993f 13c6550a
...@@ -1423,7 +1423,9 @@ class CapaMixin(CapaFields): ...@@ -1423,7 +1423,9 @@ class CapaMixin(CapaFields):
self.track_function_unmask('save_problem_success', event_info) self.track_function_unmask('save_problem_success', event_info)
msg = _("Your answers have been saved.") msg = _("Your answers have been saved.")
if not self.max_attempts == 0: if not self.max_attempts == 0:
msg = _("Your answers have been saved but not graded. Click 'Check' to grade them.") msg = _(
"Your answers have been saved but not graded. Click '{button_name}' to grade them."
).format(button_name=self.check_button_name())
return { return {
'success': True, 'success': True,
'msg': msg, 'msg': msg,
......
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