r=alecf, a=brendan@mozilla.org
update tasks menu to spec
This commit is contained in:
alecf%netscape.com 2006-07-29 05:34:02 +00:00
Родитель 5bef9a937c
Коммит 17580d4352
2 изменённых файлов: 63 добавлений и 24 удалений

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

@ -29,15 +29,14 @@
</template>
<menupopup id="taskPopup">
<menuitem value="&navigatorCmd.label;" oncommand="toNavigator()"/>
<menuitem value="&editorCmd.label;" oncommand="toEditor();" />
<menuitem value="&navigatorCmd.label;" accesskey="&navigatorCmd.accesskey;" oncommand="toNavigator()"/>
<menuitem value="&editorCmd.label;" accesskey="&editorCmd.accesskey;" oncommand="toEditor();" />
<menuseparator/>
<menuitem value="&addressBookCmd.label;" oncommand="toAddressBook()"/>
<menuitem value="&newsgroupsCmd.label;" disabled="true" oncommand="toNewsgroups()"/>
<menuitem value="&addressBookCmd.label;" accesskey="&addressBookCmd.accesskey;" oncommand="toAddressBook()"/>
<menuseparator/>
<menu value="&walletMenu.label;">
<menu value="&walletMenu.label;" accesskey="&walletMenu.accesskey;">
<menupopup id="personalManagers"
PasswordNotChanged = "&PasswordNotChanged;"
PasswordExpired = "&PasswordExpired;"
@ -48,51 +47,60 @@
NotCaptured = "&NotCaptured;"
noPrefills = "&noPrefills;"
oncreate="CheckForWalletAndImage()">
<menu value="&walletPasswordManager.label;">
<menu value="&walletPasswordManager.label;" accesskey="&walletPasswordManager.accesskey;">
<menupopup>
<menuitem value="&walletDisplaySignonsCmd.label;" oncommand="WalletDialog('signon');"/>
<menuitem value="&walletChangePasswordCmd.label;" oncommand="WalletAction('password');"/>
<menuitem value="&walletExpirePasswordCmd.label;" oncommand="WalletAction('expire');"/>
<menuitem value="&walletDisplaySignonsCmd.label;" accesskey="&walletDisplaySignonsCmd.accesskey;" oncommand="WalletDialog('signon');"/>
<menuitem value="&walletChangePasswordCmd.label;" accesskey="&walletChangePasswordCmd.accesskey;" oncommand="WalletAction('password');"/>
<menuitem value="&walletExpirePasswordCmd.label;" accesskey="&walletExpirePasswordCmd.accesskey;" oncommand="WalletAction('expire');"/>
<menuseparator/>
<menuitem value="&walletEncryptCmd.label;" id="encrypt"
accesskey="&walletEncryptCmd.accesskey;"
oncommand="WalletAction('encrypt');"/>
<menuitem value="&walletObscureCmd.label;" id="obscure"
accesskey="&walletObscureCmd.accesskey;"
oncommand="WalletAction('obscure');"/>
<menuitem value="&walletClearCmd.label;" id="clear"
accesskey="&walletClearCmd.accesskey;"
oncommand="WalletAction('clear');"/>
</menupopup>
</menu>
<menu value="&walletFormManager.label;" id="wallet">
<menu value="&walletFormManager.label;" accesskey="&walletFormManager.accesskey;" id="wallet">
<menupopup>
<menuitem id="walleteditor" value="&walletContentsCmd.label;" oncommand="WalletDialog('wallet');"/>
<menuitem value="&walletSafeFillCmd.label;" id="walletSafeFill" oncommand="WalletAction('safefill');"/>
<menuitem value="&walletQuickFillCmd.label;" id="walletQuickFill" oncommand="WalletAction('quickfill');" style="display:none;"/>
<menuitem value="&walletRequestToCaptureCmd.label;" id="walletCapture" oncommand="WalletAction('capture');"/>
<menuitem value="&walletContentsCmd.label;" accesskey="&walletContentsCmd.accesskey;" id="walleteditor" oncommand="WalletDialog('wallet');"/>
<menuitem value="&walletSafeFillCmd.label;" accesskey="&walletSafeFillCmd.accesskey;" id="walletSafeFill" oncommand="WalletAction('safefill');"/>
<menuitem value="&walletQuickFillCmd.label;" accesskey="&walletQuickFillCmd.accesskey;" id="walletQuickFill" oncommand="WalletAction('quickfill');"/>
<menuitem value="&walletRequestToCaptureCmd.label;" accesskey="&walletRequestToCaptureCmd.accesskey;" id="walletCapture" oncommand="WalletAction('capture');"/>
<menuseparator/>
<menuitem value="&walletInterviewCmd.label;" id="walletInterview" oncommand="WalletDialog('interview');"/>
<menuitem value="&walletSamplesCmd.label;" id="walletSamples" oncommand="WalletDialog('samples');"/>
<menuitem value="&walletInterviewCmd.label;" accesskey="&walletInterviewCmd.accesskey;" id="walletInterview" oncommand="WalletDialog('interview');"/>
<menuitem value="&walletSamplesCmd.label;" accesskey="&walletSamplesCmd.accesskey;" id="walletSamples" oncommand="WalletDialog('samples');"/>
</menupopup>
</menu>
<menu value="&walletCookieManager.label;">
<menu value="&walletCookieManager.label;" accesskey="&walletCookieManager.accesskey;">
<menupopup>
<menuitem value="&walletDisplayCookiesCmd.label;"
accesskey="&walletDisplayCookiesCmd.accesskey;"
oncommand="WalletDialog('cookie');"/>
<menuitem id="AllowCookies" value="&walletAllowCookiesCmd.label;"
accesskey="&walletAllowCookiesCmd.accesskey;"
msg="&walletAllowCookiesMsg.label;"
oncommand="WalletAction('cookieAllow');"/>
<menuitem id="BlockCookies" value="&walletBlockCookiesCmd.label;"
accesskey="&walletBlockCookiesCmd.accesskey;"
msg="&walletBlockCookiesMsg.label;"
oncommand="WalletAction('cookieBlock');"/>
</menupopup>
</menu>
<menu value="&walletImageManager.label;" id="image">
<menu value="&walletImageManager.label;" accesskey="&walletImageManager.accesskey;" id="image">
<menupopup>
<menuitem value="&walletDisplayImagesCmd.label;"
accesskey="&walletDisplayImagesCmd.accesskey;"
oncommand="WalletDialog('image');"/>
<menuitem id="AllowImages" value="&walletAllowImagesCmd.label;"
accesskey="&walletAllowImagesCmd.accesskey;"
msg="&walletAllowImagesMsg.label;"
oncommand="WalletAction('imageAllow');"/>
<menuitem id="BlockImages" value="&walletBlockImagesCmd.label;"
accesskey="&walletBlockImagesCmd.accesskey;"
msg="&walletBlockImagesMsg.label;"
oncommand="WalletAction('imageBlock');"/>
</menupopup>
@ -101,12 +109,12 @@
</menu>
<menuseparator/>
<menu value="&toolsMenu.label;">
<menu value="&toolsMenu.label;" accesskey="&toolsMenu.accesskey;">
<menupopup id="toolsPopup">
<menuitem value="&historyCmd.label;" oncommand="toHistory()"/>
<menuitem value="&importUtilCmd.label;" oncommand="toImport()"/>
<menuitem value="&javaConsoleCmd.label;" oncommand="toJavaConsole()"/>
<menuitem value="&javaScriptConsoleCmd.label;" oncommand="toJavaScriptConsole();"/>
<menuitem value="&historyCmd.label;" accesskey="&historyCmd.accesskey;" oncommand="toHistory()"/>
<menuitem value="&importUtilCmd.label;" accesskey="&importUtilCmd.accesskey;" oncommand="toImport()"/>
<menuitem value="&javaConsoleCmd.label;" accesskey="&javaConsoleCmd.accesskey;" oncommand="toJavaConsole()"/>
<menuitem value="&javaScriptConsoleCmd.label;" accesskey="&javaScriptConsoleCmd.accesskey;" oncommand="toJavaScriptConsole();"/>
</menupopup>
</menu>
<menuseparator/>

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

