GNOME Bugzilla – Bug 643585
Using the words degree, degrees and the symbol "˚" with kelvin might be wrong.
Last modified: 2011-04-20 02:10:42 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
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.
(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.
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.
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.