From 0f6919c05b7bcbadd68617001cf0547b2cb167a4 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Wed, 24 Jan 2007 13:21:39 +0000 Subject: Changed the "redirected too many times" error page to be more friendly. 2007-01-24 Diego Escalante Urrelo * embed/mozilla/EphyAboutModule.cpp: Changed the "redirected too many times" error page to be more friendly. Bug #395990. svn path=/trunk/; revision=6847 --- embed/mozilla/EphyAboutModule.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'embed') diff --git a/embed/mozilla/EphyAboutModule.cpp b/embed/mozilla/EphyAboutModule.cpp index 490c54bee..596ce500c 100644 --- a/embed/mozilla/EphyAboutModule.cpp +++ b/embed/mozilla/EphyAboutModule.cpp @@ -358,10 +358,11 @@ EphyAboutModule::GetErrorMessage(nsIURI *aURI, (_("“%s” Redirected Too Many Times"), host.get()); /* Translators: %s is the hostname, like "www.example.com" */ - *aPrimary = g_markup_printf_escaped - (_("“%s” redirected too many times."), + *aPrimary = _("This page cannot load because of a problem with the Web site."); + + *aSecondary = g_markup_printf_escaped + (_("The server “%s” is redirecting in a way that will never complete."), host.get()); - *aSecondary = _("The redirection has been stopped for security reasons."); *aLinkIntro = _("There may be an old version of the page you wanted:"); } else if (strcmp (aError, "unknownSocketType") == 0) -- cgit v1.2.3