Index: taxonomy_block.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/taxonomy_block/taxonomy_block.module,v
retrieving revision 1.27
diff -u -p -r1.27 taxonomy_block.module
--- taxonomy_block.module	11 Nov 2009 10:19:10 -0000	1.27
+++ taxonomy_block.module	5 Mar 2010 14:10:34 -0000
@@ -87,6 +87,8 @@ function taxonomy_block_block($op = 'lis
       
       $term_parents = db_query($sql, $vid, $order_by, $order_type, $num_term );
 
+      $i18nstrings_enabled = module_exists("i18nstrings");
+
       $output .= '<ul class="menu">';
       while ($term_parent = db_fetch_object($term_parents)) {
         $tid_parent = $term_parent->tid;
@@ -95,8 +97,8 @@ function taxonomy_block_block($op = 'lis
         $output .= '<li>';
         $term_parent = taxonomy_get_term($tid_parent);
         
-        if (module_exists("i18n")) {
-          $output .= l(tt("taxonomy:term:$tid_parent:name", $name_parent), taxonomy_term_path($term_parent));
+        if ($i18nstrings_enabled) {
+          $output .= l(i18nstrings("taxonomy:term:$tid_parent:name", $name_parent), taxonomy_term_path($term_parent));
         } else {
           //$output .= l(t($name_parent), "taxonomy/term/$tid_parent");  
           $output .= l(t($name_parent), taxonomy_term_path($term_parent));  
@@ -132,8 +134,8 @@ function taxonomy_block_block($op = 'lis
             $output .= '<li>';
             $term_child = taxonomy_get_term($tid_child);
 
-            if (module_exists("i18n")) {
-              $output .= l(tt("taxonomy:term:$tid_child:name", $name_child), taxonomy_term_path($term_child));
+            if ($i18nstrings_enabled) {
+              $output .= l(i18nstrings("taxonomy:term:$tid_child:name", $name_child), taxonomy_term_path($term_child));
             } else {
               $output .= l(t($name_child), taxonomy_term_path($term_child));  
             }
