diff --git a/admin/settings/development.php b/admin/settings/development.php index baf6609e80517..1ac32993d5d6e 100644 --- a/admin/settings/development.php +++ b/admin/settings/development.php @@ -36,7 +36,7 @@ // Sharing to MoodleNet setting. $temp->add(new admin_setting_configcheckbox('enablesharingtomoodlenet', new lang_string('enablesharingtomoodlenet', 'core_admin'), - '', 0)); + new lang_string('enablesharingtomoodlenet_desc', 'core_admin'), 0)); $ADMIN->add('experimental', $temp); diff --git a/admin/tests/behat/moodlenet_outbound.feature b/admin/tests/behat/moodlenet_outbound.feature index 6ce291317e06b..a88581ef5ba9d 100644 --- a/admin/tests/behat/moodlenet_outbound.feature +++ b/admin/tests/behat/moodlenet_outbound.feature @@ -23,7 +23,7 @@ Feature: MoodleNet outbound configuration Then I should see "MoodleNet outbound settings" And I click on "MoodleNet outbound settings" "link" And the field "OAuth 2 service" matches value "None" - And I should see "Select the OAuth 2 service that is configured to talk to the MoodleNet server. If the service doesn't exist yet, you will need to create it." + And I should see "Select a MoodleNet OAuth 2 service to enable sharing to that MoodleNet site. If the service doesn't exist yet, you will need to create it." And I click on "create" "link" And I should see "OAuth 2 services" diff --git a/admin/tool/moodlenet/lang/en/tool_moodlenet.php b/admin/tool/moodlenet/lang/en/tool_moodlenet.php index d25fa2c0407c0..0e8ea8a0504c4 100644 --- a/admin/tool/moodlenet/lang/en/tool_moodlenet.php +++ b/admin/tool/moodlenet/lang/en/tool_moodlenet.php @@ -38,7 +38,7 @@ $string['defaultmoodlenetname'] = "MoodleNet instance name"; $string['defaultmoodlenetnamevalue'] = 'MoodleNet Central'; $string['defaultmoodlenetname_desc'] = 'The name of the MoodleNet instance available via the activity chooser.'; -$string['enablemoodlenet'] = 'Enable MoodleNet integration'; +$string['enablemoodlenet'] = 'Enable MoodleNet integration (inbound)'; $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 ID will be automatically saved in your profile on this site.'; diff --git a/lang/en/admin.php b/lang/en/admin.php index a3c0842f54863..bb7ed5d341c5f 100644 --- a/lang/en/admin.php +++ b/lang/en/admin.php @@ -607,7 +607,8 @@ $string['enablerecordcache'] = 'Enable record cache'; $string['enablerssfeeds'] = 'Enable RSS feeds'; $string['enablesearchareas'] = 'Enable search areas'; -$string['enablesharingtomoodlenet'] = 'Enable sharing to MoodleNet'; +$string['enablesharingtomoodlenet'] = 'Enable sharing to MoodleNet (outbound)'; +$string['enablesharingtomoodlenet_desc'] = 'Enable users to share course content to a configured MoodleNet instance if they have the relevant capability.'; $string['enablestats'] = 'Enable statistics'; $string['enabletrusttext'] = 'Enable trusted content'; $string['enableuserfeedback'] = 'Enable feedback about this software'; diff --git a/lang/en/moodle.php b/lang/en/moodle.php index a76415717e906..d3c419e2f077e 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -1365,7 +1365,7 @@ $string['moodleversion'] = 'Moodle version'; $string['moodlerelease'] = 'Moodle release'; $string['moodleservicesandsupport'] = 'Services and support'; -$string['moodlenet:configoauthservice'] = 'Select the OAuth 2 service that is configured to talk to the MoodleNet server. If the service doesn\'t exist yet, you will need to create it.'; +$string['moodlenet:configoauthservice'] = 'Select a MoodleNet OAuth 2 service to enable sharing to that MoodleNet site. If the service doesn\'t exist yet, you will need to create it.'; $string['moodlenet:outboundsettings'] = 'MoodleNet outbound settings'; $string['more'] = 'more'; $string['morehelp'] = 'More help';