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/search/search.module | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/search') diff --git a/modules/search/search.module b/modules/search/search.module index 3c98d4cc5..a3f1707f3 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -10,13 +10,14 @@ function search_help($section = "admin/search/help") { $output = "Search guidelines"; $output .= "

The search page allows you to search the web site's content. You can specify multiple words, and they will all be searched for. You can also use wildcards, so 'walk*' will match 'walk', 'walking', 'walker', 'walkable' and so on. Furthermore, searches are not case sensitive so searching for 'walk', 'Walk' or 'WALK' will yield exactly the same results.

"; $output .= "Words excluded from the search"; - $output .= strtr("

Words that frequently occur, typically called 'noise words', are ignored. Example words are 'a', 'at', 'and', 'are', 'as', 'how', 'where', etc. Words shorter than %number letters are also ignored.

", array("%number" => variable_get("minimum_word_size", 2))); + $output .= "

Words that frequently occur, typically called 'noise words', are ignored. Example words are 'a', 'at', 'and', 'are', 'as', 'how', 'where', etc. Words shorter than %number letters are also ignored.

"; + $output = t($output, array("%number" => variable_get("minimum_word_size", 2) )); break; case 'admin/system/modules': - $output = "Enables site wide keyword searching."; + $output = t("Enables site wide keyword searching."); break; case 'admin/system/modules/search': - $output = "The search engine works by keeping an index of \"interesting\" words. To make sure we only get \"interesting\" words you need to set the following."; + $output = t("The search engine works by keeping an index of \"interesting\" words. To make sure we only get \"interesting\" words you need to set the following."); break; } return $output; -- cgit v1.2.3