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'] = 'You has been enroled in {$a->fullname} ({$a->url})';
|
|
|
29 |
$string['location'] = 'Message';
|
|
|
30 |
$string['messageprovider:notificationeabc_enrolment'] = 'Enrol notification messages';
|
|
|
31 |
$string['notificationeabc:manage'] = 'Manage notificationeabc';
|
|
|
32 |
$string['pluginname'] = 'Enrol Notification';
|
|
|
33 |
$string['pluginname_desc'] = 'Enrol notifications via mail';
|
|
|
34 |
$string['location_help'] = 'Personalize the message that users will come to be enrolled. This field accepts the following markers which then will be replaced by the corresponding values dynamically
|
|
|
35 |
<pre>
|
|
|
36 |
{COURSENAME} = course fullname
|
|
|
37 |
{USERNAME} = username
|
|
|
38 |
{NOMBRE} = firstname
|
|
|
39 |
{APELLIDO} = lastname
|
|
|
40 |
{URL} = course url
|
|
|
41 |
</pre>';
|
|
|
42 |
$string['fecha_help'] = 'Place the period for which you want to perform the first virificación';
|
|
|
43 |
$string['fecha'] = 'Period for verification of users enrolled courses';
|
|
|
44 |
$string['activar'] = 'Enable initial verification';
|
|
|
45 |
$string['activar_help'] = 'When activated will be verified by the immediate execution of cron later, users who were enrolled for the period specified above';
|
|
|
46 |
$string['activarglobal'] = 'Active global';
|
|
|
47 |
$string['activarglobal_help'] = 'Active enrol notification for all site';
|
|
|
48 |
$string['emailsender'] = 'Email sender ';
|
|
|
49 |
$string['emailsender_help'] = 'By default set to take the email user support ';
|
|
|
50 |
$string['namesender'] = 'Name sender ';
|
|
|
51 |
$string['namesender_help'] = 'By default it takes the name set to the user support';
|
|
|
52 |
$string['status'] = 'Active enrol notification';
|
|
|
53 |
$string['subject'] = 'Enrolment notification';
|
|
|
54 |
$string['activeenrolalert'] = 'Active enrol alert';
|
|
|
55 |
$string['activeenrolalert_help'] = 'Active enrol alert';
|
|
|
56 |
// Unenrol notifications.
|
|
|
57 |
$string['activeunenrolalert'] = 'Active unenrol notifications';
|
|
|
58 |
$string['activeunenrolalert_help'] = 'Active unenrol alert';
|
|
|
59 |
$string['activarglobalunenrolalert'] = 'Active global';
|
|
|
60 |
$string['activarglobalunenrolalert_help'] = 'Active enrol notifications for all site';
|
|
|
61 |
$string['unenrolmessage'] = 'Custom Message';
|
|
|
62 |
$string['unenrolmessage_help'] = 'Personalize the message that users will come to be unenrolled. This field accepts the following markers which then will be replaced by the corresponding values dynamically
|
|
|
63 |
<pre>
|
|
|
64 |
{COURSENAME} = course fullname
|
|
|
65 |
{USERNAME} = username
|
|
|
66 |
{NOMBRE} = firstname
|
|
|
67 |
{APELLIDO} = lastname
|
|
|
68 |
{URL} = course url
|
|
|
69 |
</pre>';
|
|
|
70 |
$string['unenrolmessagedefault'] = 'You has been unenrolled from {$a->fullname} ({$a->url})';
|
|
|
71 |
// Update enrol notifications.
|
|
|
72 |
$string['activeenrolupdatedalert'] = 'Active update enrol notifications';
|
|
|
73 |
$string['activeenrolupdatedalert_help'] = 'Active update enrol notifications';
|
|
|
74 |
$string['activarglobalenrolupdated'] = 'Active global';
|
|
|
75 |
$string['activarglobalenrolupdated_help'] = 'Active enrol updated notifications for all site';
|
|
|
76 |
$string['updatedenrolmessage'] = 'Custom message';
|
|
|
77 |
$string['updatedenrolmessage_help'] = 'Personalize the message that users will come to be updated. This field accepts the following markers which then will be replaced by the corresponding values dynamically
|
|
|
78 |
<pre>
|
|
|
79 |
{COURSENAME} = course fullname
|
|
|
80 |
{USERNAME} = username
|
|
|
81 |
{NOMBRE} = firstname
|
|
|
82 |
{APELLIDO} = lastname
|
|
|
83 |
{URL} = course url
|
|
|
84 |
</pre>';
|
|
|
85 |
$string['updatedenrolmessagedefault'] = 'Your enrolment from {$a->fullname} has been updated ({$a->url})';
|
|
|
86 |
$string['succefullsend'] = 'The user {$a->username} has been notified about his enrollment in the {$a->coursename} course'."\n";
|
|
|
87 |
$string['failsend'] = 'WARNING: it has no been able to notify the {$a->username} user about his enrollment in the {$a->coursename} course'."\n";
|