diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/EphyAboutModule.cpp | 16 |
2 files changed, 14 insertions, 9 deletions
@@ -1,3 +1,10 @@ +2007-07-26 Diego Escalante Urrelo <diegoe@gnome.org> + + * embed/mozilla/EphyAboutModule.cpp: + + Improve the restricted ports message, patch by Cosimo Cecchi. + Fixes bug #459552. + 2007-07-25 Diego Escalante Urrelo <diegoe@gnome.org> * embed/downloader-view.c: diff --git a/embed/mozilla/EphyAboutModule.cpp b/embed/mozilla/EphyAboutModule.cpp index 6fb6a5849..83bae0015 100644 --- a/embed/mozilla/EphyAboutModule.cpp +++ b/embed/mozilla/EphyAboutModule.cpp @@ -419,17 +419,15 @@ EphyAboutModule::GetErrorMessage(nsIURI *aURI, /* Translators: %s is the hostname, like "www.example.com" */ *aTitle = g_markup_printf_escaped - (_("“%s” Denied Access to Port “%d”"), - host.get(), port > 0 ? port : 80); + (_("Access Denied to Port “%d” of “%s”"), + port > 0 ? port : 80, host.get()); /* Translators: %s is the hostname, like "www.example.com" */ *aPrimary = g_markup_printf_escaped - (_("“%s” denied access to port “%d”."), - host.get(), port > 0 ? port : 80); - *aSecondary = g_strdup (_("The server dropped the connection " - "before any data could be read.")); - *aTertiary = _("The server may be busy or you may have a " - "network connection problem. Try again later."); - *aLinkIntro = _("There may be an old version of the page you wanted:"); + (_("Access denied to port “%d” of “%s”."), + port > 0 ? port : 80, host.get()); + *aSecondary = g_strdup (_("This address uses a network port which is " + "normally used for purposes other than Web browsing.")); + *aTertiary = _("Epiphany has cancelled the request for your protection."); } else if (strcmp (aError, "proxyResolveFailure") == 0 || strcmp (aError, "proxyConnectFailure") == 0) |