--- recipe.module	2008-04-20 22:07:15.000000000 +0200
+++ recipeNew.module	2010-01-20 02:58:35.000000000 +0100
@@ -208,7 +208,7 @@ function recipe_form(&$node) {
           $form['ingredients'][$j]['unit_id'] = array(
             '#type' => 'select',
             '#title' => '',
-            '#default_value' => $ingredient->unit_id,
+            '#default_value' => t($ingredient->unit_id),
             '#options' => recipe_unit_options(),
           );
           $form['ingredients'][$j]['mid2_tags'] = array(
@@ -217,7 +217,7 @@ function recipe_form(&$node) {
           $form['ingredients'][$j]['name'] = array(
             '#type' => 'textfield',
             '#title' => '',
-            '#default_value' => $ingredient->name,
+            '#default_value' => t($ingredient->name),
             '#size' => 64,
             '#maxlength' => 128,
             '#autocomplete_path' => $callback,
@@ -534,13 +534,19 @@ function recipe_unit_options() {
           if (!isset($options[$r->type])) {
             $options[$r->type] = array();
           }
-          $options[$r->type][$r->id] = $r->name .' ('. $r->abbreviation .')';
+          $options[$r->type][$r->id] = t($r->name) .' ('. t($r->abbreviation) .')';
       }
       else {
-        $options[$r->id] = $r->name .' ('. $r->abbreviation .')';
+        $options[$r->id] = t($r->name) .' ('. t($r->abbreviation) .')';
       }
     }
   }
+  foreach ($options as $type => $option) {
+    if (t($type) != $type){
+      $options[t($type)] = $option;
+      unset($options[$type]);
+    }
+  }
   return $options;
 }
 
@@ -1421,7 +1427,7 @@ function theme_recipe_node($node, $yield
           $ingredient->name = l($ingredient->name, 'node/'. $ingredient->link);
         }
 
-        $ingredients[] = $ingredient->quantity .' <acronym title="'. recipe_unit_name($ingredient->unit_id) .'">'. $ingredient->abbreviation .'</acronym> '. $ingredient->name;
+        $ingredients[] = $ingredient->quantity .' <acronym title="'. t(recipe_unit_name($ingredient->unit_id)) .'">'. t($ingredient->abbreviation) .'</acronym> '. $ingredient->name;
       }
     }
   }
