From 7b161e129039a19b9f2dea9f6547dc585e8fdc46 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Fri, 13 Feb 2009 07:11:55 +0000 Subject: [PATCH] quiz editing: MDL-17284 improve wording for delete -> remove all selected questions. --- lang/en_utf8/quiz.php | 5 +++-- mod/quiz/editlib.php | 10 +++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lang/en_utf8/quiz.php b/lang/en_utf8/quiz.php index 5f2c279bbf..0b6ec476ea 100644 --- a/lang/en_utf8/quiz.php +++ b/lang/en_utf8/quiz.php @@ -61,7 +61,7 @@ $string['answersingleyes'] = 'One answer only'; $string['answerswithacceptederrormarginmustbenumeric'] = 'Answers with accepted error must be numeric'; $string['answertoolong'] = 'Answer too long after line $a (255 char. max)'; $string['aon'] = 'AON format'; -$string['areyousuredeleteselected'] = 'Are you sure you want to delete the selected questions?'; +$string['areyousureremoveselected'] = 'Are you sure you want to remove all the selected questions?'; $string['attempt'] = 'Attempt $a'; $string['attemptalreadyclosed'] = 'This attempt has already be finished.'; $string['attemptclosed'] = 'Attempt has not closed yet'; @@ -566,8 +566,9 @@ $string['regradingquestion'] = 'Regrading \"$a\".'; $string['regradingquiz'] = 'Regrading Quiz \"$a\"'; $string['relative'] = 'Relative'; $string['remove'] = 'Remove'; -$string['removeemptypage'] = 'Remove empty page'; $string['removeallquizattempts'] = 'Delete all quiz attempts'; +$string['removeemptypage'] = 'Remove empty page'; +$string['removeselected'] = 'Remove selected'; $string['rename'] = 'Rename'; $string['renderingserverconnectfailed'] = 'The server $a failed to process an RQP request. Check that the URL is correct.'; $string['reorderquestions'] = 'Reorder questions'; diff --git a/mod/quiz/editlib.php b/mod/quiz/editlib.php index 174651d73e..7a31dafc95 100644 --- a/mod/quiz/editlib.php +++ b/mod/quiz/editlib.php @@ -241,11 +241,11 @@ function quiz_print_question_list($quiz, $pageurl, $allowdelete=true, ''; - $reordercontrols1.='
'. - '
'; + $reordercontrols1 .= '
' . + '
'; $a = ''; -- 2.39.5