From d9c2ecc34233bfc683e422b35eb0eaf7ba83cc05 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Thu, 23 Aug 2012 11:53:47 +0100 Subject: [PATCH] MDL-35003 questions: remove stray full stop after correct answer. In a few situations, this full stop makes things a bit more grammatical, but there are many other situations where it causes problems. So, on balance we will remove it. --- question/type/match/lang/en/qtype_match.php | 2 +- question/type/multichoice/lang/en/qtype_multichoice.php | 2 +- question/type/shortanswer/lang/en/qtype_shortanswer.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/question/type/match/lang/en/qtype_match.php b/question/type/match/lang/en/qtype_match.php index f9f1f02829b60..a096607bbc8f7 100644 --- a/question/type/match/lang/en/qtype_match.php +++ b/question/type/match/lang/en/qtype_match.php @@ -25,7 +25,7 @@ $string['addmoreqblanks'] = '{no} More Sets of Blanks'; $string['availablechoices'] = 'Available choices'; -$string['correctansweris'] = 'The correct answer is: {$a}.'; +$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}\'.'; $string['nomatchinganswerforq'] = 'You must specify an answer for this question.'; diff --git a/question/type/multichoice/lang/en/qtype_multichoice.php b/question/type/multichoice/lang/en/qtype_multichoice.php index ba236be0da1d0..8f3c02edf8798 100644 --- a/question/type/multichoice/lang/en/qtype_multichoice.php +++ b/question/type/multichoice/lang/en/qtype_multichoice.php @@ -37,7 +37,7 @@ $string['choiceno'] = 'Choice {$a}'; $string['choices'] = 'Available choices'; $string['clozeaid'] = 'Enter missing word'; -$string['correctansweris'] = 'The correct answer is: {$a}.'; +$string['correctansweris'] = 'The correct answer is: {$a}'; $string['correctfeedback'] = 'For any correct response'; $string['errgradesetanswerblank'] = 'Grade set, but the Answer is blank'; $string['errfractionsaddwrong'] = 'The positive grades you have chosen do not add up to 100%
Instead, they add up to {$a}%'; diff --git a/question/type/shortanswer/lang/en/qtype_shortanswer.php b/question/type/shortanswer/lang/en/qtype_shortanswer.php index df9c127e4efce..0f42cf6a4ab9a 100644 --- a/question/type/shortanswer/lang/en/qtype_shortanswer.php +++ b/question/type/shortanswer/lang/en/qtype_shortanswer.php @@ -30,7 +30,7 @@ $string['caseno'] = 'No, case is unimportant'; $string['casesensitive'] = 'Case sensitivity'; $string['caseyes'] = 'Yes, case must match'; -$string['correctansweris'] = 'The correct answer is: {$a}.'; +$string['correctansweris'] = 'The correct answer is: {$a}'; $string['correctanswers'] = 'Correct answers'; $string['filloutoneanswer'] = 'You must provide at least one possible answer. Answers left blank will not be used. \'*\' can be used as a wildcard to match any characters. The first matching answer will be used to determine the score and feedback.'; $string['notenoughanswers'] = 'This type of question requires at least {$a} answers';