Commit d79481b3 authored by Dries's avatar Dries

- Patch #394332 by Xano: clean up language around logging and alerts.

parent 03e5798d
...@@ -1274,14 +1274,13 @@ function system_site_information_settings_validate($form, &$form_state) { ...@@ -1274,14 +1274,13 @@ function system_site_information_settings_validate($form, &$form_state) {
function system_logging_settings() { function system_logging_settings() {
$form['error_level'] = array( $form['error_level'] = array(
'#type' => 'radios', '#type' => 'radios',
'#title' => t('Error reporting'), '#title' => t('Display PHP messages'),
'#default_value' => 2, '#default_value' => 2,
'#options' => array( '#options' => array(
0 => t('Site in production: do not display any errors.'), 0 => t('None'),
1 => t('Site in development: display functional errors only.'), 1 => t('Errors and warnings'),
2 => t('For developers: display all errors.'), 2 => t('All messages'),
), ),
'#description' => t('Display settings for error messages. Note that all error messages are always logged.'),
); );
return system_settings_form($form); return system_settings_form($form);
......
...@@ -646,7 +646,7 @@ function system_menu() { ...@@ -646,7 +646,7 @@ function system_menu() {
'access arguments' => array('administer site configuration'), 'access arguments' => array('administer site configuration'),
); );
$items['admin/settings/logging'] = array( $items['admin/settings/logging'] = array(
'title' => 'Logging, errors and alerts', 'title' => 'Logging and errors',
'description' => "Settings for logging and alerts modules. Various modules can route Drupal's system events to different destinations, such as syslog, database, email, etc.", 'description' => "Settings for logging and alerts modules. Various modules can route Drupal's system events to different destinations, such as syslog, database, email, etc.",
'page callback' => 'drupal_get_form', 'page callback' => 'drupal_get_form',
'page arguments' => array('system_logging_settings'), 'page arguments' => array('system_logging_settings'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment