From 3e6ad1d7a4b9607aa0a9a340a609aab7c8e2a4b3 Mon Sep 17 00:00:00 2001 From: pilpi Date: Thu, 4 Dec 2008 13:28:20 +0000 Subject: [PATCH] quiz editing: MDL-17409 removed ":" from source removed ":" from source where they occured with new (committed with the rest of Quiz UI redesign project) strings and changed the strings accordingly --- lang/en_utf8/quiz.php | 6 +++--- mod/quiz/edit.php | 2 +- mod/quiz/editlib.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lang/en_utf8/quiz.php b/lang/en_utf8/quiz.php index 682a41fcad7..9891935251b 100644 --- a/lang/en_utf8/quiz.php +++ b/lang/en_utf8/quiz.php @@ -34,7 +34,7 @@ $string['addquestionstoquiz'] = 'Add questions to current quiz'; $string['addrandom'] = 'Add $a random questions'; $string['addrandom1'] = '<< Add'; $string['addrandom2'] = 'random questions'; -$string['addrandomfromcategory'] = 'Add random questions from category'; +$string['addrandomfromcategory'] = 'Add random questions from category:'; $string['addrandomquestion'] = 'Add random question'; $string['addrandomquestiontoquiz'] = 'Add random question to quiz $a'; $string['addselectedtoquiz'] = 'Add selected to quiz'; @@ -302,7 +302,7 @@ $string['formatnotimplemented'] = 'This format has not been correctly implemente $string['formulaerror'] = 'Formula errors!'; $string['fractionsaddwrong'] = 'The positive grades you have chosen do not add up to 100%%
Instead, they add up to $a%%
Do you want to go back and fix this question?'; $string['fractionsnomax'] = 'One of the answers should be 100%%, so that it is
possible to get a full grade for this question.
Do you want to go back and fix this question?'; -$string['fromcategory'] = 'from category'; +$string['fromcategory'] = 'from category:'; $string['fromfile'] = 'from file:'; $string['functiontakesatleasttwo'] = 'The function $a must have at least two arguments'; $string['functiontakesnoargs'] = 'The function $a does not take any arguments'; @@ -683,7 +683,7 @@ $string['tolerance'] = 'Tolerance'; $string['tolerancetype'] = 'Tolerance Type'; $string['toomanyrandom'] = 'The number of random questions required is more than are still available in the category!'; $string['top'] = 'Top'; -$string['totalpoints'] = 'Total of grades'; +$string['totalpoints'] = 'Total of grades:'; $string['totalquestionsinrandomqcategory'] = 'Total of $a questions in category.'; $string['true'] = 'True'; $string['truefalse'] = 'True/False'; diff --git a/mod/quiz/edit.php b/mod/quiz/edit.php index 2a4d96ab5f1..cedbc45ebb9 100644 --- a/mod/quiz/edit.php +++ b/mod/quiz/edit.php @@ -103,7 +103,7 @@ function module_specific_controls($totalnumber, $recurse, $category, $cmid, $cmo } $straddtoquiz = get_string("addtoquiz", "quiz"); $out = ':
'; + '
'; $out .= get_string('addrandom', 'quiz', choose_from_menu($randomcount, 'randomcount', '1', '', '', '', true,$cmoptions->hasattempts)); $out .= ''; diff --git a/mod/quiz/editlib.php b/mod/quiz/editlib.php index 4feede542f7..805f9d9eb98 100644 --- a/mod/quiz/editlib.php +++ b/mod/quiz/editlib.php @@ -788,7 +788,7 @@ function quiz_print_randomquestion(&$question, &$pageurl, &$quiz,$quiz_qbanktool echo '
'; print_question_icon($question); print_string('random','quiz'); - echo " ".get_string("fromcategory",'quiz').":
"; + echo " ".get_string("fromcategory",'quiz').""; $a = new stdClass; $a->arrow = $THEME->rarrow; @@ -1523,7 +1523,7 @@ function quiz_print_status_bar($quiz,$sumgrades){ global $CFG; $numberofquestions=quiz_number_of_questions_in_quiz($quiz->questions); ?>
- : + |