After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 643585 - Using the words degree, degrees and the symbol "˚" with kelvin might be wrong.
Using the words degree, degrees and the symbol "˚" with kelvin might be wrong.
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-01 12:53 UTC by Ivaylo Valkov
Modified: 2011-04-20 02:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ivaylo Valkov 2011-03-01 12:53:33 UTC
The article about kelvin at Wikipedia [1] states that after the 13th
General Conference on Weights and Measures in 1968, kelvin should not
be used with the words degree, degrees and the symbol "˚". 

If that is true there are few strings that have to be changed. Anybody
can confirm this by using another source?

$ grep -R  "˚K" gcalctool/src/ -n

gcalctool/src/unit-manager.c:88:        {NULL,          "degree-kelvin",    N_("Kelvin"),            NC_("unit-format", "%s˚K"),        "x",                  "x",              NC_("unit-symbols", "degK,˚K")},
gcalctool/src/unittest.c:161:    //test("0˚K in ˚C", "−273.15", 0);


[1] http://en.wikipedia.org/wiki/Kelvin#Usage_conventions
Comment 1 F Wolff 2011-03-15 07:53:08 UTC
I came to report the same thing now, but I don't have another reference. Is the "unit-symbols" just used for parsing the string? Then I guess we can put any and all forms in there, but only display the correct forms.
Comment 2 Ivaylo Valkov 2011-03-15 11:50:11 UTC
(In reply to comment #1)
> Is the "unit-symbols" just used for parsing the string? Then I guess we can put any
> and all forms in there, but only display the correct forms.

It seems that the only visible strings are those in the "unit-format" context. Currently only the Bulgarian translation (made by me) doesn't use the degree symbol.
Comment 3 Robert Ancell 2011-03-15 23:50:38 UTC
I'll fix this in 6.1.x as it would cause a string break and the effect is minor.

"unit-format" strings are the preferred display format, and "unit-symbols" is a list of unit symbols when manually entering in the display.

i.e. Typing:
"1 m in cm"
and
"1 meter in centimeters"
are both equivalent.

These should be translated (replace or append the english list) if you language has a different term for "centimeters" etc.
Comment 4 Robert Ancell 2011-04-20 02:10:42 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.