Browse Source

Minor - update lang

jmontoyaa 7 years ago
parent
commit
a1842c1b30
2 changed files with 3 additions and 3 deletions
  1. 2 2
      plugin/maintenancemode/lang/english.php
  2. 1 1
      plugin/maintenancemode/plugin.php

+ 2 - 2
plugin/maintenancemode/lang/english.php

@@ -5,8 +5,8 @@ $strings['plugin_comment'] = "Put chamilo in maintenance mode";
 $strings['tool_enable'] = 'Enable plugin';
 $strings['tool_enable'] = 'Enable plugin';
 
 
 $strings['IPAdmin'] = "Admin's IP";
 $strings['IPAdmin'] = "Admin's IP";
-$strings['TheMaintenanceModeIsOff'] = "Maintenance mode is off";
-$strings['TheMaintenanceModeIsOn'] = "Maintenance mode is on";
+$strings['MaintenanceModeIsOff'] = "Maintenance mode is off";
+$strings['MaintenanceModeIsOn'] = "Maintenance mode is on";
 
 
 $strings['IPAdminDescription'] = "The admin with this IP will only have access to the platform.";
 $strings['IPAdminDescription'] = "The admin with this IP will only have access to the platform.";
 $strings['MaintenanceFileNotPresent'] = "Can't create file: %s. Check permissions in the root folder";
 $strings['MaintenanceFileNotPresent'] = "Can't create file: %s. Check permissions in the root folder";

+ 1 - 1
plugin/maintenancemode/plugin.php

@@ -173,7 +173,7 @@ RewriteRule \.*$ '.$append.'/maintenance.html [R=302,L]
         }
         }
 
 
         if ($active == false) {
         if ($active == false) {
-            Display::addFlash(Display::return_message($plugin->get_lang('TheMaintenanceModeIsOff')));
+            Display::addFlash(Display::return_message($plugin->get_lang('MaintenanceModeIsOff')));
             file_put_contents($file, $contentNoBlock);
             file_put_contents($file, $contentNoBlock);
         } else {
         } else {
             Display::addFlash(Display::return_message($plugin->get_lang('MaintenanceModeIsOn')));
             Display::addFlash(Display::return_message($plugin->get_lang('MaintenanceModeIsOn')));