diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-07-01 20:36:40 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-07-01 20:36:40 +0000 |
commit | bb232c728af46441b22f071dd9cfb01d31ec69cf (patch) | |
tree | 289a4a22cd777ee24c34a6675f3bec241f533420 /modules/system | |
parent | fae9063c681b11cc48347a11b4dc0f06baffb4ce (diff) | |
download | brdo-bb232c728af46441b22f071dd9cfb01d31ec69cf.tar.gz brdo-bb232c728af46441b22f071dd9cfb01d31ec69cf.tar.bz2 |
- Patch #277073 by threexk: improve consistency of offline vs off-line and online vs on-line.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/maintenance-page.tpl.php | 2 | ||||
-rw-r--r-- | modules/system/system.admin.inc | 8 | ||||
-rw-r--r-- | modules/system/system.install | 2 | ||||
-rw-r--r-- | modules/system/system.module | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/modules/system/maintenance-page.tpl.php b/modules/system/maintenance-page.tpl.php index e29f2cb10..1c8b4b329 100644 --- a/modules/system/maintenance-page.tpl.php +++ b/modules/system/maintenance-page.tpl.php @@ -4,7 +4,7 @@ /** * @file maintenance-page.tpl.php * - * Theme implementation to display a single Drupal page while off-line. + * Theme implementation to display a single Drupal page while offline. * * All the available variables are mirrored in page.tpl.php. Some may be left * blank but they are provided for consistency. diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 0c8a50a7b..2314ea077 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1699,15 +1699,15 @@ function system_site_maintenance_settings() { '#type' => 'radios', '#title' => t('Site status'), '#default_value' => variable_get('site_offline', 0), - '#options' => array(t('Online'), t('Off-line')), - '#description' => t('When set to "Online", all visitors will be able to browse your site normally. When set to "Off-line", only users with the "administer site configuration" permission will be able to access your site to perform maintenance; all other visitors will see the site off-line message configured below. Authorized users can log in during "Off-line" mode directly via the <a href="@user-login">user login</a> page.', array('@user-login' => url('user'))), + '#options' => array(t('Online'), t('Offline')), + '#description' => t('When set to "Online", all visitors will be able to browse your site normally. When set to "Offline", only users with the "administer site configuration" permission will be able to access your site to perform maintenance; all other visitors will see the site offline message configured below. Authorized users can log in during "Offline" mode directly via the <a href="@user-login">user login</a> page.', array('@user-login' => url('user'))), ); $form['site_offline_message'] = array( '#type' => 'textarea', - '#title' => t('Site off-line message'), + '#title' => t('Site offline message'), '#default_value' => variable_get('site_offline_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 off-line mode.') + '#description' => t('Message to show visitors when the site is in offline mode.') ); return system_settings_form($form); diff --git a/modules/system/system.install b/modules/system/system.install index 044f52ef4..55eb7b10d 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -210,7 +210,7 @@ function system_requirements($phase) { elseif ($phase == 'install') { // For the installer UI, we need different wording. 'value' will // be treated as version, so provide none there. - $description = $error . ' ' . $t('An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually, or ensure that the installer has the permissions to create it automatically. For more information, please see INSTALL.txt or the <a href="@handbook_url">on-line handbook</a>.', array('@handbook_url' => 'http://drupal.org/server-permissions')); + $description = $error . ' ' . $t('An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually, or ensure that the installer has the permissions to create it automatically. For more information, please see INSTALL.txt or the <a href="@handbook_url">online handbook</a>.', array('@handbook_url' => 'http://drupal.org/server-permissions')); $requirements['file system']['value'] = ''; } if (!empty($description)) { diff --git a/modules/system/system.module b/modules/system/system.module index a8aa32e05..b34c39f55 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -55,7 +55,7 @@ function system_help($path, $arg) { $output .= '<li>' . t('support for enabling and disabling <a href="@themes">themes</a>, which determine the design and presentation of your site. Drupal comes packaged with several core themes and additional contributed themes are available at the <a href="@drupal-themes">Drupal.org theme page</a>.', array('@themes' => url('admin/build/themes'), '@drupal-themes' => 'http://drupal.org/project/themes')) . '</li>'; $output .= '<li>' . t('a robust <a href="@cache-settings">caching system</a> that allows the efficient re-use of previously-constructed web pages and web page components. Drupal stores the pages requested by anonymous users in a compressed format; depending on your site configuration and the amount of your web traffic tied to anonymous visitors, Drupal\'s caching system may significantly increase the speed of your site.', array('@cache-settings' => url('admin/settings/performance'))) . '</li>'; $output .= '<li>' . t('a set of routine administrative operations that rely on a correctly-configured <a href="@cron">cron maintenance task</a> to run automatically. A number of other modules, including the feed aggregator, and search also rely on <a href="@cron">cron maintenance tasks</a>. For more information, see the online handbook entry for <a href="@handbook">configuring cron jobs</a>.', array('@cron' => url('admin/reports/status'), '@handbook' => 'http://drupal.org/cron')) . '</li>'; - $output .= '<li>' . t('basic configuration options for your site, including <a href="@date-settings">date and time settings</a>, <a href="@file-system">file system settings</a>, <a href="@clean-url">clean URL support</a>, <a href="@site-info">site name and other information</a>, and a <a href="@site-maintenance">site maintenance</a> function for taking your site temporarily off-line.', array('@date-settings' => url('admin/settings/date-time'), '@file-system' => url('admin/settings/file-system'), '@clean-url' => url('admin/settings/clean-urls'), '@site-info' => url('admin/settings/site-information'), '@site-maintenance' => url('admin/settings/site-maintenance'))) . '</li></ul>'; + $output .= '<li>' . t('basic configuration options for your site, including <a href="@date-settings">date and time settings</a>, <a href="@file-system">file system settings</a>, <a href="@clean-url">clean URL support</a>, <a href="@site-info">site name and other information</a>, and a <a href="@site-maintenance">site maintenance</a> function for taking your site temporarily offline.', array('@date-settings' => url('admin/settings/date-time'), '@file-system' => url('admin/settings/file-system'), '@clean-url' => url('admin/settings/clean-urls'), '@site-info' => url('admin/settings/site-information'), '@site-maintenance' => url('admin/settings/site-maintenance'))) . '</li></ul>'; $output .= '<p>' . t('For more information, see the online handbook entry for <a href="@system">System module</a>.', array('@system' => 'http://drupal.org/handbook/modules/system/')) . '</p>'; return $output; case 'admin': @@ -580,7 +580,7 @@ function system_menu() { ); $items['admin/settings/site-maintenance'] = array( 'title' => 'Site maintenance', - 'description' => 'Take the site off-line for maintenance or bring it back online.', + 'description' => 'Take the site offline for maintenance or bring it back online.', 'page callback' => 'drupal_get_form', 'page arguments' => array('system_site_maintenance_settings'), 'access arguments' => array('administer site configuration'), |