From 13c6550aea25fc190f5c2cdaf6a2dcbe6769ec3b Mon Sep 17 00:00:00 2001
From: Mike Bifulco <mbifulco@live.com>
Date: Thu, 10 Sep 2015 10:39:56 -0400
Subject: [PATCH] fix label for check/final check

This label hadn't been updated to change its message depending on whether students were on their "final" submission attempt.
---
 common/lib/xmodule/xmodule/capa_base.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/common/lib/xmodule/xmodule/capa_base.py b/common/lib/xmodule/xmodule/capa_base.py
index 8838f89..7a72357 100644
--- a/common/lib/xmodule/xmodule/capa_base.py
+++ b/common/lib/xmodule/xmodule/capa_base.py
@@ -1423,7 +1423,9 @@ class CapaMixin(CapaFields):
         self.track_function_unmask('save_problem_success', event_info)
         msg = _("Your answers have been saved.")
         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 {
             'success': True,
             'msg': msg,
--
libgit2 0.26.0