1 |
efrain |
1 |
<?php
|
|
|
2 |
// This file is part of Moodle - http://moodle.org/
|
|
|
3 |
//
|
|
|
4 |
// Moodle is free software: you can redistribute it and/or modify
|
|
|
5 |
// it under the terms of the GNU General Public License as published by
|
|
|
6 |
// the Free Software Foundation, either version 3 of the License, or
|
|
|
7 |
// (at your option) any later version.
|
|
|
8 |
//
|
|
|
9 |
// Moodle is distributed in the hope that it will be useful,
|
|
|
10 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
11 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
12 |
// GNU General Public License for more details.
|
|
|
13 |
//
|
|
|
14 |
// You should have received a copy of the GNU General Public License
|
|
|
15 |
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
16 |
|
|
|
17 |
/**
|
|
|
18 |
* Notificationeabc enrolment plugin.
|
|
|
19 |
*
|
|
|
20 |
* This plugin notifies users when an event occurs on their enrolments (enrol, unenrol, update enrolment)
|
|
|
21 |
*
|
|
|
22 |
* @package enrol_notificationeabc
|
|
|
23 |
* @copyright 2017 e-ABC Learning
|
|
|
24 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
|
25 |
* @author Osvaldo Arriola <osvaldo@e-abclearning.com>
|
|
|
26 |
*/
|
|
|
27 |
|
|
|
28 |
$string['filelockedmail'] = 'Ud ha sido matriculado en el curso {$a->fullname} ({$a->url})';
|
|
|
29 |
$string['location'] = 'Mensaje personalizado';
|
|
|
30 |
$string['messageprovider:notificationeabc_enrolment'] = 'Enrol notification messages';
|
|
|
31 |
$string['notificationeabc:manage'] = 'Gestionar notificaciones de matriculación';
|
|
|
32 |
$string['pluginname'] = 'Notificación de Matriculación';
|
|
|
33 |
$string['pluginname_desc'] = 'Notificación de matriculaciones a cursos via mail';
|
|
|
34 |
$string['location_help'] = 'Personalice el mensaje que le llegará a los usuarios al ser matriculados. Este campo acepta los siguientes marcadores que luego seran reemplazados dinámicamente por los valores correspondientes
|
|
|
35 |
<pre>
|
|
|
36 |
{COURSENAME} = Nombre completo del curso
|
|
|
37 |
{USERNAME} = Nombre de usuario
|
|
|
38 |
{NOMBRE} = Nombre
|
|
|
39 |
{APELLIDO} = Apellido
|
|
|
40 |
{URL} = Url del curso
|
|
|
41 |
</pre>';
|
|
|
42 |
$string['fecha_help'] = 'Coloque el periodo por el cual desea que se realice la virificación inicial de usuarios matriculados';
|
|
|
43 |
$string['fecha'] = 'Período para realizar la verificación de usuarios que se matricularon a cursos';
|
|
|
44 |
$string['activar'] = 'Activar verificación inicial';
|
|
|
45 |
$string['activar_help'] = 'Al activarse se verificará, mediante la ejecucion del cron inmediata posterior, los usuarios que fueron matriculados en el periodo establecido arriba';
|
|
|
46 |
$string['activarglobal'] = 'Activar para todo el sitio';
|
|
|
47 |
$string['activarglobal_help'] = 'Activa la notificacion de matriculacion para todo los cursos';
|
|
|
48 |
$string['emailsender'] = 'Email del remitente ';
|
|
|
49 |
$string['emailsender_help'] = 'Por defecto toma el email configurado como el usuario de soporte ';
|
|
|
50 |
$string['namesender'] = 'Nombre del remitente ';
|
|
|
51 |
$string['namesender_help'] = 'Por defecto toma el nombre configurado como el usuario de soporte ';
|
|
|
52 |
$string['status'] = 'Activar notification de matriculación';
|
|
|
53 |
$string['subject'] = 'Notificación de Matriculación';
|
|
|
54 |
$string['activeenrolalert'] = 'Activar aviso de matriculación';
|
|
|
55 |
$string['activeenrolalert_help'] = 'Activar aviso de matriculación';
|
|
|
56 |
// Aviso de desmatriculacion.
|
|
|
57 |
$string['activeunenrolalert'] = 'Activar aviso de desmatriculacion';
|
|
|
58 |
$string['activeunenrolalert_help'] = 'Activar aviso de desmatriculacion';
|
|
|
59 |
$string['activarglobalunenrolalert'] = 'Activar para todo el sitio';
|
|
|
60 |
$string['activarglobalunenrolalert_help'] = 'Activar la notificacion de desmatriculacion para todo el sitio';
|
|
|
61 |
$string['unenrolmessage'] = 'Mensaje personalizado';
|
|
|
62 |
$string['unenrolmessage_help'] = 'Personalice el mensaje que le llegará a los usuarios al ser desmatriculados. Este campo acepta los siguientes marcadores que luego seran reemplazados dinámicamente por los valores correspondientes
|
|
|
63 |
<pre>
|
|
|
64 |
{COURSENAME} = Nombre completo del curso
|
|
|
65 |
{USERNAME} = Nombre de usuario
|
|
|
66 |
{NOMBRE} = Nombre
|
|
|
67 |
{APELLIDO} = Apellido
|
|
|
68 |
{URL} = Url del curso
|
|
|
69 |
</pre>';
|
|
|
70 |
$string['unenrolmessagedefault'] = 'Ud ha sido desmatriculado del curso {$a->fullname} ({$a->url})';
|
|
|
71 |
// Aviso de actualizacion de matriculacion.
|
|
|
72 |
$string['activeenrolupdatedalert'] = 'Activar aviso de actualizacion de matriculacion';
|
|
|
73 |
$string['activeenrolupdatedalert_help'] = 'Activar aviso de actualizacion de matriculacion';
|
|
|
74 |
$string['activarglobalenrolupdated'] = 'Activar para todo el sitio';
|
|
|
75 |
$string['activarglobalenrolupdated_help'] = 'Activar la notificacion de actualizacion de matriculacion para todo el sitio';
|
|
|
76 |
$string['updatedenrolmessage'] = 'Mensaje personalizado';
|
|
|
77 |
$string['updatedenrolmessage_help'] = 'Personalice el mensaje que le llegará a los usuarios al realizar alguna actualizacion en su matriculacion. Este campo acepta los siguientes marcadores que luego seran reemplazados dinámicamente por los valores correspondientes
|
|
|
78 |
<pre>
|
|
|
79 |
{COURSENAME} = Nombre completo del curso
|
|
|
80 |
{USERNAME} = Nombre de usuario
|
|
|
81 |
{NOMBRE} = Nombre
|
|
|
82 |
{APELLIDO} = Apellido
|
|
|
83 |
{URL} = Url del curso
|
|
|
84 |
</pre>';
|
|
|
85 |
$string['updatedenrolmessagedefault'] = 'Su matriculacion en el curso {$a->fullname} ha sido actualizada ({$a->url})';
|
|
|
86 |
$string['succefullsend'] = 'Se notifico al usuario {$a->username} sobre su matriculación en el curso {$a->coursename}'. "\n";
|
|
|
87 |
$string['failsend'] = 'ATENCION: No se pudo notificar al usuario {$a->username} sobre su matriculación en el curso {$a->coursename}'."\n";
|