diff --git a/lang/en/customcert.php b/lang/en/customcert.php index 31070b4..833ab26 100644 --- a/lang/en/customcert.php +++ b/lang/en/customcert.php @@ -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'; diff --git a/mod_form.php b/mod_form.php index b51d8f5..e864281 100644 --- a/mod_form.php +++ b/mod_form.php @@ -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'));