Merge branch 'MDL-38241' of git://github.com/timhunt/moodle
This commit is contained in:
@@ -70,6 +70,13 @@ class qtype_match_edit_form extends question_edit_form {
|
||||
$this->add_interactive_settings(true, true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Language string to use for 'Add {no} more {whatever we call answers}'.
|
||||
*/
|
||||
protected function get_more_choices_string() {
|
||||
return get_string('blanksforxmorequestions', 'qtype_match');
|
||||
}
|
||||
|
||||
protected function data_preprocessing($question) {
|
||||
$question = parent::data_preprocessing($question);
|
||||
$question = $this->data_preprocessing_combined_feedback($question, true);
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['addmoreqblanks'] = '{no} More Sets of Blanks';
|
||||
$string['answer'] = 'Answer {$a}';
|
||||
$string['availablechoices'] = 'Available choices';
|
||||
$string['blanksforxmorequestions'] = 'Blanks for {no} more questions';
|
||||
$string['correctansweris'] = 'The correct answer is: {$a}';
|
||||
$string['filloutthreeqsandtwoas'] = 'You must provide at least two questions and three answers. You can provide extra wrong answers by giving an answer with a blank question. Entries where both the question and the answer are blank will be ignored.';
|
||||
$string['nomatchinganswer'] = 'You must specify an answer matching the question \'{$a}\'.';
|
||||
|
||||
Reference in New Issue
Block a user