aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyAboutModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/EphyAboutModule.cpp')
-rw-r--r--embed/mozilla/EphyAboutModule.cpp5
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;