From 058971c33b8dca63fd33b188328fc3e3ec9fb372 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 3 Oct 2003 14:55:27 +0000 Subject: - Help improvements and translation improvements from Michael. Thanks! --- modules/system/system.module | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index 04a12e976..180b239bc 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -2,27 +2,30 @@ // $Id$ function system_help($section = "admin/system/help") { + $output = ""; + switch ($section) { case "admin/system": - $output = "General configuration options for your site. Set up the name of the site, e-mail address used in mail-outs, clean URL options, caching, etc."; + $output = t("General configuration options for your site. Set up the name of the site, e-mail address used in mail-outs, clean URL options, caching, etc."); break; case "admin/system/themes": - $output = "Select which themes are available to your users and specify the default theme."; + $output = t("Select which themes are available to your users and specify the default theme."); break; case "admin/system/modules": - $output = "Modules are plugins for Drupal that extend its core functionality. Here you can select which modules are enabled. On the left hand side click on the name of the module for their individual configurations. Once a module is enabled, you will need to grant permissions to users in user management."; + $output = t("Modules are plugins for Drupal that extend its core functionality. Here you can select which modules are enabled. On the left hand side click on the name of the module for their individual configurations. Once a module is enabled, you will need to grant permissions to users in user management."); break; case "admin/system/filters": - $output = "Filters fit between the raw text in a node and the HTML output. They allow you to replace text selectively. Uses include automatic conversion of emoticons into graphics and filtering HTML content from users' submissions."; + $output = t("Filters fit between the raw text in a node and the HTML output. They allow you to replace text selectively. Uses include automatic conversion of emoticons into graphics and filtering HTML content from users' submissions."); break; case "admin/system/help": $output .= "

Drupal comes with system-wide defaults but the setting-module provides control over many Drupal preferences, behaviours including visual and operational settings.

"; $output .= "

Cron

". system_help_cron(); $output .= "

Cache

". system_help_cache(); + $output = t($output); break; } - return t("$output"); + return $output; } function system_system($field) { -- cgit v1.2.3