diff options
author | Diego Escalante Urrelo <diegoe@gnome.org> | 2007-07-26 15:55:50 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@src.gnome.org> | 2007-07-26 15:55:50 +0800 |
commit | 8d7cecf11762702ce2201cb7663e0a4c280ba0b8 (patch) | |
tree | ffec03d6ef90c6c6cac98df1f02653d2eba517be /embed | |
parent | a16299d8110ff4b3e72aac0862c754a2c5200949 (diff) | |
download | gsoc2013-epiphany-8d7cecf11762702ce2201cb7663e0a4c280ba0b8.tar gsoc2013-epiphany-8d7cecf11762702ce2201cb7663e0a4c280ba0b8.tar.gz gsoc2013-epiphany-8d7cecf11762702ce2201cb7663e0a4c280ba0b8.tar.bz2 gsoc2013-epiphany-8d7cecf11762702ce2201cb7663e0a4c280ba0b8.tar.lz gsoc2013-epiphany-8d7cecf11762702ce2201cb7663e0a4c280ba0b8.tar.xz 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
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/EphyAboutModule.cpp | 16 |
1 files changed, 7 insertions, 9 deletions
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) |