Fix the access key conflict in the password manager prompt (
bug 1279586). r=johannh
MozReview-Commit-ID: 3XquO7Evzgb
--- a/toolkit/components/passwordmgr/nsLoginManagerPrompter.js
+++ b/toolkit/components/passwordmgr/nsLoginManagerPrompter.js
@@ -957,17 +957,17 @@ LoginManagerPrompter.prototype = {
Services.logins.setLoginSavingEnabled(login.hostname, false);
browser.focus();
}
});
}
let usernamePlaceholder = this._getLocalizedString("noUsernamePlaceholder");
let togglePasswordLabel = this._getLocalizedString("togglePasswordLabel");
- let togglePasswordAccessKey = this._getLocalizedString("togglePasswordAccessKey");
+ let togglePasswordAccessKey = this._getLocalizedString("togglePasswordAccessKey2");
this._getPopupNote().show(
browser,
"password",
promptMsg,
"password-notification-icon",
mainAction,
secondaryActions,
--- a/toolkit/locales/en-US/chrome/passwordmgr/passwordmgr.properties
+++ b/toolkit/locales/en-US/chrome/passwordmgr/passwordmgr.properties
@@ -25,17 +25,17 @@ updateLoginButtonDeny.accesskey = D
rememberPasswordMsg = Would you like to remember the password for ā%1$Sā on %2$S?
# LOCALIZATION NOTE (rememberPasswordMsgNoUsername):
# String is the login's hostname.
rememberPasswordMsgNoUsername = Would you like to remember the password on %S?
# LOCALIZATION NOTE (noUsernamePlaceholder):
# This is displayed in place of the username when it is missing.
noUsernamePlaceholder=No username
togglePasswordLabel=Show password
-togglePasswordAccessKey=S
+togglePasswordAccessKey2=h
notNowButtonText = &Not Now
notifyBarNotNowButtonText = Not Now
notifyBarNotNowButtonAccessKey = N
neverForSiteButtonText = Ne&ver for This Site
notifyBarNeverRememberButtonText2 = Never Save
notifyBarNeverRememberButtonAccessKey2 = e
rememberButtonText = &Remember
notifyBarRememberPasswordButtonText = Remember Password