[recipes/recipes-1.0] Add mm, cm and m to the units
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes/recipes-1.0] Add mm, cm and m to the units
- Date: Sun, 21 May 2017 16:59:32 +0000 (UTC)
commit 4c8f9a16b74c357bb02e49f4d29728b8e42755b9
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 16 22:07:20 2017 -0400
Add mm, cm and m to the units
We have a recipe that uses cm, already.
src/gr-unit.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-unit.c b/src/gr-unit.c
index dce2e60..7adf0a0 100644
--- a/src/gr-unit.c
+++ b/src/gr-unit.c
@@ -54,6 +54,9 @@ static GrUnit units[] = {
{ "box", NC_("unit abbreviation", "box"), NC_("unit name", "box") },
{ "pkg", NC_("unit abbreviation", "pkg"), NC_("unit name", "package") },
{ "glass", NC_("unit abbreviation", "glass"), NC_("unit name", "glass") },
+ { "mm", NC_("unit abbreviation", "mm"), NC_("unit name", "millimeter") },
+ { "cm", NC_("unit abbreviation", "cm"), NC_("unit name", "centimeter") },
+ { "m", NC_("unit abbreviation", "m"), NC_("unit name", "meter") },
};
const char **
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]