stage 1 for bug 42438, adding wallet functions to edit menu, r=dbragg

This commit is contained in:
morse%netscape.com 2006-07-29 05:34:09 +00:00
Родитель 61cd7dd314
Коммит 2f82ade54f
3 изменённых файлов: 8 добавлений и 11 удалений

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

@ -344,17 +344,13 @@ function WalletAction( action )
if( appCore ) {
switch( action ) {
case "safefill":
if (appCore.walletPreview(window, window._content)) {
window.alert(strings.getAttribute("noPrefills"));
}
appCore.walletPreview(window, window._content);
break;
// case "password":
// appCore.walletChangePassword();
// break;
case "quickfill":
if (appCore.walletQuickFillin(window._content)) {
window.alert(strings.getAttribute("noPrefills"));
}
appCore.walletQuickFillin(window._content);
break;
case "capture":
default:

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

@ -68,6 +68,7 @@
<menupopup>
<menuitem value="&walletContentsCmd.label;" accesskey="&walletContentsCmd.accesskey;" id="walleteditor" oncommand="WalletDialog('wallet');"/>
<menuitem value="&walletSitesCmd.label;" accesskey="&walletSitesCmd.accesskey;" id="walletsites" oncommand="WalletDialog('walletsites');"/>
<menuseparator/>
<menuitem value="&walletSafeFillCmd.label;" accesskey="&walletSafeFillCmd.accesskey;" id="walletSafeFill" oncommand="WalletAction('safefill');"/>
<!--
<menuitem value="&walletQuickFillCmd.label;" accesskey="&walletQuickFillCmd.accesskey;" id="walletQuickFill" oncommand="WalletAction('quickfill');"/>

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

@ -32,17 +32,17 @@
<!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 walletSafeFillCmd.label "Prefill Form">
<!ENTITY walletSafeFillCmd.accesskey "f">
<!ENTITY walletQuickFillCmd.label "Prefill Form Quickly">
<!ENTITY walletQuickFillCmd.accesskey "q">
<!ENTITY walletRequestToCaptureCmd.label "Capture Data found on Form">
<!ENTITY walletRequestToCaptureCmd.accesskey "c">
<!ENTITY walletRequestToCaptureCmd.label "Save Form Data">
<!ENTITY walletRequestToCaptureCmd.accesskey "S">
<!-- LOCALIZATION NOTE (walletContentsCmd.label): Do NOT translate "Wallet"-->
<!ENTITY walletContentsCmd.label "View Captured Form Data">
<!ENTITY walletContentsCmd.accesskey "v">
<!ENTITY walletSitesCmd.label "View Sites">
<!ENTITY walletSitesCmd.accesskey "s">
<!ENTITY walletSitesCmd.accesskey "w">
<!ENTITY walletDisplaySignonsCmd.label "View Stored Passwords">
<!ENTITY walletDisplaySignonsCmd.accesskey "v">
<!ENTITY walletDisplayCookiesCmd.label "View Stored Cookies">