@ -3,49 +3,80 @@
<!ENTITY tasksMenu.accesskey "t">
<!-- LOCALIZATION NOTE (navigatorCmd.label): DONT_TRANSLATE -->
<!ENTITY navigatorCmd.label "Navigator">
<!ENTITY navigatorCmd.accesskey "n">
<!-- LOCALIZATION NOTE (editorCmd.label): DONT_TRANSLATE -->
<!ENTITY editorCmd.label "Composer">
<!ENTITY editorCmd.accesskey "c">
<!ENTITY addressBookCmd.label "Address Book">
<!ENTITY addressBookCmd.accesskey "a">
<!ENTITY newsgroupsCmd.label ".Newsgroups">
<!ENTITY toolsMenu.label "Tools">
<!ENTITY toolsMenu.accesskey "t">
<!ENTITY historyCmd.label "History">
<!ENTITY historyCmd.accesskey "h">
<!ENTITY securityInfoCmd.label ".Security Info">
<!ENTITY securityInfoCmd.accesskey "s">
<!ENTITY importUtilCmd.label "Import Utility">
<!ENTITY importUtilCmd.accesskey "i">
<!ENTITY javaConsoleCmd.label "Java Console">
<!ENTITY javaConsoleCmd.accesskey "j">
<!ENTITY javaScriptConsoleCmd.label "JavaScript Console">
<!ENTITY javaScriptConsoleCmd.accesskey "s">
<!-- LOCALIZATION NOTE (walletMenu.label): DONT_TRANSLATE -->
<!ENTITY walletMenu.label "Privacy and Security">
<!ENTITY walletMenu.accesskey "p">
<!ENTITY walletFormManager.label "Form Manager">
<!ENTITY walletFormManager.accesskey "f">
<!ENTITY walletPasswordManager.label "Password Manager">
<!ENTITY walletPasswordManager.accesskey "p">
<!ENTITY walletSafeFillCmd.label "Prefill Form with Captured Data">
<!ENTITY walletSafeFillCmd.accesskey "P">
<!ENTITY walletQuickFillCmd.label "Prefill Form Quickly">
<!ENTITY walletQuickFillCmd.accesskey "q">
<!ENTITY walletRequestToCaptureCmd.label "Capture Data found on Form">
<!ENTITY walletRequestToCaptureCmd.accesskey "c">
<!-- LOCALIZATION NOTE (walletContentsCmd.label): Do NOT translate "Wallet"-->
<!ENTITY walletContentsCmd.label "View Captured Form Data">
<!ENTITY walletContentsCmd.accesskey "v">
<!ENTITY walletDisplaySignonsCmd.label "View Stored Passwords">
<!ENTITY walletDisplaySignonsCmd.accesskey "v">
<!ENTITY walletDisplayCookiesCmd.label "View Stored Cookies">
<!ENTITY walletDisplayCookiesCmd.accesskey "v">
<!ENTITY walletAllowCookiesCmd.label "Allow this Site to Set Cookies">
<!ENTITY walletAllowCookiesCmd.accesskey "a">
<!ENTITY walletAllowCookiesMsg.label "Cookies from this site will always be accepted">
<!ENTITY walletBlockCookiesCmd.label "Block this Site from Setting Cookies">
<!ENTITY walletBlockCookiesCmd.accesskey "b">
<!ENTITY walletBlockCookiesMsg.label "Cookies from this site will always be rejected">
<!ENTITY walletDisplayImagesCmd.label "View Sites that can/cannot Display Images">
<!ENTITY walletDisplayImagesCmd.accesskey "v">
<!ENTITY walletAllowImagesCmd.label "Allow this Site to Display Images">
<!ENTITY walletAllowImagesCmd.accesskey "a">
<!ENTITY walletAllowImagesMsg.label "Images from this site will always be downloaded">
<!ENTITY walletBlockImagesCmd.label "Block this Site from Displaying Images">
<!ENTITY walletBlockImagesCmd.accesskey "b">
<!ENTITY walletBlockImagesMsg.label "Images from this site will never be downloaded">
<!ENTITY walletInterviewCmd.label "Interview">
<!ENTITY walletInterviewCmd.accesskey "i">
<!ENTITY walletSamplesCmd.label "Demonstration">
<!ENTITY walletSamplesCmd.accesskey "d">
<!ENTITY walletChangePasswordCmd.label "Change Master Password...">
<!ENTITY walletChangePasswordCmd.accesskey "c">
<!ENTITY walletExpirePasswordCmd.label "Log Out">
<!ENTITY walletExpirePasswordCmd.accesskey "l">
<!ENTITY walletEncryptCmd.label "Encrypt Stored Data">
<!ENTITY walletEncryptCmd.accesskey "e">
<!ENTITY walletObscureCmd.label "Obscure Stored Data">
<!ENTITY walletObscureCmd.accesskey "o">
<!ENTITY walletClearCmd.label "Clear Stored Data">
<!ENTITY walletClearCmd.accesskey "d">
<!ENTITY walletCookieManager.label "Cookie Manager">
<!ENTITY walletCookieManager.accesskey "c">
<!ENTITY walletImageManager.label "Image Manager">
<!ENTITY walletImageManager.accesskey "i">
<!ENTITY taskNavigator.tooltip "Navigator">
<!ENTITY taskComposer.tooltip "Composer">