mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 06:25:33 +02:00
MDL-36162 core_message: string clean up
This commit is contained in:
parent
5e008d36ee
commit
058dadb059
@ -49,7 +49,6 @@ $string['disableall_help'] = 'Temporarily disable all notifications except those
|
||||
$string['disabled'] = 'Messaging is disabled on this site';
|
||||
$string['disallowed'] = 'Disallowed';
|
||||
$string['discussion'] = 'Discussion';
|
||||
$string['editmymessage'] = 'Messaging';
|
||||
$string['emailmessages'] = 'Email messages when I am offline';
|
||||
$string['emailtagline'] = 'This is a copy of a message sent to you at "{$a->sitename}". Go to {$a->url} to reply.';
|
||||
$string['emptysearchstring'] = 'You must search for something';
|
||||
|
@ -3979,7 +3979,7 @@ class settings_navigation extends navigation_node {
|
||||
// Messaging
|
||||
if (($currentuser && has_capability('moodle/user:editownmessageprofile', $systemcontext)) || (!isguestuser($user) && has_capability('moodle/user:editmessageprofile', $usercontext) && !is_primary_admin($user->id))) {
|
||||
$url = new moodle_url('/message/edit.php', array('id'=>$user->id));
|
||||
$usersetting->add(get_string('editmymessage', 'message'), $url, self::TYPE_SETTING);
|
||||
$usersetting->add(get_string('messaging', 'message'), $url, self::TYPE_SETTING);
|
||||
}
|
||||
|
||||
// Blogs
|
||||
|
@ -158,9 +158,9 @@ $preferences->blocknoncontacts = get_user_preferences( 'message_blocknoncontac
|
||||
//$preferences->beepnewmessage = get_user_preferences( 'message_beepnewmessage', '', $user->id);
|
||||
|
||||
/// Display page header
|
||||
$streditmymessage = get_string('editmymessage', 'message');
|
||||
$PAGE->set_title($streditmymessage);
|
||||
$PAGE->set_heading($streditmymessage);
|
||||
$strmessaging = get_string('messaging', 'message');
|
||||
$PAGE->set_title($strmessaging);
|
||||
$PAGE->set_heading($strmessaging);
|
||||
|
||||
// Grab the renderer
|
||||
$renderer = $PAGE->get_renderer('core', 'message');
|
||||
|
Loading…
x
Reference in New Issue
Block a user