Add access keys to non-keyboard-accessible menu items

Fix #9875, close #9876
This commit is contained in:
debiedowner 2021-05-16 10:00:17 +03:00 committed by Don HO
parent 6d25b8b908
commit 32dce9b54e
2 changed files with 90 additions and 90 deletions

View File

@ -23,26 +23,26 @@ The comments are here for explanation, it's not necessary to translate them.
</Entries>
<!-- Sub Menu Entries -->
<SubEntries>
<Item subMenuId="file-openFolder" name="Open Containing Folder"/>
<Item subMenuId="file-closeMore" name="Close More"/>
<Item subMenuId="file-openFolder" name="Open Containing &amp;Folder"/>
<Item subMenuId="file-closeMore" name="Close &amp;More"/>
<Item subMenuId="file-recentFiles" name="&amp;Recent Files"/>
<Item subMenuId="edit-copyToClipboard" name="Copy to Clipboard"/>
<Item subMenuId="edit-indent" name="Indent"/>
<Item subMenuId="edit-convertCaseTo" name="Convert Case to"/>
<Item subMenuId="edit-lineOperations" name="Line Operations"/>
<Item subMenuId="edit-comment" name="Comment/Uncomment"/>
<Item subMenuId="edit-autoCompletion" name="Auto-Completion"/>
<Item subMenuId="edit-eolConversion" name="EOL Conversion"/>
<Item subMenuId="edit-blankOperations" name="Blank Operations"/>
<Item subMenuId="edit-pasteSpecial" name="Paste Special"/>
<Item subMenuId="edit-onSelection" name="On Selection"/>
<Item subMenuId="search-markAll" name="Mark All"/>
<Item subMenuId="search-markOne" name="Mark One"/>
<Item subMenuId="search-unmarkAll" name="Unmark All"/>
<Item subMenuId="search-jumpUp" name="Jump Up"/>
<Item subMenuId="search-jumpDown" name="Jump Down"/>
<Item subMenuId="search-copyStyledText" name="Copy Styled Text"/>
<Item subMenuId="search-bookmark" name="Bookmark"/>
<Item subMenuId="edit-copyToClipboard" name="Cop&amp;y to Clipboard"/>
<Item subMenuId="edit-indent" name="&amp;Indent"/>
<Item subMenuId="edit-convertCaseTo" name="Con&amp;vert Case to"/>
<Item subMenuId="edit-lineOperations" name="&amp;Line Operations"/>
<Item subMenuId="edit-comment" name="Co&amp;mment/Uncomment"/>
<Item subMenuId="edit-autoCompletion" name="&amp;Auto-Completion"/>
<Item subMenuId="edit-eolConversion" name="&amp;EOL Conversion"/>
<Item subMenuId="edit-blankOperations" name="&amp;Blank Operations"/>
<Item subMenuId="edit-pasteSpecial" name="&amp;Paste Special"/>
<Item subMenuId="edit-onSelection" name="&amp;On Selection"/>
<Item subMenuId="search-markAll" name="Mark &amp;All"/>
<Item subMenuId="search-markOne" name="Mark &amp;One"/>
<Item subMenuId="search-unmarkAll" name="&amp;Unmark All"/>
<Item subMenuId="search-jumpUp" name="&amp;Jump Up"/>
<Item subMenuId="search-jumpDown" name="Jump &amp;Down"/>
<Item subMenuId="search-copyStyledText" name="&amp;Copy Styled Text"/>
<Item subMenuId="search-bookmark" name="&amp;Bookmark"/>
<Item subMenuId="view-currentFileIn" name="View Current File in"/>
<Item subMenuId="view-showSymbol" name="Show Symbol"/>
<Item subMenuId="view-zoom" name="Zoom"/>
@ -90,26 +90,26 @@ The comments are here for explanation, it's not necessary to translate them.
<Item id="41006" name="&amp;Save"/>
<Item id="41007" name="Sav&amp;e All"/>
<Item id="41008" name="Save &amp;As..."/>
<Item id="41010" name="Print..."/>
<Item id="1001" name="Print Now"/>
<Item id="41010" name="&amp;Print..."/>
<Item id="1001" name="Print No&amp;w"/>
<Item id="41011" name="E&amp;xit"/>
<Item id="41012" name="Load Session..."/>
<Item id="41013" name="Save Session..."/>
<Item id="41012" name="Load Sess&amp;ion..."/>
<Item id="41013" name="Save Sess&amp;ion..."/>
<Item id="41014" name="Re&amp;load from Disk"/>
<Item id="41015" name="Save a Copy As..."/>
<Item id="41016" name="Move to Recycle Bin"/>
<Item id="41017" name="Rename..."/>
<Item id="41015" name="Save a Cop&amp;y As..."/>
<Item id="41016" name="Move to Recycle &amp;Bin"/>
<Item id="41017" name="&amp;Rename..."/>
<Item id="41021" name="Restore Recent Closed File"/>
<Item id="41022" name="Open Folder as Workspace..."/>
<Item id="41023" name="Open in Default Viewer"/>
<Item id="41022" name="Open Folder as &amp;Workspace..."/>
<Item id="41023" name="Open in &amp;Default Viewer"/>
<Item id="42001" name="Cu&amp;t"/>
<Item id="42002" name="&amp;Copy"/>
<Item id="42003" name="&amp;Undo"/>
<Item id="42004" name="&amp;Redo"/>
<Item id="42005" name="&amp;Paste"/>
<Item id="42006" name="&amp;Delete"/>
<Item id="42007" name="Select A&amp;ll"/>
<Item id="42020" name="Begin/End Select"/>
<Item id="42007" name="&amp;Select All"/>
<Item id="42020" name="Begin/End &amp;Select"/>
<Item id="42008" name="Increase Line Indent"/>
<Item id="42009" name="Decrease Line Indent"/>
<Item id="42010" name="Duplicate Current Line"/>
@ -164,13 +164,13 @@ The comments are here for explanation, it's not necessary to translate them.
<Item id="42050" name="Paste Binary Content"/>
<Item id="42082" name="Copy link"/>
<Item id="42037" name="Column Mode..."/>
<Item id="42034" name="Column Editor..."/>
<Item id="42051" name="Character Panel"/>
<Item id="42052" name="Clipboard History"/>
<Item id="42034" name="Colum&amp;n Editor..."/>
<Item id="42051" name="Character &amp;Panel"/>
<Item id="42052" name="Clipboard &amp;History"/>
<Item id="42025" name="&amp;Save Currently Recorded Macro..."/>
<Item id="42026" name="Text Direction RTL"/>
<Item id="42027" name="Text Direction LTR"/>
<Item id="42028" name="Set Read-Only"/>
<Item id="42028" name="&amp;Set Read-Only"/>
<Item id="42029" name="Current File Path to Clipboard"/>
<Item id="42030" name="Current Filename to Clipboard"/>
<Item id="42031" name="Current Dir. Path to Clipboard"/>
@ -196,14 +196,14 @@ The comments are here for explanation, it's not necessary to translate them.
<Item id="43021" name="Remove Bookmarked Lines"/>
<Item id="43051" name="Remove Unmarked Lines"/>
<Item id="43050" name="Inverse Bookmark"/>
<Item id="43052" name="Find characters in range..."/>
<Item id="43053" name="Select All Between Matching Braces"/>
<Item id="43009" name="Go to Matching Brace"/>
<Item id="43052" name="Find characters in rang&amp;e..."/>
<Item id="43053" name="Select All Between &amp;Matching Braces"/>
<Item id="43009" name="Go to &amp;Matching Brace"/>
<Item id="43010" name="Find &amp;Previous"/>
<Item id="43011" name="&amp;Incremental Search"/>
<Item id="43013" name="Find in Files"/>
<Item id="43014" name="Find (Volatile) Next"/>
<Item id="43015" name="Find (Volatile) Previous"/>
<Item id="43013" name="Find in Fi&amp;les"/>
<Item id="43014" name="Find (&amp;Volatile) Next"/>
<Item id="43015" name="Find (&amp;Volatile) Previous"/>
<Item id="43022" name="Using 1st Style"/>
<Item id="43023" name="Clear 1st Style"/>
<Item id="43024" name="Using 2nd Style"/>
@ -239,11 +239,11 @@ The comments are here for explanation, it's not necessary to translate them.
<Item id="43064" name="Using 3rd Style"/>
<Item id="43065" name="Using 4th Style"/>
<Item id="43066" name="Using 5th Style"/>
<Item id="43045" name="Search Results Window"/>
<Item id="43046" name="Next Search Result"/>
<Item id="43047" name="Previous Search Result"/>
<Item id="43048" name="Select and Find Next"/>
<Item id="43049" name="Select and Find Previous"/>
<Item id="43045" name="Search Results &amp;Window"/>
<Item id="43046" name="Next Search Resul&amp;t"/>
<Item id="43047" name="Previous Search Resul&amp;t"/>
<Item id="43048" name="&amp;Select and Find Next"/>
<Item id="43049" name="&amp;Select and Find Previous"/>
<Item id="43054" name="Mar&amp;k..."/>
<Item id="44009" name="Post-It"/>
<Item id="44010" name="Fold All"/>

