diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/EphyAboutModule.cpp | 5 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2005-09-24 Jean-François Rameau <jframeau@cvs.gnome.org> + + * embed/mozilla/EphyAboutModule.cpp: (GetErrorMessage): + + Handle contentEncodingError error. + 2005-09-24 Crispin Flowerday <gnome@flowerday.cx> * lib/Makefile.am: 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; |