? SolrPhpClient ? apachesolr.kpf 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.31 diff -u -p -r1.1.2.6.2.111.2.31 apachesolr_search.module --- apachesolr_search.module 25 Nov 2009 15:44:59 -0000 1.1.2.6.2.111.2.31 +++ apachesolr_search.module 25 Nov 2009 16:45:30 -0000 @@ -897,13 +897,13 @@ function apachesolr_search_get_username( */ function apachesolr_search_get_type($facet) { if ($type = node_get_types('name', $facet)) { - + // Do nothing. } else if ($facet == 'comment') { $type = t('Comment'); } // A disabled or missing node type returns FALSE. - return ($type === FALSE) ? $facet : $type; + return ($type === FALSE) ? $facet : t($type); } /**