2009-10-06 03:53:52 +04:00
|
|
|
<?xml version="1.0"?>
|
2008-07-22 16:21:15 +04:00
|
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
|
|
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
-
|
|
|
|
- The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
- 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
- the License. You may obtain a copy of the License at
|
|
|
|
- http://www.mozilla.org/MPL/
|
|
|
|
-
|
|
|
|
- Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
- for the specific language governing rights and limitations under the
|
|
|
|
- License.
|
|
|
|
-
|
|
|
|
- The Original Code is Mozilla Communicator client code, released
|
|
|
|
- March 31, 1998.
|
|
|
|
-
|
|
|
|
- The Initial Developer of the Original Code is
|
|
|
|
- Netscape Communications Corporation.
|
|
|
|
- Portions created by the Initial Developer are Copyright (C) 1998-1999
|
|
|
|
- the Initial Developer. All Rights Reserved.
|
|
|
|
-
|
|
|
|
- Contributor(s):
|
|
|
|
- Blake Ross <blakeross@telocity.com>
|
|
|
|
-
|
|
|
|
- Alternatively, the contents of this file may be used under the terms of
|
|
|
|
- either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
- or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
- in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
- of those above. If you wish to allow use of your version of this file only
|
|
|
|
- under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
- use your version of this file under the terms of the MPL, indicate your
|
|
|
|
- decision by deleting the provisions above and replace them with the notice
|
|
|
|
- and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
- the provisions above, a recipient may use your version of this file under
|
|
|
|
- the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
-
|
|
|
|
- ***** END LICENSE BLOCK ***** -->
|
|
|
|
<!DOCTYPE overlay SYSTEM "chrome://communicator/locale/contentAreaCommands.dtd" >
|
|
|
|
<overlay id="contentAreaContextOverlay"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
|
|
|
|
<!-- Context menu -->
|
2009-10-06 03:53:52 +04:00
|
|
|
<script type="application/javascript">
|
2008-07-22 16:21:15 +04:00
|
|
|
// Global variable that holds the nsContextMenu instance.
|
|
|
|
var gContextMenu = null;
|
|
|
|
</script>
|
2009-10-06 03:53:52 +04:00
|
|
|
<script type="application/javascript" src="chrome://global/content/inlineSpellCheckUI.js"/>
|
|
|
|
<script type="application/javascript" src="chrome://communicator/content/nsContextMenu.js"/>
|
2010-03-03 17:14:43 +03:00
|
|
|
<script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
2009-08-04 19:13:05 +04:00
|
|
|
<stringbundleset>
|
|
|
|
<stringbundle id="contentAreaCommandsBundle"
|
|
|
|
src="chrome://communicator/locale/contentAreaCommands.properties"/>
|
|
|
|
</stringbundleset>
|
|
|
|
|
2008-07-22 16:21:15 +04:00
|
|
|
<popupset id="contentAreaContextSet">
|
2009-10-06 03:53:52 +04:00
|
|
|
<!-- This is a generic context menu for a content area. It contains
|
2008-07-22 16:21:15 +04:00
|
|
|
each and every possible menu choice. The appropriate items are
|
|
|
|
hidden/shown upon display, based on what the user has clicked-on.
|
|
|
|
-->
|
2010-07-15 08:02:52 +04:00
|
|
|
<menupopup id="contentAreaContextMenu"
|
2011-05-13 23:33:14 +04:00
|
|
|
onpopupshowing="if (event.target != this) return true; gContextMenu = new nsContextMenu(this); return gContextMenu.shouldDisplay;"
|
2008-07-22 16:21:15 +04:00
|
|
|
onpopuphiding="if (event.target == this) gContextMenu = null;">
|
|
|
|
<menuitem id="popupwindow-reject"
|
|
|
|
label="&popupWindowRejectCmd.label;"
|
|
|
|
accesskey="&popupWindowRejectCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.rejectPopupWindows(event.shiftKey);"/>
|
|
|
|
<menuitem id="popupwindow-allow"
|
|
|
|
label="&popupWindowAllowCmd.label;"
|
|
|
|
accesskey="&popupWindowAllowCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.allowPopupWindows();"/>
|
|
|
|
<menuseparator id="context-sep-popup"/>
|
|
|
|
|
|
|
|
<menuitem id="spell-no-suggestions"
|
|
|
|
disabled="true"
|
|
|
|
label="&spellNoSuggestions.label;"/>
|
|
|
|
<menuseparator id="spell-add-separator"/>
|
|
|
|
<menuitem id="spell-add-to-dictionary"
|
|
|
|
label="&spellAddToDictionary.label;"
|
|
|
|
accesskey="&spellAddToDictionary.accesskey;"
|
|
|
|
oncommand="InlineSpellCheckerUI.addToDictionary();"/>
|
|
|
|
<menuitem id="spell-ignore-word"
|
|
|
|
label="&spellIgnoreWord.label;"
|
|
|
|
accesskey="&spellIgnoreWord.accesskey;"
|
|
|
|
oncommand="InlineSpellCheckerUI.ignoreWord();"/>
|
|
|
|
<menuseparator id="spell-suggestions-separator"/>
|
|
|
|
<menuitem id="context-openlinkintab"
|
|
|
|
label="&openLinkCmdInTab.label;"
|
|
|
|
accesskey="&openLinkCmdInTab.accesskey;"
|
2011-02-05 07:12:22 +03:00
|
|
|
oncommand="gContextMenu.openLinkInTab(event);"/>
|
2011-03-16 00:34:10 +03:00
|
|
|
<menuitem id="context-openlink"
|
|
|
|
label="&openLinkCmd.label;"
|
|
|
|
accesskey="&openLinkCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.openLink();"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuseparator id="context-sep-open"/>
|
|
|
|
<menuitem id="context-bookmarklink"
|
|
|
|
label="&bookmarkLinkCmd.label;"
|
|
|
|
accesskey="&bookmarkLinkCmd.accesskey;"
|
2010-08-09 00:06:47 +04:00
|
|
|
oncommand="gContextMenu.bookmarkLink();"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuitem id="context-savelink"
|
|
|
|
valueSaveAs="&saveLinkAsCmd.label;"
|
|
|
|
valueSave="&saveLinkCmd.label;"
|
|
|
|
accesskey="&saveLinkCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.saveLink();"/>
|
|
|
|
<menuitem id="context-copyemail"
|
|
|
|
label="©EmailCmd.label;"
|
|
|
|
accesskey="©EmailCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.copyEmail();"/>
|
|
|
|
<menuitem id="context-copylink"
|
|
|
|
label="©LinkCmd.label;"
|
|
|
|
accesskey="©LinkCmd.accesskey;"
|
|
|
|
command="cmd_copyLink"/>
|
|
|
|
<menuseparator id="context-sep-copylink"/>
|
2008-11-01 03:15:19 +03:00
|
|
|
<menuitem id="context-media-play"
|
|
|
|
label="&mediaPlay.label;"
|
|
|
|
accesskey="&mediaPlay.accesskey;"
|
|
|
|
oncommand="gContextMenu.mediaCommand('play');"/>
|
|
|
|
<menuitem id="context-media-pause"
|
|
|
|
label="&mediaPause.label;"
|
|
|
|
accesskey="&mediaPause.accesskey;"
|
|
|
|
oncommand="gContextMenu.mediaCommand('pause');"/>
|
|
|
|
<menuitem id="context-media-mute"
|
|
|
|
label="&mediaMute.label;"
|
|
|
|
accesskey="&mediaMute.accesskey;"
|
|
|
|
oncommand="gContextMenu.mediaCommand('mute');"/>
|
|
|
|
<menuitem id="context-media-unmute"
|
|
|
|
label="&mediaUnmute.label;"
|
|
|
|
accesskey="&mediaUnmute.accesskey;"
|
|
|
|
oncommand="gContextMenu.mediaCommand('unmute');"/>
|
|
|
|
<menuitem id="context-media-showcontrols"
|
|
|
|
label="&mediaShowControls.label;"
|
|
|
|
accesskey="&mediaShowControls.accesskey;"
|
|
|
|
oncommand="gContextMenu.mediaCommand('showcontrols');"/>
|
|
|
|
<menuitem id="context-media-hidecontrols"
|
|
|
|
label="&mediaHideControls.label;"
|
|
|
|
accesskey="&mediaHideControls.accesskey;"
|
|
|
|
oncommand="gContextMenu.mediaCommand('hidecontrols');"/>
|
2011-10-27 13:41:00 +04:00
|
|
|
<menuitem id="context-video-showstats"
|
|
|
|
label="&videoShowStats.label;"
|
|
|
|
accesskey="&videoShowStats.accesskey;"
|
|
|
|
oncommand="gContextMenu.mediaCommand('showstats');"/>
|
|
|
|
<menuitem id="context-video-hidestats"
|
|
|
|
label="&videoHideStats.label;"
|
|
|
|
accesskey="&videoHideStats.accesskey;"
|
|
|
|
oncommand="gContextMenu.mediaCommand('hidestats');"/>
|
2010-01-08 13:30:07 +03:00
|
|
|
<menuitem id="context-video-fullscreen"
|
|
|
|
label="&videoFullScreen.label;"
|
2011-10-27 13:41:00 +04:00
|
|
|
accesskey="&videoFullScreen.accesskey;"
|
2010-01-08 13:30:07 +03:00
|
|
|
oncommand="gContextMenu.fullScreenVideo();"/>
|
2008-11-01 03:15:19 +03:00
|
|
|
<menuseparator id="context-media-sep-commands"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuitem id="context-fitimage"
|
|
|
|
type="checkbox"
|
|
|
|
label="&fitImageCmd.label;"
|
|
|
|
accesskey="&fitImageCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.toggleImageSize();"/>
|
|
|
|
<menuitem id="context-reloadimage"
|
|
|
|
label="&reloadImageCmd.label;"
|
|
|
|
accesskey="&reloadImageCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.reloadImage();"/>
|
|
|
|
<menuitem id="context-viewimage"
|
|
|
|
label="&viewImageCmd.label;"
|
|
|
|
accesskey="&viewImageCmd.accesskey;"
|
2010-08-30 13:46:39 +04:00
|
|
|
oncommand="gContextMenu.viewMedia(event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
2011-07-03 13:37:56 +04:00
|
|
|
<menuitem id="context-blockimage"
|
|
|
|
oncommand="gContextMenu.toggleImageBlocking(true);"/>
|
|
|
|
<menuitem id="context-unblockimage"
|
|
|
|
oncommand="gContextMenu.toggleImageBlocking(false);"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuitem id="context-copyimage"
|
|
|
|
label="©ImageCmd.label;"
|
|
|
|
accesskey="©ImageCmd.accesskey;"
|
|
|
|
command="cmd_copyImage"/>
|
2009-08-26 16:09:45 +04:00
|
|
|
<menuitem id="context-viewvideo"
|
|
|
|
label="&viewVideoCmd.label;"
|
|
|
|
accesskey="&viewVideoCmd.accesskey;"
|
2010-08-30 13:46:39 +04:00
|
|
|
oncommand="gContextMenu.viewMedia(event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
2008-11-01 03:15:19 +03:00
|
|
|
<menuitem id="context-copyvideourl"
|
|
|
|
label="©VideoURLCmd.label;"
|
|
|
|
accesskey="©VideoURLCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.copyMediaLocation();"/>
|
|
|
|
<menuitem id="context-copyaudiourl"
|
|
|
|
label="©AudioURLCmd.label;"
|
|
|
|
accesskey="©AudioURLCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.copyMediaLocation();"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuseparator id="context-sep-copyimage"/>
|
|
|
|
<menuitem id="context-saveimage"
|
|
|
|
valueSaveAs="&saveImageAsCmd.label;"
|
|
|
|
valueSave="&saveImageCmd.label;"
|
|
|
|
accesskey="&saveImageCmd.accesskey;"
|
2008-11-01 03:15:19 +03:00
|
|
|
oncommand="gContextMenu.saveMedia();"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuitem id="context-setWallpaper"
|
|
|
|
label="&setWallpaperCmd.label;"
|
|
|
|
accesskey="&setWallpaperCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.setWallpaper();"/>
|
2008-11-01 03:15:19 +03:00
|
|
|
<menuitem id="context-savevideo"
|
|
|
|
label="&saveVideoCmd.label;"
|
|
|
|
accesskey="&saveVideoCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.saveMedia();"/>
|
|
|
|
<menuitem id="context-saveaudio"
|
|
|
|
label="&saveAudioCmd.label;"
|
|
|
|
accesskey="&saveAudioCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.saveMedia();"/>
|
2011-10-27 13:41:00 +04:00
|
|
|
<menuitem id="context-video-saveimage"
|
|
|
|
label="&videoSaveImage.label;"
|
|
|
|
accesskey="&videoSaveImage.accesskey;"
|
|
|
|
oncommand="gContextMenu.saveVideoFrameAsImage();"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuseparator id="context-sep-image"/>
|
|
|
|
<menuitem id="context-back"
|
|
|
|
label="&goBackCmd.label;"
|
|
|
|
accesskey="&goBackCmd.accesskey;"
|
2010-08-30 13:46:39 +04:00
|
|
|
oncommand="BrowserBack(event)"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuitem id="context-forward"
|
|
|
|
label="&goForwardCmd.label;"
|
|
|
|
accesskey="&goForwardCmd.accesskey;"
|
2010-08-30 13:46:39 +04:00
|
|
|
oncommand="BrowserForward(event)"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuitem id="context-reload"
|
|
|
|
label="&reloadCmd.label;"
|
|
|
|
accesskey="&reloadCmd.accesskey;"
|
2010-08-30 13:46:39 +04:00
|
|
|
oncommand="BrowserReload(event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuitem id="context-stop"
|
|
|
|
label="&stopCmd.label;"
|
|
|
|
accesskey="&stopCmd.accesskey;"
|
|
|
|
disabled="true"
|
|
|
|
oncommand="BrowserStop();"/>
|
|
|
|
<menuseparator id="context-sep-stop"/>
|
|
|
|
<menuitem id="context-bookmarkpage"
|
|
|
|
label="&bookmarkPageCmd.label;"
|
|
|
|
accesskey="&bookmarkPageCmd.accesskey;"
|
2010-08-09 00:06:47 +04:00
|
|
|
oncommand="gContextMenu.bookmarkThisPage();"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuitem id="context-savepage"
|
|
|
|
valueSaveAs="&savePageAsCmd.label;"
|
|
|
|
valueSave="&savePageCmd.label;"
|
|
|
|
accesskey="&savePageCmd.accesskey;"
|
2010-02-14 19:16:14 +03:00
|
|
|
oncommand="saveDocument(window.content.document, true);"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuseparator id="context-sep-viewbgimage"/>
|
|
|
|
<menuitem id="context-viewbgimage"
|
|
|
|
label="&viewBGImageCmd.label;"
|
|
|
|
accesskey="&viewBGImageCmd.accesskey;"
|
2010-08-30 13:46:39 +04:00
|
|
|
oncommand="gContextMenu.viewBGImage(event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
2011-05-14 04:26:42 +04:00
|
|
|
<menuitem id="context-undo"/>
|
|
|
|
<menuitem id="context-redo"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuseparator id="context-sep-undo"/>
|
2011-05-14 04:26:42 +04:00
|
|
|
<menuitem id="context-cut"/>
|
|
|
|
<menuitem id="context-copy"/>
|
|
|
|
<menuitem id="context-paste"/>
|
|
|
|
<menuitem id="context-delete"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuseparator id="context-sep-paste"/>
|
2011-05-14 04:26:42 +04:00
|
|
|
<menuitem id="context-selectall"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuseparator id="context-sep-selectall"/>
|
2011-01-08 17:02:23 +03:00
|
|
|
<menuitem id="context-keywordfield"
|
|
|
|
label="&keywordfield.label;"
|
|
|
|
accesskey="&keywordfield.accesskey;"
|
|
|
|
oncommand="AddKeywordForSearchField();"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuitem id="context-searchselect"
|
2011-03-22 07:05:31 +03:00
|
|
|
oncommand="BrowserSearch.loadSearch(gContextMenu.searchSelected(), true, event);"/>
|
2011-05-10 17:00:23 +04:00
|
|
|
<menuseparator id="context-sep-properties"/>
|
|
|
|
<menuitem id="context-viewpartialsource-selection"
|
|
|
|
label="&viewPartialSourceForSelectionCmd.label;"
|
|
|
|
accesskey="&viewPartialSourceCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.viewPartialSource('selection');"/>
|
|
|
|
<menuitem id="context-viewpartialsource-mathml"
|
|
|
|
label="&viewPartialSourceForMathMLCmd.label;"
|
|
|
|
accesskey="&viewPartialSourceCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.viewPartialSource('mathml');"/>
|
|
|
|
<menuitem id="context-viewsource"
|
|
|
|
label="&viewPageSourceCmd.label;"
|
|
|
|
accesskey="&viewPageSourceCmd.accesskey;"
|
|
|
|
observes="isImage"
|
|
|
|
oncommand="BrowserViewSourceOfDocument(content.document);"/>
|
|
|
|
<menuitem id="context-viewinfo"
|
|
|
|
label="&viewPageInfoCmd.label;"
|
|
|
|
accesskey="&viewPageInfoCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.viewInfo();"/>
|
|
|
|
<menuitem id="context-metadata"
|
|
|
|
label="&metadataCmd.label;"
|
|
|
|
accesskey="&metadataCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.showMetadata();"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuseparator id="frame-sep"/>
|
|
|
|
<menu id="frame" label="&thisFrameMenu.label;" accesskey="&thisFrameMenu.accesskey;">
|
|
|
|
<menupopup id="frame_popup">
|
2010-04-22 17:30:50 +04:00
|
|
|
<menuitem id="context-showonlythisframe"
|
|
|
|
label="&showOnlyThisFrameCmd.label;"
|
2008-07-22 16:21:15 +04:00
|
|
|
accesskey="&showOnlyThisFrameCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.showOnlyThisFrame();"/>
|
2010-04-22 17:30:50 +04:00
|
|
|
<menuitem id="context-openframeintab"
|
|
|
|
label="&openFrameCmdInTab.label;"
|
2008-07-22 16:21:15 +04:00
|
|
|
accesskey="&openFrameCmdInTab.accesskey;"
|
2011-02-05 07:12:22 +03:00
|
|
|
oncommand="gContextMenu.openFrameInTab(event);"/>
|
2011-03-16 00:34:10 +03:00
|
|
|
<menuitem id="context-openframe"
|
|
|
|
label="&openFrameCmd.label;"
|
|
|
|
accesskey="&openFrameCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.openFrame();"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuseparator/>
|
2010-04-22 17:30:50 +04:00
|
|
|
<menuitem id="context-reloadframe"
|
2008-07-22 16:21:15 +04:00
|
|
|
label="&reloadFrameCmd.label;"
|
|
|
|
accesskey="&reloadFrameCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.reloadFrame();"/>
|
|
|
|
<menuseparator/>
|
2010-04-22 17:30:50 +04:00
|
|
|
<menuitem id="context-bookmarkframe"
|
|
|
|
label="&bookmarkFrameCmd.label;"
|
2008-07-22 16:21:15 +04:00
|
|
|
accesskey="&bookmarkFrameCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.addBookmarkForFrame();"/>
|
2010-04-22 17:30:50 +04:00
|
|
|
<menuitem id="context-saveframe"
|
2008-07-22 16:21:15 +04:00
|
|
|
valueSaveAs="&saveFrameAsCmd.label;"
|
|
|
|
valueSave="&saveFrameCmd.label;"
|
|
|
|
accesskey="&saveFrameCmd.accesskey;"
|
2010-02-14 19:16:14 +03:00
|
|
|
oncommand="saveDocument(gContextMenu.target.ownerDocument, true);"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuseparator/>
|
2010-04-22 17:30:50 +04:00
|
|
|
<menuitem id="context-viewframesource"
|
|
|
|
label="&viewFrameSourceCmd.label;"
|
2008-07-22 16:21:15 +04:00
|
|
|
accesskey="&viewFrameSourceCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.viewFrameSource();"/>
|
2010-04-22 17:30:50 +04:00
|
|
|
<menuitem id="context-viewframeinfo"
|
|
|
|
label="&viewFrameInfoCmd.label;"
|
2008-07-22 16:21:15 +04:00
|
|
|
accesskey="&viewFrameInfoCmd.accesskey;"
|
2009-10-06 03:53:52 +04:00
|
|
|
oncommand="gContextMenu.viewFrameInfo();"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menuseparator id="spell-separator"/>
|
|
|
|
<menuitem id="spell-check-enabled"
|
|
|
|
label="&spellCheckEnable.label;"
|
|
|
|
type="checkbox"
|
|
|
|
accesskey="&spellCheckEnable.accesskey;"
|
|
|
|
oncommand="InlineSpellCheckerUI.toggleEnabled();"/>
|
|
|
|
<menuitem id="spell-add-dictionaries-main"
|
|
|
|
label="&spellAddDictionaries.label;"
|
|
|
|
accesskey="&spellAddDictionaries.accesskey;"
|
2011-06-29 23:37:06 +04:00
|
|
|
oncommand="openDictionaryList();"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menu id="spell-dictionaries"
|
|
|
|
label="&spellDictionaries.label;"
|
|
|
|
accesskey="&spellDictionaries.accesskey;">
|
|
|
|
<menupopup id="spell-dictionaries-menu">
|
|
|
|
<menuseparator id="spell-language-separator"/>
|
|
|
|
<menuitem id="spell-add-dictionaries"
|
|
|
|
label="&spellAddDictionaries.label;"
|
|
|
|
accesskey="&spellAddDictionaries.accesskey;"
|
2011-06-29 23:37:06 +04:00
|
|
|
oncommand="openDictionaryList();"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menuseparator hidden="true" id="context-sep-bidi"/>
|
|
|
|
<menuitem hidden="true" id="context-bidi-text-direction-toggle"
|
|
|
|
label="&bidiSwitchTextDirectionItem.label;"
|
|
|
|
accesskey="&bidiSwitchTextDirectionItem.accesskey;"
|
|
|
|
command="cmd_switchTextDirection"/>
|
|
|
|
<menuitem hidden="true" id="context-bidi-page-direction-toggle"
|
|
|
|
label="&bidiSwitchPageDirectionItem.label;"
|
|
|
|
accesskey="&bidiSwitchPageDirectionItem.accesskey;"
|
|
|
|
oncommand="SwitchDocumentDirection(window.content);"/>
|
2010-07-15 08:02:52 +04:00
|
|
|
</menupopup>
|
2008-07-22 16:21:15 +04:00
|
|
|
</popupset>
|
|
|
|
</overlay>
|