@@ -56,7 +56,7 @@ function onLinkContextMenu(ev, params) {
5656 let addSaveAs = false ;
5757 if ( params . mediaType && params . mediaType === 'image' && ! url . startsWith ( 'file://' ) ) {
5858 popupMenu . append ( new MenuItem ( {
59- label : 'Copy image' ,
59+ label : '& Copy image' ,
6060 click ( ) {
6161 if ( url . startsWith ( 'data:' ) ) {
6262 clipboard . writeImage ( nativeImage . createFromDataURL ( url ) ) ;
@@ -76,14 +76,14 @@ function onLinkContextMenu(ev, params) {
7676 // Special-case e-mail URLs to strip the `mailto:` like modern browsers do
7777 if ( url . startsWith ( MAILTO_PREFIX ) ) {
7878 popupMenu . append ( new MenuItem ( {
79- label : 'Copy email address' ,
79+ label : 'Copy email & address' ,
8080 click ( ) {
8181 clipboard . writeText ( url . substr ( MAILTO_PREFIX . length ) ) ;
8282 } ,
8383 } ) ) ;
8484 } else {
8585 popupMenu . append ( new MenuItem ( {
86- label : 'Copy link address' ,
86+ label : 'Copy link & address' ,
8787 click ( ) {
8888 clipboard . writeText ( url ) ;
8989 } ,
@@ -93,7 +93,7 @@ function onLinkContextMenu(ev, params) {
9393
9494 if ( addSaveAs ) {
9595 popupMenu . append ( new MenuItem ( {
96- label : 'Save image as...' ,
96+ label : 'Sa&ve image as...' ,
9797 click ( ) {
9898 const targetFileName = params . titleText || "image.png" ;
9999 const filePath = dialog . showSaveDialog ( {
@@ -128,18 +128,22 @@ function onLinkContextMenu(ev, params) {
128128function _CutCopyPasteSelectContextMenus ( params ) {
129129 return [ {
130130 role : 'cut' ,
131+ label : 'Cu&t' ,
131132 enabled : params . editFlags . canCut ,
132133 } , {
133134 role : 'copy' ,
135+ label : '&Copy' ,
134136 enabled : params . editFlags . canCopy ,
135137 } , {
136138 role : 'paste' ,
139+ label : '&Paste' ,
137140 enabled : params . editFlags . canPaste ,
138141 } , {
139142 role : 'pasteandmatchstyle' ,
140143 enabled : params . editFlags . canPaste ,
141144 } , {
142145 role : 'selectall' ,
146+ label : "Select &All" ,
143147 enabled : params . editFlags . canSelectAll ,
144148 } ] ;
145149}
0 commit comments