From b9f3902c6d0d8ca8f703f3cddc4bf47f8f3f932f Mon Sep 17 00:00:00 2001 From: Wes Johnston Date: Thu, 26 Jul 2012 12:53:16 -0700 Subject: [PATCH] Bug 777663 - Use localized string for password prompts. r=mbrubeck --- mobile/android/components/PromptService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/android/components/PromptService.js b/mobile/android/components/PromptService.js index 0cb537fe1319..8b4ef6f8a485 100644 --- a/mobile/android/components/PromptService.js +++ b/mobile/android/components/PromptService.js @@ -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;