]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10028, adding a string
authortoyomoyo <toyomoyo>
Thu, 22 Nov 2007 01:05:36 +0000 (01:05 +0000)
committertoyomoyo <toyomoyo>
Thu, 22 Nov 2007 01:05:36 +0000 (01:05 +0000)
lang/en_utf8/message.php
user/messageselect.php

index 696dfff8006b71e8525c602092f4b45e531595de..c84a32736729e6d0805ea93b79a60e0e99f8a588 100644 (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';
index 28f1e89c6da75c78de4c635dfa6bb5976c21e144..0228b632c202518bdccf3e9ff22b8d7f75690aab 100644 (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) {