Roll back view/search/go menu changes (bug 85386) for now, as need to develop a strategy that is consistent across applications, do not have cycles to develop this strategy at the moment.

This commit is contained in:
ben%netscape.com 2006-09-14 05:58:32 +00:00
Родитель c3cffcb0e1
Коммит 972a1e9b52
2 изменённых файлов: 59 добавлений и 36 удалений

Просмотреть файл

@ -200,9 +200,6 @@
<menuseparator/>
<menuitem id="menu_selectAll"/>
<menuseparator />
<menuitem id="menu_find" label="&findOnCmd.label;" accesskey="&findOnCmd.accesskey;" key="key_find" command="Browser:Find"/>
<menuitem id="menu_findAgain" label="&findAgainCmd.label;" accesskey="&findAgainCmd.accesskey;" key="key_findAgain" command="Browser:FindAgain"/>
<menuseparator />
<menuitem id="menu_preferences" oncommand="goPreferences('navigator.xul', 'chrome://communicator/content/pref/pref-navigator.xul', 'navigator')"/>
</menupopup>
</menu>
@ -218,19 +215,6 @@
</menu>
<menuseparator />
<menu accesskey="&goMenu.accesskey;" label="&goMenu.label;" oncommand="gotoHistoryIndex(event);">
<menupopup oncreate="updateGoMenu(event);">
<menuitem label="&goBackCmd.label;" accesskey="&goBackCmd.accesskey;" key="goBackKb" command="Browser:Back"/>
<menuitem label="&goForwardCmd.label;" accesskey="&goForwardCmd.accesskey;" key="goForwardKb" command="Browser:Forward"/>
<menuitem label="&goHomeCmd.label;" accesskey="&goHomeCmd.accesskey;" command="Browser:Home" key="goHome"/>
<menuseparator hidden="true"/>
</menupopup>
</menu>
<menuitem label="&stopCmd.label;" accesskey="&stopCmd.accesskey;" id="menuitem-stop" oncommand="BrowserStop();" key="key_stop"/>
<menuitem accesskey="&reloadCmd.accesskey;" key="key_reload" label="&reloadCmd.label;" oncommand="BrowserReload();"/>
<menuitem label="&showImagesCmd.label;" accesskey="&showImagesCmd.accesskey;" disabled="true" oncommand="BrowserReload();"/>
<menuseparator />
<!-- overlayed from viewZoomOverlay.xul -->
<menu id="menu_textZoom"/>
@ -239,11 +223,31 @@
<menuitem label="&useStyleSheetNone.label;" id="authssnoopt" type="radio" name="authorstyle" oncommand="stylesheetSwitch(window._content.document, '')"/>
</menupopup>
</menu>
<menu id="charsetMenu" />
<menuitem accesskey="&translateMenu.accesskey;" label="&translateMenu.label;" oncommand="Translate();"/>
<menuseparator />
<menuitem accesskey="&reloadCmd.accesskey;" key="key_reload" label="&reloadCmd.label;" oncommand="BrowserReload();"/>
<menuitem label="&showImagesCmd.label;" accesskey="&showImagesCmd.accesskey;" disabled="true" oncommand="BrowserReload();"/>
<menuitem label="&stopCmd.label;" accesskey="&stopCmd.accesskey;" id="menuitem-stop" oncommand="BrowserStop();" key="key_stop"/>
<menuseparator />
<menuitem accesskey="&pageSourceCmd.accesskey;" label="&pageSourceCmd.label;" key="key_viewSource" command="View:PageSource"/>
<menuitem accesskey="&pageInfoCmd.accesskey;" label="&pageInfoCmd.label;" key="key_viewInfo" command="View:PageInfo"/>
<menuseparator />
<menuitem accesskey="&translateMenu.accesskey;" label="&translateMenu.label;" oncommand="Translate();"/>
<menu label="&webContentMenu.label;" accesskey="&webContentMenu.accesskey;">
<menupopup datasources="rdf:chrome" ref="urn:mozilla:locale:root"
sortResource="http://www.mozilla.org/rdf/chrome#name"
sortDirection="ascending" oncommand="selectLocale(event)">
<menuitem label="&downloadMore.label;" accesskey="&downloadMore.accesskey;"
oncommand="loadXURL('urn:clienturl:viewmenu:intlwebcontent');"/>
<menuseparator/>
<template>
<menuitem class="standard" uri="rdf:*"
label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
value="rdf:http://www.mozilla.org/rdf/chrome#name"/>
</template>
</menupopup>
</menu>
<menu id="charsetMenu" />
<menuseparator/>
<menu label="&applyTheme.label;" accesskey="&applyTheme.accesskey;">
@ -265,10 +269,22 @@
<menu accesskey="&searchMenu.accesskey;" label="&searchMenu.label;">
<menupopup id="searchMenu">
<menuitem id="menu_find" label="&findOnCmd.label;" accesskey="&findOnCmd.accesskey;" key="key_find" command="Browser:Find"/>
<menuitem id="menu_findAgain" label="&findAgainCmd.label;" accesskey="&findAgainCmd.accesskey;" key="key_findAgain" command="Browser:FindAgain"/>
<menuseparator />
<menuitem label="&searchInternetCmd.label;" accesskey="&searchInternetCmd.accesskey;" oncommand="loadXURL('urn:clienturl:srchmenu:srchinternet');"/>
</menupopup>
</menu>
<menu accesskey="&goMenu.accesskey;" label="&goMenu.label;" oncommand="gotoHistoryIndex(event);">
<menupopup oncreate="updateGoMenu(event);">
<menuitem label="&goBackCmd.label;" accesskey="&goBackCmd.accesskey;" key="goBackKb" command="Browser:Back"/>
<menuitem label="&goForwardCmd.label;" accesskey="&goForwardCmd.accesskey;" key="goForwardKb" command="Browser:Forward"/>
<menuitem label="&goHomeCmd.label;" accesskey="&goHomeCmd.accesskey;" command="Browser:Home" key="goHome"/>
<menuseparator hidden="true"/>
</menupopup>
</menu>
<menu id="BookmarksMenu" label="&bookmarksMenu.label;" accesskey="&bookmarksMenu.accesskey;"
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
ref="NC:BookmarksRoot" flags="dont-test-empty" template="bookmarksMenuTemplate"

