зеркало из https://github.com/mozilla/pjs.git
stage 1 for bug 42438, adding wallet functions to edit menu, r=dbragg
This commit is contained in:
Родитель
7cd64f57bb
Коммит
2953e0f374
|
@ -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">
|
||||
|
|
Загрузка…
Ссылка в новой задаче