diff --git a/edit_form.php b/edit_form.php index 99a7b91..60e5579 100644 --- a/edit_form.php +++ b/edit_form.php @@ -56,24 +56,24 @@ public function definition() { $mform->addElement('select', 'status', get_string('status', 'enrol_notificationeabc'), $options); // Enrol notifications. - $mform->addElement('advcheckbox', 'customint1', get_string('activeenrolalert', 'enrol_notificationeabc')); - $mform->addHelpButton('customint1', 'activeenrolalert', 'enrol_notificationeabc'); + $mform->addElement('advcheckbox', 'customint1', get_string('activecustomenrolalert', 'enrol_notificationeabc')); + $mform->addHelpButton('customint1', 'activecustomenrolalert', 'enrol_notificationeabc'); $mform->addElement('editor', 'customtext1', get_string('location', 'enrol_notificationeabc'), null); $mform->setType('customtext1', PARAM_RAW); $mform->addHelpButton('customtext1', 'location', 'enrol_notificationeabc'); // Unenrol notifications. - $mform->addElement('advcheckbox', 'customint2', get_string('activeunenrolalert', 'enrol_notificationeabc')); - $mform->addHelpButton('customint2', 'activeunenrolalert', 'enrol_notificationeabc'); + $mform->addElement('advcheckbox', 'customint2', get_string('activecustomunenrolalert', 'enrol_notificationeabc')); + $mform->addHelpButton('customint2', 'activecustomunenrolalert', 'enrol_notificationeabc'); $mform->addElement('editor', 'customtext2', get_string('unenrolmessage', 'enrol_notificationeabc'), null); $mform->setType('customtext2', PARAM_RAW); $mform->addHelpButton('customtext2', 'unenrolmessage', 'enrol_notificationeabc'); // Update enrolment notifications. - $mform->addElement('advcheckbox', 'customint3', get_string('activeenrolupdatedalert', 'enrol_notificationeabc')); - $mform->addHelpButton('customint3', 'activeenrolupdatedalert', 'enrol_notificationeabc'); + $mform->addElement('advcheckbox', 'customint3', get_string('activecustomenrolupdatedalert', 'enrol_notificationeabc')); + $mform->addHelpButton('customint3', 'activecustomenrolupdatedalert', 'enrol_notificationeabc'); $mform->addElement('editor', 'customtext3', get_string('updatedenrolmessage', 'enrol_notificationeabc'), null); $mform->setType('customtext3', PARAM_RAW); diff --git a/lang/en/enrol_notificationeabc.php b/lang/en/enrol_notificationeabc.php index e8e0d2c..353c47c 100644 --- a/lang/en/enrol_notificationeabc.php +++ b/lang/en/enrol_notificationeabc.php @@ -51,11 +51,11 @@ $string['namesender_help'] = 'By default it takes the name set to the user support'; $string['status'] = 'Active enrol notification'; $string['subject'] = 'Enrolment notification'; -$string['activeenrolalert'] = 'Active enrol alert'; -$string['activeenrolalert_help'] = 'Active enrol alert'; +$string['activecustomenrolalert'] = 'Active custom message enrol alert'; +$string['activecustomenrolalert_help'] = 'Active custom enrol alert'; // Unenrol notifications. -$string['activeunenrolalert'] = 'Active unenrol notifications'; -$string['activeunenrolalert_help'] = 'Active unenrol alert'; +$string['activecustomunenrolalert'] = 'Active custom message unenrol notifications'; +$string['activecustomunenrolalert_help'] = 'Active unenrol alert'; $string['activarglobalunenrolalert'] = 'Active global'; $string['activarglobalunenrolalert_help'] = 'Active enrol notifications for all site'; $string['unenrolmessage'] = 'Custom Message'; @@ -69,8 +69,8 @@ '; $string['unenrolmessagedefault'] = 'You has been unenrolled from {$a->fullname} ({$a->url})'; // Update enrol notifications. -$string['activeenrolupdatedalert'] = 'Active update enrol notifications'; -$string['activeenrolupdatedalert_help'] = 'Active update enrol notifications'; +$string['activecustomenrolupdatedalert'] = 'Active custom update enrol notifications'; +$string['activecustomenrolupdatedalert_help'] = 'Active custom update enrol notifications'; $string['activarglobalenrolupdated'] = 'Active global'; $string['activarglobalenrolupdated_help'] = 'Active enrol updated notifications for all site'; $string['updatedenrolmessage'] = 'Custom message'; diff --git a/lang/es/enrol_notificationeabc.php b/lang/es/enrol_notificationeabc.php index a185d74..44506c0 100644 --- a/lang/es/enrol_notificationeabc.php +++ b/lang/es/enrol_notificationeabc.php @@ -51,11 +51,11 @@ $string['namesender_help'] = 'Por defecto toma el nombre configurado como el usuario de soporte '; $string['status'] = 'Activar notification de matriculación'; $string['subject'] = 'Notificación de Matriculación'; -$string['activeenrolalert'] = 'Activar aviso de matriculación'; -$string['activeenrolalert_help'] = 'Activar aviso de matriculación'; +$string['activecustomenrolalert'] = 'Activar aviso de matriculación personalizado'; +$string['activecustomenrolalert_help'] = 'Activar aviso de matriculación personalizado'; // Aviso de desmatriculacion. -$string['activeunenrolalert'] = 'Activar aviso de desmatriculacion'; -$string['activeunenrolalert_help'] = 'Activar aviso de desmatriculacion'; +$string['activecustomunenrolalert'] = 'Activar aviso de desmatriculacion personalizado'; +$string['activecustomunenrolalert_help'] = 'Activar aviso de desmatriculacion personalizado'; $string['activarglobalunenrolalert'] = 'Activar para todo el sitio'; $string['activarglobalunenrolalert_help'] = 'Activar la notificacion de desmatriculacion para todo el sitio'; $string['unenrolmessage'] = 'Mensaje personalizado'; @@ -69,8 +69,8 @@ '; $string['unenrolmessagedefault'] = 'Ud ha sido desmatriculado del curso {$a->fullname} ({$a->url})'; // Aviso de actualizacion de matriculacion. -$string['activeenrolupdatedalert'] = 'Activar aviso de actualizacion de matriculacion'; -$string['activeenrolupdatedalert_help'] = 'Activar aviso de actualizacion de matriculacion'; +$string['activecustomenrolupdatedalert'] = 'Activar aviso de actualizacion de matriculacion personalizado'; +$string['activecustomenrolupdatedalert_help'] = 'Activar aviso de actualizacion de matriculacion personaliado'; $string['activarglobalenrolupdated'] = 'Activar para todo el sitio'; $string['activarglobalenrolupdated_help'] = 'Activar la notificacion de actualizacion de matriculacion para todo el sitio'; $string['updatedenrolmessage'] = 'Mensaje personalizado'; diff --git a/version.php b/version.php index c67dd02..e384400 100644 --- a/version.php +++ b/version.php @@ -26,7 +26,7 @@ */ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2017111700; +$plugin->version = 2021123000; $plugin->requires = 2016120503; $plugin->component = 'enrol_notificationeabc'; $plugin->maturity = MATURITY_STABLE;