]> git.mjollnir.org Git - moodle.git/commitdiff
add string of Update the category button
authorpichetp <pichetp>
Fri, 20 Apr 2007 02:43:28 +0000 (02:43 +0000)
committerpichetp <pichetp>
Fri, 20 Apr 2007 02:43:28 +0000 (02:43 +0000)
lang/en_utf8/qtype_calculated.php
question/type/calculated/edit_calculated_form.php

index 230c59554bf7fb8c99a18b5945fa0d9f7efb6d16..a89294cc9c138b39a80a02d44122ce8a47a2204f 100644 (file)
@@ -20,6 +20,7 @@ $string['nodataset'] = 'nothing - it is not a wild card';
 $string['nosharedwildcard'] = 'No shared wild card in this category';
 $string['possiblehdr']='Possible wild cards present only in the question text';
 $string['tolerance'] = 'Tolerance &plusmn;';
+$string['updatecategory'] = 'Update the category';
 $string['usedinquestion']='Used in Question';
 $string['youmustenteramultiplierhere'] = 'You must enter a multiplier here.';
 ?>
\ No newline at end of file
index 87c14e7565d96bdbc35b62b29caedf2407cb4383..a38f13b27e09576dc52570ea1aa25f5496c87b4d 100644 (file)
@@ -68,7 +68,7 @@ class question_edit_calculated_form extends question_edit_form {
         $html2 = $this->qtypeobj->print_dataset_definitions_category($this->question);
         $mform->insertElementBefore($mform->createElement('static','listcategory',$label,$html2),'name');
         $addfieldsname='updatecategory';
-        $addstring='Update the category';
+        $addstring=get_string("updatecategory", "qtype_calculated");
                 $mform->registerNoSubmitButton($addfieldsname);
  
         $mform->insertElementBefore(    $mform->createElement('submit', $addfieldsname, $addstring),'listcategory');