projects
/
project/drupal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
dba30a7
)
- made the search categories translatable
author
Dries Buytaert
Thu, 27 Sep 2001 18:37:51 +0000 (18:37 +0000)
committer
Dries Buytaert
Thu, 27 Sep 2001 18:37:51 +0000 (18:37 +0000)
modules/search.module
patch
|
blob
|
blame
|
history
diff --git
a/modules/search.module
b/modules/search.module
index
bb74db3
..
2484d7e
100644
(file)
--- a/
modules/search.module
+++ b/
modules/search.module
@@
-23,7
+23,7
@@
function search_page() {
// build options list:
foreach (module_list() as $name) {
if (module_hook($name, "search")) {
- $options .= "<option value=\"$name\"". ($name == $type ? " selected" : "") .">$name</option>\n";
+ $options .= "<option value=\"$name\"". ($name == $type ? " selected" : "") .">". t($name) ."</option>\n";
}
}