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

AMOS BEGIN
 CPY [shownumpartscorrect,question],[shownumpartscorrectwhenfinished,question]
AMOS END
This commit is contained in:
Tim Hunt 2012-02-21 11:56:55 +00:00
parent c4a12afaf9
commit d5ffb7896b
2 changed files with 2 additions and 1 deletions

View File

@ -386,6 +386,7 @@ $string['showmaxmarkonly'] = 'Show max mark only';
$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';

View File

@ -348,7 +348,7 @@ abstract class question_edit_form extends question_wizard_form {
if ($withshownumpartscorrect && $feedbackname == 'partiallycorrectfeedback') {
$mform->addElement('advcheckbox', 'shownumcorrect',
get_string('options', 'question'),
get_string('shownumpartscorrect', 'question'));
get_string('shownumpartscorrectwhenfinished', 'question'));
}
}
}