Permalink
Browse files

MDL-31721 question editing: improve working for Show num correct

AMOS BEGIN
 CPY [shownumpartscorrect,question],[shownumpartscorrectwhenfinished,question]
AMOS END
  • Loading branch information...
1 parent 62b0af5 commit 1b5d149b4361e8e581113f1f2c8269ee4e24a535 @timhunt timhunt committed Feb 21, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 lang/en/question.php
  2. +1 −1 question/type/edit_question_form.php
@@ -386,6 +386,7 @@
$string['showquestiontext'] = 'Show question text in the question list';
$string['shown'] = 'Shown';
$string['shownumpartscorrect'] = 'Show the number of correct responses';
+$string['shownumpartscorrectwhenfinished'] = 'Show the number of correct responses once the question has finished';
$string['specificfeedback'] = 'Specific feedback';
$string['started'] = 'Started';
$string['state'] = 'State';
@@ -348,7 +348,7 @@ protected function add_combined_feedback_fields($withshownumpartscorrect = false
if ($withshownumpartscorrect && $feedbackname == 'partiallycorrectfeedback') {
$mform->addElement('advcheckbox', 'shownumcorrect',
get_string('options', 'question'),
- get_string('shownumpartscorrect', 'question'));
+ get_string('shownumpartscorrectwhenfinished', 'question'));
}
}
}

0 comments on commit 1b5d149

Please sign in to comment.