Просмотреть файл

@ -63,6 +63,8 @@
<!ENTITY translateMenu.label "Translate">
<!ENTITY translateMenu.accesskey "t">
<!ENTITY translate.commandKey "t">
<!-- I'd like all this to move to an overlay or something -->
<!ENTITY bidiMenu.label "Bidi Options">
<!ENTITY directionBidiMenu.label "Default Direction">
<!ENTITY directionRTLBidiCmd.label "Right to Left">
@ -87,6 +89,11 @@
<!ENTITY charactersetBidiMenu.label "Character set">
<!ENTITY doccharactersetBidiCmd.label "Use the document specified character set">
<!ENTITY defaultcharactersetBidiCmd.label "Use my default character set, overriding the document-specified character set">
<!ENTITY webContentMenu.label "Languages and Web Content">
<!ENTITY webContentMenu.accesskey "l">
<!ENTITY downloadMore.label "Download More">
<!ENTITY downloadMore.accesskey "d">
<!ENTITY applyTheme.label "Apply Theme">
<!ENTITY applyTheme.accesskey "A">
<!ENTITY themePreferencesCmd.label "Theme Preferences...">
@ -95,7 +102,7 @@
<!ENTITY getNewThemesCmd.accesskey "G">
<!ENTITY searchMenu.label "Search">
<!ENTITY searchMenu.accesskey "s">
<!ENTITY findOnCmd.label "Find...">
<!ENTITY findOnCmd.label "Find in This Page...">
<!ENTITY findOnCmd.accesskey "f">
<!ENTITY findOnCmd.commandkey "f">
<!ENTITY findAgainCmd.label "Find Again">