From ed796edff185c9c8909b9ee85464b6f317c4dd1a Mon Sep 17 00:00:00 2001 From: Israa Sayed Date: Thu, 31 Mar 2022 14:40:17 +0000 Subject: [PATCH 1/4] Remove underscores in shortcut names --- src/actions/actions-text.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/actions/actions-text.cpp b/src/actions/actions-text.cpp index 393610ace2..2ba72b7d59 100644 --- a/src/actions/actions-text.cpp +++ b/src/actions/actions-text.cpp @@ -67,10 +67,10 @@ std::vector> raw_data_text = {"app.text-put-on-path", N_("Put on Path"), "Text", N_("Put text on path")}, {"app.text-remove-from-path", N_("Remove from Path"), "Text", N_("Remove text from path")}, {"app.text-flow-into-frame", N_("Flow into Frame"), "Text", N_("Put text into a frame (path or shape), creating a flowed text linked to the frame object")}, - {"app.text-flow-subtract-frame", N_("Set _Subtraction Frames"), "Text", N_("Flow text around a frame (path or shape), only available for SVG 2.0 Flow text.")}, - {"app.text-unflow", N_("_Unflow"), "Text", N_("Remove text from frame (creates a single-line text object)")}, - {"app.text-convert-to-regular", N_("_Convert to Text"), "Text", N_("Convert flowed text to regular text object (preserves appearance)")}, - {"app.text-unkern", N_("Remove Manual _Kerns"), "Text", N_("Remove all manual kerns and glyph rotations from a text object")} + {"app.text-flow-subtract-frame", N_("Set Subtraction Frames"), "Text", N_("Flow text around a frame (path or shape), only available for SVG 2.0 Flow text.")}, + {"app.text-unflow", N_("Unflow"), "Text", N_("Remove text from frame (creates a single-line text object)")}, + {"app.text-convert-to-regular", N_("Convert to Text"), "Text", N_("Convert flowed text to regular text object (preserves appearance)")}, + {"app.text-unkern", N_("Remove Manual Kerns"), "Text", N_("Remove all manual kerns and glyph rotations from a text object")} // clang-format on }; -- GitLab From e60609f83086ed6c4cd93b43d61570bc0274e9a8 Mon Sep 17 00:00:00 2001 From: Israa Sayed Date: Thu, 31 Mar 2022 14:41:56 +0000 Subject: [PATCH 2/4] Remove underscores in shortcut names --- src/actions/actions-layer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/actions/actions-layer.cpp b/src/actions/actions-layer.cpp index 78504d749d..5e96330586 100644 --- a/src/actions/actions-layer.cpp +++ b/src/actions/actions-layer.cpp @@ -460,11 +460,11 @@ std::vector> raw_data_layer = {"win.layer-toggle-hide", N_("Show/Hide Current Layer"), "Layers", N_("Toggle visibility of current layer")}, {"win.layer-toggle-lock", N_("Lock/Unlock Current Layer"), "Layers", N_("Toggle lock on current layer")}, - {"win.layer-previous", N_("Switch to Layer Abov_e"), "Layers", N_("Switch to the layer above the current")}, - {"win.layer-next", N_("Switch to Layer Belo_w"), "Layers", N_("Switch to the layer below the current")}, + {"win.layer-previous", N_("Switch to Layer Above"), "Layers", N_("Switch to the layer above the current")}, + {"win.layer-next", N_("Switch to Layer Below"), "Layers", N_("Switch to the layer below the current")}, {"win.selection-move-to-layer-above", N_("Move Selection to Layer Above"), "Layers", N_("Move selection to the layer above the current")}, - {"win.selection-move-to-layer-below", N_("Move Selection to Layer Bel_ow"), "Layers", N_("Move selection to the layer below the current")}, + {"win.selection-move-to-layer-below", N_("Move Selection to Layer Below"), "Layers", N_("Move selection to the layer below the current")}, {"win.selection-move-to-layer", N_("Move Selection to Layer..."), "Layers", N_("Move selection to layer")}, {"win.layer-top", N_("Layer to Top"), "Layers", N_("Raise the current layer to the top")}, -- GitLab From 6b8fcae700a0ef60a35090dd5859059dcbdd008c Mon Sep 17 00:00:00 2001 From: Israa Sayed Date: Thu, 31 Mar 2022 14:57:51 +0000 Subject: [PATCH 3/4] Add spaces in shortcut names --- src/actions/actions-dialogs.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/actions/actions-dialogs.cpp b/src/actions/actions-dialogs.cpp index 634cbe6feb..d0a5084d35 100644 --- a/src/actions/actions-dialogs.cpp +++ b/src/actions/actions-dialogs.cpp @@ -31,33 +31,33 @@ std::vector> raw_data_dialogs = { // clang-format off - {"win.dialog-open('AlignDistribute')", N_("Open AlignDistribute"), "Dialog", N_("Align and distribute objects") }, - {"win.dialog-open('CloneTiler')", N_("Open CloneTiler"), "Dialog", N_("Create multiple clones of selected object, arranging them into a pattern or scattering") }, - {"win.dialog-open('DocumentProperties')", N_("Open DocumentProperties"), "Dialog", N_("Edit properties of this document (to be saved with the document)") }, + {"win.dialog-open('AlignDistribute')", N_("Open Align and Distribute"), "Dialog", N_("Align and distribute objects") }, + {"win.dialog-open('CloneTiler')", N_("Open Clone Tiler"), "Dialog", N_("Create multiple clones of selected object, arranging them into a pattern or scattering") }, + {"win.dialog-open('DocumentProperties')", N_("Open Document Properties"), "Dialog", N_("Edit properties of this document (to be saved with the document)") }, {"win.dialog-open('Export')", N_("Open Export"), "Dialog", N_("Export this document or a selection as a PNG image") }, - {"win.dialog-open('FillStroke')", N_("Open FillStroke"), "Dialog", N_("Edit objects' colors, gradients, arrowheads, and other fill and stroke properties...") }, - {"win.dialog-open('FilterEffects')", N_("Open FilterEffects"), "Dialog", N_("Manage, edit, and apply SVG filters") }, + {"win.dialog-open('FillStroke')", N_("Open Fill Stroke"), "Dialog", N_("Edit objects' colors, gradients, arrowheads, and other fill and stroke properties...") }, + {"win.dialog-open('FilterEffects')", N_("Open Filter Effects"), "Dialog", N_("Manage, edit, and apply SVG filters") }, {"win.dialog-open('Find')", N_("Open Find"), "Dialog", N_("Find objects in document") }, {"win.dialog-open('Glyphs')", N_("Open Glyphs"), "Dialog", N_("Select Unicode characters from a palette") }, - {"win.dialog-open('IconPreview')", N_("Open IconPreview"), "Dialog", N_("Preview Icon") }, + {"win.dialog-open('IconPreview')", N_("Open Icon Preview"), "Dialog", N_("Preview Icon") }, {"win.dialog-open('Input')", N_("Open Input"), "Dialog", N_("Configure extended input devices, such as a graphics tablet") }, - {"win.dialog-open('LivePathEffect')", N_("Open LivePathEffect"), "Dialog", N_("Manage, edit, and apply path effects") }, + {"win.dialog-open('LivePathEffect')", N_("Open Live Path Effect"), "Dialog", N_("Manage, edit, and apply path effects") }, {"win.dialog-open('Memory')", N_("Open Memory"), "Dialog", N_("View memory use") }, {"win.dialog-open('Messages')", N_("Open Messages"), "Dialog", N_("View debug messages") }, - {"win.dialog-open('ObjectAttributes')", N_("Open ObjectAttributes"), "Dialog", N_("Edit the object attributes (context dependent)...") }, - {"win.dialog-open('ObjectProperties')", N_("Open ObjectProperties"), "Dialog", N_("Edit the ID, locked and visible status, and other object properties") }, + {"win.dialog-open('ObjectAttributes')", N_("Open Object Attributes"), "Dialog", N_("Edit the object attributes (context dependent)...") }, + {"win.dialog-open('ObjectProperties')", N_("Open Object Properties"), "Dialog", N_("Edit the ID, locked and visible status, and other object properties") }, {"win.dialog-open('Objects')", N_("Open Objects"), "Dialog", N_("View Objects") }, - {"win.dialog-open('PaintServers')", N_("Open PaintServers"), "Dialog", N_("Select paint server from a collection") }, + {"win.dialog-open('PaintServers')", N_("Open Paint Servers"), "Dialog", N_("Select paint server from a collection") }, {"win.dialog-open('Preferences')", N_("Open Preferences"), "Dialog", N_("Edit global Inkscape preferences") }, {"win.dialog-open('Selectors')", N_("Open Selectors"), "Dialog", N_("View and edit CSS selectors and styles") }, - {"win.dialog-open('SVGFonts')", N_("Open SVGFonts"), "Dialog", N_("Edit SVG fonts") }, + {"win.dialog-open('SVGFonts')", N_("Open SVG Fonts"), "Dialog", N_("Edit SVG fonts") }, {"win.dialog-open('Swatches')", N_("Open Swatches"), "Dialog", N_("Select colors from a swatches palette") /* TRANSLATORS: "Swatches" -> color samples */ }, {"win.dialog-open('Symbols')", N_("Open Symbols"), "Dialog", N_("Select symbol from a symbols palette") }, {"win.dialog-open('Text')", N_("Open Text"), "Dialog", N_("View and select font family, font size and other text properties") }, {"win.dialog-open('Trace')", N_("Open Trace"), "Dialog", N_("Create one or more paths from a bitmap by tracing it") }, {"win.dialog-open('Transform')", N_("Open Transform"), "Dialog", N_("Precisely control objects' transformations") }, - {"win.dialog-open('UndoHistory')", N_("Open UndoHistory"), "Dialog", N_("Undo History") }, - {"win.dialog-open('XMLEditor')", N_("Open XMLEditor"), "Dialog", N_("View and edit the XML tree of the document") }, + {"win.dialog-open('UndoHistory')", N_("Open Undo History"), "Dialog", N_("Undo History") }, + {"win.dialog-open('XMLEditor')", N_("Open XML Editor"), "Dialog", N_("View and edit the XML tree of the document") }, {"app.preferences", N_("Open Preferences"), "Dialog", N_("Edit global Inkscape preferences") }, #if WITH_GSPELL {"win.dialog-open('Spellcheck')", N_("Open Spellcheck"), "Dialog", N_("Check spelling of text in document") }, -- GitLab From c86c64eab9f11565cc52eaf152e9c0849eee0603 Mon Sep 17 00:00:00 2001 From: Israa Sayed Date: Thu, 31 Mar 2022 18:17:09 +0000 Subject: [PATCH 4/4] Edit Fill and Stroke shortcut name --- src/actions/actions-dialogs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/actions-dialogs.cpp b/src/actions/actions-dialogs.cpp index d0a5084d35..43c610e561 100644 --- a/src/actions/actions-dialogs.cpp +++ b/src/actions/actions-dialogs.cpp @@ -35,7 +35,7 @@ std::vector> raw_data_dialogs = {"win.dialog-open('CloneTiler')", N_("Open Clone Tiler"), "Dialog", N_("Create multiple clones of selected object, arranging them into a pattern or scattering") }, {"win.dialog-open('DocumentProperties')", N_("Open Document Properties"), "Dialog", N_("Edit properties of this document (to be saved with the document)") }, {"win.dialog-open('Export')", N_("Open Export"), "Dialog", N_("Export this document or a selection as a PNG image") }, - {"win.dialog-open('FillStroke')", N_("Open Fill Stroke"), "Dialog", N_("Edit objects' colors, gradients, arrowheads, and other fill and stroke properties...") }, + {"win.dialog-open('FillStroke')", N_("Open Fill and Stroke"), "Dialog", N_("Edit objects' colors, gradients, arrowheads, and other fill and stroke properties...") }, {"win.dialog-open('FilterEffects')", N_("Open Filter Effects"), "Dialog", N_("Manage, edit, and apply SVG filters") }, {"win.dialog-open('Find')", N_("Open Find"), "Dialog", N_("Find objects in document") }, {"win.dialog-open('Glyphs')", N_("Open Glyphs"), "Dialog", N_("Select Unicode characters from a palette") }, -- GitLab