From 162ca6eb98fcca82d6932ee03f48dd2f4855b72b Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Mon, 13 Oct 2003 21:28:05 +0000
Subject: [PATCH] - 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(-)

diff --git a/includes/common.inc b/includes/common.inc
index 99cdf8de54f0..90f847b0bf0d 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 />";
   }
 
-- 
GitLab