From 162ca6eb98fcca82d6932ee03f48dd2f4855b72b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 13 Oct 2003 21:28:05 +0000 Subject: - Bugfix: the search result type names (node, user, comment) were not translatable in the search page output. Patch by Gabor. --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') 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 .= " ". $item["title"] ."
"; - $output .= " $type ". ($item["user"] ? " - ". $item["user"] : "") ."". ($item["date"] ? " - ". format_date($item["date"], "small") : "") .""; + $output .= " " . t($type) . ($item["user"] ? " - ". $item["user"] : "") ."". ($item["date"] ? " - ". format_date($item["date"], "small") : "") .""; $output .= "

"; } -- cgit v1.2.3