mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
add string of Update the category button
This commit is contained in:
parent
4de19d9296
commit
1d9bc9a60d
@ -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 ±';
|
||||
$string['updatecategory'] = 'Update the category';
|
||||
$string['usedinquestion']='Used in Question';
|
||||
$string['youmustenteramultiplierhere'] = 'You must enter a multiplier here.';
|
||||
?>
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user