diff --git a/lang/en/auth_outage.php b/lang/en/auth_outage.php index 64257dc..b0f3d89 100644 --- a/lang/en/auth_outage.php +++ b/lang/en/auth_outage.php @@ -34,6 +34,7 @@ $string['autostart'] = 'Auto start maintenance mode.'; $string['autostart_help'] = 'If selected, when the outage starts it will automatically turn on Moodle maintenance mode.'; $string['autostartoff'] = 'Default off'; $string['autostarton'] = 'Default on'; +$string['autostartforcedoff'] = 'Force off'; $string['builtinallowediplist'] = 'Builtin Allowed IP List'; $string['builtinallowediplist_desc'] = 'A second allowed IP list which makes it easier to have some IPs forced in config.php and others editable in the UI'; $string['clicreateexamples'] = "Create an outage starting in 10 seconds\n\n> php create.php -s=10"; @@ -101,7 +102,6 @@ $string['defaultwarningdurationdescription'] = 'Default warning time (in minutes $string['description'] = 'Public Description'; $string['description_help'] = 'A full description of the outage, publicly visible by all users.'; $string['finish'] = 'Finish'; -$string['forceoff'] = 'Force off'; $string['info15secondsbefore'] = '15 seconds before'; $string['infoendofoutage'] = 'end of outage'; $string['infofrom'] = 'From:'; diff --git a/settings.php b/settings.php index c905def..eeb10f0 100644 --- a/settings.php +++ b/settings.php @@ -47,11 +47,11 @@ if ($hassiteconfig) { 'auth_outage/default_autostart', get_string('defaultoutageautostart', 'auth_outage'), get_string('defaultoutageautostartdescription', 'auth_outage'), - 'off', + '0', [ '0' => get_string('autostartoff', 'auth_outage'), '1' => get_string('autostarton', 'auth_outage'), - '2' => get_string('forceoff', 'auth_outage'), + '2' => get_string('autostartforcedoff', 'auth_outage'), ] ));