From 041c0e2a8cd91c1456b90761da9537c58c2c5a8a Mon Sep 17 00:00:00 2001 From: "chanial%noos.fr" Date: Mon, 3 Nov 2003 07:21:55 +0000 Subject: [PATCH] bug 221597: removing comm.jar dependencies in contentAreaUtils.js by copying contentAreaCommands.properties for now. git-svn-id: svn://10.0.0.236/trunk@148759 18797224-902f-48f8-a5cc-f745e15eee43 --- .../browser/base/content/contentAreaUtils.js | 3 ++- mozilla/browser/base/jar.mn | 1 + .../locale/contentAreaCommands.properties | 21 +++++++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 mozilla/browser/base/locale/contentAreaCommands.properties diff --git a/mozilla/browser/base/content/contentAreaUtils.js b/mozilla/browser/base/content/contentAreaUtils.js index caada093fe0..5ca098f6ef9 100644 --- a/mozilla/browser/base/content/contentAreaUtils.js +++ b/mozilla/browser/base/content/contentAreaUtils.js @@ -674,9 +674,10 @@ function getPostData() return null; } +//XXXPch: that that be removed. function getStringBundle() { - const bundleURL = "chrome://communicator/locale/contentAreaCommands.properties"; + const bundleURL = "chrome://browser/locale/contentAreaCommands.properties"; const sbsContractID = "@mozilla.org/intl/stringbundle;1"; const sbsIID = Components.interfaces.nsIStringBundleService; diff --git a/mozilla/browser/base/jar.mn b/mozilla/browser/base/jar.mn index 766994683b6..d614df111f2 100644 --- a/mozilla/browser/base/jar.mn +++ b/mozilla/browser/base/jar.mn @@ -50,6 +50,7 @@ en-US.jar: locale/en-US/browser/aboutDialog.dtd (locale/aboutDialog.dtd) * locale/en-US/browser/browser.dtd (locale/browser.dtd) locale/en-US/browser/browser.properties (locale/browser.properties) + locale/en-US/browser/contentAreaCommands.properties (locale/contentAreaCommands.properties) locale/en-US/browser/metaData.dtd (locale/metaData.dtd) locale/en-US/browser/metaData.properties (locale/metaData.properties) locale/en-US/browser/openLocation.dtd (locale/openLocation.dtd) diff --git a/mozilla/browser/base/locale/contentAreaCommands.properties b/mozilla/browser/base/locale/contentAreaCommands.properties new file mode 100644 index 00000000000..fae5f3ecdbf --- /dev/null +++ b/mozilla/browser/base/locale/contentAreaCommands.properties @@ -0,0 +1,21 @@ +# context menu strings + +searchText=Web Search for "%S" + +SavePageTitle=Save Web Page +SaveImageTitle=Save Image +SaveLinkTitle=Save As +DefaultSaveFileName=index +WebPageCompleteFilter=Web Page, complete +WebPageHTMLOnlyFilter=Web Page, HTML only +WebPageXHTMLOnlyFilter=Web Page, XHTML only +WebPageXMLOnlyFilter=Web Page, XML only + +# LOCALIZATION NOTE (filesFolder): +# This is the name of the folder that is created parallel to a HTML file +# when it is saved "With Images". The %S section is replaced with the +# leaf name of the file being saved (minus extension). +filesFolder=%S_files + +saveLinkErrorMsg=The link could not be saved. The web page might have been removed or had its name changed. +saveLinkErrorTitle=Save Link