diff -ruN drupal-4.6.2/modules/taxonomy.module drupal-4.6.2_patch/modules/taxonomy.module --- drupal-4.6.2/modules/taxonomy.module 2005-05-31 23:13:40.000000000 +0200 +++ drupal-4.6.2_patch/modules/taxonomy.module 2005-06-30 10:27:59.000000000 +0200 @@ -30,13 +30,13 @@ if (array_key_exists('taxonomy', $node)) { foreach ($node->taxonomy as $tid) { $term = taxonomy_get_term($tid); - $links[] = l($term->name, 'taxonomy/term/'. $term->tid); + $links[] = l(t($term->name), 'taxonomy/term/'. $term->tid); } } else { $links = array(); foreach (taxonomy_node_get_terms($node->nid) as $term) { - $links[] = l($term->name, 'taxonomy/term/'. $term->tid); + $links[] = l(t($term->name), 'taxonomy/term/'. $term->tid); } } @@ -759,7 +759,7 @@ if ($tree) { foreach ($tree as $term) { if (!in_array($term->tid, $exclude)) { - $options[$term->tid] = _taxonomy_depth($term->depth, '-') . $term->name; + $options[$term->tid] = _taxonomy_depth($term->depth, '-') . t($term->name); } } if (!$blank && !$value) { @@ -768,7 +768,7 @@ } } - return form_select($title, $name . ($multiple ? '' : ']['), $value, $options, $description, $multiple ? 'size="'. min(12, count($options)) .'"' : 0, $multiple); + return form_select(t($title), $name . ($multiple ? '' : ']['), $value, $options, $description, $multiple ? 'size="'. min(12, count($options)) .'"' : 0, $multiple); } function _taxonomy_depth($depth, $graphic = '--') {