Merge branch 'MDL-58921-calculated-question-name-multilang' of https://github.com/lucaboesch/moodle

This commit is contained in:
Jake Dallimore
2017-05-23 16:25:27 +08:00
@@ -138,7 +138,7 @@ class qtype_calculated_edit_form extends qtype_numerical_edit_form {
if (isset($this->question->id)) {
$mform->insertElementBefore($mform->createElement('static', 'initialname',
get_string('questionstoredname', 'qtype_calculated'),
$this->initialname), 'name');
format_string($this->initialname, true, array('context' => $this->context))), 'name');
};
$addfieldsname = 'updatecategory';
$addstring = get_string('updatecategory', 'qtype_calculated');