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
Родитель 15bb87c600
Коммит b9f3902c6d
1 изменённых файлов: 1 добавлений и 1 удалений

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

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