From 40cd4d7a1f61926cf9e84664491b3236e9084201 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 12 Jul 2005 20:47:21 +0000 Subject: Remove the reload workaround, since the mozilla bug is fixed on all 2005-07-12 Christian Persch * 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. --- embed/mozilla/EphyProtocolHandler.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'embed/mozilla/EphyProtocolHandler.cpp') 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); -- cgit v1.2.3