qtype match: MDL-16450 Change validation so it is possible to create matching questions with two stems and three answers.

Thanks to Oleg Sychev for implementing this.
This commit is contained in:
tjhunt 2008-10-27 02:33:34 +00:00
parent 75b647eb53
commit 6cfa5ec17d
2 changed files with 20 additions and 13 deletions

View file

@ -1,5 +1,7 @@
<?php
$string['addmoreqblanks'] = '{no} More Sets of Blanks';
$string['notenoughquestions'] = 'You must supply at least $a question and answer pairs.';
$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['nomatchinganswerforq'] = 'You must specify an answer for this question.';
$string['notenoughquestions'] = 'You must supply at least $a question and answer pairs.';
$string['notenoughqsandas'] = 'You must supply at least $a->q questions and $a->a answers.';
?>