From 48c19b25516fb1e0c0ccdb5236d4629693bbc02a Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Mon, 1 Nov 2010 17:36:15 +0000 Subject: [PATCH] quiz lang MDL-24170 move an old string to a more logical name, before making the real change. AMOS BEGIN MOV [finishattempt,mod_quiz],[submitallandfinish,mod_quiz] AMOS END --- mod/quiz/lang/en/quiz.php | 2 +- mod/quiz/summary.php | 2 +- question/preview.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/quiz/lang/en/quiz.php b/mod/quiz/lang/en/quiz.php index 620a3a8e1ef..739e4d594ae 100644 --- a/mod/quiz/lang/en/quiz.php +++ b/mod/quiz/lang/en/quiz.php @@ -348,7 +348,6 @@ $string['filloutnumericalanswer'] = 'You provide at least one possible answer an $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['filloutthreequestions'] = 'You must provide at least three questions with matching 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['fillouttwochoices'] = 'You must fill out at least two choices. Choices left blank will not be used.'; -$string['finishattempt'] = 'Submit all and finish'; $string['finishreview'] = 'Finish review'; $string['forceregeneration'] = 'force regeneration'; $string['formatnotfound'] = 'Import/export format {$a} not found'; @@ -798,6 +797,7 @@ $string['startedon'] = 'Started on'; $string['statenotloaded'] = 'The state for question {$a} has not been loaded from the database'; $string['status'] = 'Status'; $string['stoponerror'] = 'Stop on error'; +$string['submitallandfinish'] = 'Submit all and finish'; $string['subneterror'] = 'Sorry, this quiz has been locked so that it is only accessible from certain locations. Currently your computer is not one of those allowed to use this quiz.'; $string['subnetnotice'] = 'This quiz has been locked so that it is only accessible from certain locations. Your computer is not on an allowed subnet. As teacher you are allowed to preview anyway.'; $string['subnetwrong'] = 'This quiz is only accessible from certain locations, and this computer is not on the allowed list.'; diff --git a/mod/quiz/summary.php b/mod/quiz/summary.php index 6577a0da903..0f678139c48 100644 --- a/mod/quiz/summary.php +++ b/mod/quiz/summary.php @@ -128,7 +128,7 @@ $options = array( 'sesskey' => sesskey(), ); -$button = new single_button(new moodle_url($attemptobj->processattempt_url(), $options), get_string('finishattempt', 'quiz')); +$button = new single_button(new moodle_url($attemptobj->processattempt_url(), $options), get_string('submitallandfinish', 'quiz')); $button->id = 'responseform'; $button->add_confirm_action(get_string('confirmclose', 'quiz')); diff --git a/question/preview.php b/question/preview.php index daad31b4fbc..a74b995d2b0 100644 --- a/question/preview.php +++ b/question/preview.php @@ -228,7 +228,7 @@ echo '\n"; echo '\n"; + get_string('submitallandfinish', 'quiz') . "\" />\n"; echo '
'; echo '
'; // Print the fill correct button (unless the question is in readonly mode)