Skip to content

Commit 407a8d6

Browse files
author
David Monllao
committed
Merge branch 'MDL-42764_33' of git://github.com/markn86/moodle into MOODLE_33_STABLE
2 parents 38055cd + ac8bf02 commit 407a8d6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lang/en/moodle.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,7 @@
706706
If you continue to have difficulty, contact the site administrator.';
707707
$string['emailtoprivatefiles'] = 'You can also e-mail files as attachments straight to your private files space. Simply attach your files to an e-mail and send it to {$a}';
708708
$string['emailtoprivatefilesdenied'] = 'Your administrator has disabled the option to upload your own private files.';
709+
$string['emailuserhasnone'] = 'There is no email address for the user.';
709710
$string['emailvia'] = '{$a->name} (via {$a->siteshortname})';
710711
$string['emptydragdropregion'] = 'empty region';
711712
$string['enable'] = 'Enable';

user/message.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
echo '<td>'.$user->email.'</td><td>';
4343
}
4444
if (empty($user->email)) {
45-
$error = get_string('emailempty');
45+
$error = get_string('emailuserhasnone');
4646
}
4747
if (!empty($error)) {
4848
echo $OUTPUT->pix_icon('t/emailno', $error);

0 commit comments

Comments
 (0)