summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 66b6c2c)
raw | patch | inline | side by side (parent: 66b6c2c)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 2 Jul 2006 23:13:52 +0000 (23:13 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 2 Jul 2006 23:13:52 +0000 (23:13 +0000) |
src/selection-chemistry.cpp | patch | blob | history |
index ca2768a88183922838c0b55f56be24920eb9612c..c26efb71da7860775fa26bb728de28d82b5e1bc8 100644 (file)
if (tools_isactive (desktop, TOOLS_TEXT))
if (sp_text_delete_selection(desktop->event_context)) {
sp_document_done(sp_desktop_document(desktop), SP_VERB_CONTEXT_TEXT,
- /* TODO: annotate */ "selection-chemistry.cpp:217");
+ _("Delete text"));
return;
}
tools_switch ( desktop, tools_active ( desktop ) );
sp_document_done(sp_desktop_document(desktop), SP_VERB_EDIT_DELETE,
- /* TODO: annotate */ "selection-chemistry.cpp:243");
+ _("Delete"));
}
/* fixme: sequencing */
}
sp_document_done(sp_desktop_document(desktop), SP_VERB_EDIT_DUPLICATE,
- /* TODO: annotate */ "selection-chemistry.cpp:282");
+ _("Duplicate"));
selection->setReprList(newsel);
}
sp_document_done(doc, SP_VERB_EDIT_CLEAR_ALL,
- /* TODO: annotate */ "selection-chemistry.cpp:307");
+ _("Delete all"));
}
GSList *
group->setPosition(topmost + 1);
sp_document_done(sp_desktop_document(desktop), SP_VERB_SELECTION_GROUP,
- /* TODO: annotate */ "selection-chemistry.cpp:509");
+ _("Group"));
selection->set(group);
Inkscape::GC::release(group);
g_slist_free(items);
sp_document_done(sp_desktop_document(desktop), SP_VERB_SELECTION_UNGROUP,
- /* TODO: annotate */ "selection-chemistry.cpp:571");
+ _("Ungroup"));
}
static SPGroup *
}
sp_document_done(sp_desktop_document(desktop), SP_VERB_SELECTION_RAISE,
- /* TODO: annotate */ "selection-chemistry.cpp:673");
+ _("Raise"));
}
void sp_selection_raise_to_top()
g_slist_free(rl);
sp_document_done(document, SP_VERB_SELECTION_TO_FRONT,
- /* TODO: annotate */ "selection-chemistry.cpp:709");
+ _("Raise to top"));
}
void
}
sp_document_done(sp_desktop_document(desktop), SP_VERB_SELECTION_LOWER,
- /* TODO: annotate */ "selection-chemistry.cpp:766");
+ _("Lower"));
}
g_slist_free(rl);
sp_document_done(document, SP_VERB_SELECTION_TO_BACK,
- /* TODO: annotate */ "selection-chemistry.cpp:815");
+ _("Lower to bottom"));
}
void
}
sp_document_done(document, SP_VERB_EDIT_PASTE,
- /* TODO: annotate */ "selection-chemistry.cpp:1124");
+ _("Paste"));
}
void sp_selection_paste_style()
sp_desktop_set_style (desktop, style_clipboard);
sp_document_done(sp_desktop_document (desktop), SP_VERB_EDIT_PASTE_STYLE,
- /* TODO: annotate */ "selection-chemistry.cpp:1151");
+ _("Paste style"));
}
void sp_selection_paste_size (bool apply_x, bool apply_y)
apply_y? scale_y : (desktop->isToolboxButtonActive ("lock")? scale_x : 1.0)));
sp_document_done(sp_desktop_document (desktop), SP_VERB_EDIT_PASTE_SIZE,
- /* TODO: annotate */ "selection-chemistry.cpp:1187");
+ _("Paste size"));
}
void sp_selection_paste_size_separately (bool apply_x, bool apply_y)
}
sp_document_done(sp_desktop_document (desktop), SP_VERB_EDIT_PASTE_SIZE_SEPARATELY,
- /* TODO: annotate */ "selection-chemistry.cpp:1228");
+ _("Paste size separately"));
}
void sp_selection_to_next_layer ()
if (temp_clip) g_slist_free (temp_clip);
if (next) dt->setCurrentLayer(next);
sp_document_done(sp_desktop_document (dt), SP_VERB_LAYER_MOVE_TO_NEXT,
- /* TODO: annotate */ "selection-chemistry.cpp:1264");
+ _("Raise to next layer"));
} else {
no_more = true;
}
if (temp_clip) g_slist_free (temp_clip);
if (next) dt->setCurrentLayer(next);
sp_document_done(sp_desktop_document (dt), SP_VERB_LAYER_MOVE_TO_PREV,
- /* TODO: annotate */ "selection-chemistry.cpp:1309");
+ _("Lower to previous layer"));
} else {
no_more = true;
}
}
sp_document_done(sp_desktop_document(desktop), SP_VERB_OBJECT_FLATTEN,
- /* TODO: annotate */ "selection-chemistry.cpp:1457");
+ _("Remove transform"));
}
void
}
sp_document_done(sp_desktop_document(desktop), SP_VERB_OBJECT_ROTATE_90_CCW,
- /* TODO: annotate */ "selection-chemistry.cpp:1566");
+ _("Rotate 90° CW"));
}
}
sp_document_done(sp_desktop_document(desktop), SP_VERB_OBJECT_ROTATE_90_CW,
- /* TODO: annotate */ "selection-chemistry.cpp:1594");
+ _("Rotate 90° CCW"));
}
void
@@ -1609,7 +1609,7 @@ sp_selection_rotate(Inkscape::Selection *selection, gdouble const angle_degrees)
? "selector:rotate:ccw"
: "selector:rotate:cw" ),
SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "selection-chemistry.cpp:1612");
+ _("Rotate"));
}
/**
? "selector:rotate:ccw"
: "selector:rotate:cw" ),
SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "selection-chemistry.cpp:1641");
+ _("Rotate by pixels"));
}
void
? "selector:scale:larger"
: "selector:scale:smaller" ),
SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "selection-chemistry.cpp:1667");
+ _("Scale"));
}
void
NR::Point const center(selection->bounds().midpoint());
sp_selection_scale_relative(selection, center, NR::scale(times, times));
sp_document_done(sp_desktop_document(selection->desktop()), SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "selection-chemistry.cpp:1685");
+ _("Scale by whole factor"));
}
void
if (dx == 0) {
sp_document_maybe_done(sp_desktop_document(desktop), "selector:move:vertical", SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "selection-chemistry.cpp:1702");
+ _("Nudge vertically"));
} else if (dy == 0) {
sp_document_maybe_done(sp_desktop_document(desktop), "selector:move:horizontal", SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "selection-chemistry.cpp:1705");
+ _("Nudge horizontally"));
} else {
sp_document_done(sp_desktop_document(desktop), SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "selection-chemistry.cpp:1707");
+ _("Move"));
}
}
if (dx == 0) {
sp_document_maybe_done(sp_desktop_document(desktop), "selector:move:vertical", SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "selection-chemistry.cpp:1730");
+ _("Nudge vertically by pixels"));
} else if (dy == 0) {
sp_document_maybe_done(sp_desktop_document(desktop), "selector:move:horizontal", SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "selection-chemistry.cpp:1733");
+ _("Nudge horizontally by pixels"));
} else {
sp_document_done(sp_desktop_document(desktop), SP_VERB_CONTEXT_SELECT,
- /* TODO: annotate */ "selection-chemistry.cpp:1735");
+ _("Move"));
}
}
}
sp_document_done(sp_desktop_document(desktop), SP_VERB_EDIT_CLONE,
- /* TODO: annotate */ "selection-chemistry.cpp:1996");
+ _("Clone"));
selection->setReprList(newsel);
}
sp_document_done(sp_desktop_document(desktop), SP_VERB_EDIT_UNLINK_CLONE,
- /* TODO: annotate */ "selection-chemistry.cpp:2048");
+ _("Unlink clone"));
}
void
g_slist_free (items);
sp_document_done (document, SP_VERB_EDIT_TILE,
- /* TODO: annotate */ "selection-chemistry.cpp:2194");
+ _("Objects to pattern"));
}
void
desktop->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("<b>No pattern fills</b> in the selection."));
} else {
sp_document_done(sp_desktop_document(desktop), SP_VERB_EDIT_UNTILE,
- /* TODO: annotate */ "selection-chemistry.cpp:2266");
+ _("Pattern to objects"));
selection->setList(new_select);
}
}
// Complete undoable transaction
sp_document_done (document, SP_VERB_SELECTION_CREATE_BITMAP,
- /* TODO: annotate */ "selection-chemistry.cpp:2416");
+ _("Create bitmap"));
}
g_free (filename);
g_slist_free (mask_items);
g_slist_free (apply_to_items);
- sp_document_done (document, SP_VERB_OBJECT_SET_MASK,
- /* TODO: annotate */ "selection-chemistry.cpp:2542");
+ if (apply_clip_path)
+ sp_document_done (document, SP_VERB_OBJECT_SET_CLIPPATH, _("Set clipping path"));
+ else
+ sp_document_done (document, SP_VERB_OBJECT_SET_MASK, _("Set mask"));
}
void sp_selection_unset_mask(bool apply_clip_path) {
g_slist_free (items_to_move);
}
- sp_document_done (document, SP_VERB_OBJECT_UNSET_MASK,
- /* TODO: annotate */ "selection-chemistry.cpp:2623");
+ if (apply_clip_path)
+ sp_document_done (document, SP_VERB_OBJECT_UNSET_CLIPPATH, _("Release clipping path"));
+ else
+ sp_document_done (document, SP_VERB_OBJECT_UNSET_MASK, _("Release mask"));
}
void fit_canvas_to_selection(SPDesktop *desktop) {
}
sp_document_done(doc, SP_VERB_FIT_CANVAS_TO_DRAWING,
- /* TODO: annotate */ "selection-chemistry.cpp:2667");
+ _("Fit page to selection"));
};
/*