From 1077b6fd2378e691ecd659d178703547fae77115 Mon Sep 17 00:00:00 2001 From: Joe Walker Date: Thu, 27 Oct 2011 10:56:09 -0300 Subject: [PATCH] Bug 687851 - Create a locales directory in the devtools module, move all devtools l10n strings to it; r=rcampbell,mfinkle,l10n --HG-- rename : browser/locales/en-US/chrome/browser/inspector.properties => browser/locales/en-US/chrome/browser/devtools/inspector.properties rename : browser/locales/en-US/chrome/browser/scratchpad.dtd => browser/locales/en-US/chrome/browser/devtools/scratchpad.dtd rename : browser/locales/en-US/chrome/browser/scratchpad.properties => browser/locales/en-US/chrome/browser/devtools/scratchpad.properties rename : browser/locales/en-US/chrome/browser/styleinspector.dtd => browser/locales/en-US/chrome/browser/devtools/styleinspector.dtd rename : browser/locales/en-US/chrome/browser/styleinspector.properties => browser/locales/en-US/chrome/browser/devtools/styleinspector.properties rename : toolkit/locales/en-US/chrome/global/webConsole.dtd => browser/locales/en-US/chrome/browser/devtools/webConsole.dtd rename : toolkit/locales/en-US/chrome/global/headsUpDisplay.properties => browser/locales/en-US/chrome/browser/devtools/webconsole.properties --- browser/devtools/highlighter/inspector.jsm | 4 +- browser/devtools/scratchpad/scratchpad.js | 2 +- browser/devtools/scratchpad/scratchpad.xul | 2 +- .../devtools/styleinspector/CssHtmlTree.jsm | 2 +- browser/devtools/styleinspector/CssLogic.jsm | 2 +- .../styleinspector/StyleInspector.jsm | 2 +- .../devtools/styleinspector/csshtmltree.xhtml | 2 +- .../devtools/webconsole/AutocompletePopup.jsm | 2 +- browser/devtools/webconsole/HUDService.jsm | 2 +- .../devtools/webconsole/NetworkPanel.xhtml | 2 +- .../{ => devtools}/inspector.properties | 0 .../browser/{ => devtools}/scratchpad.dtd | 0 .../{ => devtools}/scratchpad.properties | 0 .../browser/{ => devtools}/styleinspector.dtd | 0 .../{ => devtools}/styleinspector.properties | 0 .../chrome/browser/devtools}/webConsole.dtd | 0 .../browser/devtools/webconsole.properties | 174 ++++++++++++++++++ browser/locales/jar.mn | 16 +- .../chrome/global/headsUpDisplay.properties | 163 ---------------- toolkit/locales/jar.mn | 1 - 20 files changed, 194 insertions(+), 182 deletions(-) rename browser/locales/en-US/chrome/browser/{ => devtools}/inspector.properties (100%) rename browser/locales/en-US/chrome/browser/{ => devtools}/scratchpad.dtd (100%) rename browser/locales/en-US/chrome/browser/{ => devtools}/scratchpad.properties (100%) rename browser/locales/en-US/chrome/browser/{ => devtools}/styleinspector.dtd (100%) rename browser/locales/en-US/chrome/browser/{ => devtools}/styleinspector.properties (100%) rename {toolkit/locales/en-US/chrome/global => browser/locales/en-US/chrome/browser/devtools}/webConsole.dtd (100%) create mode 100644 browser/locales/en-US/chrome/browser/devtools/webconsole.properties diff --git a/browser/devtools/highlighter/inspector.jsm b/browser/devtools/highlighter/inspector.jsm index dee69e824017..74403283bfe4 100644 --- a/browser/devtools/highlighter/inspector.jsm +++ b/browser/devtools/highlighter/inspector.jsm @@ -2352,8 +2352,8 @@ HTMLBreadcrumbs.prototype = { XPCOMUtils.defineLazyGetter(InspectorUI.prototype, "strings", function () { - return Services.strings. - createBundle("chrome://browser/locale/inspector.properties"); + return Services.strings.createBundle( + "chrome://browser/locale/devtools/inspector.properties"); }); XPCOMUtils.defineLazyGetter(this, "StyleInspector", function () { diff --git a/browser/devtools/scratchpad/scratchpad.js b/browser/devtools/scratchpad/scratchpad.js index b01ea781b5e4..c8238dba6a56 100644 --- a/browser/devtools/scratchpad/scratchpad.js +++ b/browser/devtools/scratchpad/scratchpad.js @@ -63,7 +63,7 @@ Cu.import("resource:///modules/source-editor.jsm"); const SCRATCHPAD_CONTEXT_CONTENT = 1; const SCRATCHPAD_CONTEXT_BROWSER = 2; const SCRATCHPAD_WINDOW_URL = "chrome://browser/content/scratchpad.xul"; -const SCRATCHPAD_L10N = "chrome://browser/locale/scratchpad.properties"; +const SCRATCHPAD_L10N = "chrome://browser/locale/devtools/scratchpad.properties"; const SCRATCHPAD_WINDOW_FEATURES = "chrome,titlebar,toolbar,centerscreen,resizable,dialog=no"; const DEVTOOLS_CHROME_ENABLED = "devtools.chrome.enabled"; diff --git a/browser/devtools/scratchpad/scratchpad.xul b/browser/devtools/scratchpad/scratchpad.xul index 154db9b8451f..4e49425c30d9 100644 --- a/browser/devtools/scratchpad/scratchpad.xul +++ b/browser/devtools/scratchpad/scratchpad.xul @@ -40,7 +40,7 @@ - ***** END LICENSE BLOCK ***** --> #endif + %scratchpadDTD; ]> diff --git a/browser/devtools/styleinspector/CssHtmlTree.jsm b/browser/devtools/styleinspector/CssHtmlTree.jsm index 8f0fec732d86..42301bd104ed 100644 --- a/browser/devtools/styleinspector/CssHtmlTree.jsm +++ b/browser/devtools/styleinspector/CssHtmlTree.jsm @@ -130,7 +130,7 @@ CssHtmlTree.processTemplate = function CssHtmlTree_processTemplate(aTemplate, }; XPCOMUtils.defineLazyGetter(CssHtmlTree, "_strings", function() Services.strings - .createBundle("chrome://browser/locale/styleinspector.properties")); + .createBundle("chrome://browser/locale/devtools/styleinspector.properties")); CssHtmlTree.prototype = { htmlComplete: false, diff --git a/browser/devtools/styleinspector/CssLogic.jsm b/browser/devtools/styleinspector/CssLogic.jsm index 46d50961fc0b..ab63d2a32260 100644 --- a/browser/devtools/styleinspector/CssLogic.jsm +++ b/browser/devtools/styleinspector/CssLogic.jsm @@ -759,7 +759,7 @@ CssLogic.getShortNamePath = function CssLogic_getShortNamePath(aElement) CssLogic.l10n = function(aName) CssLogic._strings.GetStringFromName(aName); XPCOMUtils.defineLazyGetter(CssLogic, "_strings", function() Services.strings - .createBundle("chrome://browser/locale/styleinspector.properties")); + .createBundle("chrome://browser/locale/devtools/styleinspector.properties")); /** * Is the given property sheet a system (user agent) stylesheet? diff --git a/browser/devtools/styleinspector/StyleInspector.jsm b/browser/devtools/styleinspector/StyleInspector.jsm index bde832bea998..e007dbe504b3 100644 --- a/browser/devtools/styleinspector/StyleInspector.jsm +++ b/browser/devtools/styleinspector/StyleInspector.jsm @@ -314,7 +314,7 @@ StyleInspector.prototype = { }; XPCOMUtils.defineLazyGetter(this, "_strings", function() Services.strings - .createBundle("chrome://browser/locale/styleinspector.properties")); + .createBundle("chrome://browser/locale/devtools/styleinspector.properties")); XPCOMUtils.defineLazyGetter(this, "CssLogic", function() { let tmp = {}; diff --git a/browser/devtools/styleinspector/csshtmltree.xhtml b/browser/devtools/styleinspector/csshtmltree.xhtml index d8d019069c91..3984e6b2102f 100644 --- a/browser/devtools/styleinspector/csshtmltree.xhtml +++ b/browser/devtools/styleinspector/csshtmltree.xhtml @@ -1,7 +1,7 @@ %htmlDTD; - + %inspectorDTD; diff --git a/browser/devtools/webconsole/AutocompletePopup.jsm b/browser/devtools/webconsole/AutocompletePopup.jsm index 055cbf2a127f..af5fd40fbbf8 100644 --- a/browser/devtools/webconsole/AutocompletePopup.jsm +++ b/browser/devtools/webconsole/AutocompletePopup.jsm @@ -42,7 +42,7 @@ const Cu = Components.utils; const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; const XHTML_NS = "http://www.w3.org/1999/xhtml"; -const HUD_STRINGS_URI = "chrome://global/locale/headsUpDisplay.properties"; +const HUD_STRINGS_URI = "chrome://browser/locale/devtools/webconsole.properties"; Cu.import("resource://gre/modules/Services.jsm"); diff --git a/browser/devtools/webconsole/HUDService.jsm b/browser/devtools/webconsole/HUDService.jsm index 5ab182cc02b6..7306524b8ab8 100644 --- a/browser/devtools/webconsole/HUDService.jsm +++ b/browser/devtools/webconsole/HUDService.jsm @@ -146,7 +146,7 @@ function loadCommands() { let log = LogFactory("*** HUDService:"); -const HUD_STRINGS_URI = "chrome://global/locale/headsUpDisplay.properties"; +const HUD_STRINGS_URI = "chrome://browser/locale/devtools/webconsole.properties"; XPCOMUtils.defineLazyGetter(this, "stringBundle", function () { return Services.strings.createBundle(HUD_STRINGS_URI); diff --git a/browser/devtools/webconsole/NetworkPanel.xhtml b/browser/devtools/webconsole/NetworkPanel.xhtml index 645819bf3182..377f50336417 100644 --- a/browser/devtools/webconsole/NetworkPanel.xhtml +++ b/browser/devtools/webconsole/NetworkPanel.xhtml @@ -2,7 +2,7 @@ + %webConsoleDTD; ]> diff --git a/browser/locales/en-US/chrome/browser/inspector.properties b/browser/locales/en-US/chrome/browser/devtools/inspector.properties similarity index 100% rename from browser/locales/en-US/chrome/browser/inspector.properties rename to browser/locales/en-US/chrome/browser/devtools/inspector.properties diff --git a/browser/locales/en-US/chrome/browser/scratchpad.dtd b/browser/locales/en-US/chrome/browser/devtools/scratchpad.dtd similarity index 100% rename from browser/locales/en-US/chrome/browser/scratchpad.dtd rename to browser/locales/en-US/chrome/browser/devtools/scratchpad.dtd diff --git a/browser/locales/en-US/chrome/browser/scratchpad.properties b/browser/locales/en-US/chrome/browser/devtools/scratchpad.properties similarity index 100% rename from browser/locales/en-US/chrome/browser/scratchpad.properties rename to browser/locales/en-US/chrome/browser/devtools/scratchpad.properties diff --git a/browser/locales/en-US/chrome/browser/styleinspector.dtd b/browser/locales/en-US/chrome/browser/devtools/styleinspector.dtd similarity index 100% rename from browser/locales/en-US/chrome/browser/styleinspector.dtd rename to browser/locales/en-US/chrome/browser/devtools/styleinspector.dtd diff --git a/browser/locales/en-US/chrome/browser/styleinspector.properties b/browser/locales/en-US/chrome/browser/devtools/styleinspector.properties similarity index 100% rename from browser/locales/en-US/chrome/browser/styleinspector.properties rename to browser/locales/en-US/chrome/browser/devtools/styleinspector.properties diff --git a/toolkit/locales/en-US/chrome/global/webConsole.dtd b/browser/locales/en-US/chrome/browser/devtools/webConsole.dtd similarity index 100% rename from toolkit/locales/en-US/chrome/global/webConsole.dtd rename to browser/locales/en-US/chrome/browser/devtools/webConsole.dtd diff --git a/browser/locales/en-US/chrome/browser/devtools/webconsole.properties b/browser/locales/en-US/chrome/browser/devtools/webconsole.properties new file mode 100644 index 000000000000..b78faef1b8c1 --- /dev/null +++ b/browser/locales/en-US/chrome/browser/devtools/webconsole.properties @@ -0,0 +1,174 @@ +typeError=Error: +typeWarning=Warning: +typeNetwork=Network: +typeException=Exception: +typeCssParser=CSS Parser: +typeStrict=Strict Warning: +msgCategory=Category: +errLine=Line: %S +btnHide=Hide +btnPrefs=Preferences +categoryPage=Page: +categoryConsole=Console: +btnMutation=DOM Mutation +tipMutation=Toggle DOM Mutation event logging +btnPageNet=Net +tipPageNet=Log network access +btnPageCSS=CSS +tipPageCSS=Log CSS parsing errors +btnPageJS=JS +tipPageJS=Log JavaScript exceptions +# LOCALIZATION NOTE (btnPageWebDeveloper): +# +# This is used as the text of the "Web Developer" button on the toolbar. It +# shows or hides messages that the web developer inserted on the page for +# debugging purposes, using calls such console.log() and console.error(). You +# may wish to localize this as "Page" if that is clearer in your locale. See +# bug 601667 for more information. +btnPageWebDeveloper=Web Developer +# LOCALIZATION NOTE (tipPageWebDeveloper): +# +# This is used as the text of the tool tip for the "Web Developer" button on +# the toolbar. +tipPageWebDeveloper=Log messages sent to the "console" object +btnConsoleErrors=Errors +tipConsoleErrors=Log calls to console.error() +btnConsoleInfo=Info +tipConsoleInfo=Log calls to console.info() +btnConsoleWarnings=Warnings +tipConsoleWarnings=Log calls to console.warn() +btnConsoleLog=Log +tipConsoleLog=Log calls to console.log() +btnGlobal=Global Messages +tipGlobal=Toggle Global Message logging +localConsole=Local Console +clearConsoleCmd.label=Clear Console +clearConsoleCmd.accesskey=e +# LOCALIZATION NOTE (btnClear): +# +# This is used as the text of the "Clear" button for the toolbar. It clears the +# contents of the console. +btnClear=Clear +stringFilter=Filter +close.button=Close +close.accesskey=C +update.button=Update +update.accesskey=U +# LOCALIZATION NOTE FOR `jsPropertyTitle` AND `jsPropertyInspectTitle`: +# +# The "PropertyPanel" is used to display a JS object to the user. +# If it is clear which object is being inspected (e.g., window, document object) +# the title of the panel is based on the `jsPropertyInspectTitle` string. +# If it isn't clear which object is being inspected, the `jsPropertyTitle` string +# gets used. This can be the case when the user logs an object to the WebConsole +# output using the console.log(aObjectToInspect) method. +# +# You can find a screenshot of the PropertyPanel here: +# https://bug585030.bugzilla.mozilla.org/attachment.cgi?id=464034 +jsPropertyTitle=Object Inspector +# LOCALIZATION NOTE (jsPropertyInspectTitle): +# +# The %S is replaced by the evaluated code the user clicked on in the console. +# +# Example: The user executed `window.document` in the WebConsole. The `document` +# object is written to the output. If the user clicks on the `document` output +# in the console, a PropertyPanel will show up. The title of the PropertyPanel +# is set to `Inspect: window.document` because the clicked `document` object was +# evaluated based on the `window.document` string. +jsPropertyInspectTitle=Inspect: %S +saveBodies.label=Log Request and Response Bodies +saveBodies.accesskey=L +copyCmd.label=Copy +copyCmd.accesskey=C +selectAllCmd.label=Select All +selectAllCmd.accesskey=A +# LOCALIZATION NOTE (timestampFormat): %1$02S = hours (24-hour clock), +# %2$02S = minutes, %3$02S = seconds, %4$03S = milliseconds. +timestampFormat=%02S:%02S:%02S.%03S + +helperFuncUnsupportedTypeError=Can't call pprint on this type of object. +NetworkPanel.label=Inspect Network Request +# LOCALIZATION NOTE (NetworkPanel.deltaDurationMS): +# +# This string is used to show the duration between two network events (e.g +# request and respones header or response header and response body). +NetworkPanel.durationMS=%Sms +# LOCALIZATION NOTE (NetworkPanel.imageSizeDeltaDurationMS): +# This string is used to show the duration between the response header and the +# response body event. It also shows the size of the received or cached image. +# +# The first %S is replace by the width of the inspected image. +# The second %S is replaced by the height of the inspected image. +# The third %S is replaced by the duration between the response header and the +# response body event. +NetworkPanel.imageSizeDeltaDurationMS=%Sx%Spx, Δ%Sms +# LOCALIZATION NOTE (NetworkPanel.responseBodyUnableToDisplay.content): +# +# This string is displayed within the response body section of the NetworkPanel +# if the content type of the network request can't be displayed in the +# NetworkPanel. E.g. any kind of text is easy to display, but some audio or +# flash data received from the server can't be displayed. +# +# The %S is replaced by the content type, that can't be displayed, examples are +# o application/x-shockwave-flash +# o music/crescendo +NetworkPanel.responseBodyUnableToDisplay.content=Unable to display responses of type "%S" +ConsoleAPIDisabled=The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page. + +# LOCALIZATION NOTE (inspectStyle.nullObjectPassed): +# This message is returned when a null object is passed in to inspectstyle() +inspectStyle.nullObjectPassed=Object is null + +# LOCALIZATION NOTE (inspectStyle.mustBeDomNode): +# This message is returned when a non-DOM node is passed in to inspectstyle() +inspectStyle.mustBeDomNode=Object must be a valid DOM node + +# LOCALIZATION NOTE (inspectStyle.nodeHasNoStyleProps): +# This message is returned when an unstyleable object is passed in to inspectstyle() +inspectStyle.nodeHasNoStyleProps=Object cannot be styled + +# LOCALIZATION NOTE (inspectStyle.styleInspectorNotEnabled): +# This message is returned when devtools.styleinspector.enabled is not set to +# true +inspectStyle.styleInspectorNotEnabled=The style inspector is not enabled. Please set the option devtools.styleinspector.enabled to true in about:config to use this command. + +# LOCALIZATION NOTE (webConsolePosition): The label shown for the menu which +# allows the user to toggle between the Web Console positioning types. +webConsolePosition=Position + +# LOCALIZATION NOTE (webConsolePositionTooltip): The tooltip shown when the user +# hovers the Position button in the Web Console toolbar. +webConsolePositionTooltip=Position the Web Console above or below the document + +# LOCALIZATION NOTE (webConsolePositionAbove): When this option is selected the +# Web Console interface is displayed above the web page. +webConsolePositionAbove=Above + +# LOCALIZATION NOTE (webConsolePositionBelow): When this option is selected the +# Web Console interface is displayed below the web page. +webConsolePositionBelow=Below + +# LOCALIZATION NOTE (webConsolePositionWindow): When this option is selected the +# Web Console interface is displayed in a floating panel. +webConsolePositionWindow=Window + +# LOCALIZATION NOTE (webConsoleWindowTitleAndURL): The Web Console floating +# panel title, followed by the web page URL. +# For RTL languages you need to set the LRM in the string to give the URL +# the correct direction. +webConsoleWindowTitleAndURL=Web Console - %S + +# LOCALIZATION NOTE (Autocomplete.label): +# The autocomplete popup panel label/title. +Autocomplete.label=Autocomplete popup + +# LOCALIZATION NOTE (stacktrace.anonymousFunction): +# This string is used to display JavaScript functions that have no given name - +# they are said to be anonymous. See stacktrace.outputMessage. +stacktrace.anonymousFunction= + +# LOCALIZATION NOTE (stacktrace.outputMessage): +# This string is used in the Web Console output to identify a web developer call +# to console.trace(). The stack trace of JavaScript function calls is displayed. +# In this minimal message we only show the last call. +stacktrace.outputMessage=Stack trace from %S, function %S, line %S. diff --git a/browser/locales/jar.mn b/browser/locales/jar.mn index 97e242c1783a..c334e3f04ac8 100644 --- a/browser/locales/jar.mn +++ b/browser/locales/jar.mn @@ -15,13 +15,15 @@ * locale/browser/browser.dtd (%chrome/browser/browser.dtd) locale/browser/baseMenuOverlay.dtd (%chrome/browser/baseMenuOverlay.dtd) locale/browser/browser.properties (%chrome/browser/browser.properties) - locale/browser/devtools/gcli.properties (%chrome/browser/devtools/gcli.properties) - locale/browser/devtools/gclicommands.properties (%chrome/browser/devtools/gclicommands.properties) - locale/browser/styleinspector.properties (%chrome/browser/styleinspector.properties) - locale/browser/styleinspector.dtd (%chrome/browser/styleinspector.dtd) - locale/browser/scratchpad.properties (%chrome/browser/scratchpad.properties) - locale/browser/scratchpad.dtd (%chrome/browser/scratchpad.dtd) - locale/browser/inspector.properties (%chrome/browser/inspector.properties) + locale/browser/devtools/gcli.properties (%chrome/browser/devtools/gcli.properties) + locale/browser/devtools/gclicommands.properties (%chrome/browser/devtools/gclicommands.properties) + locale/browser/devtools/webconsole.properties (%chrome/browser/devtools/webconsole.properties) + locale/browser/devtools/inspector.properties (%chrome/browser/devtools/inspector.properties) + locale/browser/devtools/scratchpad.properties (%chrome/browser/devtools/scratchpad.properties) + locale/browser/devtools/scratchpad.dtd (%chrome/browser/devtools/scratchpad.dtd) + locale/browser/devtools/styleinspector.properties (%chrome/browser/devtools/styleinspector.properties) + locale/browser/devtools/styleinspector.dtd (%chrome/browser/devtools/styleinspector.dtd) + locale/browser/devtools/webConsole.dtd (%chrome/browser/devtools/webConsole.dtd) locale/browser/openLocation.dtd (%chrome/browser/openLocation.dtd) locale/browser/openLocation.properties (%chrome/browser/openLocation.properties) * locale/browser/pageInfo.dtd (%chrome/browser/pageInfo.dtd) diff --git a/toolkit/locales/en-US/chrome/global/headsUpDisplay.properties b/toolkit/locales/en-US/chrome/global/headsUpDisplay.properties index b78faef1b8c1..b7203dd995ab 100644 --- a/toolkit/locales/en-US/chrome/global/headsUpDisplay.properties +++ b/toolkit/locales/en-US/chrome/global/headsUpDisplay.properties @@ -1,166 +1,3 @@ -typeError=Error: -typeWarning=Warning: -typeNetwork=Network: -typeException=Exception: -typeCssParser=CSS Parser: -typeStrict=Strict Warning: -msgCategory=Category: -errLine=Line: %S -btnHide=Hide -btnPrefs=Preferences -categoryPage=Page: -categoryConsole=Console: -btnMutation=DOM Mutation -tipMutation=Toggle DOM Mutation event logging -btnPageNet=Net -tipPageNet=Log network access -btnPageCSS=CSS -tipPageCSS=Log CSS parsing errors -btnPageJS=JS -tipPageJS=Log JavaScript exceptions -# LOCALIZATION NOTE (btnPageWebDeveloper): -# -# This is used as the text of the "Web Developer" button on the toolbar. It -# shows or hides messages that the web developer inserted on the page for -# debugging purposes, using calls such console.log() and console.error(). You -# may wish to localize this as "Page" if that is clearer in your locale. See -# bug 601667 for more information. -btnPageWebDeveloper=Web Developer -# LOCALIZATION NOTE (tipPageWebDeveloper): -# -# This is used as the text of the tool tip for the "Web Developer" button on -# the toolbar. -tipPageWebDeveloper=Log messages sent to the "console" object -btnConsoleErrors=Errors -tipConsoleErrors=Log calls to console.error() -btnConsoleInfo=Info -tipConsoleInfo=Log calls to console.info() -btnConsoleWarnings=Warnings -tipConsoleWarnings=Log calls to console.warn() -btnConsoleLog=Log -tipConsoleLog=Log calls to console.log() -btnGlobal=Global Messages -tipGlobal=Toggle Global Message logging -localConsole=Local Console -clearConsoleCmd.label=Clear Console -clearConsoleCmd.accesskey=e -# LOCALIZATION NOTE (btnClear): -# -# This is used as the text of the "Clear" button for the toolbar. It clears the -# contents of the console. -btnClear=Clear -stringFilter=Filter -close.button=Close -close.accesskey=C -update.button=Update -update.accesskey=U -# LOCALIZATION NOTE FOR `jsPropertyTitle` AND `jsPropertyInspectTitle`: -# -# The "PropertyPanel" is used to display a JS object to the user. -# If it is clear which object is being inspected (e.g., window, document object) -# the title of the panel is based on the `jsPropertyInspectTitle` string. -# If it isn't clear which object is being inspected, the `jsPropertyTitle` string -# gets used. This can be the case when the user logs an object to the WebConsole -# output using the console.log(aObjectToInspect) method. -# -# You can find a screenshot of the PropertyPanel here: -# https://bug585030.bugzilla.mozilla.org/attachment.cgi?id=464034 -jsPropertyTitle=Object Inspector -# LOCALIZATION NOTE (jsPropertyInspectTitle): -# -# The %S is replaced by the evaluated code the user clicked on in the console. -# -# Example: The user executed `window.document` in the WebConsole. The `document` -# object is written to the output. If the user clicks on the `document` output -# in the console, a PropertyPanel will show up. The title of the PropertyPanel -# is set to `Inspect: window.document` because the clicked `document` object was -# evaluated based on the `window.document` string. -jsPropertyInspectTitle=Inspect: %S -saveBodies.label=Log Request and Response Bodies -saveBodies.accesskey=L -copyCmd.label=Copy -copyCmd.accesskey=C -selectAllCmd.label=Select All -selectAllCmd.accesskey=A -# LOCALIZATION NOTE (timestampFormat): %1$02S = hours (24-hour clock), -# %2$02S = minutes, %3$02S = seconds, %4$03S = milliseconds. -timestampFormat=%02S:%02S:%02S.%03S - -helperFuncUnsupportedTypeError=Can't call pprint on this type of object. -NetworkPanel.label=Inspect Network Request -# LOCALIZATION NOTE (NetworkPanel.deltaDurationMS): -# -# This string is used to show the duration between two network events (e.g -# request and respones header or response header and response body). -NetworkPanel.durationMS=%Sms -# LOCALIZATION NOTE (NetworkPanel.imageSizeDeltaDurationMS): -# This string is used to show the duration between the response header and the -# response body event. It also shows the size of the received or cached image. -# -# The first %S is replace by the width of the inspected image. -# The second %S is replaced by the height of the inspected image. -# The third %S is replaced by the duration between the response header and the -# response body event. -NetworkPanel.imageSizeDeltaDurationMS=%Sx%Spx, Δ%Sms -# LOCALIZATION NOTE (NetworkPanel.responseBodyUnableToDisplay.content): -# -# This string is displayed within the response body section of the NetworkPanel -# if the content type of the network request can't be displayed in the -# NetworkPanel. E.g. any kind of text is easy to display, but some audio or -# flash data received from the server can't be displayed. -# -# The %S is replaced by the content type, that can't be displayed, examples are -# o application/x-shockwave-flash -# o music/crescendo -NetworkPanel.responseBodyUnableToDisplay.content=Unable to display responses of type "%S" -ConsoleAPIDisabled=The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page. - -# LOCALIZATION NOTE (inspectStyle.nullObjectPassed): -# This message is returned when a null object is passed in to inspectstyle() -inspectStyle.nullObjectPassed=Object is null - -# LOCALIZATION NOTE (inspectStyle.mustBeDomNode): -# This message is returned when a non-DOM node is passed in to inspectstyle() -inspectStyle.mustBeDomNode=Object must be a valid DOM node - -# LOCALIZATION NOTE (inspectStyle.nodeHasNoStyleProps): -# This message is returned when an unstyleable object is passed in to inspectstyle() -inspectStyle.nodeHasNoStyleProps=Object cannot be styled - -# LOCALIZATION NOTE (inspectStyle.styleInspectorNotEnabled): -# This message is returned when devtools.styleinspector.enabled is not set to -# true -inspectStyle.styleInspectorNotEnabled=The style inspector is not enabled. Please set the option devtools.styleinspector.enabled to true in about:config to use this command. - -# LOCALIZATION NOTE (webConsolePosition): The label shown for the menu which -# allows the user to toggle between the Web Console positioning types. -webConsolePosition=Position - -# LOCALIZATION NOTE (webConsolePositionTooltip): The tooltip shown when the user -# hovers the Position button in the Web Console toolbar. -webConsolePositionTooltip=Position the Web Console above or below the document - -# LOCALIZATION NOTE (webConsolePositionAbove): When this option is selected the -# Web Console interface is displayed above the web page. -webConsolePositionAbove=Above - -# LOCALIZATION NOTE (webConsolePositionBelow): When this option is selected the -# Web Console interface is displayed below the web page. -webConsolePositionBelow=Below - -# LOCALIZATION NOTE (webConsolePositionWindow): When this option is selected the -# Web Console interface is displayed in a floating panel. -webConsolePositionWindow=Window - -# LOCALIZATION NOTE (webConsoleWindowTitleAndURL): The Web Console floating -# panel title, followed by the web page URL. -# For RTL languages you need to set the LRM in the string to give the URL -# the correct direction. -webConsoleWindowTitleAndURL=Web Console - %S - -# LOCALIZATION NOTE (Autocomplete.label): -# The autocomplete popup panel label/title. -Autocomplete.label=Autocomplete popup # LOCALIZATION NOTE (stacktrace.anonymousFunction): # This string is used to display JavaScript functions that have no given name - diff --git a/toolkit/locales/jar.mn b/toolkit/locales/jar.mn index 8517c63e8af4..4ff575a95d92 100644 --- a/toolkit/locales/jar.mn +++ b/toolkit/locales/jar.mn @@ -37,7 +37,6 @@ + locale/@AB_CD@/global/finddialog.properties (%chrome/global/finddialog.properties) locale/@AB_CD@/global/globalKeys.dtd (%chrome/global/globalKeys.dtd) + locale/@AB_CD@/global/headsUpDisplay.properties (%chrome/global/headsUpDisplay.properties) -+ locale/@AB_CD@/global/webConsole.dtd (%chrome/global/webConsole.dtd) + locale/@AB_CD@/global/intl.css (%chrome/global/intl.css) + locale/@AB_CD@/global/intl.properties (%chrome/global/intl.properties) + locale/@AB_CD@/global/keys.properties (%chrome/global/keys.properties)