From ef2f6383c6f0bed576e6f69030eacc4931b42a27 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sun, 2 Jul 2006 23:19:48 +0300 Subject: [PATCH] do_auth_dialog: Don't claim that the authentication is for HTTP. --- src/protocol/auth/dialogs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/protocol/auth/dialogs.c b/src/protocol/auth/dialogs.c index 47e10e2a..0722df16 100644 --- a/src/protocol/auth/dialogs.c +++ b/src/protocol/auth/dialogs.c @@ -96,7 +96,10 @@ do_auth_dialog(struct session *ses, void *data) a->blocked = 1; - dlg->title = _("HTTP Authentication", term); + /* This function is used for at least HTTP and FTP, so don't + * name the protocol here. Consider also what an FTP server + * behind an HTTP proxy should be called. */ + dlg->title = _("Authentication required", term); dlg->layouter = generic_dialog_layouter; text = get_dialog_offset(dlg, AUTH_WIDGETS_COUNT);