Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions lang/en/enrol_notificationeabc.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<pre>
{COURSENAME} = course fullname
{USERNAME} = username
{NOMBRE} = firstname
{APELLIDO} = lastname
{NOMBRE} or {FIRSTNAME} = firstname
{APELLIDO} or {LASTNAME} = lastname
{URL} = course url
</pre>';
$string['fecha_help'] = 'Place the period for which you want to perform the first virificación';
Expand All @@ -63,8 +63,8 @@
<pre>
{COURSENAME} = course fullname
{USERNAME} = username
{NOMBRE} = firstname
{APELLIDO} = lastname
{NOMBRE} or {FIRSTNAME} = firstname
{APELLIDO} or {LASTNAME} = lastname
{URL} = course url
</pre>';
$string['unenrolmessagedefault'] = 'You has been unenrolled from {$a->fullname} ({$a->url})';
Expand All @@ -78,8 +78,8 @@
<pre>
{COURSENAME} = course fullname
{USERNAME} = username
{NOMBRE} = firstname
{APELLIDO} = lastname
{NOMBRE} or {FIRSTNAME} = firstname
{APELLIDO} or {LASTNAME} = lastname
{URL} = course url
</pre>';
$string['updatedenrolmessagedefault'] = 'Your enrolment from {$a->fullname} has been updated ({$a->url})';
Expand Down
12 changes: 6 additions & 6 deletions lang/es/enrol_notificationeabc.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<pre>
{COURSENAME} = Nombre completo del curso
{USERNAME} = Nombre de usuario
{NOMBRE} = Nombre
{APELLIDO} = Apellido
{NOMBRE} or {FIRSTNAME} = Nombre
{APELLIDO} or {LASTNAME} = Apellido
{URL} = Url del curso
</pre>';
$string['fecha_help'] = 'Coloque el periodo por el cual desea que se realice la virificación inicial de usuarios matriculados';
Expand All @@ -63,8 +63,8 @@
<pre>
{COURSENAME} = Nombre completo del curso
{USERNAME} = Nombre de usuario
{NOMBRE} = Nombre
{APELLIDO} = Apellido
{NOMBRE} or {FIRSTNAME} = Nombre
{APELLIDO} or {LASTNAME} = Apellido
{URL} = Url del curso
</pre>';
$string['unenrolmessagedefault'] = 'Ud ha sido desmatriculado del curso {$a->fullname} ({$a->url})';
Expand All @@ -78,8 +78,8 @@
<pre>
{COURSENAME} = Nombre completo del curso
{USERNAME} = Nombre de usuario
{NOMBRE} = Nombre
{APELLIDO} = Apellido
{NOMBRE} or {FIRSTNAME} = Nombre
{APELLIDO} or {LASTNAME} = Apellido
{URL} = Url del curso
</pre>';
$string['updatedenrolmessagedefault'] = 'Su matriculacion en el curso {$a->fullname} ha sido actualizada ({$a->url})';
Expand Down
2 changes: 2 additions & 0 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ public function process_mensaje($mensaje, stdClass $user, stdClass $course) {
$m = str_replace('{COURSENAME}', $course->fullname, $m);
$m = str_replace('{USERNAME}', $user->username, $m);
$m = str_replace('{NOMBRE}', $user->firstname, $m);
$m = str_replace('{FIRSTNAME}', $user->firstname, $m); // Supports also EN placeholder name
$m = str_replace('{APELLIDO}', $user->lastname, $m);
$m = str_replace('{LASTNAME}', $user->lastname, $m); // Supports also EN placeholder name
$m = str_replace('{URL}', $url, $m);
return $m;
}
Expand Down