MDL-68070 messaging: Amend lang string to be clearer for any user.
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 14 Oct 2020 14:53:22 +0000 (16:53 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 14 Oct 2020 14:53:22 +0000 (16:53 +0200)
Credit goes to Helen Foster for the improvement, thanks!

lang/en/error.php

index 874ecbd..f8d5b9b 100644 (file)
@@ -390,8 +390,8 @@ $string['loginasnoenrol'] = 'You cannot use enrol or unenrol when in course "Log
 $string['loginasonecourse'] = 'You cannot enter this course.<br /> You have to terminate the "Login as" session before entering any other course.';
 $string['maxbytesfile'] = 'The file {$a->file} is too large. The maximum size you can upload is {$a->size}.';
 $string['maxareabytes'] = 'The file is larger than the space remaining in this area.';
+$string['messageundeliveredbynotificationsettings'] = 'The message could not be sent because personal messages between users (in Notification settings) has been disabled by a site administrator.';
 $string['messagingdisable'] = 'Messaging is disabled on this site';
-$string['messageundeliveredbynotificationsettings'] = 'Message failed to deliver. Please check the notification settings.';
 $string['mimetexisnotexist'] = 'Your system is not configured to run mimeTeX. You need to obtain the C source from <a href="https://www.forkosh.com/mimetex.zip">https://www.forkosh.com/mimetex.zip</a>, compile it and put the executable into your moodle/filter/tex/ directory.';
 $string['mimetexnotexecutable'] = 'Custom mimetex is not executable!';
 $string['missingfield'] = 'Field "{$a}" is missing';