From d8ef2bc03c6b64d5a60e67f4e90ce343b241af30 Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Fri, 18 Jan 2013 11:35:45 +0800 Subject: [PATCH] MDL-13805 core_message: altered some strings so it isnt weird when viewing a different users messages --- lang/en/message.php | 3 +-- message/lib.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lang/en/message.php b/lang/en/message.php index 6c8ae809c0e20..edc77fab52d4a 100644 --- a/lang/en/message.php +++ b/lang/en/message.php @@ -37,7 +37,7 @@ $string['blockedmessages'] = '{$a} message(s) to/from blocked users'; $string['blockedusers'] = 'Blocked users ({$a})'; $string['blocknoncontacts'] = 'Prevent non-contacts from messaging me'; -$string['contactlistempty'] = 'Your contact list is empty'; +$string['contactlistempty'] = 'Contact list empty'; $string['contacts'] = 'Contacts'; $string['context'] = 'context'; $string['defaultmessageoutputs'] = 'Default message outputs'; @@ -83,7 +83,6 @@ $string['messaging'] = 'Messaging'; $string['messagingblockednoncontact'] = '{$a} will not be able to reply as you have blocked non-contacts'; $string['messagingdisabled'] = 'Messaging is disabled on this site, emails will be sent instead'; -$string['mycontacts'] = 'My contacts'; $string['newonlymsg'] = 'Show only new'; $string['newsearch'] = 'New search'; $string['noframesjs'] = 'Use more accessible interface'; diff --git a/message/lib.php b/message/lib.php index 5af40df1992b5..3b1cbca77b1f6 100644 --- a/message/lib.php +++ b/message/lib.php @@ -486,7 +486,7 @@ function message_print_usergroup_selector($viewing, $courses, $coursecontexts, $ $options[MESSAGE_VIEW_UNREAD_MESSAGES] = $strunreadmessages; } - $str = get_string('mycontacts', 'message'); + $str = get_string('contacts', 'message'); $options[MESSAGE_VIEW_CONTACTS] = $str; $options[MESSAGE_VIEW_RECENT_CONVERSATIONS] = get_string('mostrecentconversations', 'message');