From fae5a46f9f815a67d660357728cf7df8ed50dd3b Mon Sep 17 00:00:00 2001 From: bulia byak Date: Thu, 5 Oct 2006 08:15:23 +0000 Subject: undo annotations (bzr r1767) --- src/ui/dialog/align-and-distribute.cpp | 25 +++++++++++++++---------- src/ui/dialog/transformation.cpp | 10 +++++----- 2 files changed, 20 insertions(+), 15 deletions(-) (limited to 'src/ui') diff --git a/src/ui/dialog/align-and-distribute.cpp b/src/ui/dialog/align-and-distribute.cpp index a7b2aa991..81bce14c3 100644 --- a/src/ui/dialog/align-and-distribute.cpp +++ b/src/ui/dialog/align-and-distribute.cpp @@ -216,7 +216,7 @@ private : if (changed) { sp_document_done ( sp_desktop_document (desktop) , SP_VERB_DIALOG_ALIGN_DISTRIBUTE, - /* TODO: annotate */ "align-and-distribute.cpp:219" ); + _("Align")); } @@ -376,7 +376,7 @@ private : if (changed) { sp_document_done ( sp_desktop_document (desktop), SP_VERB_DIALOG_ALIGN_DISTRIBUTE, - /* TODO: annotate */ "align-and-distribute.cpp:379"); + _("Distribute")); } } guint _index; @@ -487,7 +487,7 @@ private : prefs_set_int_attribute("options.clonecompensation", "value", saved_compensation); sp_document_done(sp_desktop_document(SP_ACTIVE_DESKTOP), SP_VERB_DIALOG_ALIGN_DISTRIBUTE, - /* TODO: annotate */ "align-and-distribute.cpp:490"); + _("Remove overlaps")); } }; @@ -517,7 +517,7 @@ private : prefs_set_int_attribute("options.clonecompensation", "value", saved_compensation); sp_document_done(sp_desktop_document(SP_ACTIVE_DESKTOP), SP_VERB_DIALOG_ALIGN_DISTRIBUTE, - /* TODO: annotate */ "align-and-distribute.cpp:520"); + _("Arrange connector network")); } }; @@ -547,7 +547,7 @@ private : prefs_set_int_attribute("options.clonecompensation", "value", saved_compensation); sp_document_done (sp_desktop_document (SP_ACTIVE_DESKTOP), SP_VERB_DIALOG_ALIGN_DISTRIBUTE, - /* TODO: annotate */ "align-and-distribute.cpp:550"); + _("Unclump")); } }; @@ -611,7 +611,7 @@ private : prefs_set_int_attribute("options.clonecompensation", "value", saved_compensation); sp_document_done (sp_desktop_document (SP_ACTIVE_DESKTOP), SP_VERB_DIALOG_ALIGN_DISTRIBUTE, - /* TODO: annotate */ "align-and-distribute.cpp:614"); + _("Randomize positions")); } }; @@ -706,6 +706,11 @@ private : changed = true; } + if (changed) { + sp_document_done (sp_desktop_document (SP_ACTIVE_DESKTOP), SP_VERB_DIALOG_ALIGN_DISTRIBUTE, + _("Distribute text baselines")); + } + } else { for (std::list::iterator it(selected.begin()); it != selected.end(); @@ -720,11 +725,11 @@ private : changed = true; } } - } - if (changed) { - sp_document_done (sp_desktop_document (SP_ACTIVE_DESKTOP), SP_VERB_DIALOG_ALIGN_DISTRIBUTE, - /* TODO: annotate */ "align-and-distribute.cpp:727"); + if (changed) { + sp_document_done (sp_desktop_document (SP_ACTIVE_DESKTOP), SP_VERB_DIALOG_ALIGN_DISTRIBUTE, + _("Align text baselines")); + } } } }; diff --git a/src/ui/dialog/transformation.cpp b/src/ui/dialog/transformation.cpp index 2cd21a560..6be732317 100644 --- a/src/ui/dialog/transformation.cpp +++ b/src/ui/dialog/transformation.cpp @@ -582,7 +582,7 @@ Transformation::applyPageMove(Inkscape::Selection *selection) } sp_document_done ( sp_desktop_document (selection->desktop()) , SP_VERB_DIALOG_TRANSFORM, - /* TODO: annotate */ "transformation.cpp:585"); + _("Move")); } void @@ -634,7 +634,7 @@ Transformation::applyPageScale(Inkscape::Selection *selection) } sp_document_done(sp_desktop_document(selection->desktop()), SP_VERB_DIALOG_TRANSFORM, - /* TODO: annotate */ "transformation.cpp:637"); + _("Scale")); } void @@ -653,7 +653,7 @@ Transformation::applyPageRotate(Inkscape::Selection *selection) } sp_document_done(sp_desktop_document(selection->desktop()), SP_VERB_DIALOG_TRANSFORM, - /* TODO: annotate */ "transformation.cpp:656"); + _("Rotate")); } void @@ -706,7 +706,7 @@ Transformation::applyPageSkew(Inkscape::Selection *selection) } sp_document_done(sp_desktop_document(selection->desktop()), SP_VERB_DIALOG_TRANSFORM, - /* TODO: annotate */ "transformation.cpp:709"); + _("Skew")); } @@ -733,7 +733,7 @@ Transformation::applyPageTransform(Inkscape::Selection *selection) } sp_document_done(sp_desktop_document(selection->desktop()), SP_VERB_DIALOG_TRANSFORM, - /* TODO: annotate */ "transformation.cpp:736"); + _("Edit transformation matrix")); } -- cgit v1.2.3