Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-36162 core_message: string clean up

  • Loading branch information...
commit 058dadb059ff61615569e88e476299f3264197cd 1 parent 5e008d3
@andyjdavis andyjdavis authored
View
1  lang/en/message.php
@@ -49,7 +49,6 @@
$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';
View
2  lib/navigationlib.php
@@ -3979,7 +3979,7 @@ protected function generate_user_settings($courseid, $userid, $gstitle='usercurr
// 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
View
6 message/edit.php
@@ -158,9 +158,9 @@
//$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');
Please sign in to comment.
Something went wrong with that request. Please try again.