summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-10-03 14:55:27 +0000
committerDries Buytaert <dries@buytaert.net>2003-10-03 14:55:27 +0000
commit058971c33b8dca63fd33b188328fc3e3ec9fb372 (patch)
treede80494d6eca73119a1ff2d3a9fe448ea0c13497 /modules/search
parent35f3bcd0426ea207e40c4a2dd6cae8a1d26c794e (diff)
downloadbrdo-058971c33b8dca63fd33b188328fc3e3ec9fb372.tar.gz
brdo-058971c33b8dca63fd33b188328fc3e3ec9fb372.tar.bz2
- Help improvements and translation improvements from Michael. Thanks!
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.module7
1 files changed, 4 insertions, 3 deletions
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 = "<b>Search guidelines</b>";
$output .= "<p>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.</p>";
$output .= "<b>Words excluded from the search</b>";
- $output .= strtr("<p>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.</p>", array("%number" => variable_get("minimum_word_size", 2)));
+ $output .= "<p>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.</p>";
+ $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;