MDL-10028, adding a string

This commit is contained in:
toyomoyo 2007-11-22 01:05:36 +00:00
parent 3db14d77ec
commit a5c67cdf34
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ $string['message'] = 'Message';
$string['messagehistory'] = 'Message History';
$string['messages'] = 'Messages';
$string['messaging'] = 'Messaging';
$string['messagingdisabled'] = 'Messaging is disabled on this site, emails will be sent instead';
$string['mycontacts'] = 'My Contacts';
$string['newsearch'] = 'New search';
$string['newonlymsg'] = 'Show only new';

View File

@ -71,7 +71,7 @@
// if messaging is disabled on site, we can still allow users with capabilities to send emails instead
if (empty($CFG->messaging)) {
notify("Messaging is disabled on this site, emails will be sent instead");
notify(get_string('messagingdisabled','message'));
}
if ($count) {