3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v.
2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/
2.0/.
8 <!ENTITY % brandDTD SYSTEM
"chrome://branding/locale/brand.dtd">
10 <!ENTITY % baseMenuOverlayDTD SYSTEM
"chrome://browser/locale/baseMenuOverlay.dtd">
13 <overlay id=
"baseMenuOverlay"
14 xmlns:
rdf=
"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
15 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
17 <script type=
"application/javascript" src=
"chrome://browser/content/utilityOverlay.js"/>
20 <!-- nsMenuBarX hides these and uses them to build the Application menu.
21 When using Carbon widgets for Mac OS X widgets, some of these are not
22 used as they only apply to Cocoa widget builds. All version of Firefox
23 through Firefox 2 will use Carbon widgets. -->
24 <menupopup id=
"menu_ToolsPopup">
25 <menuitem id=
"menu_preferences" label=
"&preferencesCmdMac.label;" key=
"key_preferencesCmdMac" oncommand=
"openPreferences();"/>
26 <menuitem id=
"menu_mac_services" label=
"&servicesMenuMac.label;"/>
27 <menuitem id=
"menu_mac_hide_app" label=
"&hideThisAppCmdMac.label;" key=
"key_hideThisAppCmdMac"/>
28 <menuitem id=
"menu_mac_hide_others" label=
"&hideOtherAppsCmdMac.label;" key=
"key_hideOtherAppsCmdMac"/>
29 <menuitem id=
"menu_mac_show_all" label=
"&showAllAppsCmdMac.label;"/>
31 <!-- Mac window menu -->
32 #include ../../../toolkit/content/macWindowMenu.inc
37 label=
"&helpMenuWin.label;"
38 accesskey=
"&helpMenuWin.accesskey;">
41 label=
"&helpMenu.label;"
42 accesskey=
"&helpMenu.accesskey;">
44 <menupopup id=
"menu_HelpPopup" onpopupshowing=
"buildHelpMenu();">
45 <menuitem id=
"menu_openHelp"
46 oncommand=
"openHelpLink('firefox-help')"
47 onclick=
"checkForMiddleClick(this, event);"
48 label=
"&productHelp.label;"
49 accesskey=
"&productHelp.accesskey;"
51 key=
"key_openHelpMac"/>
55 <menuitem id=
"menu_openTour"
56 oncommand=
"openTourPage();"
57 label=
"&helpShowTour.label;"
58 accesskey=
"&helpShowTour.accesskey;"/>
59 <menuitem id=
"menu_keyboardShortcuts"
60 oncommand=
"openHelpLink('keyboard-shortcuts')"
61 onclick=
"checkForMiddleClick(this, event);"
62 label=
"&helpKeyboardShortcuts.label;"
63 accesskey=
"&helpKeyboardShortcuts.accesskey;"/>
64 #ifdef MOZ_SERVICES_HEALTHREPORT
65 <menuitem id=
"healthReport"
66 label=
"&healthReport.label;"
67 accesskey=
"&healthReport.accesskey;"
68 oncommand=
"openHealthReport()"
69 onclick=
"checkForMiddleClick(this, event);"/>
71 <menuitem id=
"troubleShooting"
72 accesskey=
"&helpTroubleshootingInfo.accesskey;"
73 label=
"&helpTroubleshootingInfo.label;"
74 oncommand=
"openTroubleshootingPage()"
75 onclick=
"checkForMiddleClick(this, event);"/>
76 <menuitem id=
"feedbackPage"
77 accesskey=
"&helpFeedbackPage.accesskey;"
78 label=
"&helpFeedbackPage.label;"
79 oncommand=
"openFeedbackPage()"
80 onclick=
"checkForMiddleClick(this, event);"/>
81 <menuitem id=
"helpSafeMode"
82 accesskey=
"&helpSafeMode.accesskey;"
83 label=
"&helpSafeMode.label;"
84 oncommand=
"safeModeRestart();"/>
85 <menuseparator id=
"aboutSeparator"/>
86 <menuitem id=
"aboutName"
87 accesskey=
"&aboutProduct.accesskey;"
88 label=
"&aboutProduct.label;"
89 oncommand=
"openAboutDialog();"/>
93 <keyset id=
"baseMenuKeyset">
95 <key id=
"key_openHelpMac"
96 oncommand=
"openHelpLink('firefox-osxkey');"
97 key=
"&helpMac.commandkey;"
99 <!-- These are used to build the Application menu under Cocoa widgets -->
100 <key id=
"key_preferencesCmdMac"
101 key=
"&preferencesCmdMac.commandkey;"
103 <key id=
"key_hideThisAppCmdMac"
104 key=
"&hideThisAppCmdMac.commandkey;"
106 <key id=
"key_hideOtherAppsCmdMac"
107 key=
"&hideOtherAppsCmdMac.commandkey;"
108 modifiers=
"accel,alt"/>
112 <stringbundleset id=
"stringbundleset">
113 <stringbundle id=
"bundle_browser" src=
"chrome://browser/locale/browser.properties"/>
114 <stringbundle id=
"bundle_browser_region" src=
"chrome://browser-region/locale/region.properties"/>