From 7dbc501811e1d1dd88d1992715facf4e3b48b5e5 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Fri, 21 Oct 2016 12:57:06 +0800 Subject: [PATCH] MDL-54782 core_message: deprecated/removed strings from lang file --- lang/en/deprecated.txt | 19 +++++++++ lang/en/message.php | 91 ++++++++++-------------------------------- 2 files changed, 40 insertions(+), 70 deletions(-) diff --git a/lang/en/deprecated.txt b/lang/en/deprecated.txt index 68ca4b3e633c4..12593edee9e6a 100644 --- a/lang/en/deprecated.txt +++ b/lang/en/deprecated.txt @@ -40,3 +40,22 @@ legacyheading,core_media legacyheading_desc,core_media mobile,core_admin for,core_calendar +context,core_message +discussion,core_message +emptysearchstring,core_message +formorethan,core_message +keywords,core_message +messagehistory,core_message +newsearch,core_message +nosearchresults,core_message +onlymycourses,core_message +pagerefreshes,core_message +page-message-x,core_message +recent,core_message +savemysettings,core_message +search,core_message +settingssaved,core_message +strftimedaydatetime,core_message +timenosee,core_message +timesent,core_message +userssearchresults,core_message diff --git a/lang/en/message.php b/lang/en/message.php index a4eeef89cfe62..404b70a328aa8 100644 --- a/lang/en/message.php +++ b/lang/en/message.php @@ -23,40 +23,22 @@ */ $string['addcontact'] = 'Add contact'; -$string['addsomecontacts'] = 'To send a message to someone, or to add a shortcut for them on this page, use the search tab above.'; -$string['addsomecontactsincoming'] = 'These messages are from people who are not in your contact list. To add them to your contacts, click the "Add contact" icon next to their name.'; $string['addtoyourcontacts'] = 'Add to your contacts'; $string['ago'] = '{$a} ago'; -$string['ajax_gui'] = 'Ajax chat room'; -$string['allmine'] = 'All messages to me or from me'; -$string['allstudents'] = 'All messages between students in course'; $string['allusers'] = 'All messages from all users'; -$string['alwayssend'] = 'Always send me'; $string['backupmessageshelp'] = 'If enabled, then instant messages will be included in SITE automated backups'; -$string['beepnewmessage'] = 'Beep when popup notification is displayed'; $string['blockcontact'] = 'Block contact'; -$string['blockedmessages'] = '{$a} message(s) to/from blocked users'; -$string['blockedusers'] = 'Blocked users ({$a})'; $string['blocknoncontacts'] = 'Prevent non-contacts from messaging me'; -$string['collapsenotification'] = 'Collapse notification'; $string['contactblocked'] = 'Contact blocked'; -$string['contactlistempty'] = 'Contact list empty'; $string['contacts'] = 'Contacts'; -$string['context'] = 'context'; $string['defaultmessageoutputs'] = 'Default message outputs'; $string['defaults'] = 'Defaults'; $string['deleteallconfirm'] = "Are you sure you would like to delete this entire conversation?"; -$string['deletemessage'] = 'Delete message'; -$string['deletemessageconfirmation'] = 'Are you sure you want to delete this message? It will only be deleted from your messaging history and will still be viewable by the user who sent or received the message.'; $string['deleteselectedmessages'] = 'Delete selected messages'; -$string['deletemessagesdays'] = 'Number of days before old messages are automatically deleted'; $string['disableall'] = 'Disable notifications'; $string['disabled'] = 'Messaging is disabled on this site'; $string['disallowed'] = 'Disallowed'; -$string['discussion'] = 'Discussion'; -$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'; $string['enabled'] = 'Enabled'; $string['errorcallingprocessor'] = 'Error calling defined output'; $string['errortranslatingdefault'] = 'Error translating default setting provided by plugin, using system defaults instead.'; @@ -67,93 +49,53 @@ $string['eventmessagedeleted'] = 'Message deleted'; $string['eventmessageviewed'] = 'Message viewed'; $string['eventmessagesent'] = 'Message sent'; -$string['expandnotification'] = 'Expand notification'; $string['forced'] = 'Locked'; -$string['formorethan'] = 'For more than'; $string['guestnoeditmessage'] = 'Guest user can not edit messaging options'; $string['guestnoeditmessageother'] = 'Guest user can not edit other user messaging options'; -$string['gotomessages'] = 'Go to messages'; $string['hidemessagewindow'] = 'Hide message window'; $string['hidenotificationwindow'] = 'Hide notification window'; -$string['includeblockedusers'] = 'Include blocked users'; -$string['incomingcontacts'] = 'Incoming contacts ({$a})'; -$string['keywords'] = 'Keywords'; -$string['keywordssearchresults'] = 'Messages found: {$a}'; -$string['keywordssearchresultstoomany'] = 'More than {$a} messages found. Refine your search.'; -$string['loading'] = 'Loading ...'; $string['loggedin'] = 'Online'; $string['loggedin_help'] = 'Configure how you would like to receive notifications when you are logged into Moodle'; $string['loggedindescription'] = 'When you are logged into Moodle'; $string['loggedoff'] = 'Offline'; $string['loggedoff_help'] = 'Configure how you would like to receive notifications when you are not logged into Moodle'; $string['loggedoffdescription'] = 'When you are not logged into Moodle'; -$string['managecontacts'] = 'Manage my contacts'; $string['managemessageoutputs'] = 'Manage message outputs'; $string['messageoutputs'] = 'Message outputs'; $string['messagepreferences'] = 'Message preferences'; -$string['mostrecent'] = 'Recent messages'; -$string['mostrecentconversations'] = 'Recent conversations'; -$string['mostrecentnotifications'] = 'Recent notifications'; -$string['mailsent'] = 'Your message was sent via email.'; -$string['maxmessages'] = 'Maximum number of messages to show in the discussion history'; $string['message'] = 'Message'; -$string['messagehistory'] = 'Message history'; -$string['messagehistoryfull'] = 'All messages'; -$string['messagenavigation'] = 'Message navigation:'; $string['messagepreferences'] = 'Message preferences'; -$string['messageprocessors'] = 'Message processors'; $string['messages'] = 'Messages'; -$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['newonlymsg'] = 'Show only new'; -$string['newsearch'] = 'New search'; $string['noframesjs'] = 'Use more accessible interface'; $string['nocontacts'] = 'No contacts'; $string['nomessages'] = 'No messages'; $string['nomessagesfound'] = 'No messages were found'; $string['noreply'] = 'Do not reply to this message'; -$string['nosearchresults'] = 'There were no results from your search'; $string['noncontacts'] = 'Non-contacts'; $string['nonotifications'] = 'You have no notifications'; -$string['nonewnotifications'] = 'You have no new notifications'; $string['notificationwindow'] = 'Notification window'; $string['notificationpreferences'] = 'Notification preferences'; $string['notificationimage'] = 'Notification image'; $string['notifications'] = 'Notifications'; $string['off'] = 'Off'; $string['offline'] = 'Offline'; -$string['offlinecontacts'] = 'Offline contacts ({$a})'; $string['on'] = 'On'; $string['online'] = 'Online'; -$string['onlinecontacts'] = 'Online contacts ({$a})'; -$string['onlyfromme'] = 'Only messages from me'; -$string['onlymycourses'] = 'Only in my courses'; -$string['onlytome'] = 'Only messages to me'; $string['outputdisabled'] = 'Output disabled'; $string['outputdoesnotexist'] = 'Message output does not exists'; $string['outputenabled'] = 'Output enabled'; $string['outputnotavailable'] = 'Not available'; $string['outputnotconfigured'] = 'Not configured'; -$string['pagerefreshes'] = 'This page refreshes automatically every {$a} seconds'; $string['permitted'] = 'Permitted'; -$string['page-message-x'] = 'Any message pages'; -$string['private_config'] = 'Popup message window'; $string['processorsettings'] = 'Processor settings'; -$string['processortag'] = 'Destination'; -$string['providers_config'] = 'Configure notification methods for incoming messages'; -$string['providerstag'] = 'Source'; -$string['recent'] = 'Recent'; -$string['readmessages'] = '{$a} read messages'; $string['removecontact'] = 'Remove contact'; $string['removefromyourcontacts'] = 'Remove from your contacts'; $string['requiresconfiguration'] = 'Requires configuration'; -$string['savemysettings'] = 'Save my settings'; -$string['search'] = 'Search'; $string['searchforuser'] = 'Search for a user'; $string['searchforuserorcourse'] = 'Search for a user or course'; $string['searchmessages'] = 'Search messages'; -$string['searchcombined'] = 'Search people and messages'; $string['selectmessagestodelete'] = 'Select messages to delete'; $string['selectnotificationtoview'] = 'Select from the list of notifications on the side to view more details'; $string['send'] = 'Send'; @@ -163,30 +105,18 @@ $string['sendmessageto'] = 'Send message to {$a}'; $string['sendmessagetopopup'] = 'Send message to {$a} - new window'; $string['settings'] = 'Settings'; -$string['settingssaved'] = 'Your settings have been saved'; -$string['showmessagewindow'] = 'Popup window on new message'; $string['showmessagewindownonew'] = 'Show message window with no new messages'; $string['showmessagewindowwithcount'] = 'Show message window with {$a} new messages'; -$string['showallnotifications'] = 'Show all notifications'; -$string['shownewnotifications'] = 'Show new notifications'; $string['shownotificationwindownonew'] = 'Show notification window with no new notifications'; $string['shownotificationwindowwithcount'] = 'Show notification window with {$a} new notifications'; -$string['strftimedaydatetime'] = '%A, %d %B %Y, %I:%M %p'; -$string['thisconversation'] = 'this conversation'; -$string['timenosee'] = 'Minutes since I was last seen online'; -$string['timesent'] = 'Time sent'; $string['togglenotificationmenu'] = 'Toggle notification menu'; $string['togglemessagemenu'] = 'Toggle message menu'; $string['touserdoesntexist'] = 'You can not send a message to a user id ({$a}) that doesn\'t exist'; -$string['unabletomessageuser'] = 'You are not permitted to send a message to that user'; $string['unblockcontact'] = 'Unblock contact'; -$string['unreadmessages'] = 'Unread messages ({$a})'; $string['unreadnotification'] = 'Unread notification: {$a}'; -$string['unreadnewmessages'] = 'New messages ({$a})'; $string['unreadnewmessage'] = 'New message from {$a}'; $string['userisblockingyou'] = 'This user has blocked you from sending messages to them'; $string['userisblockingyounoncontact'] = '{$a} only accepts messages from their contacts.'; -$string['userssearchresults'] = 'Users found: {$a}'; $string['viewinganotherusersmessagearea'] = 'You are viewing another user\'s message area.'; $string['viewmessages'] = 'View messages'; $string['viewmessageswith'] = 'View messages with {$a}'; @@ -194,3 +124,24 @@ $string['viewunreadmessageswith'] = 'View unread messages with {$a}'; $string['writeamessage'] = 'Write a message...'; $string['you'] = 'You:'; + +// Deprecated since Moodle 3.2. +$string['context'] = 'context'; +$string['discussion'] = 'Discussion'; +$string['emptysearchstring'] = 'You must search for something'; +$string['formorethan'] = 'For more than'; +$string['keywords'] = 'Keywords'; +$string['messagehistory'] = 'Message history'; +$string['newsearch'] = 'New search'; +$string['nosearchresults'] = 'There were no results from your search'; +$string['onlymycourses'] = 'Only in my courses'; +$string['pagerefreshes'] = 'This page refreshes automatically every {$a} seconds'; +$string['page-message-x'] = 'Any message pages'; +$string['recent'] = 'Recent'; +$string['savemysettings'] = 'Save my settings'; +$string['search'] = 'Search'; +$string['settingssaved'] = 'Your settings have been saved'; +$string['strftimedaydatetime'] = '%A, %d %B %Y, %I:%M %p'; +$string['timenosee'] = 'Minutes since I was last seen online'; +$string['timesent'] = 'Time sent'; +$string['userssearchresults'] = 'Users found: {$a}';