diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-10-13 21:28:05 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-10-13 21:28:05 +0000 |
commit | 162ca6eb98fcca82d6932ee03f48dd2f4855b72b (patch) | |
tree | d41efa825c78656be208ed53d39f29372fe412e1 /includes | |
parent | b405fa22a9bbdd8e00ae1ad13cf3eec4007a195e (diff) | |
download | brdo-162ca6eb98fcca82d6932ee03f48dd2f4855b72b.tar.gz brdo-162ca6eb98fcca82d6932ee03f48dd2f4855b72b.tar.bz2 |
- Bugfix: the search result type names (node, user, comment) were not
translatable in the search page output. Patch by Gabor.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 99cdf8de5..90f847b0b 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -365,7 +365,7 @@ function search_item($item, $type) { } else { $output .= " <b><u><a href=\"". $item["link"] ."\">". $item["title"] ."</a></u></b><br />"; - $output .= " <small>$type ". ($item["user"] ? " - ". $item["user"] : "") ."". ($item["date"] ? " - ". format_date($item["date"], "small") : "") ."</small>"; + $output .= " <small>" . t($type) . ($item["user"] ? " - ". $item["user"] : "") ."". ($item["date"] ? " - ". format_date($item["date"], "small") : "") ."</small>"; $output .= "<br /><br />"; } |