[recipes] Add tablespoons and teaspoons to the list of units



commit 5206f8a5d409cf884ddb87c46a48d32e1c8960d3
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 13 20:39:54 2016 -0500

    Add tablespoons and teaspoons to the list of units
    
    These should be recognized as units now.

 src/gr-ingredients-list.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-ingredients-list.c b/src/gr-ingredients-list.c
index 1766fe0..86d0ec4 100644
--- a/src/gr-ingredients-list.c
+++ b/src/gr-ingredients-list.c
@@ -187,6 +187,8 @@ static Unit units[] = {
         { "ml", { NC_("unit", "ml"), NC_("unit", "milliliter"), NC_("unit", "milliliters"), NULL } },
         { "lb", { NC_("unit", "lb"), NC_("unit", "pound"), NC_("unit", "pounds"), NULL } },
         { "box", { NC_("unit", "box"), NC_("unit", "boxes"), NULL, NULL } },
+        { "tbsp", { NC_("unit", "tbsp"), NC_("unit", "tablespoon"), NC_("unit", "tablespoons"), NULL } },
+        { "tsp", { NC_("unit", "tsp"), NC_("unit", "teaspoon"), NC_("unit", "teaspoons"), NULL } },
 };
 
 static gboolean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]