]> git.mjollnir.org Git - moodle.git/commitdiff
quiz editing: MDL-17409 removed ":" from source
authorpilpi <pilpi>
Thu, 4 Dec 2008 13:28:20 +0000 (13:28 +0000)
committerpilpi <pilpi>
Thu, 4 Dec 2008 13:28:20 +0000 (13:28 +0000)
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
mod/quiz/edit.php
mod/quiz/editlib.php

index 682a41fcad78685d5b45a0c21ccff0994f8fafbf..9891935251bac134d0444ad90307382b86b9f318 100644 (file)
@@ -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%%<br />Instead, they add up to $a%%<br />Do you want to go back and fix this question?';
 $string['fractionsnomax'] = 'One of the answers should be 100%%, so that it is<br />possible to get a full grade for this question.<br />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';
index 2a4d96ab5f1e24187818f3ca01808de55ef16adc..cedbc45ebb9e0b3a17ccd00e972e79622c655110 100644 (file)
@@ -103,7 +103,7 @@ function module_specific_controls($totalnumber, $recurse, $category, $cmid, $cmo
             }
             $straddtoquiz = get_string("addtoquiz", "quiz");
             $out = '<strong><label for="menurandomcount">'.get_string('addrandomfromcategory','quiz').
-                    '</label>:</strong><br />';
+                    '</label></strong><br />';
             $out .= get_string('addrandom', 'quiz', choose_from_menu($randomcount,
                     'randomcount', '1', '', '', '', true,$cmoptions->hasattempts));
             $out .= '<input type="hidden" name="recurse" value="'.$recurse.'" />';
index 4feede542f72a9b517f41bdb33b536badb051120..805f9d9eb987c3e707baccba310b92102af69ae6 100644 (file)
@@ -788,7 +788,7 @@ function quiz_print_randomquestion(&$question, &$pageurl, &$quiz,$quiz_qbanktool
     echo '<div class="randomquestionfromcategory">';
     print_question_icon($question);
     print_string('random','quiz');
-    echo " ".get_string("fromcategory",'quiz').":</div>";
+    echo " ".get_string("fromcategory",'quiz')."</div>";
 
     $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);
     ?><div class="statusdisplay"><span class="totalpoints">
-    <?php echo get_string("totalpoints","quiz") ?>:</span>
+    <?php echo get_string("totalpoints","quiz") ?></span>
     <?php echo $sumgrades; ?>
     | <span class="numberofquestions">
     <?php