summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aad22c7)
raw | patch | inline | side by side (parent: aad22c7)
author | gustav_b <gustav_b@users.sourceforge.net> | |
Mon, 10 Jul 2006 08:00:14 +0000 (08:00 +0000) | ||
committer | gustav_b <gustav_b@users.sourceforge.net> | |
Mon, 10 Jul 2006 08:00:14 +0000 (08:00 +0000) |
src/path-chemistry.cpp | patch | blob | history | |
src/verbs.cpp | patch | blob | history |
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index c897658ff7b6651c44137b5ed7d4135fcf00533f..0c35020b775e10141f2867be5b0503ca219535df 100644 (file)
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
if (interactive) {
if (did) {
sp_document_done(sp_desktop_document(desktop), SP_VERB_OBJECT_TO_CURVE,
- /* TODO: annotate */ "path-chemistry.cpp:300");
+ _("Object to Path"));
} else {
sp_desktop_message_stack(desktop)->flash(Inkscape::ERROR_MESSAGE, _("<b>No objects</b> to convert to path in the selection."));
return;
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 5b740b2158c4149e4bb27ce9eb32481fbd6c93a8..0a22cc1081ee988b4a30d53856de589332c29f9e 100644 (file)
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
if ( SP_OBJECT_NEXT(layer) != old_pos ) {
char const *message = NULL;
+ Glib::ustring description = "";
switch (verb) {
case SP_VERB_LAYER_TO_TOP:
+ message = g_strdup_printf(_("Raised layer <b>%s</b>."), layer->defaultLabel());
+ description = _("Layer to Top");
+ break;
case SP_VERB_LAYER_RAISE:
message = g_strdup_printf(_("Raised layer <b>%s</b>."), layer->defaultLabel());
+ 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");
+ break;
case SP_VERB_LAYER_LOWER:
message = g_strdup_printf(_("Lowered layer <b>%s</b>."), layer->defaultLabel());
+ description = _("Lower Layer");
break;
};
- sp_document_done(sp_desktop_document(dt), SP_VERB_LAYER_LOWER,
- /* TODO: annotate */ "verbs.cpp:1146");
+ sp_document_done(sp_desktop_document(dt), verb, description);
if (message) {
dt->messageStack()->flash(Inkscape::NORMAL_MESSAGE, message);
g_free((void *) message);
}
sp_document_done(sp_desktop_document(dt), SP_VERB_LAYER_DELETE,
- /* TODO: annotate */ "verbs.cpp:1180");
+ _("Delete layer"));
// TRANSLATORS: this means "The layer has been deleted."
dt->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("Deleted layer."));
sp_selection_scale_relative(sel, center, NR::scale(-1.0, 1.0));
}
sp_document_done(sp_desktop_document(dt), SP_VERB_OBJECT_FLIP_HORIZONTAL,
- /* TODO: annotate */ "verbs.cpp:1240");
+ _("Flip horizontally"));
break;
case SP_VERB_OBJECT_FLIP_VERTICAL:
if (tools_isactive(dt, TOOLS_NODES)) {
sp_selection_scale_relative(sel, center, NR::scale(1.0, -1.0));
}
sp_document_done(sp_desktop_document(dt), SP_VERB_OBJECT_FLIP_VERTICAL,
- /* TODO: annotate */ "verbs.cpp:1249");
+ _("Flip vertically"));
break;
case SP_VERB_OBJECT_SET_MASK:
sp_selection_set_mask(false, false);