зеркало из https://github.com/mozilla/pjs.git
allow for storing both encrypted and obscurred values
This commit is contained in:
Родитель
53c483c2ad
Коммит
e11cba89dc
|
@ -419,6 +419,9 @@ function ViewEntries()
|
|||
for (i=first; i<lastPlusOne; i++) {
|
||||
if (strings[entries[i]+1] != "") {
|
||||
var text = Decrypt(strings[entries[i]+1]);
|
||||
if ((strings[entries[i]+1])[0] != '~') {
|
||||
text += " (encrypted)";
|
||||
}
|
||||
AddItem("entrieslist", [text], "tree_", i-first);
|
||||
}
|
||||
}
|
||||
|
@ -440,6 +443,9 @@ function ViewSynonyms()
|
|||
var lastPlusOne = entries[schemas[FirstSelectedSchema()]+FirstSelectedEntry()+1]-1;
|
||||
for (i=first; i<lastPlusOne; i++) {
|
||||
var text = Decrypt(strings[i]);
|
||||
if (strings[i][0] != '~') {
|
||||
text += " (encrypted)";
|
||||
}
|
||||
AddItem("synonymslist", [text], "tree_", i-first);
|
||||
}
|
||||
EntrySelected();
|
||||
|
|
|
@ -47,3 +47,4 @@ SelectUserTitleLine = Select User
|
|||
NoPasswordsEverSaved = No passwords have ever been saved.
|
||||
Captured = Data has been captured.
|
||||
NotCaptured = There is nothing to capture.
|
||||
UnableToCapture = Unable to capture data.
|
||||
|
|
|
@ -281,6 +281,7 @@ pref("wallet.fetchPatches", false);
|
|||
pref("wallet.Server", "http://www.mozilla.org/wallet/tables/");
|
||||
pref("wallet.version", "1");
|
||||
pref("wallet.enabled", true);
|
||||
pref("wallet.crypto", false);
|
||||
pref("imageblocker.enabled", false);
|
||||
pref("messages.new_window", true); // ML obsolete; use mailnews.message_in_thread_window
|
||||
pref("intl.accept_languages", "en");
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
<script language="JavaScript">
|
||||
<![CDATA[
|
||||
_elementIDs = ["walletServer", "walletCaptureForms", "signonRememberSignons"];
|
||||
_elementIDs = ["walletServer", "walletCaptureForms", "signonRememberSignons", "encryptEnabled"];
|
||||
]]>
|
||||
</script>
|
||||
|
||||
|
@ -99,4 +99,14 @@
|
|||
oncommand="viewSignons();"/>
|
||||
</box>
|
||||
</titledbox>
|
||||
|
||||
<titledbox orient="vertical">
|
||||
<title><text value="&encryptHeader.label;"/></title>
|
||||
<html flex="1">&encryptDescription.label;</html>
|
||||
<checkbox id="encryptEnabled" value="&encryptEnabled.label;" accesskey="&encryptEnabled.accesskey;"
|
||||
pref="true" preftype="bool" prefstring="wallet.crypto"
|
||||
prefattribute="checked"/>
|
||||
|
||||
</titledbox>
|
||||
|
||||
</window>
|
||||
|
|
|
@ -21,3 +21,7 @@
|
|||
<!ENTITY changePasswords.label "Change Forms Manager Password...">
|
||||
<!ENTITY changePasswords.accesskey "c">
|
||||
|
||||
<!ENTITY encryptHeader.label "Encrypting versus Obscurring">
|
||||
<!ENTITY encryptDescription.label "Sensitive data that is stored on your hard disk can be either encrypted or obscurred. Encryption prevents the data from being read by an intruder but requires you to enter a password to access the data.">
|
||||
<!ENTITY encryptEnabled.label "Use encryption when storing sensitive data.">
|
||||
<!ENTITY encryptEnabled.accesskey "n">
|
||||
|
|
Загрузка…
Ссылка в новой задаче