aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@gnome.org>2007-07-26 15:55:50 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2007-07-26 15:55:50 +0800
commit8d7cecf11762702ce2201cb7663e0a4c280ba0b8 (patch)
treeffec03d6ef90c6c6cac98df1f02653d2eba517be
parenta16299d8110ff4b3e72aac0862c754a2c5200949 (diff)
downloadgsoc2013-epiphany-8d7cecf11762702ce2201cb7663e0a4c280ba0b8.tar.gz
gsoc2013-epiphany-8d7cecf11762702ce2201cb7663e0a4c280ba0b8.tar.zst
gsoc2013-epiphany-8d7cecf11762702ce2201cb7663e0a4c280ba0b8.zip
Improve the restricted ports message, patch by Cosimo Cecchi. Fixes bug
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. svn path=/trunk/; revision=7199
-rw-r--r--ChangeLog7
-rw-r--r--embed/mozilla/EphyAboutModule.cpp16
2 files changed, 14 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c1f18237..2e320f49c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)