--- translation.module.orig	2007-03-20 14:38:59.000000000 -0400
+++ translation.module	2007-03-20 14:41:22.000000000 -0400
@@ -730,13 +730,13 @@
 }
 
 /**
-	*	Get translations
+  * Get translations
   *
-	* @param $params
+  * @param $params
   *   array of parameters
-	* @param $getall
+  * @param $getall
   *   TRUE to get the also node itself
-	*/
+  */
 function translation_node_get_translations($params, $getall = TRUE) {
   foreach($params as $field => $value) {
     $conds[] = "b.$field = '%s'";
@@ -776,9 +776,9 @@
  * This is the callback for taxonomy translations
  * 
  * Gets the urls:
- * 		admin/content/taxonomy/i18n/term/xx
- * 		admin/content/taxonomy/i18n/term/new/xx
- * 		admin/content/taxonomy/vid/translation/op/trid
+ * 	admin/content/taxonomy/i18n/term/xx
+ * 	admin/content/taxonomy/i18n/term/new/xx
+ * 	admin/content/taxonomy/vid/translation/op/trid
  */
 
 function translation_taxonomy_admin() {
@@ -1041,7 +1041,7 @@
   $names = $names ? $names : i18n_languages('native');
   foreach (array_keys(i18n_supported_languages()) as $lang){
     $url = translation_url($path, $lang);
-    $links[]= theme('i18n_link', $names[$lang], i18n_path($url, $lang) , $lang, $query);
+    $links[$lang]= theme('i18n_link', $names[$lang], i18n_path($url, $lang) , $lang, $query);
   }
   return $links;  
 }
