Renamed the label for the customcert intro field
This commit is contained in:
parent
d566ecc1d3
commit
6b145ee81f
2 changed files with 2 additions and 2 deletions
|
@ -36,6 +36,7 @@ $string['deleteconfirm'] = 'Delete confirmation';
|
|||
$string['deleteelement'] = 'Delete element';
|
||||
$string['deleteelementconfirm'] = 'Are you sure you want to delete this element?';
|
||||
$string['deletepageconfirm'] = 'Are you sure you want to delete this certificate page?';
|
||||
$string['description'] = 'Description';
|
||||
$string['editcustomcert'] = 'Edit custom certificate';
|
||||
$string['font'] = 'Font';
|
||||
$string['font_help'] = 'The font used when generating this element.';
|
||||
|
@ -47,7 +48,6 @@ $string['getcustomcert'] = 'Get your custom certificate';
|
|||
$string['height'] = 'Height';
|
||||
$string['heightnotvalid'] = 'The height has to be a valid number.';
|
||||
$string['height_help'] = 'This is the height of the certificate PDF in mm. For reference an A4 piece of paper is 297mm high and a letter is 279mm high.';
|
||||
$string['intro'] = 'Introduction';
|
||||
$string['invalidcolour'] = 'Invalid colour chosen, please enter a valid HTML colour name, or a six-digit, or three-digit hexadecimal colour.';
|
||||
$string['invalidposition'] = 'Please select a positive number for position {$a}.';
|
||||
$string['issued'] = 'Issued';
|
||||
|
|
|
@ -48,7 +48,7 @@ class mod_customcert_mod_form extends moodleform_mod {
|
|||
}
|
||||
$mform->addRule('name', null, 'required', null, 'client');
|
||||
|
||||
$this->add_intro_editor(false, get_string('intro', 'customcert'));
|
||||
$this->add_intro_editor(false, get_string('description', 'customcert'));
|
||||
|
||||
$mform->addElement('header', 'options', get_string('options', 'customcert'));
|
||||
|
||||
|
|
Loading…
Reference in a new issue