Code

use UTF-8 for degree symbol
authorkeescook <keescook@users.sourceforge.net>
Sun, 18 Mar 2007 00:14:34 +0000 (00:14 +0000)
committerkeescook <keescook@users.sourceforge.net>
Sun, 18 Mar 2007 00:14:34 +0000 (00:14 +0000)
src/verbs.cpp

index fc5fa2499fedd7c7369442f90980237727289276..6eb74214a0f619d1bc9fb12ccca6590cdd43bf71 100644 (file)
@@ -2252,11 +2252,13 @@ Verb *Verb::_base_verbs[] = {
 
     /* Object */
     new ObjectVerb(SP_VERB_OBJECT_ROTATE_90_CW, "ObjectRotate90", N_("Rotate _90&#176; CW"),
-                   // Tooltips cannot have entities: must use UTF-8 for symbols
-                   N_("Rotate selection 90° clockwise"), "object_rotate_90_CW"),
+                   // This is shared between tooltips and statusbar, so they
+                   // must use UTF-8, not HTML entities for special characters.
+                   N_("Rotate selection 90\xc2\xb0 clockwise"), "object_rotate_90_CW"),
     new ObjectVerb(SP_VERB_OBJECT_ROTATE_90_CCW, "ObjectRotate90CCW", N_("Rotate 9_0&#176; CCW"),
-                   // Tooltips cannot have entities: must use UTF-8 for symbols
-                   N_("Rotate selection 90° counter-clockwise"), "object_rotate_90_CCW"),
+                   // This is shared between tooltips and statusbar, so they
+                   // must use UTF-8, not HTML entities for special characters.
+                   N_("Rotate selection 90\xc2\xb0 counter-clockwise"), "object_rotate_90_CCW"),
     new ObjectVerb(SP_VERB_OBJECT_FLATTEN, "ObjectRemoveTransform", N_("Remove _Transformations"),
                    N_("Remove transformations from object"), "object_reset"),
     new ObjectVerb(SP_VERB_OBJECT_TO_CURVE, "ObjectToPath", N_("_Object to Path"),