aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@svn.gnome.org>2007-01-24 21:21:39 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2007-01-24 21:21:39 +0800
commit0f6919c05b7bcbadd68617001cf0547b2cb167a4 (patch)
treeb6c73137d25d0cc59fac847a6a6fd99e8de5fbf0 /embed
parent96684c5d2dbd094d3bcf5415ef939e48fd520e3e (diff)
downloadgsoc2013-epiphany-0f6919c05b7bcbadd68617001cf0547b2cb167a4.tar
gsoc2013-epiphany-0f6919c05b7bcbadd68617001cf0547b2cb167a4.tar.gz
gsoc2013-epiphany-0f6919c05b7bcbadd68617001cf0547b2cb167a4.tar.bz2
gsoc2013-epiphany-0f6919c05b7bcbadd68617001cf0547b2cb167a4.tar.lz
gsoc2013-epiphany-0f6919c05b7bcbadd68617001cf0547b2cb167a4.tar.xz
gsoc2013-epiphany-0f6919c05b7bcbadd68617001cf0547b2cb167a4.tar.zst
gsoc2013-epiphany-0f6919c05b7bcbadd68617001cf0547b2cb167a4.zip
Changed the "redirected too many times" error page to be more friendly.
2007-01-24 Diego Escalante Urrelo <diegoe@svn.gnome.org> * embed/mozilla/EphyAboutModule.cpp: Changed the "redirected too many times" error page to be more friendly. Bug #395990. svn path=/trunk/; revision=6847
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/EphyAboutModule.cpp7
1 files changed, 4 insertions, 3 deletions
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)