Bug 1260700 - Add accesskey to menuitems Ignore Subthread and Watch Thread in message context menu. r=jorgk
authorOnno Ekker <o.e.ekker@gmail.com>
Sun, 03 Apr 2016 22:00:34 +0200
changeset 24761 4ac9a0e7615af3a41526b79390fd3e67e2dd9364
parent 24760 610287517070c3299bc0cf7b000abdc13030d3f7
child 24762 4a5efadf639bdc9851bd4c3ad6a87bb10a77dbfc
push id1657
push userclokep@gmail.com
push dateMon, 06 Jun 2016 19:50:21 +0000
treeherdercomm-beta@9fac989284b5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1260700
Bug 1260700 - Add accesskey to menuitems Ignore Subthread and Watch Thread in message context menu. r=jorgk
mail/base/content/mailWindowOverlay.xul
mail/locales/en-US/chrome/messenger/messenger.dtd
--- a/mail/base/content/mailWindowOverlay.xul
+++ b/mail/base/content/mailWindowOverlay.xul
@@ -850,19 +850,21 @@
 
     <menuseparator id="paneContext-afterMove"/>
     <menuitem id="mailContext-ignoreThread"
               label="&contextKillThreadMenu.label;"
               accesskey="&contextKillThreadMenu.accesskey;"
               command="cmd_killThread"/>
     <menuitem id="mailContext-ignoreSubthread"
               label="&contextKillSubthreadMenu.label;"
+              accesskey="&contextKillSubthreadMenu.accesskey;"
               command="cmd_killSubthread"/>
     <menuitem id="mailContext-watchThread"
               label="&contextWatchThreadMenu.label;"
+              accesskey="&contextWatchThreadMenu.accesskey;"
               command="cmd_watchThread"/>
     <menuseparator id="mailContext-afterWatchThread"/>
     <menuitem id="mailContext-saveAs"
               label="&contextSaveAs.label;"
               accesskey="&contextSaveAs.accesskey;"
               oncommand="MsgSaveAsFile();"/>
     <menuitem id="mailContext-printpreview"
               label="&contextPrintPreview.label;"
--- a/mail/locales/en-US/chrome/messenger/messenger.dtd
+++ b/mail/locales/en-US/chrome/messenger/messenger.dtd
@@ -743,19 +743,25 @@
 <!ENTITY contextMultiForwardAsAttachment.accesskey "o">
 <!ENTITY contextMoveMsgMenu.label "Move To">
 <!ENTITY contextMoveMsgMenu.accesskey "M">
 <!ENTITY contextMoveCopyMsgRecentMenu.label "Recent">
 <!ENTITY contextMoveCopyMsgRecentMenu.accesskey "R">
 <!ENTITY contextCopyMsgMenu.label "Copy To">
 <!ENTITY contextCopyMsgMenu.accesskey "C">
 <!ENTITY contextKillThreadMenu.label "Ignore Thread">
+<!ENTITY contextKillSubthreadMenu.accesskey "b">
 <!ENTITY contextKillThreadMenu.accesskey "I">
 <!ENTITY contextKillSubthreadMenu.label "Ignore Subthread">
 <!ENTITY contextWatchThreadMenu.label "Watch Thread">
+<!--LOCALIZATION NOTE (contextWatchThreadMenu.accesskey):
+   In the en-US locale we ran out of access keys, so there is an empty access key for
+   Watch Thread. Localizers can pick a suitable key
+  -->
+<!ENTITY contextWatchThreadMenu.accesskey "">
 <!ENTITY contextSaveAs.label "Save As…">
 <!ENTITY contextSaveAs.accesskey "S">
 <!ENTITY contextPrint.label "Print…">
 <!ENTITY contextPrint.accesskey "P">
 <!ENTITY contextPrintPreview.label "Print Preview">
 <!ENTITY contextPrintPreview.accesskey "v">
 
 <!-- Thread Pane Column Picker -->