Index: apachesolr_search.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr_search.module,v
retrieving revision 1.1.2.6.2.111.2.25
diff -u -p -r1.1.2.6.2.111.2.25 apachesolr_search.module
--- apachesolr_search.module	19 Oct 2009 14:32:52 -0000	1.1.2.6.2.111.2.25
+++ apachesolr_search.module	23 Oct 2009 12:11:42 -0000
@@ -879,13 +879,17 @@ function apachesolr_search_get_username(
  */
 function apachesolr_search_get_type($facet) {
   if ($type = node_get_types('name', $facet)) {
-
+    if (module_exists('i18nstrings')) {
+      return check_plain(tt("nodetype:type:$facet:name", $type));
+    }
+    return $type;
   }
-  else if ($facet == 'comment') {
-    $type = t('Comment');
+
+  if ($facet == 'comment') {
+    return t('Comment');
   }
-  // A disabled or missing node type returns FALSE.
-  return ($type === FALSE) ? $facet : $type;
+
+  return $facet;
 }
 
 /**
