releases-comm-central/mail/base/content/messenger-menubar.inc.xhtml

1268 строки
62 KiB
HTML

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
<menubar id="mail-menubar">
<!-- File -->
<menu id="menu_File"
label="&fileMenu.label;"
accesskey="&fileMenu.accesskey;">
<menupopup id="menu_FilePopup" onpopupshowing="file_init();">
<menu id="menu_New"
label="&newMenu.label;"
accesskey="&newMenu.accesskey;">
<menupopup id="menu_NewPopup" onpopupshowing="menu_new_init();">
<menuitem id="menu_newNewMsgCmd" label="&newNewMsgCmd.label;"
accesskey="&newNewMsgCmd.accesskey;"
key="key_newMessage2"
command="cmd_newMessage"/>
#ifdef MAIN_WINDOW
<menuitem id="calendar-new-event-menuitem"
class="hide-when-calendar-deactivated"
label="&lightning.menupopup.new.event.label;"
accesskey="&lightning.menupopup.new.event.accesskey;"
key="calendar-new-event-key"
command="calendar_new_event_command"/>
<menuitem id="calendar-new-task-menuitem"
class="hide-when-calendar-deactivated"
label="&lightning.menupopup.new.task.label;"
accesskey="&lightning.menupopup.new.task.accesskey;"
key="calendar-new-todo-key"
command="calendar_new_todo_command"/>
<menuseparator id="calendar-after-new-task-menuseparator"
class="hide-when-calendar-deactivated"
observes="menu_newFolder"/>
#endif
<menuitem id="menu_newFolder" label="&newFolderCmd.label;"
command="cmd_newFolder"
accesskey="&newFolderCmd.accesskey;"/>
<menuitem id="menu_newVirtualFolder" label="&newVirtualFolderCmd.label;"
command="cmd_newVirtualFolder"
accesskey="&newVirtualFolderCmd.accesskey;"/>
<menuseparator id="newAccountPopupMenuSeparator"/>
<menuitem id="newMailAccountMenuItem"
data-l10n-id="file-new-email-account"
oncommand="openAccountSetupTab();"/>
<menuitem id="newIMAccountMenuItem"
label="&newIMAccountCmd.label;"
accesskey="&newIMAccountCmd.accesskey;"
oncommand="openIMAccountWizard();"/>
<menuitem id="newFeedAccountMenuItem"
label="&newFeedAccountCmd.label;"
accesskey="&newFeedAccountCmd.accesskey;"
oncommand="AddFeedAccount();"/>
<menuitem id="newNewsgroupAccountMenuItem"
data-l10n-id="file-new-newsgroup-account"
oncommand="openNewsgroupAccountWizard();"/>
#ifdef MAIN_WINDOW
<menuitem id="calendar-new-calendar-menuitem"
label="&lightning.menupopup.new.calendar.label;"
command="calendar_new_calendar_command"
accesskey="&lightning.menupopup.new.calendar.accesskey;"/>
#endif
<menuseparator id="newPopupMenuSeparator"/>
<menuitem id="menu_newCard"
label="&newContactCmd.label;"
accesskey="&newContactCmd.accesskey;"
command="cmd_newCard"/>
<menuitem id="newIMContactMenuItem"
label="&newIMContactCmd.label;"
accesskey="&newIMContactCmd.accesskey;"
command="cmd_addChatBuddy"/>
</menupopup>
</menu>
<menu id="menu_Open"
mode="calendar"
label="&openMenuCmd.label;"
accesskey="&openMenuCmd.accesskey;">
<menupopup id="menu_OpenPopup">
<menuitem id="openMessageFileMenuitem"
label="&openMessageFileCmd.label;"
accesskey="&openMessageFileCmd.accesskey;"
oncommand="MsgOpenFromFile();"/>
#ifdef MAIN_WINDOW
<menuitem id="calendar-open-calendar-file-menuitem"
label="&lightning.menupopup.open.calendar.label;"
accesskey="&lightning.menupopup.open.calendar.accesskey;"
oncommand="openLocalCalendar();"/>
#endif
</menupopup>
</menu>
<menuitem id="menu_close"
label="&closeCmd.label;"
key="key_close"
accesskey="&closeCmd.accesskey;"
command="cmd_close"/>
<menuseparator id="fileMenuAfterCloseSeparator"/>
#ifdef MAIN_WINDOW
<menuitem id="calendar-save-menuitem"
class="hide-when-calendar-deactivated"
label="&event.menu.item.save.label;"
accesskey="&event.menu.item.save.tab.accesskey;"
key="save-key"
command="cmd_save"/>
<menuitem id="calendar-save-and-close-menuitem"
class="hide-when-calendar-deactivated"
label="&event.menu.item.saveandclose.label;"
accesskey="&event.menu.item.saveandclose.tab.accesskey;"
command="cmd_accept"/>
#endif
<menu id="menu_saveAs"
label="&saveAsMenu.label;" accesskey="&saveAsMenu.accesskey;">
<menupopup id="menu_SavePopup">
<menuitem id="menu_saveAsFile"
data-l10n-id="menu-file-save-as-file"
key="key_saveAsFile"
command="cmd_saveAsFile"/>
<menuitem id="menu_saveAsTemplate"
label="&saveAsTemplateCmd.label;"
accesskey="&saveAsTemplateCmd.accesskey;"
command="cmd_saveAsTemplate"/>
</menupopup>
</menu>
<menuseparator id="fileMenuAfterSaveSeparator"/>
<menu label="&getNewMsgForCmd.label;" accesskey="&getNewMsgForCmd.accesskey;"
id="menu_getAllNewMsg"
oncommand="MsgGetMessagesForAccount();">
<menupopup is="folder-menupopup" id="menu_getAllNewMsgPopup"
mode="getMail"
expandFolders="false"
oncommand="MsgGetMessagesForAccount(event.target._folder); event.stopPropagation();">
<menuitem id="menu_getnewmsgs_all_accounts"
label="&getAllNewMsgCmdPopupMenu.label;"
accesskey="&getAllNewMsgCmdPopupMenu.accesskey;"
key="key_getAllNewMessages"
command="cmd_getMsgsForAuthAccounts"/>
<menuitem id="menu_getnewmsgs_current_account"
label="&getNewMsgCurrentAccountCmdPopupMenu.label;"
accesskey="&getNewMsgCurrentAccountCmdPopupMenu.accesskey;"
key="key_getNewMessages"
command="cmd_getNewMessages"/>
<menuseparator/>
</menupopup>
</menu>
<menuitem id="menu_getnextnmsg" label="&getNextNMsgCmd2.label;"
accesskey="&getNextNMsgCmd2.accesskey;"
command="cmd_getNextNMessages"/>
<menuitem id="menu_sendunsentmsgs" label="&sendUnsentCmd.label;"
accesskey="&sendUnsentCmd.accesskey;" command="cmd_sendUnsentMsgs"/>
<menuitem id="menu_subscribe" label="&subscribeCmd.label;"
accesskey="&subscribeCmd.accesskey;" command="cmd_subscribe"/>
<menuseparator id="fileMenuAfterSubscribeSeparator"/>
<menuitem id="menu_deleteFolder"
data-l10n-id="menu-edit-delete-folder"
command="cmd_deleteFolder"/>
<menuitem id="menu_renameFolder" label="&renameFolder.label;"
accesskey="&renameFolder.accesskey;"
#ifndef XP_MACOSX
key="key_renameFolder"
#endif
command="cmd_renameFolder"/>
<menuitem id="menu_compactFolder"
label="&compactFolders.label;"
accesskey="&compactFolders.accesskey;"
command="cmd_compactFolder"/>
<menuitem id="menu_emptyTrash" label="&emptyTrashCmd.label;"
accesskey="&emptyTrashCmd.accesskey;"
command="cmd_emptyTrash"/>
<menuseparator id="trashMenuSeparator"/>
<menu id="offlineMenuItem" label="&offlineMenu.label;" accesskey="&offlineMenu.accesskey;">
<menupopup id="menu_OfflinePopup">
<menuitem id="goOfflineMenuItem" type="checkbox" label="&offlineGoOfflineCmd.label;"
accesskey="&offlineGoOfflineCmd.accesskey;" oncommand="MailOfflineMgr.toggleOfflineStatus();"/>
<menuseparator id="offlineMenuAfterGoSeparator"/>
<menuitem id="menu_synchronizeOffline"
label="&synchronizeOfflineCmd.label;"
accesskey="&synchronizeOfflineCmd.accesskey;"
command="cmd_synchronizeOffline"/>
<menuitem id="menu_settingsOffline"
label="&settingsOfflineCmd2.label;"
accesskey="&settingsOfflineCmd2.accesskey;"
command="cmd_settingsOffline"/>
<menuseparator id="offlineMenuAfterSettingsSeparator"/>
<menuitem id="menu_downloadFlagged"
label="&downloadStarredCmd.label;"
accesskey="&downloadStarredCmd.accesskey;"
command="cmd_downloadFlagged"/>
<menuitem id="menu_downloadSelected"
label="&downloadSelectedCmd.label;"
accesskey="&downloadSelectedCmd.accesskey;"
command="cmd_downloadSelected"/>
</menupopup>
</menu>
<menuseparator id="fileMenuAfterOfflineSeparator"/>
<menuitem id="printMenuItem"
key="key_print"
label="&printCmd.label;"
accesskey="&printCmd.accesskey;"
command="cmd_print"/>
<menuseparator id="menu_FileQuitSeparator"/>
<menuitem id="menu_FileQuitItem"
#ifdef XP_MACOSX
data-l10n-id="menu-quit-mac"
#else
data-l10n-id="menu-quit"
#endif
key="key_quitApplication"
command="cmd_quitApplication"/>
</menupopup>
</menu>
<!-- Edit -->
<menu id="menu_Edit"
label="&editMenu.label;"
accesskey="&editMenu.accesskey;"
oncommand="CommandUpdate_UndoRedo();">
<menupopup id="menu_EditPopup" onpopupshowing="InitEditMessagesMenu()">
<menuitem id="menu_undo"
label="&undoDefaultCmd.label;"
accesskey="&undoDefaultCmd.accesskey;"
key="key_undo"
command="cmd_undo"/>
<menuitem id="menu_redo"
label="&redoDefaultCmd.label;"
accesskey="&redoDefaultCmd.accesskey;"
key="key_redo"
command="cmd_redo"/>
<menuseparator id="editMenuAfterRedoSeparator"/>
<menuitem id="menu_cut"
data-l10n-id="text-action-cut"
key="key_cut"
command="cmd_cut"/>
<menuitem id="menu_copy"
data-l10n-id="text-action-copy"
key="key_copy"
command="cmd_copy"/>
<menuitem id="menu_paste"
data-l10n-id="text-action-paste"
key="key_paste"
command="cmd_paste"/>
<menuitem id="menu_delete"
key="key_delete"
command="cmd_delete"/>
<menuseparator id="editMenuAfterDeleteSeparator"/>
<menu id="menu_select" label="&selectMenu.label;" accesskey="&selectMenu.accesskey;">
<menupopup id="menu_SelectPopup">
<menuitem id="menu_SelectAll" label="&all.label;"
accesskey="&all.accesskey;" key="key_selectAll"
command="cmd_selectAll"/>
<menuseparator id="selectMenuSeparator"/>
<menuitem id="menu_selectThread" label="&selectThreadCmd.label;"
accesskey="&selectThreadCmd.accesskey;"
key="key_selectThread"
command="cmd_selectThread"/>
<menuitem id="menu_selectFlagged"
label="&selectFlaggedCmd.label;"
accesskey="&selectFlaggedCmd.accesskey;"
command="cmd_selectFlagged"/>
</menupopup>
</menu>
<menuseparator id="editMenuAfterSelectSeparator"/>
<menu id="menu_find"
label="&findMenu.label;" accesskey="&findMenu.accesskey;">
<menupopup id="menu_FindPopup"
onpopupshowing="initSearchMessagesMenu()">
<menuitem id="menu_findCmd"
label="&findCmd.label;"
key="key_find"
accesskey="&findCmd.accesskey;"
command="cmd_find"/>
<menuitem id="menu_findAgainCmd"
label="&findAgainCmd.label;"
key="key_findAgain"
accesskey="&findAgainCmd.accesskey;"
command="cmd_findAgain"/>
<menuseparator id="editMenuAfterFindSeparator"/>
<menuitem id="searchMailCmd" label="&searchMailCmd.label;"
key="key_searchMail"
accesskey="&searchMailCmd.accesskey;"
command="cmd_searchMessages"/>
<menuitem id="glodaSearchCmd"
label="&glodaSearchCmd.label;"
accesskey="&glodaSearchCmd.accesskey;"
oncommand="openGlodaSearchTab()"/>
<menuitem id="searchAddressesCmd" label="&searchAddressesCmd.label;"
accesskey="&searchAddressesCmd.accesskey;"
oncommand="MsgSearchAddresses()"/>
</menupopup>
</menu>
<menuseparator id="editPropertiesSeparator"/>
<menuitem id="menu_favoriteFolder"
type="checkbox"
label="&menuFavoriteFolder.label;"
accesskey="&menuFavoriteFolder.accesskey;"
checked="false"
command="cmd_toggleFavoriteFolder"/>
<menuitem id="menu_properties"
command="cmd_properties"/>
#ifdef MAIN_WINDOW
<menuitem id="calendar-properties-menuitem"
label="&calendar.properties.label;"
accesskey="&calendar.properties.accesskey;"
command="calendar_edit_calendar_command"/>
#endif
#ifdef XP_UNIX
#ifndef XP_MACOSX
<menuseparator id="prefSep"/>
<menuitem id="menu_preferences"
oncommand="openOptionsDialog()"
data-l10n-id="menu-tools-settings"/>
<menuitem id="menu_accountmgr"
label="&accountManagerCmd2.label;"
accesskey="&accountManagerCmdUnix2.accesskey;"
oncommand="MsgAccountManager(null);"/>
#endif
#endif
</menupopup>
</menu>
<!-- View -->
<menu id="menu_View"
label="&viewMenu.label;"
accesskey="&viewMenu.accesskey;">
<menupopup id="menu_View_Popup" onpopupshowing="view_init(event);">
<menu id="menu_Toolbars"
label="&viewToolbarsMenu.label;"
accesskey="&viewToolbarsMenu.accesskey;"
onpopupshowing="calendarOnToolbarsPopupShowing(event);">
<menupopup id="view_toolbars_popup">
#ifdef MAIN_WINDOW
<menuitem id="view_toolbars_popup_quickFilterBar"
type="checkbox"
command="cmd_toggleQuickFilterBar"
data-l10n-id="quick-filter-bar-toggle"/>
<menuitem id="viewToolbarsPopupSpacesToolbar"
type="checkbox"
data-l10n-id="menu-spaces-toolbar-button"
oncommand="gSpacesToolbar.toggleToolbarFromMenu();"/>
#endif
<menuitem id="menu_showTaskbar"
type="checkbox"
label="&showTaskbarCmd.label;"
accesskey="&showTaskbarCmd.accesskey;"
oncommand="goToggleToolbar('status-bar', 'menu_showTaskbar')"
checked="true"/>
<menuseparator id="viewMenuBeforeCustomizeMailToolbarsSeparator"/>
<menuitem id="customizeMailToolbars"
command="cmd_CustomizeMailToolbar"
label="&customizeToolbar.label;"
accesskey="&customizeToolbar.accesskey;"/>
</menupopup>
</menu>
<menu id="menu_MessagePaneLayout" label="&messagePaneLayoutStyle.label;" accesskey="&messagePaneLayoutStyle.accesskey;">
<menupopup id="view_layout_popup" onpopupshowing="InitViewLayoutStyleMenu(event)">
<menuitem id="messagePaneClassic" type="radio" label="&messagePaneClassic.label;" name="viewlayoutgroup"
accesskey="&messagePaneClassic.accesskey;" command="cmd_viewClassicMailLayout"/>
<menuitem id="messagePaneWide" type="radio" label="&messagePaneWide.label;" name="viewlayoutgroup"
accesskey="&messagePaneWide.accesskey;" command="cmd_viewWideMailLayout"/>
<menuitem id="messagePaneVertical" type="radio" label="&messagePaneVertical.label;" name="viewlayoutgroup"
accesskey="&messagePaneVertical.accesskey;" command="cmd_viewVerticalMailLayout"/>
<menuseparator id="viewMenuAfterPaneVerticalSeparator"/>
<menuitem id="menu_showFolderPane" type="checkbox" label="&showFolderPaneCmd.label;"
accesskey="&showFolderPaneCmd.accesskey;" command="cmd_toggleFolderPane"/>
<menuitem id="menu_toggleThreadPaneHeader"
type="checkbox"
name="threadheader"
data-l10n-id="menu-view-toggle-thread-pane-header"
command="cmd_toggleThreadPaneHeader"/>
<menuitem id="menu_showMessage" type="checkbox" label="&showMessageCmd.label;" key="key_toggleMessagePane"
accesskey="&showMessageCmd.accesskey;" command="cmd_toggleMessagePane"/>
</menupopup>
</menu>
<menu id="menu_FolderViews" label="&folderView.label;" accesskey="&folderView.accesskey;">
<menupopup id="menu_FolderViewsPopup"
onpopupshowing="PanelUI._onFoldersViewShow(event)">
<menuitem id="menu_toggleFolderHeader"
name="paneheader"
value="toggle-header"
data-l10n-id="menu-view-folders-toggle-header"
type="checkbox"
closemenu="none"
oncommand="PanelUI.folderViewMenuOnCommand(event);"/>
<menuseparator id="folderViewsHeaderSeparator"/>
<menuitem id="menu_allFolders" value="all"
data-l10n-id="show-all-folders-label"
type="checkbox" name="viewmessages"
closemenu="none"
oncommand="PanelUI.folderViewMenuOnCommand(event);"/>
<menuitem id="menu_smartFolders" value="smart"
data-l10n-id="show-smart-folders-label"
type="checkbox" name="viewmessages"
closemenu="none"
oncommand="PanelUI.folderViewMenuOnCommand(event);"/>
<menuitem id="menu_unreadFolders" value="unread"
data-l10n-id="show-unread-folders-label"
type="checkbox" name="viewmessages"
closemenu="none"
oncommand="PanelUI.folderViewMenuOnCommand(event);"/>
<menuitem id="menu_favoriteFolders" value="favorite"
data-l10n-id="show-favorite-folders-label"
type="checkbox" name="viewmessages"
closemenu="none"
oncommand="PanelUI.folderViewMenuOnCommand(event);"/>
<menuitem id="menu_recentFolders" value="recent"
data-l10n-id="show-recent-folders-label"
type="checkbox" name="viewmessages"
closemenu="none"
oncommand="PanelUI.folderViewMenuOnCommand(event);"/>
<menuseparator/>
<menuitem id="menu_tags" value="tags"
data-l10n-id="show-tags-folders-label"
type="checkbox" name="viewmessages"
closemenu="none"
oncommand="PanelUI.folderViewMenuOnCommand(event);"/>
<menuseparator/>
<menuitem id="menu_compactMode" value="compact"
data-l10n-id="folder-toolbar-toggle-folder-compact-view"
type="checkbox" name="viewmessages"
closemenu="none"
oncommand="PanelUI.folderCompactMenuOnCommand(event);"/>
</menupopup>
</menu>
<menuseparator id="viewUIZoomMenuSeparator"/>
<menu id="menu_uiDensity"
data-l10n-id="mail-uidensity-label">
<menupopup id="view_density_popup" onpopupshowing="initUiDensityMenu(event);">
<menuitem id="uiDensityCompact"
data-l10n-id="mail-uidensity-compact"
type="radio"
name="uidensity"
closemenu="none"
oncommand="UIDensity.setMode(this.mode);"/>
<menuitem id="uiDensityNormal"
data-l10n-id="mail-uidensity-default"
type="radio"
name="uidensity"
closemenu="none"
oncommand="UIDensity.setMode(this.mode);"/>
<menuitem id="uiDensityTouch"
data-l10n-id="mail-uidensity-relaxed"
type="radio"
name="uidensity"
closemenu="none"
oncommand="UIDensity.setMode(this.mode);"/>
</menupopup>
</menu>
<menu id="viewFullZoomMenu" label="&fullZoom.label;" accesskey="&fullZoom.accesskey;"
onpopupshowing="UpdateFullZoomMenu()">
<menupopup id="viewFullZoomPopupMenu">
<menuitem id="menu_fullZoomEnlarge" key="key_fullZoomEnlarge"
label="&fullZoomEnlargeCmd.label;"
accesskey="&fullZoomEnlargeCmd.accesskey;"
command="cmd_fullZoomEnlarge"/>
<menuitem id="menu_fullZoomReduce" key="key_fullZoomReduce"
label="&fullZoomReduceCmd.label;"
accesskey="&fullZoomReduceCmd.accesskey;"
command="cmd_fullZoomReduce"/>
<menuseparator id="fullZoomAfterReduceSeparator"/>
<menuitem id="menu_fullZoomReset" key="key_fullZoomReset"
label="&fullZoomResetCmd.label;"
accesskey="&fullZoomResetCmd.accesskey;"
command="cmd_fullZoomReset"/>
<menuseparator id="fullZoomAfterResetSeparator"/>
<menuitem id="menu_fullZoomToggle" label="&fullZoomToggleCmd.label;"
accesskey="&fullZoomToggleCmd.accesskey;"
type="checkbox" command="cmd_fullZoomToggle" checked="false"/>
</menupopup>
</menu>
<menu id="menu_uiFontSize"
data-l10n-id="menu-font-size-label">
<menupopup id="view_font_size_popup">
<menuitem id="menu_fontSizeEnlarge"
data-l10n-id="menuitem-font-size-enlarge"
oncommand="UIFontSize.increaseSize();"
closemenu="none"/>
<menuitem id="menu_fontSizeReduce"
data-l10n-id="menuitem-font-size-reduce"
oncommand="UIFontSize.reduceSize();"
closemenu="none"/>
<menuseparator id="fontSizeAfterReduceSeparator"/>
<menuitem id="menu_fontSizeReset"
data-l10n-id="menuitem-font-size-reset"
oncommand="UIFontSize.resetSize();"
closemenu="none"/>
</menupopup>
</menu>
#ifdef MAIN_WINDOW
#include ../../../calendar/base/content/calendar-view-menu.inc.xhtml
#endif
<menuseparator id="viewSortMenuSeparator"/>
<menu id="viewSortMenu" accesskey="&sortMenu.accesskey;" label="&sortMenu.label;">
<menupopup id="menu_viewSortPopup" oncommand="goDoCommand('cmd_sort', event);" onpopupshowing="InitViewSortByMenu()">
<menuitem id="sortByDateMenuitem"
type="radio"
name="sortby"
value="dateCol"
label="&sortByDateCmd.label;"
accesskey="&sortByDateCmd.accesskey;"/>
<menuitem id="sortByReceivedMenuitem"
type="radio"
name="sortby"
value="receivedCol"
label="&sortByReceivedCmd.label;"
accesskey="&sortByReceivedCmd.accesskey;"/>
<menuitem id="sortByFlagMenuitem"
type="radio"
name="sortby"
value="flaggedCol"
label="&sortByStarCmd.label;"
accesskey="&sortByStarCmd.accesskey;"/>
<menuitem id="sortByOrderReceivedMenuitem"
type="radio"
name="sortby"
value="idCol"
label="&sortByOrderReceivedCmd.label;"
accesskey="&sortByOrderReceivedCmd.accesskey;"/>
<menuitem id="sortByPriorityMenuitem"
type="radio"
name="sortby"
value="priorityCol"
label="&sortByPriorityCmd.label;"
accesskey="&sortByPriorityCmd.accesskey;"/>
<menuitem id="sortByFromMenuitem"
type="radio"
name="sortby"
value="senderCol"
label="&sortByFromCmd.label;"
accesskey="&sortByFromCmd.accesskey;"/>
<menuitem id="sortByRecipientMenuitem"
type="radio"
name="sortby"
value="recipientCol"
label="&sortByRecipientCmd.label;"
accesskey="&sortByRecipientCmd.accesskey;"/>
<menuitem id="sortByCorrespondentMenuitem"
type="radio"
name="sortby"
value="correspondentCol"
label="&sortByCorrespondentCmd.label;"
accesskey="&sortByCorrespondentCmd.accesskey;"/>
<menuitem id="sortBySizeMenuitem"
type="radio"
name="sortby"
value="sizeCol"
label="&sortBySizeCmd.label;"
accesskey="&sortBySizeCmd.accesskey;"/>
<menuitem id="sortByStatusMenuitem"
type="radio"
name="sortby"
value="statusCol"
label="&sortByStatusCmd.label;"
accesskey="&sortByStatusCmd.accesskey;"/>
<menuitem id="sortBySubjectMenuitem"
type="radio"
name="sortby"
value="subjectCol"
label="&sortBySubjectCmd.label;"
accesskey="&sortBySubjectCmd.accesskey;"/>
<menuitem id="sortByUnreadMenuitem"
type="radio"
name="sortby"
value="unreadButtonColHeader"
label="&sortByUnreadCmd.label;"
accesskey="&sortByUnreadCmd.accesskey;"/>
<menuitem id="sortByTagsMenuitem"
type="radio"
name="sortby"
value="tagsCol"
label="&sortByTagsCmd.label;"
accesskey="&sortByTagsCmd.accesskey;"/>
<menuitem id="sortByJunkStatusMenuitem"
type="radio"
name="sortby"
value="junkStatusCol"
label="&sortByJunkStatusCmd.label;"
accesskey="&sortByJunkStatusCmd.accesskey;"/>
<menuitem id="sortByAttachmentsMenuitem"
type="radio"
name="sortby"
value="attachmentCol"
label="&sortByAttachmentsCmd.label;"
accesskey="&sortByAttachmentsCmd.accesskey;"/>
<menuseparator id="sortAfterAttachmentSeparator"/>
<menuitem id="sortAscending"
type="radio"
name="sortdirection"
value="ascending"
label="&sortAscending.label;"
accesskey="&sortAscending.accesskey;"/>
<menuitem id="sortDescending"
type="radio"
name="sortdirection"
value="descending"
label="&sortDescending.label;"
accesskey="&sortDescending.accesskey;"/>
<menuseparator id="sortAfterDescendingSeparator"/>
<menuitem id="sortThreaded"
type="radio"
name="threaded"
value="threaded"
label="&sortThreaded.label;"
accesskey="&sortThreaded.accesskey;"/>
<menuitem id="sortUnthreaded"
type="radio"
name="threaded"
value="unthreaded"
label="&sortUnthreaded.label;"
accesskey="&sortUnthreaded.accesskey;"/>
<menuitem id="groupBySort"
type="checkbox"
name="group"
value="group"
label="&groupBySort.label;"
accesskey="&groupBySort.accesskey;"/>
</menupopup>
</menu>
<menu id="viewMessageViewMenu" label="&msgsMenu.label;" accesskey="&msgsMenu.accesskey;"
command="mailHideMenus" oncommand="ViewChangeByMenuitem(event.target);">
<menupopup id="viewMessagePopup" onpopupshowing="RefreshViewPopup(this);">
<menuitem id="viewMessageAll" value="0" type="radio" label="&viewAll.label;" accesskey="&viewAll.accesskey;"/>
<menuitem id="viewMessageUnread" value="1" type="radio" label="&viewUnread.label;" accesskey="&viewUnread.accesskey;"/>
<menuitem id="viewMessageNotDeleted" value="3" type="radio" label="&viewNotDeleted.label;" accesskey="&viewNotDeleted.accesskey;"/>
<menuseparator id="messageViewAfterUnreadSeparator"/>
<menu id="viewMessageTags" label="&viewTags.label;" accesskey="&viewTags.accesskey;">
<menupopup id="viewMessageTagsPopup" onpopupshowing="RefreshTagsPopup(this);"/>
</menu>
<menu id="viewMessageCustomViews" label="&viewCustomViews.label;" accesskey="&viewCustomViews.accesskey;">
<menupopup id="viewMessageCustomViewsPopup" onpopupshowing="RefreshCustomViewsPopup(this);"/>
</menu>
<menuseparator id="messageViewAfterCustomSeparator"/>
<menuitem id="viewMessageVirtualFolder" value="7" label="&viewVirtualFolder.label;" accesskey="&viewVirtualFolder.accesskey;"/>
<menuitem id="viewMessageCustomize" value="8" label="&viewCustomizeView.label;" accesskey="&viewCustomizeView.accesskey;"/>
</menupopup>
</menu>
<menu label="&threads.label;" id="viewMessagesMenu" accesskey="&threads.accesskey;">
<menupopup id="menu_ThreadsPopup" onpopupshowing="InitViewMessagesMenu()">
<menuitem id="viewAllMessagesMenuItem" type="radio" name="viewmessages" label="&allMsgsCmd.label;" accesskey="&allMsgsCmd.accesskey;" disabled="true" command="cmd_viewAllMsgs"/>
<menuitem id="viewUnreadMessagesMenuItem" type="radio" name="viewmessages" label="&unreadMsgsCmd.label;" accesskey="&unreadMsgsCmd.accesskey;" disabled="true" command="cmd_viewUnreadMsgs"/>
<menuitem id="viewThreadsWithUnreadMenuItem" type="radio" name="viewmessages" label="&threadsWithUnreadCmd.label;" accesskey="&threadsWithUnreadCmd.accesskey;" disabled="true" command="cmd_viewThreadsWithUnread"/>
<menuitem id="viewWatchedThreadsWithUnreadMenuItem" type="radio" name="viewmessages" label="&watchedThreadsWithUnreadCmd.label;" accesskey="&watchedThreadsWithUnreadCmd.accesskey;" disabled="true" command="cmd_viewWatchedThreadsWithUnread"/>
<menuseparator id="threadsAfterWatchedSeparator"/>
<menuitem id="viewIgnoredThreadsMenuItem" type="checkbox" label="&ignoredThreadsCmd.label;" disabled="true" command="cmd_viewIgnoredThreads" accesskey="&ignoredThreadsCmd.accesskey;"/>
<menuseparator id="threadsAfterIgnoredSeparator"/>
<menuitem id="menu_expandAllThreads" label="&expandAllThreadsCmd.label;" accesskey="&expandAllThreadsCmd.accesskey;" key="key_expandAllThreads" disabled="true" command="cmd_expandAllThreads"/>
<menuitem id="collapseAllThreads" label="&collapseAllThreadsCmd.label;" accesskey="&collapseAllThreadsCmd.accesskey;" key="key_collapseAllThreads" disabled="true" command="cmd_collapseAllThreads"/>
</menupopup>
</menu>
<menuseparator id="viewAfterThreadsSeparator"/>
<menu id="viewheadersmenu" label="&headersMenu.label;" accesskey="&headersMenu.accesskey;">
<menupopup id="menu_HeadersPopup" onpopupshowing="InitViewHeadersMenu();">
<menuitem id="viewallheaders"
type="radio"
name="viewheadergroup"
label="&headersAllCmd.label;"
accesskey="&headersAllCmd.accesskey;"
command="cmd_viewAllHeader"/>
<menuitem id="viewnormalheaders"
type="radio"
name="viewheadergroup"
label="&headersNormalCmd.label;"
accesskey="&headersNormalCmd.accesskey;"
command="cmd_viewNormalHeader"/>
</menupopup>
</menu>
<menu id="viewBodyMenu" accesskey="&bodyMenu.accesskey;" label="&bodyMenu.label;">
<menupopup id="viewBodyPopMenu" onpopupshowing="InitViewBodyMenu()">
<menuitem id="bodyAllowHTML" type="radio" name="bodyPlaintextVsHTMLPref" label="&bodyAllowHTML.label;"
accesskey="&bodyAllowHTML.accesskey;" oncommand="MsgBodyAllowHTML()"/>
<menuitem id="bodySanitized" type="radio" name="bodyPlaintextVsHTMLPref" label="&bodySanitized.label;"
accesskey="&bodySanitized.accesskey;"
oncommand="MsgBodySanitized()"/>
<menuitem id="bodyAsPlaintext" type="radio" name="bodyPlaintextVsHTMLPref" label="&bodyAsPlaintext.label;"
accesskey="&bodyAsPlaintext.accesskey;" oncommand="MsgBodyAsPlaintext()"/>
<menuitem id="bodyAllParts" type="radio" name="bodyPlaintextVsHTMLPref" label="&bodyAllParts.label;"
accesskey="&bodyAllParts.accesskey;" oncommand="MsgBodyAllParts()"/>
</menupopup>
</menu>
<menu id="viewFeedSummary"
label="&bodyMenuFeed.label;"
accesskey="&bodyMenuFeed.accesskey;">
<menupopup id="viewFeedSummaryPopupMenu"
onpopupshowing="InitViewBodyMenu()">
<menuitem id="bodyFeedGlobalWebPage"
type="radio"
name="viewFeedSummaryGroup"
label="&viewFeedWebPage.label;"
accesskey="&viewFeedWebPage.accesskey;"
oncommand="FeedMessageHandler.onSelectPref = 0"/>
<menuitem id="bodyFeedGlobalSummary"
type="radio"
name="viewFeedSummaryGroup"
label="&viewFeedSummary.label;"
accesskey="&viewFeedSummary.accesskey;"
oncommand="FeedMessageHandler.onSelectPref = 1"/>
<menuitem id="bodyFeedPerFolderPref"
type="radio"
name="viewFeedSummaryGroup"
label="&viewFeedSummaryFeedPropsPref.label;"
accesskey="&viewFeedSummaryFeedPropsPref.accesskey;"
oncommand="FeedMessageHandler.onSelectPref = 2"/>
<menuseparator id="viewFeedSummarySeparator"/>
<menuitem id="bodyFeedSummaryAllowHTML"
type="radio"
name="viewFeedBodyHTMLGroup"
label="&bodyAllowHTML.label;"
accesskey="&bodyAllowHTML.accesskey;"
oncommand="MsgBodyAllowHTML()"/>
<menuitem id="bodyFeedSummarySanitized"
type="radio"
name="viewFeedBodyHTMLGroup"
label="&bodySanitized.label;"
accesskey="&bodySanitized.accesskey;"
oncommand="MsgBodySanitized()"/>
<menuitem id="bodyFeedSummaryAsPlaintext"
type="radio"
name="viewFeedBodyHTMLGroup"
label="&bodyAsPlaintext.label;"
accesskey="&bodyAsPlaintext.accesskey;"
oncommand="MsgBodyAsPlaintext()"/>
</menupopup>
</menu>
<menuitem id="viewAttachmentsInlineMenuitem" label="&viewAttachmentsInlineCmd.label;" accesskey="&viewAttachmentsInlineCmd.accesskey;"
oncommand="ToggleInlineAttachment(event.target)" type="checkbox" checked="true"/>
<menuseparator id="viewAfterAttachmentsSeparator"/>
<menuitem id="pageSourceMenuItem"
label="&pageSourceCmd.label;"
key="key_viewPageSource"
accesskey="&pageSourceCmd.accesskey;"
command="cmd_viewPageSource"/>
</menupopup>
</menu>
<!-- Go -->
<menu id="menu_Go" label="&goMenu.label;" accesskey="&goMenu.accesskey;">
<menupopup id="menu_GoPopup" onpopupshowing="InitGoMessagesMenu();">
<menu id="goNextMenu" label="&nextMenu.label;" accesskey="&nextMenu.accesskey;">
<menupopup id="menu_GoNextPopup">
<menuitem id="menu_nextMsg"
label="&nextMsgCmd.label;"
accesskey="&nextMsgCmd.accesskey;"
command="cmd_nextMsg"
key="key_nextMsg"/>
<menuitem id="menu_nextUnreadMsg"
label="&nextUnreadMsgCmd.label;"
accesskey="&nextUnreadMsgCmd.accesskey;"
command="cmd_nextUnreadMsg"
key="key_nextUnreadMsg"/>
<menuitem id="menu_nextFlaggedMsg"
label="&nextStarredMsgCmd.label;"
accesskey="&nextStarredMsgCmd.accesskey;"
command="cmd_nextFlaggedMsg"/>
<menuseparator id="goNextAfterFlaggedSeparator"/>
<menuitem id="menu_nextUnreadThread"
label="&nextUnreadThread.label;"
accesskey="&nextUnreadThread.accesskey;"
command="cmd_nextUnreadThread"
key="key_nextUnreadThread"/>
#ifdef MAIN_WINDOW
<menuseparator id="goNextAfterUnreadThreadSeparator"
class="hide-before-calendar-loaded hide-when-calendar-deactivated"
hidden="true"/>
<!-- Label is set up automatically using the view id. When writing
a view extension, add a `label-<myviewtype>` attribute with
the correct label. -->
<menuitem id="calendar-go-menu-next"
class="hide-before-calendar-loaded hide-when-calendar-deactivated"
label=""
label-day="&lightning.toolbar.day.label;"
label-week="&lightning.toolbar.week.label;"
label-multiweek="&lightning.toolbar.week.label;"
label-month="&lightning.toolbar.month.label;"
accesskey-day="&lightning.toolbar.day.accesskey;"
accesskey-week="&lightning.toolbar.week.accesskey;"
accesskey-multiweek="&lightning.toolbar.week.accesskey;"
accesskey-month="&lightning.toolbar.month.accesskey;"
command="calendar_view_next_command"
hidden="true"/>
#endif
</menupopup>
</menu>
<menu id="goPreviousMenu" label="&prevMenu.label;" accesskey="&prevMenu.accesskey;">
<menupopup id="menu_GoPreviousPopup">
<menuitem id="menu_prevMsg"
label="&prevMsgCmd.label;"
accesskey="&prevMsgCmd.accesskey;"
command="cmd_previousMsg"
key="key_previousMsg"/>
<menuitem id="menu_prevUnreadMsg"
label="&prevUnreadMsgCmd.label;"
accesskey="&prevUnreadMsgCmd.accesskey;"
command="cmd_previousUnreadMsg"
key="key_previousUnreadMsg"/>
<menuitem id="menu_prevFlaggedMsg"
label="&prevStarredMsgCmd.label;"
accesskey="&prevStarredMsgCmd.accesskey;"
command="cmd_previousFlaggedMsg"/>
#ifdef MAIN_WINDOW
<menuseparator id="goPreviousAfterFlaggedSeparator"
class="hide-before-calendar-loaded hide-when-calendar-deactivated"
hidden="true"/>
<!-- Label is set up automatically using the view id. When writing
a view extension, add a `label-<myviewtype>` attribute with
the correct label. -->
<menuitem id="calendar-go-menu-previous"
class="hide-before-calendar-loaded hide-when-calendar-deactivated"
label=""
label-day="&lightning.toolbar.day.label;"
label-week="&lightning.toolbar.week.label;"
label-multiweek="&lightning.toolbar.week.label;"
label-month="&lightning.toolbar.month.label;"
accesskey-day="&lightning.toolbar.day.accesskey;"
accesskey-week="&lightning.toolbar.week.accesskey;"
accesskey-multiweek="&lightning.toolbar.week.accesskey;"
accesskey-month="&lightning.toolbar.month.accesskey;"
command="calendar_view_prev_command"
hidden="true"/>
#endif
</menupopup>
</menu>
<menuitem id="menu_goForward" label="&goForwardCmd.label;"
accesskey="&goForwardCmd.accesskey;" command="cmd_goForward"
key="key_goForward"/>
<menuitem id="menu_goBack" label="&goBackCmd.label;"
accesskey="&goBackCmd.accesskey;" command="cmd_goBack"
key="key_goBack"/>
<menuseparator id="goNextSeparator"/>
#ifdef MAIN_WINDOW
<menuitem id="calendar-go-to-today-menuitem"
class="hide-when-calendar-deactivated"
label="&goTodayCmd.label;"
accesskey="&goTodayCmd.accesskey;"
command="calendar_go_to_today_command"
key="calendar-go-to-today-key"/>
#endif
<menuitem id="menu_goChat" label="&goChatCmd.label;"
accesskey="&goChatCmd.accesskey;"
command="cmd_chat"
data-l10n-attrs="acceltext"/>
<menuseparator id="goChatSeparator"/>
<menu id="goFolderMenu"
label="&folderMenu.label;"
accesskey="&folderMenu.accesskey;"
command="cmd_goFolder">
<menupopup is="folder-menupopup" id="menu_GoFolderPopup"
showFileHereLabel="true"
showRecent="true"
recentLabel="&contextMoveCopyMsgRecentMenu.label;"
recentAccessKey="&contextMoveCopyMsgRecentMenu.accesskey;"
showFavorites="true"
favoritesLabel="&contextMoveCopyMsgFavoritesMenu.label;"
favoritesAccessKey="&contextMoveCopyMsgFavoritesMenu.accesskey;"/>
</menu>
<menuseparator id="goFolderSeparator"/>
<menu id="goRecentlyClosedTabs"
label="&goRecentlyClosedTabs.label;"
accesskey="&goRecentlyClosedTabs.accesskey;"
observes="cmd_undoCloseTab">
<menupopup id="menu_GoRecentlyClosedTabsPopup"
onpopupshowing="return InitRecentlyClosedTabsPopup(this)" />
</menu>
<menuseparator id="goRecentlyClosedTabsSeparator"/>
<menuitem id="goStartPage"
label="&startPageCmd.label;"
accesskey="&startPageCmd.accesskey;"
command="cmd_goStartPage"
key="key_goStartPage"/>
</menupopup>
</menu>
<!-- Message -->
<menu id="messageMenu" label="&msgMenu.label;" accesskey="&msgMenu.accesskey;">
<menupopup id="messageMenuPopup" onpopupshowing="InitMessageMenu();">
<menuitem id="newMsgCmd" label="&newMsgCmd.label;"
accesskey="&newMsgCmd.accesskey;"
key="key_newMessage2"
command="cmd_newMessage"/>
<menuitem id="replyMainMenu" label="&replyMsgCmd.label;"
accesskey="&replyMsgCmd.accesskey;"
key="key_reply"
command="cmd_reply"/>
<menuitem id="replyNewsgroupMainMenu" label="&replyNewsgroupCmd2.label;"
accesskey="&replyNewsgroupCmd2.accesskey;"
key="key_reply"
command="cmd_replyGroup"/>
<menuitem id="replySenderMainMenu" label="&replySenderCmd.label;"
accesskey="&replySenderCmd.accesskey;"
command="cmd_replySender"/>
<menuitem id="menu_replyToAll" label="&replyToAllMsgCmd.label;"
accesskey="&replyToAllMsgCmd.accesskey;"
key="key_replyall"
command="cmd_replyall"/>
<menuitem id="menu_replyToList" label="&replyToListMsgCmd.label;"
accesskey="&replyToListMsgCmd.accesskey;"
key="key_replylist"
command="cmd_replylist"/>
<menuitem id="menu_forwardMsg" label="&forwardMsgCmd.label;"
accesskey="&forwardMsgCmd.accesskey;"
key="key_forward"
command="cmd_forward"/>
<menu id="forwardAsMenu" label="&forwardAsMenu.label;" accesskey="&forwardAsMenu.accesskey;">
<menupopup id="menu_forwardAsPopup">
<menuitem id="menu_forwardAsInline"
label="&forwardAsInline.label;"
accesskey="&forwardAsInline.accesskey;"
command="cmd_forwardInline"/>
<menuitem id="menu_forwardAsAttachment"
label="&forwardAsAttachmentCmd.label;"
accesskey="&forwardAsAttachmentCmd.accesskey;"
command="cmd_forwardAttachment"/>
</menupopup>
</menu>
<menuitem id="menu_redirectMsg"
data-l10n-id="redirect-msg-menuitem"
command="cmd_redirect"/>
<menuitem id="menu_editMsgAsNew" label="&editAsNewMsgCmd.label;"
accesskey="&editAsNewMsgCmd.accesskey;"
key="key_editAsNew"
command="cmd_editAsNew"/>
<menuitem id="menu_editDraftMsg"
label="&editDraftMsgCmd.label;"
accesskey="&editDraftMsgCmd.accesskey;"
command="cmd_editDraftMsg"/>
<menuitem id="menu_newMsgFromTemplate"
label="&newMsgFromTemplateCmd.label;"
key="key_newMsgFromTemplate"
command="cmd_newMsgFromTemplate"/>
<menuitem id="menu_editTemplate"
label="&editTemplateMsgCmd.label;"
accesskey="&editTemplateMsgCmd.accesskey;"
command="cmd_editTemplateMsg"/>
<menuseparator id="messageMenuAfterCompositionCommandsSeparator"/>
<menuitem id="openMessageWindowMenuitem" label="&openMessageWindowCmd.label;"
command="cmd_openMessage"
accesskey="&openMessageWindowCmd.accesskey;"
key="key_openMessage"/>
#ifdef MAIN_WINDOW
<menuitem id="openConversationMenuitem" label="&openInConversationCmd.label;"
command="cmd_openConversation"
accesskey="&openInConversationCmd.accesskey;"
key="key_openConversation"/>
#endif
<menu id="openFeedMessage"
label="&openFeedMessage1.label;"
accesskey="&openFeedMessage1.accesskey;">
<menupopup id="menu_openFeedMessage">
<menuitem id="menu_openFeedWebPage"
type="radio"
name="openFeedGroup"
label="&openFeedWebPage.label;"
accesskey="&openFeedWebPage.accesskey;"
oncommand="FeedMessageHandler.onOpenPref = 0"/>
<menuitem id="menu_openFeedSummary"
type="radio"
name="openFeedGroup"
label="&openFeedSummary.label;"
accesskey="&openFeedSummary.accesskey;"
oncommand="FeedMessageHandler.onOpenPref = 1"/>
<menuitem id="menu_openFeedWebPageInMessagePane"
type="radio"
name="openFeedGroup"
label="&openFeedWebPageInMP.label;"
accesskey="&openFeedWebPageInMP.accesskey;"
oncommand="FeedMessageHandler.onOpenPref = 2"/>
</menupopup>
</menu>
#ifdef MAIN_WINDOW
<menuseparator id="messageAfterOpenMsgSeparator"/>
#endif
<menu id="msgAttachmentMenu"
label="&openAttachmentListCmd.label;"
accesskey="&openAttachmentListCmd.accesskey;"
disabled="true">
<menupopup id="attachmentMenuList"
onpopupshowing="fillAttachmentListPopup(event);">
<menuseparator/>
<menuitem id="menu-openAllAttachments"
label="&openAllAttachmentsCmd.label;"
accesskey="&openAllAttachmentsCmd.accesskey;"
command="cmd_openAllAttachments"/>
<menuitem id="menu-saveAllAttachments"
label="&saveAllAttachmentsCmd.label;"
accesskey="&saveAllAttachmentsCmd.accesskey;"
command="cmd_saveAllAttachments"/>
<menuitem id="menu-detachAllAttachments"
label="&detachAllAttachmentsCmd.label;"
accesskey="&detachAllAttachmentsCmd.accesskey;"
command="cmd_detachAllAttachments"/>
<menuitem id="menu-deleteAllAttachments"
label="&deleteAllAttachmentsCmd.label;"
accesskey="&deleteAllAttachmentsCmd.accesskey;"
command="cmd_deleteAllAttachments"/>
</menupopup>
</menu>
<menuseparator id="messageAfterAttachmentMenuSeparator"/>
<menu id="tagMenu" label="&tagMenu.label;" accesskey="&tagMenu.accesskey;" command="cmd_tag">
<menupopup id="tagMenu-tagpopup"
onpopupshowing="InitMessageTags(this);">
<menuitem id="tagMenu-addNewTag"
label="&addNewTag.label;"
accesskey="&addNewTag.accesskey;"
command="cmd_addTag"/>
<menuitem id="tagMenu-manageTags"
label="&manageTags.label;"
accesskey="&manageTags.accesskey;"
command="cmd_manageTags"/>
<menuseparator id="tagMenu-sep-afterTagAddNew"/>
<menuitem id="tagMenu-tagRemoveAll"
command="cmd_removeTags"/>
<menuseparator id="tagMenuAfterRemoveSeparator"/>
</menupopup>
</menu>
<menu id="markMenu" label="&markMenu.label;" accesskey="&markMenu.accesskey;">
<menupopup id="menu_MarkPopup" onpopupshowing="InitMessageMark()">
<menuitem id="markReadMenuItem" label="&markAsReadCmd.label;"
accesskey="&markAsReadCmd.accesskey;"
key="key_toggleRead"
command="cmd_markAsRead"/>
<menuitem id="markUnreadMenuItem" label="&markAsUnreadCmd.label;"
accesskey="&markAsUnreadCmd.accesskey;"
key="key_toggleRead"
command="cmd_markAsUnread"/>
<menuitem id="menu_markThreadAsRead"
label="&markThreadAsReadCmd.label;"
accesskey="&markThreadAsReadCmd.accesskey;"
command="cmd_markThreadAsRead"
key="key_markThreadAsRead"/>
<menuitem id="menu_markReadByDate"
label="&markReadByDateCmd.label;"
accesskey="&markReadByDateCmd.accesskey;"
command="cmd_markReadByDate"
key="key_markReadByDate"/>
<menuitem id="menu_markAllRead"
label="&markAllReadCmd.label;"
key="key_markAllRead"
accesskey="&markAllReadCmd.accesskey;"
command="cmd_markAllRead"/>
<menuseparator id="markMenuAfterAllReadSeparator"/>
<menuitem id="markFlaggedMenuItem"
type="checkbox"
label="&markStarredCmd.label;"
accesskey="&markStarredCmd.accesskey;"
command="cmd_markAsFlagged"
key="key_toggleFlagged"/>
<menuseparator id="markMenuAfterFlaggedSeparator"/>
<menuitem id="menu_markAsJunk" label="&markAsJunkCmd.label;"
accesskey="&markAsJunkCmd.accesskey;"
command="cmd_markAsJunk"
key="key_markJunk"/>
<menuitem id="menu_markAsNotJunk" label="&markAsNotJunkCmd.label;"
key="key_markNotJunk"
accesskey="&markAsNotJunkCmd.accesskey;"
command="cmd_markAsNotJunk"/>
<menuitem id="menu_recalculateJunkScore"
label="&recalculateJunkScoreCmd.label;"
accesskey="&recalculateJunkScoreCmd.accesskey;"
command="cmd_recalculateJunkScore"/>
</menupopup>
</menu>
<menuseparator id="messageMenuAfterMarkSeparator"/>
<menuitem id="archiveMainMenu" label="&archiveMsgCmd.label;"
accesskey="&archiveMsgCmd.accesskey;"
key="key_archive"
command="cmd_archive"/>
<menuitem id="menu_cancel" command="cmd_cancel"
label="&cancelNewsMsgCmd.label;"
accesskey="&cancelNewsMsgCmd.accesskey;"/>
<menu id="moveMenu"
label="&moveMsgToMenu.label;"
accesskey="&moveMsgToMenu.accesskey;"
oncommand="goDoCommand('cmd_moveMessage', event.target._folder)">
<menupopup is="folder-menupopup"
mode="filing"
showFileHereLabel="true"
showRecent="true"
recentLabel="&moveCopyMsgRecentMenu.label;"
recentAccessKey="&moveCopyMsgRecentMenu.accesskey;"
showFavorites="true"
favoritesLabel="&contextMoveCopyMsgFavoritesMenu.label;"
favoritesAccessKey="&contextMoveCopyMsgFavoritesMenu.accesskey;"/>
</menu>
<menu id="copyMenu"
label="&copyMsgToMenu.label;"
accesskey="&copyMsgToMenu.accesskey;"
oncommand="goDoCommand('cmd_copyMessage', event.target._folder)">
<menupopup is="folder-menupopup"
mode="filing"
showFileHereLabel="true"
showRecent="true"
recentLabel="&moveCopyMsgRecentMenu.label;"
recentAccessKey="&moveCopyMsgRecentMenu.accesskey;"
showFavorites="true"
favoritesLabel="&contextMoveCopyMsgFavoritesMenu.label;"
favoritesAccessKey="&contextMoveCopyMsgFavoritesMenu.accesskey;"/>
</menu>
<menuitem id="moveToFolderAgain" key="key_moveToFolderAgain" command="cmd_moveToFolderAgain"
label="&moveToFolderAgain.label;" accesskey="&moveToFolderAgain.accesskey;"/>
<menuseparator id="messageMenuAfterMoveCommandsSeparator"/>
<menuitem id="createFilter" label="&createFilter.label;"
accesskey="&createFilter.accesskey;"
command="cmd_createFilterFromMenu"/>
<menuseparator id="threadItemsSeparator"/>
<menuitem id="killThread"
label="&killThreadMenu.label;"
accesskey="&killThreadMenu.accesskey;"
command="cmd_killThread"
type="checkbox"
key="key_killThread"/>
<menuitem id="killSubthread"
label="&killSubthreadMenu.label;"
accesskey="&killSubthreadMenu.accesskey;"
type="checkbox"
command="cmd_killSubthread"
key="key_killSubthread"/>
<menuitem id="watchThread"
label="&watchThreadMenu.label;"
accesskey="&watchThreadMenu.accesskey;"
type="checkbox"
command="cmd_watchThread"
key="key_watchThread"/>
</menupopup>
</menu>
#ifdef MAIN_WINDOW
#include ../../../calendar/base/content/calendar-menu-events-tasks.inc.xhtml
#endif
<!-- Tools -->
<menu id="tasksMenu" label="&tasksMenu.label;" accesskey="&tasksMenu.accesskey;">
<menupopup id="taskPopup" onpopupshowing="document.commandDispatcher.updateCommands('create-menu-tasks')">
#ifndef XP_MACOSX
<menuitem hidden="true" accesskey="&messengerCmd.accesskey;" label="&messengerCmd.label;"
key="key_mail" oncommand="toMessengerWindow();" id="tasksMenuMail"/>
<menuitem id="addressBook"
label="&addressBookCmd.label;"
accesskey="&addressBookCmd.accesskey;"
key="key_addressbook"
oncommand="toAddressBook();"/>
<menuseparator id="devToolsSeparator"/>
#endif
<menuitem id="menu_openSavedFilesWnd" label="&savedFiles.label;"
accesskey="&savedFiles.accesskey;"
key="key_savedFiles"
oncommand="openSavedFilesWnd();"/>
<menuitem id="addonsManager"
data-l10n-id="menu-addons-and-themes"
oncommand="openAddonsMgr();"/>
<menuitem id="activityManager" label="&activitymanager.label;"
accesskey="&activitymanager.accesskey;"
oncommand="openActivityMgr();"/>
<menu id="imAccountsStatus" label="&imAccountsStatus.label;"
accesskey="&imAccountsStatus.accesskey;"
command="cmd_chatStatus">
<menupopup id="imStatusMenupopup">
<menuitem id="imStatusAvailable" status="available" label="&imStatus.available;" class="menuitem-iconic"/>
<menuitem id="imStatusUnavailable" status="unavailable" label="&imStatus.unavailable;" class="menuitem-iconic"/>
<menuseparator id="imStatusOfflineSeparator"/>
<menuitem id="imStatusOffline" status="offline" label="&imStatus.offline;" class="menuitem-iconic"/>
<menuseparator id="imStatusShowAccountsSeparator"/>
<menuitem id="imStatusShowAccounts" label="&imStatus.showAccounts;"/>
</menupopup>
</menu>
<menuitem id="joinChatMenuItem"
label="&joinChatCmd.label;"
accesskey="&joinChatCmd.accesskey;"
command="cmd_joinChat"/>
<menuseparator id="devToolsSeparator"/>
<menuitem id="filtersCmd" label="&filtersCmd2.label;"
accesskey="&filtersCmd2.accesskey;"
oncommand="MsgFilters();"/>
<menuitem id="applyFilters"
label="&filtersApply.label;"
accesskey="&filtersApply.accesskey;"
command="cmd_applyFilters"/>
<menuitem id="applyFiltersToSelection"
label="&filtersApplyToMessage.label;"
accesskey="&filtersApplyToMessage.accesskey;"
command="cmd_applyFiltersToSelection"/>
<menuseparator id="tasksMenuAfterApplySeparator"/>
<menuitem id="runJunkControls"
label="&runJunkControls.label;"
accesskey="&runJunkControls.accesskey;"
command="cmd_runJunkControls"/>
<menuitem id="deleteJunk"
label="&deleteJunk.label;"
accesskey="&deleteJunk.accesskey;"
command="cmd_deleteJunk"/>
<menuseparator id="tasksMenuAfterDeleteSeparator"/>
<menuitem id="menu_import" label="&importCmd.label;"
accesskey="&importCmd.accesskey;"
oncommand="toImport();"/>
<menuitem id="menu_export" label="&exportCmd.label;"
accesskey="&exportCmd.accesskey;"
oncommand="toExport();"/>
<menuitem id="manageKeysOpenPGP"
data-l10n-id="openpgp-manage-keys-openpgp-cmd"
oncommand="openKeyManager()"/>
<menu id="devtoolsMenu" label="&devtoolsMenu.label;" accesskey="&devtoolsMenu.accesskey;">
<menupopup id="devtoolsPopup">
<menuitem id="devtoolsToolbox"
label="&devToolboxCmd.label;"
accesskey="&devToolboxCmd.accesskey;"
key="key_devtoolsToolbox"
oncommand="BrowserToolboxLauncher.init();"/>
<menuitem id="addonDebugging"
label="&debugAddonsCmd.label;"
accesskey="&debugAddonsCmd.accesskey;"
oncommand="openAboutDebugging('addons')"/>
<menuseparator id="debuggingSeparator"/>
<menuitem id="javascriptConsole"
label="&errorConsoleCmd.label;"
accesskey="&errorConsoleCmd.accesskey;"
key="key_errorConsole"
oncommand="toJavaScriptConsole();"/>
</menupopup>
</menu>
<menuitem id="sanitizeHistory"
label="&clearRecentHistory.label;"
accesskey="&clearRecentHistory.accesskey;"
key="key_sanitizeHistory"
oncommand="toSanitize();"/>
#ifndef XP_UNIX
<menuseparator id="prefSep"/>
<menuitem id="menu_preferences"
oncommand="openOptionsDialog()"
data-l10n-id="menu-tools-settings"/>
<menuitem id="menu_accountmgr"
label="&accountManagerCmd2.label;"
accesskey="&accountManagerCmd2.accesskey;"
oncommand="MsgAccountManager(null);"/>
#else
#ifdef XP_MACOSX
<menuseparator id="prefSep"/>
<menuitem id="menu_preferences"
data-l10n-id="menu-tools-settings"
key="key_preferencesCmdMac"
oncommand="openOptionsDialog()"/>
<menuitem id="menu_accountmgr"
label="&accountManagerCmd2.label;"
accesskey="&accountManagerCmd2.accesskey;"
oncommand="MsgAccountManager(null);"/>
<menuitem id="menu_mac_services"
label="&servicesMenuMac.label;"/>
<menuitem id="menu_mac_hide_app"
label="&hideThisAppCmdMac.label;"
key="key_hideThisAppCmdMac"/>
<menuitem id="menu_mac_hide_others"
label="&hideOtherAppsCmdMac.label;"
key="key_hideOtherAppsCmdMac"/>
<menuitem id="menu_mac_show_all"
label="&showAllAppsCmdMac.label;"/>
#endif
#endif
</menupopup>
</menu>
#ifdef XP_MACOSX
#include macWindowMenu.inc.xhtml
#endif
<!-- Help -->
#include helpMenu.inc.xhtml
</menubar>