[gcalctool] Correct the conversion function for tonnes. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=643506



commit 2478a89dc0d63433ce17d8b5ac0e00eafe175c2b
Author: Gabor Kelemen <kelemeng gnome hu>
Date:   Mon Feb 28 17:33:19 2011 +0100

    Correct the conversion function for tonnes. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=643506

 src/unit-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/unit-manager.c b/src/unit-manager.c
index aa8c760..01c9fd0 100644
--- a/src/unit-manager.c
+++ b/src/unit-manager.c
@@ -71,7 +71,7 @@ unit_manager_get_default(void)
         {NULL,       "pint",                N_("Pints"),             NC_("unit-format", "%s pt"),       "0.4731765x",         "x/0.4731765",    NC_("unit-symbols", "pint,pints,pt")},
         {NULL,       "millilitre",          N_("Millilitres"),       NC_("unit-format", "%s mL"),       "0.001x",             "1000x",          NC_("unit-symbols", "millilitre,millilitres,milliliter,milliliters,mL,cm³")},
         {NULL,       "microlitre",          N_("Microlitre"),        NC_("unit-format", "%s μL"),       "0.000001x",          "1000000x",       NC_("unit-symbols", "mm³,μL,uL")},
-        {"weight",   "tonne",               N_("Tonnes"),            NC_("unit-format", "%s T"),        "x/1000",             "1000x",          NC_("unit-symbols", "tonne,tonnes")},
+        {"weight",   "tonne",               N_("Tonnes"),            NC_("unit-format", "%s T"),        "1000x",             "x/1000",          NC_("unit-symbols", "tonne,tonnes")},
         {NULL,       "kilograms",           N_("Kilograms"),         NC_("unit-format", "%s kg"),       "x",                  "x",              NC_("unit-symbols", "kilogram,kilograms,kilogramme,kilogrammes,kg,kgs")},
         {NULL,       "pound",               N_("Pounds"),            NC_("unit-format", "%s lb"),       "0.45359237x",        "x/0.45359237",   NC_("unit-symbols", "pound,pounds,lb")},
         {NULL,       "ounce",               N_("Ounces"),            NC_("unit-format", "%s oz"),       "0.02834952x",        "x/0.02834952",   NC_("unit-symbols", "ounce,ounces,oz")},



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