summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 75c9738)
raw | patch | inline | side by side (parent: 75c9738)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 30 Jun 2006 03:54:42 +0000 (03:54 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 30 Jun 2006 03:54:42 +0000 (03:54 +0000) |
src/seltrans.cpp | patch | blob | history |
diff --git a/src/seltrans.cpp b/src/seltrans.cpp
index 3f40103e7e52f8a746c097be6d66a5b1bebe4204..9a648e2efa752649aaba270db9741ccc4ed67a0d 100644 (file)
--- a/src/seltrans.cpp
+++ b/src/seltrans.cpp
SP_OBJECT(it)->updateRepr();
}
sp_document_maybe_done (sp_desktop_document(_desktop), "center::move", SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "seltrans.cpp:227");
+ _("Set center"));
_updateHandles();
}
}
}
- sp_document_done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "seltrans.cpp:346");
+ if (_current.is_translation()) {
+ sp_document_done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_SELECT,
+ _("Move"));
+ } else if (_current.is_scale()) {
+ sp_document_done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_SELECT,
+ _("Scale"));
+ } else if (_current.is_rotation()) {
+ sp_document_done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_SELECT,
+ _("Rotate"));
+ } else {
+ sp_document_done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_SELECT,
+ _("Skew"));
+ }
+
updh = false;
}
l = l->next;
}
sp_document_done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "seltrans.cpp:443");
+ _("Stamp"));
}
if ( fixup && _stamp_cache ) {
@@ -626,7 +638,7 @@ void Inkscape::SelTrans::handleClick(SPKnot *knot, guint state, SPSelTransHandle
_updateHandles();
}
sp_document_maybe_done (sp_desktop_document(_desktop), "center::unset", SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "seltrans.cpp:629");
+ _("Reset center"));
}
break;
default: