summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 94d7884)
raw | patch | inline | side by side (parent: 94d7884)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 5 Oct 2006 08:15:23 +0000 (08:15 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 5 Oct 2006 08:15:23 +0000 (08:15 +0000) |
diff --git a/src/desktop-events.cpp b/src/desktop-events.cpp
index 41a45eec263c45e7dcbcd688e742ff62d5970890..9a13bab735a7dd9a311b9cb2b86006fdd842abda 100644 (file)
--- a/src/desktop-events.cpp
+++ b/src/desktop-events.cpp
@@ -107,7 +107,7 @@ static gint sp_dt_ruler_event(GtkWidget *widget, GdkEvent *event, SPDesktopWidge
SP_OBJECT_REPR(desktop->namedview)->appendChild(repr);
Inkscape::GC::release(repr);
sp_document_done(sp_desktop_document(desktop), SP_VERB_NONE,
- /* TODO: annotate */ "desktop-events.cpp:127");
+ _("Create guide"));
}
desktop->set_coordinate_status(event_dt);
}
NR::Point const event_dt(desktop->w2d(event_w));
if (sp_canvas_world_pt_inside_window(item->canvas, event_w)) {
sp_guide_moveto(*guide, sp_guide_position_from_pt(guide, event_dt), true);
+ sp_document_done(sp_desktop_document(desktop), SP_VERB_NONE,
+ _("Move guide"));
} else {
/* Undo movement of any attached shapes. */
sp_guide_moveto(*guide, guide->position, false);
sp_guide_remove(guide);
+ sp_document_done(sp_desktop_document(desktop), SP_VERB_NONE,
+ _("Delete guide"));
}
moved = false;
- sp_document_done(sp_desktop_document(desktop), SP_VERB_NONE,
- /* TODO: annotate */ "desktop-events.cpp:207");
desktop->set_coordinate_status(event_dt);
desktop->setPosition (event_dt);
}
diff --git a/src/draw-context.cpp b/src/draw-context.cpp
index bb1f56044b0813eddb55a8d905093128f5623d0a..6946d7df1fb8b22dc5f959937077b2d46cb1c3f3 100644 (file)
--- a/src/draw-context.cpp
+++ b/src/draw-context.cpp
}
sp_document_done(doc, SP_IS_PEN_CONTEXT(dc)? SP_VERB_CONTEXT_PEN : SP_VERB_CONTEXT_PENCIL,
- /* TODO: annotate */ "draw-context.cpp:561");
+ _("Draw path"));
}
sp_curve_unref(c);
diff --git a/src/sp-flowtext.cpp b/src/sp-flowtext.cpp
index 8a39eb0b4f576fd7ed26d390d56e4f55d411d03b..614e0b45092eb7b3236e5156a76ce3e2769550ce 100644 (file)
--- a/src/sp-flowtext.cpp
+++ b/src/sp-flowtext.cpp
item->deleteObject();
sp_document_done(sp_desktop_document(desktop), SP_VERB_NONE,
- /* TODO: annotate */ "sp-flowtext.cpp:617");
+ _("Convert flowed text to text"));
}
SPItem *SPFlowtext::get_frame(SPItem *after)
diff --git a/src/text-chemistry.cpp b/src/text-chemistry.cpp
index 453ddfc1949f6699101f9590ac32ecfd7a64db02..e2f5b833587f9797437559075e0e412afefef6a9 100644 (file)
--- a/src/text-chemistry.cpp
+++ b/src/text-chemistry.cpp
SP_OBJECT_REPR(text)->setAttribute("y", NULL);
sp_document_done(sp_desktop_document(desktop), SP_VERB_CONTEXT_TEXT,
- /* TODO: annotate */ "text-chemistry.cpp:157");
+ _("Put text on path"));
g_slist_free(text_reprs);
}
} else {
selection->setList(g_slist_copy((GSList *) selection->itemList())); // reselect to update statusbar description
sp_document_done(sp_desktop_document(desktop), SP_VERB_CONTEXT_TEXT,
- /* TODO: annotate */ "text-chemistry.cpp:195");
+ _("Remove text from path"));
}
}
sp_desktop_message_stack(desktop)->flash(Inkscape::ERROR_MESSAGE, _("Select <b>text(s)</b> to remove kerns from."));
} else {
sp_document_done(sp_desktop_document(desktop), SP_VERB_CONTEXT_TEXT,
- /* TODO: annotate */ "text-chemistry.cpp:243");
+ _("Remove manual kerns"));
}
}
SP_OBJECT(text)->deleteObject (true);
sp_document_done(doc, SP_VERB_CONTEXT_TEXT,
- /* TODO: annotate */ "text-chemistry.cpp:312");
+ _("Flow text into shape"));
sp_desktop_selection(desktop)->set(SP_ITEM(root_object));
g_slist_free (new_objs);
sp_document_done(doc, SP_VERB_CONTEXT_TEXT,
- /* TODO: annotate */ "text-chemistry.cpp:398");
+ _("Unflow flowed text"));
}
index a7b2aa991ecdc59b9656700fea347e16757c00dd..81bce14c30ea84b4de0f23a3bea0ec793ae33874 100644 (file)
if (changed) {
sp_document_done ( sp_desktop_document (desktop) , SP_VERB_DIALOG_ALIGN_DISTRIBUTE,
- /* TODO: annotate */ "align-and-distribute.cpp:219" );
+ _("Align"));
}
if (changed) {
sp_document_done ( sp_desktop_document (desktop), SP_VERB_DIALOG_ALIGN_DISTRIBUTE,
- /* TODO: annotate */ "align-and-distribute.cpp:379");
+ _("Distribute"));
}
}
guint _index;
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"));
}
};
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"));
}
};
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"));
}
};
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"));
}
};
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<SPItem *>::iterator it(selected.begin());
it != selected.end();
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"));
+ }
}
}
};
index 2cd21a560152b7e556b4e777020f7096761c44f7..6be732317017add430409492abc679e3e9ef6614 100644 (file)
}
sp_document_done ( sp_desktop_document (selection->desktop()) , SP_VERB_DIALOG_TRANSFORM,
- /* TODO: annotate */ "transformation.cpp:585");
+ _("Move"));
}
void
}
sp_document_done(sp_desktop_document(selection->desktop()), SP_VERB_DIALOG_TRANSFORM,
- /* TODO: annotate */ "transformation.cpp:637");
+ _("Scale"));
}
void
}
sp_document_done(sp_desktop_document(selection->desktop()), SP_VERB_DIALOG_TRANSFORM,
- /* TODO: annotate */ "transformation.cpp:656");
+ _("Rotate"));
}
void
}
sp_document_done(sp_desktop_document(selection->desktop()), SP_VERB_DIALOG_TRANSFORM,
- /* TODO: annotate */ "transformation.cpp:709");
+ _("Skew"));
}
}
sp_document_done(sp_desktop_document(selection->desktop()), SP_VERB_DIALOG_TRANSFORM,
- /* TODO: annotate */ "transformation.cpp:736");
+ _("Edit transformation matrix"));
}
diff --git a/src/verbs.cpp b/src/verbs.cpp
index e32727d2d9a9895adce4c7554da131fc1e7ff44a..d741d5a8fca5b36eb93db8aa3cf3a446dd717803 100644 (file)
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
if (next) {
dt->setCurrentLayer(next);
sp_document_done(sp_desktop_document(dt), SP_VERB_LAYER_NEXT,
- /* TODO: annotate */ "verbs.cpp:1077");
+ _("Move to next layer"));
dt->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("Moved to next layer."));
} else {
dt->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Cannot move past last layer."));
if (prev) {
dt->setCurrentLayer(prev);
sp_document_done(sp_desktop_document(dt), SP_VERB_LAYER_PREV,
- /* TODO: annotate */ "verbs.cpp:1089");
+ _("Move to previous layer"));
dt->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("Moved to previous layer."));
} else {
dt->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Cannot move past first layer."));
switch (verb) {
case SP_VERB_LAYER_TO_TOP:
message = g_strdup_printf(_("Raised layer <b>%s</b>."), layer->defaultLabel());
- description = _("Layer to Top");
+ description = _("Layer to top");
break;
case SP_VERB_LAYER_RAISE:
message = g_strdup_printf(_("Raised layer <b>%s</b>."), layer->defaultLabel());
- description = _("Raise Layer");
+ description = _("Raise layer");
break;
case SP_VERB_LAYER_TO_BOTTOM:
message = g_strdup_printf(_("Lowered layer <b>%s</b>."), layer->defaultLabel());
- description = _("Layer to Bottom");
+ description = _("Layer to bottom");
break;
case SP_VERB_LAYER_LOWER:
message = g_strdup_printf(_("Lowered layer <b>%s</b>."), layer->defaultLabel());
- description = _("Lower Layer");
+ description = _("Lower layer");
break;
};
sp_document_done(sp_desktop_document(dt), verb, description);