зеркало из 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 ) {
|
if( appCore ) {
|
||||||
switch( action ) {
|
switch( action ) {
|
||||||
case "safefill":
|
case "safefill":
|
||||||
if (appCore.walletPreview(window, window._content)) {
|
appCore.walletPreview(window, window._content);
|
||||||
window.alert(strings.getAttribute("noPrefills"));
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
// case "password":
|
// case "password":
|
||||||
// appCore.walletChangePassword();
|
// appCore.walletChangePassword();
|
||||||
// break;
|
// break;
|
||||||
case "quickfill":
|
case "quickfill":
|
||||||
if (appCore.walletQuickFillin(window._content)) {
|
appCore.walletQuickFillin(window._content);
|
||||||
window.alert(strings.getAttribute("noPrefills"));
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case "capture":
|
case "capture":
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -68,6 +68,7 @@
|
||||||
<menupopup>
|
<menupopup>
|
||||||
<menuitem value="&walletContentsCmd.label;" accesskey="&walletContentsCmd.accesskey;" id="walleteditor" oncommand="WalletDialog('wallet');"/>
|
<menuitem value="&walletContentsCmd.label;" accesskey="&walletContentsCmd.accesskey;" id="walleteditor" oncommand="WalletDialog('wallet');"/>
|
||||||
<menuitem value="&walletSitesCmd.label;" accesskey="&walletSitesCmd.accesskey;" id="walletsites" oncommand="WalletDialog('walletsites');"/>
|
<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="&walletSafeFillCmd.label;" accesskey="&walletSafeFillCmd.accesskey;" id="walletSafeFill" oncommand="WalletAction('safefill');"/>
|
||||||
<!--
|
<!--
|
||||||
<menuitem value="&walletQuickFillCmd.label;" accesskey="&walletQuickFillCmd.accesskey;" id="walletQuickFill" oncommand="WalletAction('quickfill');"/>
|
<menuitem value="&walletQuickFillCmd.label;" accesskey="&walletQuickFillCmd.accesskey;" id="walletQuickFill" oncommand="WalletAction('quickfill');"/>
|
||||||
|
|
|
@ -32,17 +32,17 @@
|
||||||
<!ENTITY walletFormManager.accesskey "f">
|
<!ENTITY walletFormManager.accesskey "f">
|
||||||
<!ENTITY walletPasswordManager.label "Password Manager">
|
<!ENTITY walletPasswordManager.label "Password Manager">
|
||||||
<!ENTITY walletPasswordManager.accesskey "p">
|
<!ENTITY walletPasswordManager.accesskey "p">
|
||||||
<!ENTITY walletSafeFillCmd.label "Prefill Form with Captured Data">
|
<!ENTITY walletSafeFillCmd.label "Prefill Form">
|
||||||
<!ENTITY walletSafeFillCmd.accesskey "P">
|
<!ENTITY walletSafeFillCmd.accesskey "f">
|
||||||
<!ENTITY walletQuickFillCmd.label "Prefill Form Quickly">
|
<!ENTITY walletQuickFillCmd.label "Prefill Form Quickly">
|
||||||
<!ENTITY walletQuickFillCmd.accesskey "q">
|
<!ENTITY walletQuickFillCmd.accesskey "q">
|
||||||
<!ENTITY walletRequestToCaptureCmd.label "Capture Data found on Form">
|
<!ENTITY walletRequestToCaptureCmd.label "Save Form Data">
|
||||||
<!ENTITY walletRequestToCaptureCmd.accesskey "c">
|
<!ENTITY walletRequestToCaptureCmd.accesskey "S">
|
||||||
<!-- LOCALIZATION NOTE (walletContentsCmd.label): Do NOT translate "Wallet"-->
|
<!-- LOCALIZATION NOTE (walletContentsCmd.label): Do NOT translate "Wallet"-->
|
||||||
<!ENTITY walletContentsCmd.label "View Captured Form Data">
|
<!ENTITY walletContentsCmd.label "View Captured Form Data">
|
||||||
<!ENTITY walletContentsCmd.accesskey "v">
|
<!ENTITY walletContentsCmd.accesskey "v">
|
||||||
<!ENTITY walletSitesCmd.label "View Sites">
|
<!ENTITY walletSitesCmd.label "View Sites">
|
||||||
<!ENTITY walletSitesCmd.accesskey "s">
|
<!ENTITY walletSitesCmd.accesskey "w">
|
||||||
<!ENTITY walletDisplaySignonsCmd.label "View Stored Passwords">
|
<!ENTITY walletDisplaySignonsCmd.label "View Stored Passwords">
|
||||||
<!ENTITY walletDisplaySignonsCmd.accesskey "v">
|
<!ENTITY walletDisplaySignonsCmd.accesskey "v">
|
||||||
<!ENTITY walletDisplayCookiesCmd.label "View Stored Cookies">
|
<!ENTITY walletDisplayCookiesCmd.label "View Stored Cookies">
|
||||||
|
|
Загрузка…
Ссылка в новой задаче