aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyPromptService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/EphyPromptService.cpp')
-rw-r--r--embed/mozilla/EphyPromptService.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/mozilla/EphyPromptService.cpp b/embed/mozilla/EphyPromptService.cpp
index 58d5a9b6c..fea6345a7 100644
--- a/embed/mozilla/EphyPromptService.cpp
+++ b/embed/mozilla/EphyPromptService.cpp
@@ -995,8 +995,13 @@ MakeDialogText(nsIChannel* aChannel, nsIAuthInformation* aAuthInfo,
displayHost.AppendInt(port);
}
+#ifdef HAVE_GECKO_1_9
+ NS_NAMED_LITERAL_STRING(proxyText, "EnterLoginForProxy");
+ NS_NAMED_LITERAL_STRING(originText, "EnterLoginForRealm");
+#else
NS_NAMED_LITERAL_STRING(proxyText, "EnterUserPasswordForProxy");
NS_NAMED_LITERAL_STRING(originText, "EnterUserPasswordForRealm");
+#endif /* HAVE_GECKO_1_9 */
NS_NAMED_LITERAL_STRING(noRealmText, "EnterUserPasswordFor");
NS_NAMED_LITERAL_STRING(passwordText, "EnterPasswordFor");