GNOME Bugzilla – Bug 102928
Use pango markup in power of expressions
Last modified: 2004-12-22 21:47:04 UTC
#: gcalctool/calctool.c:623 msgid "x^2" #: gcalctool/calctool.c:625 msgid "" "x^2\n" "\n" "Keyboard equivalent: @\n" "\n" "Returns the square of the current displayed value." #: gcalctool/calctool.c:1458 msgid "e^x" #: gcalctool/calctool.c:1460 msgid "" "e^x\n" "\n" "e to the x power\n" "\n" "Keyboard equivalent: {\n" "\n" "Returns e raised to the power of the current displayed value." #: gcalctool/calctool.c:1475 msgid "10^x" #: gcalctool/calctool.c:1477 msgid "" "10^x\n" "\n" "10 to the x power\n" "\n" "Keyboard equivalent: }\n" "\n" "Returns 10 raised to the power of the current displayed value." #: gcalctool/calctool.c:1492 msgid "y^x" #: gcalctool/calctool.c:1494 msgid "" "y^x\n" "\n" "y to the power of x\n" "\n" "Keyboard equivalent: y\n" "\n" "Takes the last number entered and raises it to the power of the next number " "entered.\n" "\n" "Example:\n" "\n" " 2 Y 3 = (returns 8)" #: gcalctool/calctool.c:1956 msgid "2 ^ 20." The existing gnome calculator makes use of pango markup for the power of expressions, so that they can be written correctly: "x<sup>2</sup>" etc. Probably something to consider for these messages.
Fixed in v4.2.36 of gcalctool. The x^2, e^x, 10^x and y^x keys now use Pango markup to display the label using superscripts. Note that I couldn't see a way of using Pango markup in the equivalent tooltip help for these buttons. If you know how to do this, please let me know and I'll adjust that accordingly too.