Bug 777663 - Use localized string for password prompts. r=mbrubeck

This commit is contained in:
Wes Johnston 2012-07-26 12:53:16 -07:00
parent 15bb87c600
commit b9f3902c6d

View File

@ -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;