diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2011-04-21 15:14:10 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2011-04-21 15:14:10 +0000 |
| commit | 6b38df080f453bfade2625985d2e6753e9a3f196 (patch) | |
| tree | f371e1f3e596153acaf50c237868d67cffc6990c | |
| parent | Partial update of Russian translation (diff) | |
| download | inkscape-6b38df080f453bfade2625985d2e6753e9a3f196.tar.gz inkscape-6b38df080f453bfade2625985d2e6753e9a3f196.zip | |
UI. New mnemonics (see Bug #768277 , Add mnemonics for menu items without verbs / default key mapping).
Fixed bugs:
- https://launchpad.net/bugs/768277
(bzr r10187)
| -rw-r--r-- | src/interface.cpp | 6 | ||||
| -rw-r--r-- | src/menus-skeleton.h | 2 | ||||
| -rw-r--r-- | src/verbs.cpp | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/interface.cpp b/src/interface.cpp index 4ac82a509..f27700c25 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -829,11 +829,11 @@ sp_ui_checkboxes_menus(GtkMenu *m, Inkscape::UI::View::View *view) { //sp_ui_menu_append_check_item_from_verb(m, view, _("_Menu"), _("Show or hide the menu bar"), "menu", // checkitem_toggled, checkitem_update, 0); - sp_ui_menu_append_check_item_from_verb(m, view, _("Commands Bar"), _("Show or hide the Commands bar (under the menu)"), "commands", + sp_ui_menu_append_check_item_from_verb(m, view, _("_Commands Bar"), _("Show or hide the Commands bar (under the menu)"), "commands", checkitem_toggled, checkitem_update, 0); - sp_ui_menu_append_check_item_from_verb(m, view, _("Snap Controls Bar"), _("Show or hide the snapping controls"), "snaptoolbox", + sp_ui_menu_append_check_item_from_verb(m, view, _("Sn_ap Controls Bar"), _("Show or hide the snapping controls"), "snaptoolbox", checkitem_toggled, checkitem_update, 0); - sp_ui_menu_append_check_item_from_verb(m, view, _("Tool Controls Bar"), _("Show or hide the Tool Controls bar"), "toppanel", + sp_ui_menu_append_check_item_from_verb(m, view, _("T_ool Controls Bar"), _("Show or hide the Tool Controls bar"), "toppanel", checkitem_toggled, checkitem_update, 0); sp_ui_menu_append_check_item_from_verb(m, view, _("_Toolbox"), _("Show or hide the main toolbox (on the left)"), "toolbox", checkitem_toggled, checkitem_update, 0); diff --git a/src/menus-skeleton.h b/src/menus-skeleton.h index f1b633865..080163d48 100644 --- a/src/menus-skeleton.h +++ b/src/menus-skeleton.h @@ -126,7 +126,7 @@ static char const menus_skeleton[] = " <verb verb-id=\"ToggleSnapGlobal\" />\n" " <verb verb-id=\"ViewCmsToggle\" />\n" " <separator/>\n" -" <submenu name=\"" N_("Show/Hide") "\">\n" +" <submenu name=\"" N_("Sh_ow/Hide") "\">\n" " <objects-checkboxes/>\n" " </submenu>\n" " <verb verb-id=\"DialogsToggle\" />\n" diff --git a/src/verbs.cpp b/src/verbs.cpp index 1ad68b792..4dbe15a03 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -2298,7 +2298,7 @@ Verb *Verb::_base_verbs[] = { N_("Apply the path effect of the copied object to selection"), NULL), new EditVerb(SP_VERB_EDIT_REMOVE_LIVEPATHEFFECT, "RemoveLivePathEffect", N_("Remove Path _Effect"), N_("Remove any path effects from selected objects"), NULL), - new EditVerb(SP_VERB_EDIT_REMOVE_FILTER, "RemoveFilter", N_("Remove Filters"), + new EditVerb(SP_VERB_EDIT_REMOVE_FILTER, "RemoveFilter", N_("_Remove Filters"), N_("Remove any filters from selected objects"), NULL), new EditVerb(SP_VERB_EDIT_DELETE, "EditDelete", N_("_Delete"), N_("Delete selection"), GTK_STOCK_DELETE), @@ -2645,7 +2645,7 @@ Verb *Verb::_base_verbs[] = { N_("Edit document metadata (to be saved with the document)"), INKSCAPE_ICON_DOCUMENT_METADATA ), new DialogVerb(SP_VERB_DIALOG_FILL_STROKE, "DialogFillStroke", N_("_Fill and Stroke..."), N_("Edit objects' colors, gradients, arrowheads, and other fill and stroke properties..."), INKSCAPE_ICON_DIALOG_FILL_AND_STROKE), - new DialogVerb(SP_VERB_DIALOG_GLYPHS, "DialogGlyphs", N_("Glyphs..."), + new DialogVerb(SP_VERB_DIALOG_GLYPHS, "DialogGlyphs", N_("Gl_yphs..."), N_("Select characters from a glyphs palette"), GTK_STOCK_SELECT_FONT), // TRANSLATORS: "Swatches" means: color samples new DialogVerb(SP_VERB_DIALOG_SWATCHES, "DialogSwatches", N_("S_watches..."), @@ -2690,7 +2690,7 @@ Verb *Verb::_base_verbs[] = { N_("View Layers"), INKSCAPE_ICON_DIALOG_LAYERS), new DialogVerb(SP_VERB_DIALOG_LIVE_PATH_EFFECT, "DialogLivePathEffect", N_("Path E_ffect Editor..."), N_("Manage, edit, and apply path effects"), NULL), - new DialogVerb(SP_VERB_DIALOG_FILTER_EFFECTS, "DialogFilterEffects", N_("Filter Editor..."), + new DialogVerb(SP_VERB_DIALOG_FILTER_EFFECTS, "DialogFilterEffects", N_("Filter _Editor..."), N_("Manage, edit, and apply SVG filters"), NULL), new DialogVerb(SP_VERB_DIALOG_SVG_FONTS, "DialogSVGFonts", N_("SVG Font Editor..."), N_("Edit SVG fonts"), NULL), @@ -2727,9 +2727,9 @@ Verb *Verb::_base_verbs[] = { N_("Miscellaneous tips and tricks"), NULL/*"tutorial_tips"*/), /* Effect -- renamed Extension */ - new EffectLastVerb(SP_VERB_EFFECT_LAST, "EffectLast", N_("Previous Extension"), + new EffectLastVerb(SP_VERB_EFFECT_LAST, "EffectLast", N_("Previous Exte_nsion"), N_("Repeat the last extension with the same settings"), NULL), - new EffectLastVerb(SP_VERB_EFFECT_LAST_PREF, "EffectLastPref", N_("Previous Extension Settings..."), + new EffectLastVerb(SP_VERB_EFFECT_LAST_PREF, "EffectLastPref", N_("_Previous Extension Settings..."), N_("Repeat the last extension with new settings"), NULL), /* Fit Page */ |
