From c24f33d954db23ca18de731dc8cacfcfc701cb75 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 12 Apr 2006 22:24:42 +0000 Subject: [PATCH] renamed many verbs to more meaningful names, fixed a few inconsistencies, rearranged and commented keys/default.xml --- share/keys/default.xml | 482 +++++++++++++++++++++++++++++++---------- src/menus-skeleton.h | 26 +-- src/verbs.cpp | 60 +++-- 3 files changed, 408 insertions(+), 160 deletions(-) diff --git a/share/keys/default.xml b/share/keys/default.xml index 3c6568b5c..53b73623f 100644 --- a/share/keys/default.xml +++ b/share/keys/default.xml @@ -1,242 +1,492 @@ + + + + + + + + + + + + - - - + + + - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + - + + - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + - - - - - - - - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + - - + + + + + - - + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + - - - - + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/menus-skeleton.h b/src/menus-skeleton.h index ddb046bad..7ac6bd5ac 100644 --- a/src/menus-skeleton.h +++ b/src/menus-skeleton.h @@ -43,12 +43,12 @@ static char const menus_skeleton[] = " \n" " \n" " \n" -" \n" +" \n" " \n" -" \n" +" \n" " \n" " \n" -" \n" +" \n" " \n" " \n" " \n" @@ -74,7 +74,7 @@ static char const menus_skeleton[] = " \n" " \n" " \n" -" \n" +" \n" " \n" " \n" " \n" @@ -125,8 +125,8 @@ static char const menus_skeleton[] = " \n" " \n" " \n" -" \n" -" \n" +" \n" +" \n" " \n" " \n" " \n" @@ -151,7 +151,7 @@ static char const menus_skeleton[] = " \n" " \n" " \n" -" \n" +" \n" " \n" " \n" " \n" @@ -165,8 +165,8 @@ static char const menus_skeleton[] = " \n" " \n" " \n" -" \n" -" \n" +" \n" +" \n" " \n" " \n" " \n" @@ -181,11 +181,11 @@ static char const menus_skeleton[] = " \n" " \n" " \n" -" \n" +" \n" " \n" " \n" -" \n" -" \n" +" \n" +" \n" " \n" " \n" " \n" @@ -207,7 +207,7 @@ static char const menus_skeleton[] = " \n" " \n" " \n" -" \n" +" \n" " \n" " \n" " \n" diff --git a/src/verbs.cpp b/src/verbs.cpp index 9cfe33dda..fb0b50c8e 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -1877,11 +1877,11 @@ Verb *Verb::_base_verbs[] = { N_("Import a bitmap or SVG image into this document"), "file_import"), new FileVerb(SP_VERB_FILE_EXPORT, "FileExport", N_("_Export Bitmap..."), N_("Export this document or a selection as a bitmap image"), "file_export"), - new FileVerb(SP_VERB_FILE_NEXT_DESKTOP, "FileNextDesktop", N_("N_ext Window"), + new FileVerb(SP_VERB_FILE_NEXT_DESKTOP, "NextWindow", N_("N_ext Window"), N_("Switch to the next document window"), "window_next"), - new FileVerb(SP_VERB_FILE_PREV_DESKTOP, "FilePrevDesktop", N_("P_revious Window"), + new FileVerb(SP_VERB_FILE_PREV_DESKTOP, "PrevWindow", N_("P_revious Window"), N_("Switch to the previous document window"), "window_previous"), - new FileVerb(SP_VERB_FILE_CLOSE_VIEW, "FileCloseView", N_("_Close"), + new FileVerb(SP_VERB_FILE_CLOSE_VIEW, "FileClose", N_("_Close"), N_("Close this document window"), GTK_STOCK_CLOSE), new FileVerb(SP_VERB_FILE_QUIT, "FileQuit", N_("_Quit"), N_("Quit Inkscape"), GTK_STOCK_QUIT), @@ -1923,10 +1923,10 @@ Verb *Verb::_base_verbs[] = { new EditVerb(SP_VERB_EDIT_CLONE_ORIGINAL, "EditCloneOriginal", N_("Select _Original"), N_("Select the object to which the selected clone is linked"), NULL), // TRANSLATORS: Convert selection to a rectangle with tiled pattern fill - new EditVerb(SP_VERB_EDIT_TILE, "EditTile", N_("Objects to Patter_n"), + new EditVerb(SP_VERB_EDIT_TILE, "ObjectsToPattern", N_("Objects to Patter_n"), N_("Convert selection to a rectangle with tiled pattern fill"), NULL), // TRANSLATORS: Extract objects from a tiled pattern fill - new EditVerb(SP_VERB_EDIT_UNTILE, "EditUnTile", N_("Pattern to _Objects"), + new EditVerb(SP_VERB_EDIT_UNTILE, "ObjectsFromPattern", N_("Pattern to _Objects"), N_("Extract objects from a tiled pattern fill"), NULL), new EditVerb(SP_VERB_EDIT_CLEAR_ALL, "EditClearAll", N_("Clea_r All"), N_("Delete all objects from document"), NULL), @@ -1997,7 +1997,7 @@ Verb *Verb::_base_verbs[] = { new SelectionVerb(SP_VERB_SELECTION_INSET_SCREEN, "SelectionInsetScreen", N_("I_nset Path by 1 px"), N_("Inset selected paths by 1 px"), NULL), - new SelectionVerb(SP_VERB_SELECTION_INSET_SCREEN_10, "SelectionInsetScreen", + new SelectionVerb(SP_VERB_SELECTION_INSET_SCREEN_10, "SelectionInsetScreen10", N_("I_nset Path by 10 px"), N_("Inset selected paths by 10 px"), NULL), new SelectionVerb(SP_VERB_SELECTION_DYNAMIC_OFFSET, "SelectionDynOffset", @@ -2006,7 +2006,7 @@ Verb *Verb::_base_verbs[] = { N_("_Linked Offset"), N_("Create a dynamic offset object linked to the original path"), "linked_offset"), - new SelectionVerb(SP_VERB_SELECTION_OUTLINE, "SelectionOutline", N_("_Stroke to Path"), + new SelectionVerb(SP_VERB_SELECTION_OUTLINE, "StrokeToPath", N_("_Stroke to Path"), N_("Convert selected object's stroke to paths"), "stroke_tocurve"), new SelectionVerb(SP_VERB_SELECTION_SIMPLIFY, "SelectionSimplify", N_("Si_mplify"), N_("Simplify selected paths (remove extra nodes)"), "simplify"), @@ -2023,7 +2023,7 @@ Verb *Verb::_base_verbs[] = { // Advanced tutorial for more info new SelectionVerb(SP_VERB_SELECTION_BREAK_APART, "SelectionBreakApart", N_("Break _Apart"), N_("Break selected paths into subpaths"), "selection_break"), - new SelectionVerb(SP_VERB_SELECTION_GRIDTILE, "SelectionGridTile", N_("Gri_d Arrange..."), + new SelectionVerb(SP_VERB_SELECTION_GRIDTILE, "DialogGridArrange", N_("Gri_d Arrange..."), N_("Arrange selected objects in a grid pattern"), "grid_arrange"), /* Layer */ new LayerVerb(SP_VERB_LAYER_NEW, "LayerNew", N_("_Add Layer..."), @@ -2054,9 +2054,9 @@ Verb *Verb::_base_verbs[] = { N_("Rotate selection 90° clockwise"), "object_rotate_90_CW"), new ObjectVerb(SP_VERB_OBJECT_ROTATE_90_CCW, "ObjectRotate90CCW", N_("Rotate 9_0° CCW"), N_("Rotate selection 90° counter-clockwise"), "object_rotate_90_CCW"), - new ObjectVerb(SP_VERB_OBJECT_FLATTEN, "ObjectFlatten", N_("Remove _Transformations"), + new ObjectVerb(SP_VERB_OBJECT_FLATTEN, "ObjectRemoveTransform", N_("Remove _Transformations"), N_("Remove transformations from object"), "object_reset"), - new ObjectVerb(SP_VERB_OBJECT_TO_CURVE, "ObjectToCurve", N_("_Object to Path"), + new ObjectVerb(SP_VERB_OBJECT_TO_CURVE, "ObjectToPath", N_("_Object to Path"), N_("Convert selected object to path"), "object_tocurve"), new ObjectVerb(SP_VERB_OBJECT_FLOW_TEXT, "ObjectFlowText", N_("_Flow into Frame"), N_("Put text into a frame (path or shape), creating a flowed text linked to the frame object"), NULL), @@ -2080,33 +2080,33 @@ Verb *Verb::_base_verbs[] = { N_("Remove clipping path from selection"), NULL), /* Tools */ - new ContextVerb(SP_VERB_CONTEXT_SELECT, "DrawSelect", N_("Select"), + new ContextVerb(SP_VERB_CONTEXT_SELECT, "ToolSelector", N_("Select"), N_("Select and transform objects"), "draw_select"), - new ContextVerb(SP_VERB_CONTEXT_NODE, "DrawNode", N_("Node Edit"), + new ContextVerb(SP_VERB_CONTEXT_NODE, "ToolNode", N_("Node Edit"), N_("Edit path nodes or control handles"), "draw_node"), - new ContextVerb(SP_VERB_CONTEXT_RECT, "DrawRect", N_("Rectangle"), + new ContextVerb(SP_VERB_CONTEXT_RECT, "ToolRect", N_("Rectangle"), N_("Create rectangles and squares"), "draw_rect"), - new ContextVerb(SP_VERB_CONTEXT_ARC, "DrawArc", N_("Ellipse"), + new ContextVerb(SP_VERB_CONTEXT_ARC, "ToolArc", N_("Ellipse"), N_("Create circles, ellipses, and arcs"), "draw_arc"), - new ContextVerb(SP_VERB_CONTEXT_STAR, "DrawStar", N_("Star"), + new ContextVerb(SP_VERB_CONTEXT_STAR, "ToolStar", N_("Star"), N_("Create stars and polygons"), "draw_star"), - new ContextVerb(SP_VERB_CONTEXT_SPIRAL, "DrawSpiral", N_("Spiral"), + new ContextVerb(SP_VERB_CONTEXT_SPIRAL, "ToolSpiral", N_("Spiral"), N_("Create spirals"), "draw_spiral"), - new ContextVerb(SP_VERB_CONTEXT_PENCIL, "DrawPencil", N_("Pencil"), + new ContextVerb(SP_VERB_CONTEXT_PENCIL, "ToolPencil", N_("Pencil"), N_("Draw freehand lines"), "draw_freehand"), - new ContextVerb(SP_VERB_CONTEXT_PEN, "DrawPen", N_("Pen"), + new ContextVerb(SP_VERB_CONTEXT_PEN, "ToolPen", N_("Pen"), N_("Draw Bezier curves and straight lines"), "draw_pen"), - new ContextVerb(SP_VERB_CONTEXT_CALLIGRAPHIC, "DrawCalligrphic", N_("Calligraphy"), + new ContextVerb(SP_VERB_CONTEXT_CALLIGRAPHIC, "ToolCalligrphic", N_("Calligraphy"), N_("Draw calligraphic lines"), "draw_calligraphic"), - new ContextVerb(SP_VERB_CONTEXT_TEXT, "DrawText", N_("Text"), + new ContextVerb(SP_VERB_CONTEXT_TEXT, "ToolText", N_("Text"), N_("Create and edit text objects"), "draw_text"), - new ContextVerb(SP_VERB_CONTEXT_GRADIENT, "DrawGradient", N_("Gradient"), + new ContextVerb(SP_VERB_CONTEXT_GRADIENT, "ToolGradient", N_("Gradient"), N_("Create and edit gradients"), "draw_gradient"), - new ContextVerb(SP_VERB_CONTEXT_ZOOM, "DrawZoom", N_("Zoom"), + new ContextVerb(SP_VERB_CONTEXT_ZOOM, "ToolZoom", N_("Zoom"), N_("Zoom in or out"), "draw_zoom"), - new ContextVerb(SP_VERB_CONTEXT_DROPPER, "DrawDropper", N_("Dropper"), + new ContextVerb(SP_VERB_CONTEXT_DROPPER, "ToolDropper", N_("Dropper"), N_("Pick averaged colors from image"), "draw_dropper"), - new ContextVerb(SP_VERB_CONTEXT_CONNECTOR, "DrawConnector", N_("Connector"), + new ContextVerb(SP_VERB_CONTEXT_CONNECTOR, "ToolConnector", N_("Connector"), N_("Create connectors"), "draw_connector"), /* Tool prefs */ @@ -2182,9 +2182,9 @@ Verb *Verb::_base_verbs[] = { N_("Zoom to fit selection in window"), "zoom_select"), /* Dialogs */ - new DialogVerb(SP_VERB_DIALOG_DISPLAY, "DialogDisplay", N_("In_kscape Preferences..."), + new DialogVerb(SP_VERB_DIALOG_DISPLAY, "DialogPreferences", N_("In_kscape Preferences..."), N_("Edit global Inkscape preferences"), GTK_STOCK_PREFERENCES ), - new DialogVerb(SP_VERB_DIALOG_NAMEDVIEW, "DialogNamedview", N_("_Document Properties..."), + new DialogVerb(SP_VERB_DIALOG_NAMEDVIEW, "DialogDocumentProperties", N_("_Document Properties..."), N_("Edit properties of this document (to be saved with the document)"), GTK_STOCK_PROPERTIES ), new DialogVerb(SP_VERB_DIALOG_METADATA, "DialogMetadata", N_("_Document Metadata..."), N_("Edit document metadata (to be saved with the document)"), NULL ), @@ -2197,7 +2197,7 @@ Verb *Verb::_base_verbs[] = { N_("Precisely control objects' transformations"), "object_trans"), new DialogVerb(SP_VERB_DIALOG_ALIGN_DISTRIBUTE, "DialogAlignDistribute", N_("_Align and Distribute..."), N_("Align and distribute objects"), "object_align"), - new DialogVerb(SP_VERB_DIALOG_TEXT, "Dialogtext", N_("_Text and Font..."), + new DialogVerb(SP_VERB_DIALOG_TEXT, "DialogText", N_("_Text and Font..."), N_("View and select font family, font size and other text properties"), "object_font"), new DialogVerb(SP_VERB_DIALOG_XML_EDITOR, "DialogXMLEditor", N_("_XML Editor..."), N_("View and edit the XML tree of the document"), "xml_editor"), @@ -2210,9 +2210,9 @@ Verb *Verb::_base_verbs[] = { new DialogVerb(SP_VERB_DIALOG_TOGGLE, "DialogsToggle", N_("Show/Hide D_ialogs"), N_("Show or hide all open dialogs"), "dialog_toggle"), // TRANSLATORS: "Tile Clones" means: "Create tiled clones" - new DialogVerb(SP_VERB_DIALOG_CLONETILER, "DialogsClonetiler", N_("Create Tiled Clones..."), + new DialogVerb(SP_VERB_DIALOG_CLONETILER, "DialogClonetiler", N_("Create Tiled Clones..."), N_("Create multiple clones of selected object, arranging them into a pattern or scattering"), NULL), - new DialogVerb(SP_VERB_DIALOG_ITEM, "DialogItem", N_("_Object Properties..."), + new DialogVerb(SP_VERB_DIALOG_ITEM, "DialogObjectProperties", N_("_Object Properties..."), N_("Edit the ID, locked and visible status, and other object properties"), "dialog_item_properties"), #ifdef WITH_INKBOARD new DialogVerb(SP_VERB_DIALOG_WHITEBOARD_CONNECT, "DialogWhiteboardConnect", @@ -2246,8 +2246,6 @@ Verb *Verb::_base_verbs[] = { N_("Memory usage information"), NULL), new HelpVerb(SP_VERB_HELP_ABOUT, "HelpAbout", N_("_About Inkscape"), N_("Inkscape version, authors, license"), /*"help_about"*/"inkscape_options"), -// new HelpVerb(SP_VERB_SHOW_LICENSE, "ShowLicense", N_("Modifying or Redistributing Inkscape"), -// N_("Show license to modify and/or redistribute Inkscape: GNU GPL"), NULL), /* Tutorials */ new TutorialVerb(SP_VERB_TUTORIAL_BASIC, "TutorialsBasic", N_("Inkscape: _Basic"), -- 2.30.2