Code

marked three messages from color gestures for translation
authorprokoudine <prokoudine@users.sourceforge.net>
Wed, 31 Oct 2007 02:14:37 +0000 (02:14 +0000)
committerprokoudine <prokoudine@users.sourceforge.net>
Wed, 31 Oct 2007 02:14:37 +0000 (02:14 +0000)
src/ui/widget/selected-style.cpp

index 6db4cb45c02cfefdb4ce64e9357d565edf98ae22..0d7f04d7d4eca84f94dc2aa10e7953d35b3d2473 100644 (file)
@@ -1260,19 +1260,19 @@ RotateableSwatch::do_motion(double by, guint modifier) {
 
     } else if (modifier == 2) { // saturation
         sp_document_maybe_done (sp_desktop_document(parent->getDesktop()), undokey, 
-                                SP_VERB_DIALOG_FILL_STROKE, ("Adjust saturation"));
+                                SP_VERB_DIALOG_FILL_STROKE, (_("Adjust saturation")));
         double ch = hsl[1];
         parent->getDesktop()->event_context->_message_context->setF(Inkscape::IMMEDIATE_MESSAGE, _("Adusting <b>saturation</b>: was %.3g, now <b>%.3g</b> (diff %.3g); without modifiers to adjust hue, with <b>Ctrl</b> to adjust lightness"), ch - diff, ch, diff);
 
     } else if (modifier == 1) { // lightness
         sp_document_maybe_done (sp_desktop_document(parent->getDesktop()), undokey, 
-                                SP_VERB_DIALOG_FILL_STROKE, ("Adjust lightness"));
+                                SP_VERB_DIALOG_FILL_STROKE, (_("Adjust lightness")));
         double ch = hsl[2];
         parent->getDesktop()->event_context->_message_context->setF(Inkscape::IMMEDIATE_MESSAGE, _("Adusting <b>lightness</b>: was %.3g, now <b>%.3g</b> (diff %.3g); without modifiers to adjust hue, with <b>Shift</b> to adjust saturation"), ch - diff, ch, diff);
 
     } else { // hue
         sp_document_maybe_done (sp_desktop_document(parent->getDesktop()), undokey, 
-                                SP_VERB_DIALOG_FILL_STROKE, ("Adjust hue"));
+                                SP_VERB_DIALOG_FILL_STROKE, (_("Adjust hue")));
         double ch = hsl[0];
         parent->getDesktop()->event_context->_message_context->setF(Inkscape::IMMEDIATE_MESSAGE, _("Adusting <b>hue</b>: was %.3g, now <b>%.3g</b> (diff %.3g); with <b>Shift</b> to adjust saturation, with <b>Ctrl</b> to adjust lightness"), ch - diff, ch, diff);
     }