From 146998f626dab22d9135c5987e5eec48de7fb858 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 1 Sep 2010 03:03:05 +0000 Subject: - Patch #752048 by c960657: use consistent terminology. --- modules/dblog/dblog.module | 12 ++++++------ modules/dblog/dblog.test | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'modules') diff --git a/modules/dblog/dblog.module b/modules/dblog/dblog.module index 32ab03f76..0d149ec35 100644 --- a/modules/dblog/dblog.module +++ b/modules/dblog/dblog.module @@ -24,13 +24,13 @@ function dblog_help($path, $arg) { $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Monitoring your site') . '
'; - $output .= '
' . t('The Database logging module allows you to view an event log on the Recent log entries page. The log is a chronological list of recorded events containing usage data, performance data, errors, warnings and operational information. Administrators should check the log on a regular basis to ensure their site is working properly.', array('@dblog' => url('admin/reports/dblog'))) . '
'; + $output .= '
' . t('The Database logging module allows you to view an event log on the Recent log messages page. The log is a chronological list of recorded events containing usage data, performance data, errors, warnings and operational information. Administrators should check the log on a regular basis to ensure their site is working properly.', array('@dblog' => url('admin/reports/dblog'))) . '
'; $output .= '
' . t('Debugging site problems') . '
'; - $output .= '
' . t('In case of errors or problems with the site, the Recent log entries page can be useful for debugging, since it shows the sequence of events. The log entries include usage information, warnings, and errors.', array('@dblog' => url('admin/reports/dblog'))) . '
'; + $output .= '
' . t('In case of errors or problems with the site, the Recent log messages page can be useful for debugging, since it shows the sequence of events. The log messages include usage information, warnings, and errors.', array('@dblog' => url('admin/reports/dblog'))) . '
'; $output .= '
'; return $output; case 'admin/reports/dblog': - return '

' . t('The Database logging module monitors your website, capturing system events in a log (shown here) to be reviewed by an authorized individual at a later time. This log is a list of recorded events containing usage data, performance data, errors, warnings and operational information. It is vital to check the Recent log entries report on a regular basis, as it is often the only way to tell what is going on.') . '

'; + return '

' . t('The Database logging module monitors your website, capturing system events in a log (shown here) to be reviewed by an authorized individual at a later time. This log is a list of recorded events containing usage data, performance data, errors, warnings and operational information. It is vital to check the Recent log messages report on a regular basis, as it is often the only way to tell what is going on.') . '

'; } } @@ -39,7 +39,7 @@ function dblog_help($path, $arg) { */ function dblog_menu() { $items['admin/reports/dblog'] = array( - 'title' => 'Recent log entries', + 'title' => 'Recent log messages', 'description' => 'View events that have recently been logged.', 'page callback' => 'dblog_overview', 'access arguments' => array('access site reports'), @@ -149,10 +149,10 @@ function dblog_watchdog(array $log_entry) { function dblog_form_system_logging_settings_alter(&$form, $form_state) { $form['dblog_row_limit'] = array( '#type' => 'select', - '#title' => t('Database log entries to keep'), + '#title' => t('Database log messages to keep'), '#default_value' => variable_get('dblog_row_limit', 1000), '#options' => array(0 => t('All')) + drupal_map_assoc(array(100, 1000, 10000, 100000, 1000000)), - '#description' => t('The maximum number of entries to keep in the database log. Requires a cron maintenance task.', array('@cron' => url('admin/reports/status'))) + '#description' => t('The maximum number of messages to keep in the database log. Requires a cron maintenance task.', array('@cron' => url('admin/reports/status'))) ); $form['actions']['#weight'] = 1; } diff --git a/modules/dblog/dblog.test b/modules/dblog/dblog.test index 92f0dd4d3..ab4de7739 100644 --- a/modules/dblog/dblog.test +++ b/modules/dblog/dblog.test @@ -132,7 +132,7 @@ class DBLogTestCase extends DrupalWebTestCase { $this->drupalGet('admin/reports/dblog'); $this->assertResponse($response); if ($response == 200) { - $this->assertText(t('Recent log entries'), t('DBLog report was displayed')); + $this->assertText(t('Recent log messages'), t('DBLog report was displayed')); } // View dblog page-not-found report node. -- cgit v1.2.3