From ebd96f120acf5aa6bf3bceee2c99d2ead84cfb75 Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Thu, 23 Mar 2000 03:39:34 +0000 Subject: [PATCH] fix bug 32921, dialog box title garbled when not using single signon git-svn-id: svn://10.0.0.236/trunk@63819 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/wallet/src/singsign.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mozilla/extensions/wallet/src/singsign.cpp b/mozilla/extensions/wallet/src/singsign.cpp index 7fb6bc2f436..ff59602f6aa 100644 --- a/mozilla/extensions/wallet/src/singsign.cpp +++ b/mozilla/extensions/wallet/src/singsign.cpp @@ -2570,7 +2570,10 @@ SINGSIGN_PromptPassword /* do only the dialog if signon preference is not enabled */ if (!si_GetSignonRememberingPref()){ - return dialog->PromptPassword(text, nsnull /* window title */, pwd, pressedOK); + PRUnichar * prompt_string = Wallet_Localize("PromptForPassword"); + res = dialog->PromptPassword(text, prompt_string, pwd, pressedOK); + Recycle(prompt_string); + return res; } /* convert to a uri so we can parse out the username and hostname */ @@ -2652,7 +2655,10 @@ SINGSIGN_Prompt /* do only the dialog if signon preference is not enabled */ if (!si_GetSignonRememberingPref()){ - return dialog->Prompt(text, nsnull /* window title */, resultText, pressedOK); + PRUnichar * prompt_string = Wallet_Localize("PromptForData"); + res = dialog->Prompt(text, prompt_string, resultText, pressedOK); + Recycle(prompt_string); + return res; } /* convert to a uri so we can parse out the hostname */