From c3b14552f944f018a8bb70b76b4167ff50c5c826 Mon Sep 17 00:00:00 2001 From: Mihail Geshoski Date: Mon, 21 Mar 2022 22:49:01 +0800 Subject: [PATCH] MDL-74189 tool_moodlenet: Update language strings Updates the existing language strings in order to provide more accurate instructions on how users can link existing their MoodleNet profile on the site. --- admin/tool/moodlenet/lang/en/tool_moodlenet.php | 12 ++++++------ lang/en/user.php | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/admin/tool/moodlenet/lang/en/tool_moodlenet.php b/admin/tool/moodlenet/lang/en/tool_moodlenet.php index f73616a3e67..35c75a2e694 100644 --- a/admin/tool/moodlenet/lang/en/tool_moodlenet.php +++ b/admin/tool/moodlenet/lang/en/tool_moodlenet.php @@ -28,7 +28,7 @@ defined('MOODLE_INTERNAL') || die(); $string['autoenablenotification'] = '

In Moodle 4.0 onwards, the MoodleNet integration is enabled by default in Advanced features. Users with the capability to create and manage activities can browse MoodleNet via the activity chooser and import MoodleNet resources into their courses.

If desired, an alternative MoodleNet instance may be specified in the MoodleNet settings.

'; $string['autoenablenotification_subject'] = 'Default MoodleNet setting changed.'; $string['addingaresource'] = 'Adding content from MoodleNet'; -$string['aria:enterprofile'] = "Enter your MoodleNet profile URL"; +$string['aria:enterprofile'] = "Enter your MoodleNet profile ID"; $string['aria:footermessage'] = "Browse for content on MoodleNet"; $string['browsecontentmoodlenet'] = "Or browse for content on MoodleNet"; $string['clearsearch'] = "Clear search"; @@ -41,11 +41,11 @@ $string['defaultmoodlenetname_desc'] = 'The name of the MoodleNet instance avail $string['enablemoodlenet'] = 'Enable MoodleNet integration'; $string['enablemoodlenet_desc'] = 'If enabled, a user with the capability to create and manage activities can browse MoodleNet via the activity chooser and import MoodleNet resources into their course. In addition, a user with the capability to restore backups can select a backup file on MoodleNet and restore it into Moodle.'; $string['errorduringdownload'] = 'An error occurred while downloading the file: {$a}'; -$string['forminfo'] = 'Your MoodleNet profile will be automatically saved in your profile on this site.'; +$string['forminfo'] = 'Your MoodleNet profile ID will be automatically saved in your profile on this site.'; $string['footermessage'] = "Or browse for content on"; $string['instancedescription'] = "MoodleNet is an open social media platform for educators, with a focus on the collaborative curation of collections of open resources. "; -$string['instanceplaceholder'] = '@yourprofile@moodle.net'; -$string['inputhelp'] = 'Or if you have a MoodleNet account already, enter your MoodleNet profile:'; +$string['instanceplaceholder'] = 'a1b2c3d4e5f6-example@moodle.net'; +$string['inputhelp'] = 'Or if you have a MoodleNet account already, copy the ID from your MoodleNet profile and paste it here:'; $string['invalidmoodlenetprofile'] = '$userprofile is not correctly formatted'; $string['importconfirm'] = 'You are about to import the content "{$a->resourcename} ({$a->resourcetype})" into the course "{$a->coursename}". Are you sure you want to continue?'; $string['importconfirmnocourse'] = 'You are about to import the content "{$a->resourcename} ({$a->resourcetype})" into your site. Are you sure you want to continue?'; @@ -62,8 +62,8 @@ $string['searchcourses'] = "Search courses"; $string['selectpagetitle'] = 'Select page'; $string['pluginname'] = 'MoodleNet'; $string['privacy:metadata'] = "The MoodleNet tool only facilitates communication with MoodleNet. It stores no data."; -$string['profilevalidationerror'] = 'There was a problem trying to validate your profile'; -$string['profilevalidationfail'] = 'Please enter a valid MoodleNet profile'; +$string['profilevalidationerror'] = 'There was a problem trying to validate your MoodleNet profile ID'; +$string['profilevalidationfail'] = 'Please enter a valid MoodleNet profile ID'; $string['profilevalidationpass'] = 'Looks good!'; $string['saveandgo'] = "Save and go"; $string['uploadlimitexceeded'] = 'The file size {$a->filesize} exceeds the user upload limit of {$a->uploadlimit} bytes.'; diff --git a/lang/en/user.php b/lang/en/user.php index 9d200d11fae..12449968689 100644 --- a/lang/en/user.php +++ b/lang/en/user.php @@ -36,8 +36,8 @@ $string['filtersetmatchdescription'] = 'How multiple filters should be combined' $string['filtertype'] = 'Filter type'; $string['match'] = 'Match'; $string['matchofthefollowing'] = 'of the following:'; -$string['moodlenetprofile'] = 'MoodleNet profile'; -$string['moodlenetprofile_help'] = 'This field is to link your MoodleNet profile to Moodle. It expects a WebFinger-compliant URI.'; +$string['moodlenetprofile'] = 'MoodleNet profile ID'; +$string['moodlenetprofile_help'] = 'This field represents your MoodleNet profile ID which is used to link your MoodleNet profile to Moodle. It expects a WebFinger-compliant URI.'; $string['placeholdertypeorselect'] = 'Type or select...'; $string['placeholdertype'] = 'Type...'; $string['privacy:courserequestpath'] = 'Requested courses';