aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/EphyHeaderSniffer.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp
index 8fbf2220b..483f0fd01 100644
--- a/embed/mozilla/EphyHeaderSniffer.cpp
+++ b/embed/mozilla/EphyHeaderSniffer.cpp
@@ -36,6 +36,10 @@
*
* ***** END LICENSE BLOCK ***** */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "MozillaPrivate.h"
#include "MozDownload.h"
@@ -53,6 +57,8 @@
#include "nsIDOMHTMLDocument.h"
#include "nsIDownload.h"
+#include <bonobo/bonobo-i18n.h>
+
EphyHeaderSniffer::EphyHeaderSniffer (nsIWebBrowserPersist* aPersist, MozillaEmbedPersist *aEmbedPersist,
nsIFile* aFile, nsIURI* aURL, nsIDOMDocument* aDocument, nsIInputStream* aPostData,
PRBool aBypassCache)
@@ -209,10 +215,10 @@ nsresult EphyHeaderSniffer::PerformSave (nsIURI* inOriginalURI)
defaultFileName = NS_ConvertUTF8toUCS2(hostName);
}
- /* 5 One last case to handle about:blank and other fruity untitled pages. */
+ /* 5 One last case to handle about:blank and other untitled pages. */
if (defaultFileName.IsEmpty())
{
- defaultFileName.AssignWithConversion("untitled");
+ defaultFileName.AssignWithConversion(_("Untitled"));
}
/* Validate the file name to ensure legality. */