mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-16 11:45:31 +00:00
Bug 777663 - Use localized string for password prompts. r=mbrubeck
This commit is contained in:
parent
15bb87c600
commit
b9f3902c6d
@ -261,7 +261,7 @@ Prompt.prototype = {
|
||||
|
||||
nsIPrompt_promptPassword: function nsIPrompt_promptPassword(
|
||||
aTitle, aText, aPassword, aCheckMsg, aCheckState) {
|
||||
let inputs = [{ type: "password", hint: "Password", value: aPassword.value || "" }];
|
||||
let inputs = [{ type: "password", hint: PromptUtils.getLocaleString("password", "passwdmgr"), value: aPassword.value || "" }];
|
||||
let data = this.commonPrompt(aTitle, aText, null, aCheckMsg, aCheckState, inputs);
|
||||
|
||||
let ok = data.button == 0;
|
||||
|
Loading…
Reference in New Issue
Block a user