Bug 408359 - Password Manager dialog's Show/Hide Passwords button does not have an access key. p=ehsan.akhgari@gmail.com, r=mano, a1.9=beltzner

This commit is contained in:
dolske@mozilla.com 2007-12-14 15:38:39 -08:00
Родитель 5d3bf25455
Коммит a5a9a5ea2e
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -47,6 +47,7 @@ var kSignonBundle;
function SignonsStartup() { function SignonsStartup() {
kSignonBundle = document.getElementById("signonBundle"); kSignonBundle = document.getElementById("signonBundle");
document.getElementById("togglePasswords").label = kSignonBundle.getString("showPasswords"); document.getElementById("togglePasswords").label = kSignonBundle.getString("showPasswords");
document.getElementById("togglePasswords").accessKey = kSignonBundle.getString("showPasswordsAccessKey");
LoadSignons(); LoadSignons();
FocusFilterBox(); FocusFilterBox();
} }
@ -150,6 +151,7 @@ function TogglePasswordVisible() {
showingPasswords = !showingPasswords; showingPasswords = !showingPasswords;
document.getElementById("togglePasswords").label = kSignonBundle.getString(showingPasswords ? "hidePasswords" : "showPasswords"); document.getElementById("togglePasswords").label = kSignonBundle.getString(showingPasswords ? "hidePasswords" : "showPasswords");
document.getElementById("togglePasswords").accessKey = kSignonBundle.getString(showingPasswords ? "hidePasswordsAccessKey" : "showPasswordsAccessKey");
document.getElementById("passwordCol").hidden = !showingPasswords; document.getElementById("passwordCol").hidden = !showingPasswords;
_filterPasswords(); _filterPasswords();
} }

Просмотреть файл

@ -52,7 +52,9 @@ passwordChangeText = Would you like to have Password Manager change the stored p
passwordChangeTextNoUser = Would you like to have Password Manager change the stored password for this login? passwordChangeTextNoUser = Would you like to have Password Manager change the stored password for this login?
userSelectText = Please confirm which user you are changing the password for userSelectText = Please confirm which user you are changing the password for
hidePasswords=Hide Passwords hidePasswords=Hide Passwords
hidePasswordsAccessKey=H
showPasswords=Show Passwords showPasswords=Show Passwords
showPasswordsAccessKey=S
noMasterPasswordPrompt=Are you sure you wish to show your passwords? noMasterPasswordPrompt=Are you sure you wish to show your passwords?
removeAllPasswordsPrompt=Are you sure you wish to remove all passwords? removeAllPasswordsPrompt=Are you sure you wish to remove all passwords?
removeAllPasswordsTitle=Remove all passwords removeAllPasswordsTitle=Remove all passwords