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
This commit is contained in:
parent
e972b440fe
commit
041c0e2a8c
@ -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;
|
||||
|
||||
@ -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)
|
||||
|
||||
21
mozilla/browser/base/locale/contentAreaCommands.properties
Normal file
21
mozilla/browser/base/locale/contentAreaCommands.properties
Normal file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user