From 36d18330adb9dd4f0ba5ab9f65e7f7a86f1adbb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Wed, 5 Dec 2007 16:51:30 +0000 Subject: [PATCH] #175127 by keith.smith: better and more translator friendly help text --- modules/statistics/statistics.module | 39 ++++++++++++---------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 4c5fd1d9dfc..d863c14466a 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -12,35 +12,28 @@ function statistics_help($path, $arg) { switch ($path) { case 'admin/help#statistics': - $output = '

'. t('The statistics module keeps track of numerous statistics of site usage. It counts how many times, and from where each of your posts is viewed. The statistics module can be used to learn many useful things about how users are interacting with each other and with your site.') .'

'; - $output .= t('

Statistics module features

- -'); - $output .= t('

Configuring the statistics module

- -'); - $output .= '

'. t('For more information please read the configuration and customization handbook Statistics page.', array('@statistics' => 'http://drupal.org/handbook/modules/statistics/')) .'

'; + $output = '

'. t('The statistics module keeps track of numerous site usage statistics, including the number of times, and from where, each of your posts is viewed. These statistics are useful in determining how users are interacting with each other and with your site, and are required for the display of some Drupal blocks.') .'

'; + $output .= '

'. t('The statistics module provides:') .'

'; + $output .= ''; + $output .= '

'. t('Configuring the statistics module') .'

'; + $output .= ''; + $output .= '

'. t('For more information please read the configuration and customization handbook statistics page.', array('@statistics' => 'http://drupal.org/handbook/modules/statistics/')) .'

'; return $output; case 'admin/reports/settings': return '

'. t('Settings for the statistical information that Drupal will keep about the site. See site statistics for the actual information.', array('@statistics' => url('admin/reports/hits'))) .'

'; case 'admin/reports/hits': - return '

'. t('This page shows you the most recent hits.') .'

'; + return '

'. t("This page displays the site's most recent hits.") .'

'; case 'admin/reports/referrers': - return '

'. t('This page shows you all external referrers. These are links pointing to your website from outside your website.') .'

'; + return '

'. t('This page displays all external referrers, or external references to your website.') .'

'; case 'admin/reports/visitors': - return '

'. t("When you ban a visitor, you prevent the visitor's IP address from accessing your site. Unlike blocking a user, banning a visitor works even for anonymous users. The most common use for this is to block bots/web crawlers that are consuming too many resources.") .'

'; + return '

'. t("When you ban a visitor, you prevent the visitor's IP address from accessing your site. Unlike blocking a user, banning a visitor works even for anonymous users. This is most commonly used to block resource-intensive bots or web crawlers.") .'

'; } }