Merge branch 'MDL-68999-master-homemoodlenet' of git://github.com/mudrd8mz/moodle
authorJake Dallimore <jake@moodle.com>
Wed, 10 Jun 2020 00:37:46 +0000 (08:37 +0800)
committerJake Dallimore <jake@moodle.com>
Wed, 10 Jun 2020 00:37:46 +0000 (08:37 +0800)
admin/tool/moodlenet/lang/en/tool_moodlenet.php
admin/tool/moodlenet/settings.php

index d6f6ac1..166d43b 100644 (file)
@@ -34,6 +34,7 @@ $string['connectandbrowse'] = "Connect to and browse:";
 $string['defaultmoodlenet'] = "Default MoodleNet URL";
 $string['defaultmoodlenet_desc'] = "The URL to either Moodle HQ's MoodleNet instance, or your preferred instance.";
 $string['defaultmoodlenetname'] = "MoodleNet instance name";
+$string['defaultmoodlenetnamevalue'] = 'MoodleNet Home';
 $string['defaultmoodlenetname_desc'] = 'The name of either Moodle HQ\'s MoodleNet instance or your preferred MoodleNet instance to browse on.';
 $string['enablemoodlenet'] = 'Enable MoodleNet integration';
 $string['enablemoodlenet_desc'] = 'Enabling the integration allows users with the capability to create and manage activities to
index 4b6fb4f..ec1cc55 100644 (file)
@@ -37,7 +37,7 @@ if ($hassiteconfig) {
 
     $temp = new admin_setting_configtext('tool_moodlenet/defaultmoodlenetname',
         get_string('defaultmoodlenetname', 'tool_moodlenet'), new lang_string('defaultmoodlenetname_desc', 'tool_moodlenet'),
-        'Moodle HQ MoodleNet');
+        new lang_string('defaultmoodlenetnamevalue', 'tool_moodlenet'));
     $settings->add($temp);
 
     $temp = new admin_setting_configtext('tool_moodlenet/defaultmoodlenet', get_string('defaultmoodlenet', 'tool_moodlenet'),