diff options
author | Jean-François Rameau <jframeau@cvs.gnome.org> | 2005-09-25 03:06:46 +0800 |
---|---|---|
committer | Jean-François Rameau <jframeau@src.gnome.org> | 2005-09-25 03:06:46 +0800 |
commit | e04c3b73a2bff0e5b6f1b597df150bbff7fef2b5 (patch) | |
tree | d964f6b78f8348e616b34e160fd0a41308774904 /embed | |
parent | 0ab89ca2f875ad31dde266da63cef24ecb272255 (diff) | |
download | gsoc2013-epiphany-e04c3b73a2bff0e5b6f1b597df150bbff7fef2b5.tar gsoc2013-epiphany-e04c3b73a2bff0e5b6f1b597df150bbff7fef2b5.tar.gz gsoc2013-epiphany-e04c3b73a2bff0e5b6f1b597df150bbff7fef2b5.tar.bz2 gsoc2013-epiphany-e04c3b73a2bff0e5b6f1b597df150bbff7fef2b5.tar.lz gsoc2013-epiphany-e04c3b73a2bff0e5b6f1b597df150bbff7fef2b5.tar.xz gsoc2013-epiphany-e04c3b73a2bff0e5b6f1b597df150bbff7fef2b5.tar.zst gsoc2013-epiphany-e04c3b73a2bff0e5b6f1b597df150bbff7fef2b5.zip |
Handle contentEncodingError error.
2005-09-24 Jean-François Rameau <jframeau@cvs.gnome.org>
* embed/mozilla/EphyAboutModule.cpp: (GetErrorMessage):
Handle contentEncodingError error.
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/EphyAboutModule.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/mozilla/EphyAboutModule.cpp b/embed/mozilla/EphyAboutModule.cpp index 5b38b0ae1..b425216a7 100644 --- a/embed/mozilla/EphyAboutModule.cpp +++ b/embed/mozilla/EphyAboutModule.cpp @@ -326,6 +326,11 @@ EphyAboutModule::GetErrorMessage(nsIURI *aURI, "a problem with your proxy server or your " "network connection."); } + else if (strcmp (aError, "contentEncodingError") == 0) + { + *aPrimary = g_strdup (_("Could not display content.")); + *aSecondary = _("The page uses an unsupported or invalid form of compression."); + } else { return NS_ERROR_ILLEGAL_VALUE; |