[recipes] Add dl to the list of units
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Add dl to the list of units
- Date: Mon, 12 Dec 2016 22:07:56 +0000 (UTC)
commit 22f206515d263c6a3651a80aa148bed531a55794
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Dec 12 17:06:32 2016 -0500
Add dl to the list of units
The ingredients parser has a lot to learn, this is just a
small step towards making it slightly less stupid.
src/gr-ingredients-list.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-ingredients-list.c b/src/gr-ingredients-list.c
index 51fe7cc..4f587e3 100644
--- a/src/gr-ingredients-list.c
+++ b/src/gr-ingredients-list.c
@@ -183,6 +183,7 @@ static Unit units[] = {
{ "g", { NC_("unit", "g"), NC_("unit", "gram"), NC_("unit", "grams"), NULL } },
{ "kg", { NC_("unit", "kg"), NC_("unit", "kilogram"), NC_("unit", "kilograms"), NULL } },
{ "l", { NC_("unit", "l"), NC_("unit", "liter"), NC_("unit", "liters"), NULL } },
+ { "dl", { NC_("unit", "dl"), NC_("unit", "deciliter"), NC_("unit", "deciliters"), NULL } },
{ "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 } },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]