MDL-75316 core_moodlenet: Rename settings

Originally implemented as MDL-75319
This commit is contained in:
Huong Nguyen
2023-04-18 17:03:02 +08:00
committed by Michael Hawkins
parent 7727745bf7
commit cd097f117b
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
// 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);
+1 -1
View File
@@ -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"
@@ -38,7 +38,7 @@ $string['defaultmoodlenet_desc'] = 'The URL of the MoodleNet instance available
$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.';
+2 -1
View File
@@ -607,7 +607,8 @@ $string['enableplugin'] = 'Enable the {$a} plugin';
$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';
+1 -1
View File
@@ -1365,7 +1365,7 @@ $string['moodledocslink'] = 'Help and documentation';
$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 <a href="{$a}">create</a> 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 <a href="{$a}">create</a> it.';
$string['moodlenet:outboundsettings'] = 'MoodleNet outbound settings';
$string['more'] = 'more';
$string['morehelp'] = 'More help';