Public bug reported:

The conversion is to/from US measures, yet this is not mentioned, and
the conversion factors are wrong for Imperial measures as used here in
the UK.

I suggest:
1. As a minimum, make it clear that US units are in use.
2. Ideally, provide a means to apply localisation other than by recompiling.

I have modified my version, to permanently use the Imperial conversion,
thus:

In file gcalctool-6.6.2/src/unit-manager.c
Line 82 et seq:
        {NULL,       "gallon",              N_("Gallons"),           
NC_("unit-format", "%s gal"),      "4.54609x",           "x/4.54609",      
NC_("unit-symbols", "gallon,gallons,gal")},
        {NULL,       "litre",               N_("Litres"),            
NC_("unit-format", "%s L"),        "x",                  "x",              
NC_("unit-symbols", "litre,litres,liter,liters,L")},
        {NULL,       "quart",               N_("Quarts"),            
NC_("unit-format", "%s qt"),       "1.1365225x",         "x/1.1365225",    
NC_("unit-symbols", "quart,quarts,qt")},

[Ubuntu 16.04 LTS]

** Affects: gcalctool (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gcalctool in Ubuntu.
https://bugs.launchpad.net/bugs/1613000

Title:
  Gallons/Quarts/Pints to Litres conversion is incorrect

Status in gcalctool package in Ubuntu:
  New

Bug description:
  The conversion is to/from US measures, yet this is not mentioned, and
  the conversion factors are wrong for Imperial measures as used here in
  the UK.

  I suggest:
  1. As a minimum, make it clear that US units are in use.
  2. Ideally, provide a means to apply localisation other than by recompiling.

  I have modified my version, to permanently use the Imperial
  conversion, thus:

  In file gcalctool-6.6.2/src/unit-manager.c
  Line 82 et seq:
          {NULL,       "gallon",              N_("Gallons"),           
NC_("unit-format", "%s gal"),      "4.54609x",           "x/4.54609",      
NC_("unit-symbols", "gallon,gallons,gal")},
          {NULL,       "litre",               N_("Litres"),            
NC_("unit-format", "%s L"),        "x",                  "x",              
NC_("unit-symbols", "litre,litres,liter,liters,L")},
          {NULL,       "quart",               N_("Quarts"),            
NC_("unit-format", "%s qt"),       "1.1365225x",         "x/1.1365225",    
NC_("unit-symbols", "quart,quarts,qt")},

  [Ubuntu 16.04 LTS]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/1613000/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to