aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyProtocolHandler.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-07-13 04:47:21 +0800
committerChristian Persch <chpe@src.gnome.org>2005-07-13 04:47:21 +0800
commit40cd4d7a1f61926cf9e84664491b3236e9084201 (patch)
tree59947423032e111c797b689962d338f8cf2480d7 /embed/mozilla/EphyProtocolHandler.cpp
parentcccabbcbbe25e8496f6e2bdcc77c235fe3eb3857 (diff)
downloadgsoc2013-epiphany-40cd4d7a1f61926cf9e84664491b3236e9084201.tar
gsoc2013-epiphany-40cd4d7a1f61926cf9e84664491b3236e9084201.tar.gz
gsoc2013-epiphany-40cd4d7a1f61926cf9e84664491b3236e9084201.tar.bz2
gsoc2013-epiphany-40cd4d7a1f61926cf9e84664491b3236e9084201.tar.lz
gsoc2013-epiphany-40cd4d7a1f61926cf9e84664491b3236e9084201.tar.xz
gsoc2013-epiphany-40cd4d7a1f61926cf9e84664491b3236e9084201.tar.zst
gsoc2013-epiphany-40cd4d7a1f61926cf9e84664491b3236e9084201.zip
Remove the reload workaround, since the mozilla bug is fixed on all
2005-07-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Remove the reload workaround, since the mozilla bug is fixed on all supported mozilla version.
Diffstat (limited to 'embed/mozilla/EphyProtocolHandler.cpp')
-rw-r--r--embed/mozilla/EphyProtocolHandler.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/embed/mozilla/EphyProtocolHandler.cpp b/embed/mozilla/EphyProtocolHandler.cpp
index c91b6f4db..50854ee2e 100644
--- a/embed/mozilla/EphyProtocolHandler.cpp
+++ b/embed/mozilla/EphyProtocolHandler.cpp
@@ -235,6 +235,7 @@ EphyProtocolHandler::GetErrorMessage(nsIURI *aURI,
nsCAutoString scheme;
aURI->GetScheme (scheme);
+ /* Translators: %s is the name of a protocol, like "http" etc. */
*aPrimary = g_strdup_printf (_("“%s” protocol is not supported."), scheme.get());
/* FIXME: get the list of supported protocols from necko */
*aSecondary = _("Supported protocols are “http”, “https”, “ftp”, “file” “smb” "
@@ -245,6 +246,7 @@ EphyProtocolHandler::GetErrorMessage(nsIURI *aURI,
nsCAutoString path;
aURI->GetPath (path);
+ /* Translators: %s is the path and filename, for example "/home/user/test.html" */
*aPrimary = g_markup_printf_escaped (_("File “%s” not found."), path.get());
*aSecondary = _("Check the location of the file and try again.");
}
@@ -253,6 +255,7 @@ EphyProtocolHandler::GetErrorMessage(nsIURI *aURI,
nsCAutoString host;
aURI->GetHost (host);
+ /* Translators: %s is the hostname, like "www.example.com" */
*aPrimary = g_markup_printf_escaped (_("“%s” could not be found."),
host.get());
*aSecondary = _("Check that you are connected to the internet, and "
@@ -264,6 +267,7 @@ EphyProtocolHandler::GetErrorMessage(nsIURI *aURI,
nsCAutoString host;
aURI->GetHost (host);
+ /* Translators: %s is the hostname, like "www.example.com" */
*aPrimary = g_markup_printf_escaped
(_("“%s” refused the connection."),
host.get());
@@ -276,6 +280,7 @@ EphyProtocolHandler::GetErrorMessage(nsIURI *aURI,
nsCAutoString host;
aURI->GetHost (host);
+ /* Translators: %s is the hostname, like "www.example.com" */
*aPrimary = g_markup_printf_escaped
(_("“%s” interrupted the connection."),
host.get());
@@ -288,6 +293,7 @@ EphyProtocolHandler::GetErrorMessage(nsIURI *aURI,
nsCAutoString host;
aURI->GetHost (host);
+ /* Translators: %s is the hostname, like "www.example.com" */
*aPrimary = g_markup_printf_escaped
(_("“%s” is not responding."),
host.get());
@@ -307,6 +313,7 @@ EphyProtocolHandler::GetErrorMessage(nsIURI *aURI,
nsCAutoString host;
aURI->GetHost (host);
+ /* Translators: %s is the hostname, like "www.example.com" */
*aPrimary = g_markup_printf_escaped
(_("“%s” redirected too many times."),
host.get());
@@ -318,6 +325,7 @@ EphyProtocolHandler::GetErrorMessage(nsIURI *aURI,
nsCAutoString host;
aURI->GetHost (host);
+ /* Translators: %s is the hostname, like "www.example.com" */
*aPrimary = g_markup_printf_escaped
(_("“%s” requires an encrypted connection."),
host.get());
@@ -330,6 +338,7 @@ EphyProtocolHandler::GetErrorMessage(nsIURI *aURI,
nsCAutoString host;
aURI->GetHost (host);
+ /* Translators: %s is the hostname, like "www.example.com" */
*aPrimary = g_markup_printf_escaped
(_("“%s” dropped the connection."),
host.get());
@@ -354,6 +363,7 @@ EphyProtocolHandler::GetErrorMessage(nsIURI *aURI,
PRInt32 port = -1;
aURI->GetPort (&port);
+ /* 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);