View File

@ -356,37 +356,37 @@ BEGIN
BEGIN
MENUITEM "&New", IDM_FILE_NEW
MENUITEM "&Open...", IDM_FILE_OPEN
POPUP "Open Containing Folder"
POPUP "Open Containing &Folder"
BEGIN
MENUITEM "Explorer", IDM_FILE_OPEN_FOLDER
MENUITEM "cmd", IDM_FILE_OPEN_CMD
MENUITEM SEPARATOR
MENUITEM "Folder as Workspace", IDM_FILE_CONTAININGFOLDERASWORKSPACE
END
MENUITEM "Open in Default Viewer", IDM_FILE_OPEN_DEFAULT_VIEWER
MENUITEM "Open Folder as Workspace...", IDM_FILE_OPENFOLDERASWORSPACE
MENUITEM "Open in &Default Viewer", IDM_FILE_OPEN_DEFAULT_VIEWER
MENUITEM "Open Folder as &Workspace...", IDM_FILE_OPENFOLDERASWORSPACE
MENUITEM "Re&load from Disk", IDM_FILE_RELOAD
MENUITEM "&Save", IDM_FILE_SAVE
MENUITEM "Save &As...", IDM_FILE_SAVEAS
MENUITEM "Save a Copy As...", IDM_FILE_SAVECOPYAS
MENUITEM "Save a Cop&y As...", IDM_FILE_SAVECOPYAS
MENUITEM "Sa&ve All", IDM_FILE_SAVEALL
MENUITEM "Rename...", IDM_FILE_RENAME
MENUITEM "&Rename...", IDM_FILE_RENAME
MENUITEM "&Close", IDM_FILE_CLOSE
MENUITEM "Clos&e All", IDM_FILE_CLOSEALL
POPUP "Close More"
POPUP "Close &More"
BEGIN
MENUITEM "Close All but Active Document", IDM_FILE_CLOSEALL_BUT_CURRENT
MENUITEM "Close All to the Left", IDM_FILE_CLOSEALL_TOLEFT
MENUITEM "Close All to the Right", IDM_FILE_CLOSEALL_TORIGHT
MENUITEM "Close All Unchanged", IDM_FILE_CLOSEALL_UNCHANGED
END
MENUITEM "Move to Recycle Bin", IDM_FILE_DELETE
MENUITEM "Move to Recycle &Bin", IDM_FILE_DELETE
MENUITEM SEPARATOR
MENUITEM "Load Session...", IDM_FILE_LOADSESSION
MENUITEM "Save Session...", IDM_FILE_SAVESESSION
MENUITEM "Load Sess&ion...", IDM_FILE_LOADSESSION
MENUITEM "Save Sess&ion...", IDM_FILE_SAVESESSION
MENUITEM SEPARATOR
MENUITEM "Print...", IDM_FILE_PRINT
MENUITEM "Print Now", IDM_FILE_PRINTNOW
MENUITEM "&Print...", IDM_FILE_PRINT
MENUITEM "Print No&w", IDM_FILE_PRINTNOW
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_FILE_EXIT
END
@ -400,21 +400,21 @@ BEGIN
MENUITEM "&Copy", IDM_EDIT_COPY
MENUITEM "&Paste", IDM_EDIT_PASTE
MENUITEM "&Delete", IDM_EDIT_DELETE
MENUITEM "Select A&ll", IDM_EDIT_SELECTALL
MENUITEM "Begin/End Select", IDM_EDIT_BEGINENDSELECT
MENUITEM "&Select All", IDM_EDIT_SELECTALL
MENUITEM "Begin/End &Select", IDM_EDIT_BEGINENDSELECT
MENUITEM SEPARATOR
POPUP "Copy to Clipboard"
POPUP "Cop&y to Clipboard"
BEGIN
MENUITEM "Current Full File path to Clipboard", IDM_EDIT_FULLPATHTOCLIP
MENUITEM "Current Filename to Clipboard", IDM_EDIT_FILENAMETOCLIP
MENUITEM "Current Dir. Path to Clipboard", IDM_EDIT_CURRENTDIRTOCLIP
END
POPUP "Indent"
POPUP "&Indent"
BEGIN
MENUITEM "Increase Line Indent", IDM_EDIT_INS_TAB
MENUITEM "Decrease Line Indent", IDM_EDIT_RMV_TAB
END
POPUP "Convert Case to"
POPUP "Con&vert Case to"
BEGIN
MENUITEM "&UPPERCASE", IDM_EDIT_UPPERCASE
MENUITEM "&lowercase", IDM_EDIT_LOWERCASE
@ -425,7 +425,7 @@ BEGIN
MENUITEM "&iNVERT cASE", IDM_EDIT_INVERTCASE
MENUITEM "&ranDOm CasE", IDM_EDIT_RANDOMCASE
END
POPUP "Line Operations"
POPUP "&Line Operations"
BEGIN
MENUITEM "Duplicate Current Line", IDM_EDIT_DUP_LINE
MENUITEM "Remove Duplicate Lines", IDM_EDIT_REMOVE_ANY_DUP_LINES
@ -453,7 +453,7 @@ BEGIN
MENUITEM "Sort Lines As Decimals (Comma) Descending", IDM_EDIT_SORTLINES_DECIMALCOMMA_DESCENDING
MENUITEM "Sort Lines As Decimals (Dot) Descending", IDM_EDIT_SORTLINES_DECIMALDOT_DESCENDING
END
POPUP "Comment/Uncomment"
POPUP "Co&mment/Uncomment"
BEGIN
MENUITEM "Toggle Single Line Comment", IDM_EDIT_BLOCK_COMMENT
MENUITEM "Single Line Comment", IDM_EDIT_BLOCK_COMMENT_SET
@ -461,20 +461,20 @@ BEGIN
MENUITEM "Block Comment", IDM_EDIT_STREAM_COMMENT
MENUITEM "Block Uncomment", IDM_EDIT_STREAM_UNCOMMENT
END
POPUP "Auto-Completion"
POPUP "&Auto-Completion"
BEGIN
MENUITEM "Function Completion", IDM_EDIT_AUTOCOMPLETE
MENUITEM "Word Completion", IDM_EDIT_AUTOCOMPLETE_CURRENTFILE
MENUITEM "Function Parameters Hint", IDM_EDIT_FUNCCALLTIP
MENUITEM "Path Completion", IDM_EDIT_AUTOCOMPLETE_PATH
END
POPUP "EOL Conversion"
POPUP "&EOL Conversion"
BEGIN
MENUITEM "Windows (CR LF)", IDM_FORMAT_TODOS
MENUITEM "Unix (LF)", IDM_FORMAT_TOUNIX
MENUITEM "Macintosh (CR)", IDM_FORMAT_TOMAC
END
POPUP "Blank Operations"
POPUP "&Blank Operations"
BEGIN
MENUITEM "Trim Trailing Space", IDM_EDIT_TRIMTRAILING
MENUITEM "Trim Leading Space", IDM_EDIT_TRIMLINEHEAD
@ -486,7 +486,7 @@ BEGIN
MENUITEM "Space to TAB (All)", IDM_EDIT_SW2TAB_ALL
MENUITEM "Space to TAB (Leading)", IDM_EDIT_SW2TAB_LEADING
END
POPUP "Paste Special"
POPUP "&Paste Special"
BEGIN
MENUITEM "Paste HTML Content", IDM_EDIT_PASTE_AS_HTML
MENUITEM "Paste RTF Content", IDM_EDIT_PASTE_AS_RTF
@ -495,7 +495,7 @@ BEGIN
MENUITEM "Cut Binary Content", IDM_EDIT_CUT_BINARY
MENUITEM "Paste Binary Content", IDM_EDIT_PASTE_BINARY
END
POPUP "On Selection"
POPUP "&On Selection"
BEGIN
MENUITEM "Open File", IDM_EDIT_OPENASFILE
MENUITEM "Open Containing Folder in Explorer", IDM_EDIT_OPENINFOLDER
@ -505,36 +505,36 @@ BEGIN
END
MENUITEM SEPARATOR
MENUITEM "Column Mode...", IDM_EDIT_COLUMNMODETIP
MENUITEM "Column Editor...", IDM_EDIT_COLUMNMODE
MENUITEM "Character Panel", IDM_EDIT_CHAR_PANEL
MENUITEM "Clipboard History", IDM_EDIT_CLIPBOARDHISTORY_PANEL
MENUITEM "Colum&n Editor...", IDM_EDIT_COLUMNMODE
MENUITEM "Character &Panel", IDM_EDIT_CHAR_PANEL
MENUITEM "Clipboard &History", IDM_EDIT_CLIPBOARDHISTORY_PANEL
MENUITEM SEPARATOR
MENUITEM "Set Read-Only", IDM_EDIT_SETREADONLY
MENUITEM "&Set Read-Only", IDM_EDIT_SETREADONLY
MENUITEM "Clear Read-Only Flag", IDM_EDIT_CLEARREADONLY
END
POPUP "&Search"
BEGIN
MENUITEM "&Find...", IDM_SEARCH_FIND
MENUITEM "Find in Files...", IDM_SEARCH_FINDINFILES
MENUITEM "Find in Fi&les...", IDM_SEARCH_FINDINFILES
MENUITEM "Find &Next", IDM_SEARCH_FINDNEXT
MENUITEM "Find &Previous", IDM_SEARCH_FINDPREV
MENUITEM "Select and Find Next", IDM_SEARCH_SETANDFINDNEXT
MENUITEM "Select and Find Previous", IDM_SEARCH_SETANDFINDPREV
MENUITEM "Find (Volatile) Next", IDM_SEARCH_VOLATILE_FINDNEXT
MENUITEM "Find (Volatile) Previous", IDM_SEARCH_VOLATILE_FINDPREV
MENUITEM "&Select and Find Next", IDM_SEARCH_SETANDFINDNEXT
MENUITEM "&Select and Find Previous", IDM_SEARCH_SETANDFINDPREV
MENUITEM "Find (&Volatile) Next", IDM_SEARCH_VOLATILE_FINDNEXT
MENUITEM "Find (&Volatile) Previous", IDM_SEARCH_VOLATILE_FINDPREV
MENUITEM "&Replace...", IDM_SEARCH_REPLACE
MENUITEM "&Incremental Search", IDM_SEARCH_FINDINCREMENT
MENUITEM "Search Results Window", IDM_FOCUS_ON_FOUND_RESULTS
MENUITEM "Next Search Result", IDM_SEARCH_GOTONEXTFOUND
MENUITEM "Previous Search Result", IDM_SEARCH_GOTOPREVFOUND
MENUITEM "Search Results &Window", IDM_FOCUS_ON_FOUND_RESULTS
MENUITEM "Next Search Resul&t", IDM_SEARCH_GOTONEXTFOUND
MENUITEM "Previous Search Resul&t", IDM_SEARCH_GOTOPREVFOUND
MENUITEM "&Go to...", IDM_SEARCH_GOTOLINE
MENUITEM "Go to Matching Brace", IDM_SEARCH_GOTOMATCHINGBRACE
MENUITEM "Select All Between Matching Braces", IDM_SEARCH_SELECTMATCHINGBRACES
MENUITEM "Go to &Matching Brace", IDM_SEARCH_GOTOMATCHINGBRACE
MENUITEM "Select All Between &Matching Braces", IDM_SEARCH_SELECTMATCHINGBRACES
MENUITEM "Mar&k...", IDM_SEARCH_MARK
MENUITEM SEPARATOR
POPUP "Mark All"
POPUP "Mark &All"
BEGIN
MENUITEM "Using 1st Style", IDM_SEARCH_MARKALLEXT1
MENUITEM "Using 2nd Style", IDM_SEARCH_MARKALLEXT2
@ -542,7 +542,7 @@ BEGIN
MENUITEM "Using 4th Style", IDM_SEARCH_MARKALLEXT4
MENUITEM "Using 5th Style", IDM_SEARCH_MARKALLEXT5
END
POPUP "Mark One"
POPUP "Mark &One"
BEGIN
MENUITEM "Using 1st Style", IDM_SEARCH_MARKONEEXT1
MENUITEM "Using 2nd Style", IDM_SEARCH_MARKONEEXT2
@ -550,7 +550,7 @@ BEGIN
MENUITEM "Using 4th Style", IDM_SEARCH_MARKONEEXT4
MENUITEM "Using 5th Style", IDM_SEARCH_MARKONEEXT5
END
POPUP "Unmark All"
POPUP "&Unmark All"
BEGIN
MENUITEM "Clear 1st Style", IDM_SEARCH_UNMARKALLEXT1
MENUITEM "Clear 2nd Style", IDM_SEARCH_UNMARKALLEXT2
@ -559,7 +559,7 @@ BEGIN
MENUITEM "Clear 5th Style", IDM_SEARCH_UNMARKALLEXT5
MENUITEM "Clear all Styles", IDM_SEARCH_CLEARALLMARKS
END
POPUP "Jump up"
POPUP "&Jump Up"
BEGIN
MENUITEM "1st Style", IDM_SEARCH_GOPREVMARKER1
MENUITEM "2nd Style", IDM_SEARCH_GOPREVMARKER2
@ -568,7 +568,7 @@ BEGIN
MENUITEM "5th Style", IDM_SEARCH_GOPREVMARKER5
MENUITEM "Find Style", IDM_SEARCH_GOPREVMARKER_DEF
END
POPUP "Jump down"
POPUP "Jump &Down"
BEGIN
MENUITEM "1st Style", IDM_SEARCH_GONEXTMARKER1
MENUITEM "2nd Style", IDM_SEARCH_GONEXTMARKER2
@ -577,7 +577,7 @@ BEGIN
MENUITEM "5th Style", IDM_SEARCH_GONEXTMARKER5
MENUITEM "Find Style", IDM_SEARCH_GONEXTMARKER_DEF
END
POPUP "Copy Styled Text"
POPUP "&Copy Styled Text"
BEGIN
MENUITEM "1st Style", IDM_SEARCH_STYLE1TOCLIP
MENUITEM "2nd Style", IDM_SEARCH_STYLE2TOCLIP
@ -588,7 +588,7 @@ BEGIN
MENUITEM "Find Style (Marked)", IDM_SEARCH_MARKEDTOCLIP
END
MENUITEM SEPARATOR
POPUP "Bookmark"
POPUP "&Bookmark"
BEGIN
MENUITEM "Toggle Bookmark" , IDM_SEARCH_TOGGLE_BOOKMARK
MENUITEM "Next Bookmark", IDM_SEARCH_NEXT_BOOKMARK
@ -602,7 +602,7 @@ BEGIN
MENUITEM "Inverse Bookmark", IDM_SEARCH_INVERSEMARKS
END
MENUITEM SEPARATOR
MENUITEM "Find characters in range...", IDM_SEARCH_FINDCHARINRANGE
MENUITEM "Find characters in rang&e...", IDM_SEARCH_FINDCHARINRANGE
END
POPUP "&View"