Bug 594577 - Sync UI: Get rid of more "secret phrase" occurrences. r=mconnor a=gavin

This commit is contained in:
Philipp von Weitershausen 2010-09-15 15:55:04 +02:00
parent 06685cacf3
commit 09f152d5ff
2 changed files with 10 additions and 10 deletions

View File

@ -105,7 +105,7 @@ let Change = {
document.title = this._str("change.synckey.title");
introText.innerHTML = this._str("change.synckey.introText");
introText2.innerHTML = this._str("change.synckey.introText2");
warningText.innerHTML = this._str("change.synckey.warningText");
warningText.innerHTML = this._str("change.synckey2.warningText");
this._dialog.getButton("accept")
.setAttribute("label", this._str("change.synckey.acceptButton"));
}
@ -127,7 +127,7 @@ let Change = {
else {
document.title = this._str("change.password.title");
box2label.value = this._str("new.password.confirm");
introText.textContent = this._str("change.password.introText");
introText.textContent = this._str("change.password2.introText");
warningText.textContent = this._str("change.password.warningText");
this._dialog.getButton("accept")
.setAttribute("label", this._str("change.password.acceptButton"));
@ -181,7 +181,7 @@ let Change = {
if (this._updatingPassphrase) {
Weave.Service.passphrase = pp;
if (Weave.Service.login()) {
this._updateStatus("change.synckey.success", "success");
this._updateStatus("change.synckey2.success", "success");
Weave.Service.persistLogin();
}
else {
@ -192,9 +192,9 @@ let Change = {
this._updateStatus("change.synckey.label", "active");
if (Weave.Service.changePassphrase(pp))
this._updateStatus("change.synckey.success", "success");
this._updateStatus("change.synckey2.success", "success");
else
this._updateStatus("change.synckey.error", "error");
this._updateStatus("change.synckey2.error", "error");
}
return false;

View File

@ -5,19 +5,19 @@ change.password.status.active = Changing your password…
change.password.status.success = Your password has been changed.
change.password.status.error = There was an error changing your password.
change.password.introText = Your password must be at least 8 characters long. It cannot be the same as either your user name or your secret phrase.
change.password2.introText = Your password must be at least 8 characters long. It cannot be the same as either your user name or your Sync Key.
change.password.warningText = Note: All of your other devices will be unable to connect to your account once you change this password.
change.synckey.title = Change your Sync Key
change.synckey.acceptButton = Change Sync Key
change.synckey.label = Changing Sync Key and uploading local data, please wait…
change.synckey.error = There was an error while changing your secret phrase!
change.synckey.success = Your secret phrase was successfully changed!
change.synckey2.error = There was an error while changing your Sync Key!
change.synckey2.success = Your Sync Key was successfully changed!
change.synckey.introText = Firefox Cares About Your Privacy
change.synckey.introText2 = To ensure your total privacy, all of your data is encrypted prior to being uploaded. The key to decrypt your data is not uploaded.
# LOCALIZATION NOTE (change.synckey.warningText) "Sync" should match &syncBrand.shortName.label; from syncBrand.dtd
change.synckey.warningText = Note: Changing this will erase all data stored on the Sync server and upload new data secured by this phrase. Your other devices will not sync until the new Sync Key is entered for that device.
# LOCALIZATION NOTE (change.synckey2.warningText) "Sync" should match &syncBrand.shortName.label; from syncBrand.dtd
change.synckey2.warningText = Note: Changing this will erase all data stored on the Sync server and upload new data secured by this Sync Key. Your other devices will not sync until the new Sync Key is entered for that device.
new.synckey.label = Your Sync Key