Bug 598115 - Remove the option to email Sync Key from install wizard. r=mconnor a=blocking-beta7

This commit is contained in:
Philipp von Weitershausen 2010-09-22 18:23:42 +02:00
parent 0c24e90bcc
commit 81cc333670
5 changed files with 0 additions and 45 deletions

View File

@ -108,9 +108,6 @@
</rows>
</grid>
<hbox id="passphraseBackupButtons">
<button label="&button.syncKeyBackup.email.label;"
accesskey="&button.syncKeyBackup.email.accesskey;"
oncommand="gSyncUtils.passphraseEmail('passphraseBox');"/>
<button label="&button.syncKeyBackup.print.label;"
accesskey="&button.syncKeyBackup.print.accesskey;"
oncommand="gSyncUtils.passphrasePrint('passphraseBox');"/>

View File

@ -229,10 +229,6 @@
<groupbox align="center">
<description>&syncKeyBackup.description;</description>
<hbox>
<button label="&button.syncKeyBackup.email.label;"
accesskey="&button.syncKeyBackup.email.accesskey;"
oncommand="gSyncUtils.passphraseEmail('weavePassphrase');
gSyncSetup.afterBackup();"/>
<button label="&button.syncKeyBackup.print.label;"
accesskey="&button.syncKeyBackup.print.accesskey;"
oncommand="gSyncUtils.passphrasePrint('weavePassphrase');

View File

@ -146,31 +146,6 @@ let gSyncUtils = {
return pp;
},
/**
* Trigger the mailto protocol handler to send a passphrase backup email.
*
* @param elid : ID of the form element containing the passphrase.
*/
passphraseEmail: function(elid) {
let pp = document.getElementById(elid).value;
let subject = this.bundle.GetStringFromName("email.syncKey.subject");
let label = this.bundle.formatStringFromName("email.syncKey.label", [pp], 1);
let body = "&body=" + label + "%0A%0A" +
this.bundle.GetStringFromName("email.syncKey.description")
+ "%0A%0A" +
this.bundle.GetStringFromName("email.keepItSecret.label") +
this.bundle.GetStringFromName("email.keepItSecret.description")
+ "%0A%0A" +
this.bundle.GetStringFromName("email.keepItSafe.label") +
this.bundle.GetStringFromName("email.keepItSafe.description")
+ "%0A%0A" +
this.bundle.GetStringFromName("email.findOutMore.label");
let uri = Weave.Utils.makeURI("mailto:?subject=" + subject + body);
let protoSvc = Cc["@mozilla.org/uriloader/external-protocol-service;1"]
.getService(Ci.nsIExternalProtocolService);
protoSvc.loadURI(uri);
},
/**
* Prepare an invisible iframe with the passphrase backup document.
* Used by both the print and saving methods.

View File

@ -45,8 +45,6 @@
<!ENTITY syncKeyGenerate.label "Generate">
<!ENTITY syncKeyBackup.description "Your Sync Key is required to access &syncBrand.fullName.label; on other machines. Please create a backup copy. We cannot help you recover your Sync Key.">
<!ENTITY button.syncKeyBackup.email.label "Email…">
<!ENTITY button.syncKeyBackup.email.accesskey "E">
<!ENTITY button.syncKeyBackup.print.label "Print…">
<!ENTITY button.syncKeyBackup.print.accesskey "P">
<!ENTITY button.syncKeyBackup.save.label "Save…">

View File

@ -25,17 +25,6 @@ historyDaysCount.label = %S day of history;%S days of history
# http://developer.mozilla.org/en/docs/Localization_and_Plurals
passwordsCount.label = %S password;%S passwords
# LOCALIZATION NOTE (email.synckey.*): "Firefox Sync" should match
# &syncBrand.fullName.label; from syncBrand.dtd
email.syncKey.subject = Your Firefox Sync Key
email.syncKey.label = Your Firefox Sync Key: %S
email.syncKey.description = This key is used to decode the data in your Firefox Sync account. You will need to enter the key each time you configure Firefox Sync on a new computer or device.
email.keepItSecret.label = Keep it secret!\u0020
email.keepItSecret.description = Your Firefox Sync account is encrypted to protect your privacy. Without this key, it would take years for anyone to decode your personal information. You are the only person who holds this key. This means you're the only one who can access your Firefox Sync data.
email.keepItSafe.label = Keep it safe!\u0020
email.keepItSafe.description = Do not lose this key. We don't keep a copy of your key (that wouldn't be keeping it secret!) so we can't help you recover it if it's lost. You'll need to use this key any time you connect a new computer or device to Firefox Sync.
email.findOutMore.label = Find out more about Firefox Sync and your privacy at https://services.mozilla.com.
save.synckey.title = Save Sync Key
newAccount.action.label = Firefox Sync is now set up to automatically sync all of your browser data.