From 4f789ce19b5780ddcd6acfcdb179b81821b67928 Mon Sep 17 00:00:00 2001
From: Rocket <rocket@quilted.coop>
Date: Wed, 21 Sep 2011 23:51:50 -0700
Subject: [PATCH] Issue #666170: Update user interface language for
 maintenance mode page.

---
 modules/system/system.admin.inc |    5 ++---
 modules/system/system.module    |    2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index d5d10b2..4a7e68d 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -2163,13 +2163,12 @@ function system_site_maintenance_mode() {
     '#type' => 'checkbox',
     '#title' => t('Put site into maintenance mode'),
     '#default_value' => variable_get('maintenance_mode', 0),
-    '#description' => t('When enabled, only users with the "Use the site in maintenance mode" <a href="@permissions-url">permission</a> are able to access your site to perform maintenance; all other visitors see the maintenance mode message configured below. Authorized users can log in directly via the <a href="@user-login">user login</a> page.', array('@permissions-url' => url('admin/people/permissions'), '@user-login' => url('user'))),
+    '#description' => t('Visitors will only see the maintenance mode message. Only users with the "Access site in maintenance mode" <a href="@permissions-url">permission</a> will be able to access the site. Authorized users can log in directly via the <a href="@user-login">user login</a> page.', array('@permissions-url' => url('admin/config/people/permissions'), '@user-login' => url('user'))),
   );
   $form['maintenance_mode_message'] = array(
     '#type' => 'textarea',
-    '#title' => t('Maintenance mode message'),
+    '#title' => t('Message to display when in maintenance mode'),
     '#default_value' => variable_get('maintenance_mode_message', t('@site is currently under maintenance. We should be back shortly. Thank you for your patience.', array('@site' => variable_get('site_name', 'Drupal')))),
-    '#description' => t('Message to show visitors when the site is in maintenance mode.')
   );
 
   return system_settings_form($form);
diff --git a/modules/system/system.module b/modules/system/system.module
index d7dc69c..cdc65f5 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -121,7 +121,7 @@ function system_help($path, $arg) {
     case 'admin/config/development/maintenance':
       global $user;
       if ($user->uid == 1) {
-        return '<p>' . t('If you are upgrading to a newer version of Drupal or upgrading contributed modules or themes, you may need to run the <a href="@update-php">update script</a>.', array('@update-php' => $base_url . '/update.php')) . '</p>';
+        return '<p>' . t('Use maintenance mode when making major updates, particularly if the updates could disrupt visitors or the update process. Examples include upgrading, importing or exporting content, modifying a theme, modifying content types, and making backups.') . '</p>';
       }
       break;
     case 'admin/config/system/actions':
-- 
1.7.6

