From fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:14:29 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- l10n-en-CA/devtools/client/components.properties | 12 ++ l10n-en-CA/devtools/client/debugger.properties | 161 +++++++++++++++++++++ l10n-en-CA/devtools/client/inspector.properties | 36 +++-- l10n-en-CA/devtools/client/layout.properties | 1 + l10n-en-CA/devtools/client/netmonitor.properties | 28 ++++ l10n-en-CA/devtools/client/styleeditor.ftl | 7 +- l10n-en-CA/devtools/client/toolbox-options.ftl | 14 ++ l10n-en-CA/devtools/client/toolbox.properties | 11 +- l10n-en-CA/devtools/client/tooltips.ftl | 26 +++- l10n-en-CA/devtools/client/webconsole.properties | 43 +++++- .../devtools/shared/styleinspector.properties | 18 +++ l10n-en-CA/devtools/shared/webconsole-commands.ftl | 21 +++ 12 files changed, 361 insertions(+), 17 deletions(-) (limited to 'l10n-en-CA/devtools') diff --git a/l10n-en-CA/devtools/client/components.properties b/l10n-en-CA/devtools/client/components.properties index 7849afba30..885b6aeb86 100644 --- a/l10n-en-CA/devtools/client/components.properties +++ b/l10n-en-CA/devtools/client/components.properties @@ -47,3 +47,15 @@ searchModifier.caseSensitiveModifier=Match Case # LOCALIZATION NOTE(searchModifier.wholeWordModifier): A search option # when searching text in a file searchModifier.wholeWordModifier=Match Whole Word + +# LOCALIZATION NOTE (searchBox.clearButtonTitle): The title of the SearchBox clear input +# button, which is displayed when the input is not empty. +searchBox.clearButtonTitle=Clear filter input + +# LOCALIZATION NOTE treeNode.collapseButtonTitle): The title of the Tree node toggle +# button when the node is expanded. +treeNode.collapseButtonTitle=Collapse + +# LOCALIZATION NOTE treeNode.expandButtonTitle): The title of the Tree node toggle +# button when the node is collapsed. +treeNode.expandButtonTitle=Expand diff --git a/l10n-en-CA/devtools/client/debugger.properties b/l10n-en-CA/devtools/client/debugger.properties index a5503155d9..8311147a6c 100644 --- a/l10n-en-CA/devtools/client/debugger.properties +++ b/l10n-en-CA/devtools/client/debugger.properties @@ -151,6 +151,28 @@ traceInWebConsole=Trace in the web console # This is used to force logging JavaScript traces in the stdout. traceInStdout=Trace in the stdout +# LOCALIZATION NOTE (traceValues): The label that is displayed in the context menu +# of the trace button, which is in the top of the debugger right sidebar. +# This is used to enable logging arguments passed to function calls +# as well as returned values (only for JS function calls, but not native function calls) +traceValues=Log function arguments and returned values + +# LOCALIZATION NOTE (traceOnNextLoad): The label that is displayed in the context menu +# of the trace button, which is in the top of the debugger right sidebar. +# This is used to automatically start the tracing on next user interaction (mousedown/keydown) +traceOnNextInteraction=Trace only on next user interaction (mousedown/keydown) + +# LOCALIZATION NOTE (traceOnNextLoad): The label that is displayed in the context menu +# of the trace button, which is in the top of the debugger right sidebar. +# This is used to automatically start the tracing on next page load. +traceOnNextLoad=Trace only on next page load (reload or navigation) + +# LOCALIZATION NOTE (traceFunctionReturn): The label that is displayed in the context menu +# of the trace button, which is in the top of the debugger right sidebar. +# This is used to also log when a function call just returned. +# Depending on "traceValues", this will log or not log the returned value. +traceFunctionReturn=Trace function returns + # LOCALIZATION NOTE (resumeButtonTooltip): The label that is displayed on the pause # button when the debugger is in a paused state. resumeButtonTooltip=Resume %S @@ -175,6 +197,9 @@ skipPausingTooltip.label=Deactivate breakpoints # breakpoints and pausing triggers undoSkipPausingTooltip.label=Activate breakpoints +# LOCALIZATION NOTE (pauseOnDebuggerStatement): The pause on debugger statement checkbox label +pauseOnDebuggerStatement=Pause on debugger statement + # LOCALIZATION NOTE (pauseOnExceptionsItem2): The pause on exceptions checkbox description # when the debugger will pause on all exceptions. pauseOnExceptionsItem2=Pause on exceptions @@ -190,6 +215,9 @@ threadsHeader=Threads # program as opposed to worker threads. mainThread=Main Thread +# LOCALIZATION NOTE (pausedThread): The text to describe the status of paused threads +pausedThread=paused + # LOCALIZATION NOTE (noSourcesText): The text to display in the sources list # when there are no sources. noSourcesText=This page has no sources. @@ -319,6 +347,21 @@ projectTextSearch.excludePatterns.placeholder=e.g. **/node_modules/**,app.js # message when the query did not match any text of all files in a project. projectTextSearch.noResults=No results found +# LOCALIZATION NOTE (projectTextSearch.pageNavigated): Tooltip shown on the refresh +# button, only when it is highlighted because the page navigated to a new document +# and the results might be obsolete. +projectTextSearch.refreshButtonTooltip=Click to refresh search results + +# LOCALIZATION NOTE (projectTextSearch.pageNavigated): Tooltip shown on the refresh +# button, only when it is highlighted because the page navigated to a new document +# and the results might be obsolete. +projectTextSearch.refreshButtonTooltipOnNavigation=The page navigated to a new document. Click to refresh search results + +# LOCALIZATION NOTE (projectTextSearch.sourceNoLongerAvailable): Tooltip message shown +# on Text Search results when the related source no longer exists. +# This typically happens after navigating or reloading the page and search results are obsolete. +projectTextSearch.sourceNoLongerAvailable=This source is no longer available.\nRefresh the search to have latest sources. + # LOCALIZATION NOTE (sourceSearch.search.key2): Key shortcut to open the search # for searching within a the currently opened files in the editor # Do not localize "CmdOrCtrl+F", or change the format of the string. These are @@ -607,8 +650,20 @@ expressions.placeholder=Add watch expression # LOCALIZATION NOTE (expressions.errorMsg): Error text for expression # input element expressions.errorMsg=Invalid expression… + +# LOCALIZATION NOTE (expressions.placeholder): Placeholder text for expression +# input element +expressions.placeholder2=Add expression + +# LOCALIZATION NOTE (expressions.noOriginalScopes): Expressions right sidebar pane message +# for when the`map variable names`is off and the debugger is paused in an original source +expressions.noOriginalScopes=Original variables name mapping is turned off. Expression values might not be accurate. + +# LOCALIZATION NOTE (expressions.label): For the "Add watch expression" context menu item in the editor expressions.label=Add watch expression expressions.accesskey=e + +# LOCALIZATION NOTE (expressions.remove.tooltip): For the tooltip on the button to remove a watch expression expressions.remove.tooltip=Remove watch expression # LOCALIZATION NOTE (xhrBreakpoints.header): The pause on any XHR breakpoints headings @@ -713,6 +768,76 @@ sourceFooter.unignore=Unignore source # with the ignore source button when the selected source is on the ignore list sourceFooter.ignoreList=This source is on the ignore list. Please turn off the `Ignore Known Third-party Scripts` option to enable it. +# LOCALIZATION NOTE (sourceFooter.sourceMapButton.disabled): Label displayed next to the +# Source Map icon displayed in editor footer. +# Displayed when Source Maps are disabled. +sourceFooter.sourceMapButton.disabled = Source Maps disabled + +# LOCALIZATION NOTE (sourceFooter.sourceMapButton.sourceNotMapped): Label displayed next to the +# Source Map icon displayed in editor footer. +# Displayed when the selected source is a regular source, without any source map. +sourceFooter.sourceMapButton.sourceNotMapped = No source map found + +# LOCALIZATION NOTE (sourceFooter.sourceMapButton.isOriginalSource): Label displayed next to the +# Source Map icon displayed in editor footer. +# Displayed when the selected source is an original source. +# i.e. a file which may not be in JavaScript and isn't being executed by Firefox. +# This file is transpiled by the web developer into a "bundle" JavaScript file, which is executed by the page. +sourceFooter.sourceMapButton.isOriginalSource = original file + +# LOCALIZATION NOTE (sourceFooter.sourceMapButton.isBundleSource): Label displayed next to the +# Source Map icon displayed in editor footer. +# Displayed when the selected source is a bundle. i.e. a file referring to a source map file, +# which will be mapped to one or many original sources. +sourceFooter.sourceMapButton.isBundleSource = bundle file + +# LOCALIZATION NOTE (sourceFooter.sourceMapButton.enable): Label displayed in the menu opened +# from the Source Map icon displayed in editor footer. +# This allows to toggle Source Map support. +sourceFooter.sourceMapButton.enable = Enable Source Maps + +# LOCALIZATION NOTE (sourceFooter.sourceMapButton.showOriginalSourceByDefault): Label displayed in the menu opened +# from the Source Map icon displayed in editor footer. +# This controls the settings which will make the debugger automatically show and open original source by default. +# This typically happens when you pause or hit a breakpoint. +sourceFooter.sourceMapButton.showOriginalSourceByDefault = Show and open original location by default + +# LOCALIZATION NOTE (sourceFooter.sourceMapButton.jumpToGeneratedSource): Label displayed in the menu opened +# from the Source Map icon displayed in editor footer. +# This allows to select the related bundle source, when we are currently selecting an original one. +sourceFooter.sourceMapButton.jumpToGeneratedSource = Jump to the related bundle source + +# LOCALIZATION NOTE (sourceFooter.sourceMapButton.jumpToOriginalSource): Label displayed in the menu opened +# from the Source Map icon displayed in editor footer. +# This allows to select the related original source, when we are currently selecting a bundle. +sourceFooter.sourceMapButton.jumpToOriginalSource = Jump to the related original source + +# LOCALIZATION NOTE (sourceFooter.sourceMapButton.openSourceMapInNewTab): Label displayed in the menu opened +# from the Source Map icon displayed in editor footer. +# When selecting a bundle with a valid source map, link to open the source map in a new tab. +sourceFooter.sourceMapButton.openSourceMapInNewTab = Open the Source Map file in a new tab + +# LOCALIZATION NOTE (sourceFooter.sourceMapButton.title): Tooltip displayed on +# the Source Map icon displayed in editor footer. +# This is the default title. +sourceFooter.sourceMapButton.title = Source Map status + +# LOCALIZATION NOTE (sourceFooter.sourceMapButton.loadingTitle): Tooltip displayed on +# the Source Map icon displayed in editor footer. +# This title is displayed when the source map is still loading. +sourceFooter.sourceMapButton.loadingTitle = Source Map is loading + +# LOCALIZATION NOTE (sourceFooter.sourceMapButton.errorTitle): Tooltip displayed on +# the Source Map icon displayed in editor footer. +# This title is displayed when the source map has an error. +# %S will be the error string. +sourceFooter.sourceMapButton.errorTitle = Source Map error: %S + +# LOCALIZATION NOTE (editorNotificationFooter.noOriginalScopes): The notification message displayed in the editor notification footer +# when paused in an original file and original variable mapping is turned off +# %S is text from the label for checkbox to show original scopes +editorNotificationFooter.noOriginalScopes=Original variables name mapping is turned off, so all inline and tooltip previews are disabled. Click the `%S` checkbox in the scopes panel to turn them on. + # LOCALIZATION NOTE (ignoreContextItem.ignore): Text associated # with the ignore context menu item ignoreContextItem.ignore=Ignore source @@ -761,6 +886,22 @@ sourceFooter.mappedSource=(From %S) # with a mapped source. %S is replaced by the source map origin. sourceFooter.mappedSourceTooltip=(Source mapped from %S) +# LOCALIZATION NOTE (sourceFooter.mappedOriginalSource.title): Text associated +# with an original source mapped to a bundle. %S is replaced by the bundle url. +sourceFooter.mappedOriginalSource.title=From %S + +# LOCALIZATION NOTE (sourceFooter.mappedOriginalSource.tooltip): Tooltip text associated +# with an original source mapped to a bundle. %S is replaced by bundle url. +sourceFooter.mappedOriginalSource.tooltip=Open related bundle (%S) + +# LOCALIZATION NOTE (sourceFooter.mappedGeneratedSource.title): Text associated +# with a bundled source mapped to an original source. %S is replaced by the original source url. +sourceFooter.mappedGeneratedSource.title=To %S + +# LOCALIZATION NOTE (sourceFooter.mappedGeneratedSource.tooltip): Tooltip text associated +# with a bundled source mapped to an original source. %S is replaced by the original source url. +sourceFooter.mappedGeneratedSource.tooltip=Open related original source (%S) + # LOCALIZATION NOTE (sourceFooter.mappedSuffix): Text associated # with a mapped source. Displays next to URLs in tree and tabs. sourceFooter.mappedSuffix=(mapped) @@ -784,6 +925,15 @@ scopes.header=Scopes # for when the debugger is paused, but there isn't pause data. scopes.notAvailable=Scopes unavailable +# LOCALIZATION NOTE (scopes.noOriginalScopes): Scopes right sidebar pane message +# for when original variable mapping is disabled. This is only displayed when paused in an original source. +# %S is text from the label for checkbox to show original scopes +scopes.noOriginalScopes=Original variables name mapping is turned off. Scopes cannot be displayed. Click the `%S` checkbox above to turn on. + +# LOCALIZATION NOTE (scopes.loadingOriginalScopes): Scopes right sidebar pane message +# for when the debugger is still loading the original variable mapping information. +scopes.loadingOriginalScopes=Loading variables for the original source… + # LOCALIZATION NOTE (scopes.notPaused): Scopes right sidebar pane message # for when the debugger is not paused. scopes.notPaused=Not paused @@ -806,6 +956,17 @@ scopes.helpTooltip.label=Learn more about map scopes # LOCALIZATION NOTE (scopes.map.label): Checkbox label to map scopes scopes.map.label=Map +# LOCALIZATION NOTE (scopes.showOriginalScopesHelpTooltip): Scopes right sidebar pane +# icon tooltip for link to MDN +scopes.showOriginalScopesHelpTooltip=Learn more about mapping variables and showing the original scopes + +# LOCALIZATION NOTE (scopes.showOriginalScopesTooltip): Scopes right sidebar pane +# tooltip for checkbox and label +scopes.showOriginalScopesTooltip=Show the scopes with mapped variable names for the original source. + +# LOCALIZATION NOTE (scopes.showOriginalScopes): Checkbox label to show original scopes +scopes.showOriginalScopes=Show original variables + # LOCALIZATION NOTE (scopes.block): Refers to a block of code in # the scopes pane when the debugger is paused. scopes.block=Block diff --git a/l10n-en-CA/devtools/client/inspector.properties b/l10n-en-CA/devtools/client/inspector.properties index f1f04a7b4b..cffbe4dbcf 100644 --- a/l10n-en-CA/devtools/client/inspector.properties +++ b/l10n-en-CA/devtools/client/inspector.properties @@ -2,15 +2,6 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -# LOCALIZATION NOTE These strings are used inside the Inspector -# which is available from the Web Developer sub-menu -> 'Inspect'. -# -# The correct localization of this file might be to keep it in -# English, or another language commonly spoken among web developers. -# You want to make that choice consistent across the developer tools. -# A good criteria is the language in which you'd find the best -# documentation on web development on the web. - # LOCALIZATION NOTE These strings are used inside the Inspector # which is available from the Browser Tools sub-menu -> 'Inspect'. # @@ -92,6 +83,11 @@ markupView.display.contents.tooltiptext2=This element doesn’t produce a specif # the markup view. markupView.event.tooltiptext=Event listener +# LOCALIZATION NOTE (markupView.event.tooltiptext) +# Used in a tooltip that appears when the user hovers over 'event' badge in +# the markup view. +markupView.event.tooltiptext2=Click to show event listeners for this element + # LOCALIZATION NOTE (markupView.custom.tooltiptext) # Used in a tooltip that appears when the user hovers over 'custom' badge in # the markup view. Only displayed on custom elements with a shadow root attached. @@ -118,18 +114,33 @@ eyedropper.disabled.title=Unavailable in non-HTML documents #LOCALIZATION NOTE: Used in the event tooltip to allow the debugger to be opened eventsTooltip.openInDebugger=Open in Debugger +# LOCALIZATION NOTE: Used in the event tooltip for the toggle button. +# Parameter is the event type (e.g. "click") +eventsTooltip.toggleButton.label=“%S” event listener code + +#LOCALIZATION NOTE: Used in the event tooltip to allow the debugger to be opened +eventsTooltip.openInDebugger2=Open “%S” in Debugger + #LOCALIZATION NOTE: Used in the event tooltip when a script's filename cannot be detected eventsTooltip.unknownLocation=Unknown location #LOCALIZATION NOTE: Used in the mouseover tooltip when hovering "Unknown location." eventsTooltip.unknownLocationExplanation=The original location of this listener cannot be detected. Maybe the code is transpiled by a utility such as Babel. +# LOCALIZATION NOTE: Label for the checkbox in the event tooltip that toggles event listeners +# Parameter is the event type (e.g. "click") +eventsTooltip.toggleListenerLabel=Enable “%S” event listener + #LOCALIZATION NOTE: Used in the tooltip for Bubbling eventsTooltip.Bubbling=Bubbling #LOCALIZATION NOTE: Used in the tooltip for Capturing eventsTooltip.Capturing=Capturing +# LOCALIZATION NOTE: Title of the iframe we use in the event tooltip to display the code of +# the event listener. Parameter is the event type (e.g. "click") +eventsTooltip.codeIframeTitle=“%S” event listener code + # LOCALIZATION NOTE (allTabsMenuButton.tooltip): The tooltip that gets # displayed when hovering over the tabs overflow button. allTabsMenuButton.tooltip=Show all tabs @@ -479,10 +490,17 @@ inspector.breadcrumbs.label=Breadcrumbs # displayed or not. inspector.browserStyles.label=Browser Styles +# LOCALIZATION NOTE (inspector.filterStyles.label): This is the label for the search box +inspector.filterStyles.label=Filter Styles + # LOCALIZATION NOTE (inspector.filterStyles.placeholder): This is the placeholder that # goes in the search box when no search term has been entered. inspector.filterStyles.placeholder=Filter Styles +# LOCALIZATION NOTE (inspector.filterStylesClearButton.title): This is the title +# for the search box clear button displayed when the input is not empty. +inspector.filterStylesClearButton.title = Clear filter input + # LOCALIZATION NOTE (inspector.addRule.tooltip): This is the tooltip shown when # hovering the `Add new rule` button in the rules view toolbar. This should # match ruleView.contextmenu.addNewRule in styleinspector.properties diff --git a/l10n-en-CA/devtools/client/layout.properties b/l10n-en-CA/devtools/client/layout.properties index b5d7e3b2ea..132d50ab20 100644 --- a/l10n-en-CA/devtools/client/layout.properties +++ b/l10n-en-CA/devtools/client/layout.properties @@ -98,6 +98,7 @@ flexbox.togglesFlexboxHighlighter2=Toggle Flexbox Highlighter # LOCALIZATION NOTE (layout.overlayCheckbox.label): Label used for checkboxes in the grid # sections of the layout panel that control the display of the grid highlighter. +layout.toggleGridHighlighter=Toggle Grid Highlighter # LOCALIZATION NOTE (layout.cannotShowGridOutline, layout.cannotSHowGridOutline.title): # In the case where the grid outline cannot be effectively displayed. diff --git a/l10n-en-CA/devtools/client/netmonitor.properties b/l10n-en-CA/devtools/client/netmonitor.properties index f320df66a7..a3cee405c4 100644 --- a/l10n-en-CA/devtools/client/netmonitor.properties +++ b/l10n-en-CA/devtools/client/netmonitor.properties @@ -357,6 +357,11 @@ netmonitor.timings.requestTiming=Request Timing # through the "Server-Timing" header. netmonitor.timings.serverTiming=Server Timing +# LOCALIZATION NOTE (netmonitor.timings.serviceWorkerTiming): This is the title of a new section +# in Timings side panel. This section contains service worker timings transferred from the +# service worker. +netmonitor.timings.serviceWorkerTiming=Service Worker Timing + # LOCALIZATION NOTE (netmonitor.timings.queuedAt): This is relative queued time to the # first request. %S is time expressed in milliseconds or minutes. netmonitor.timings.queuedAt=Queued: %S @@ -1225,6 +1230,21 @@ netmonitor.timings.wait=Waiting: # in a "receive" state. netmonitor.timings.receive=Receiving: +# LOCALIZATION NOTE (netmonitor.timings.launchServiceWorker): This is the label displayed +# in the network details timings tab identifying the amount of time spent +# during the launch of the service worker. +netmonitor.timings.launchServiceWorker=Startup: + +# LOCALIZATION NOTE (netmonitor.timings.requestToServiceWorker): This is the label displayed +# in the network details timings tab identifying the amount of time spent while a request is +# made to the service worker. +netmonitor.timings.requestToServiceWorker=Dispatch fetch: + +# LOCALIZATION NOTE (netmonitor.timings.handledByServiceWorker): This is the label displayed +# in the network details timings tab identifying the amount of time spent while a request is +# handled by the service worker. +netmonitor.timings.handledByServiceWorker=Handle fetch: + # LOCALIZATION NOTE (netmonitor.timings.learnMore): This is the label displayed # in the network details timings tab, with a link to external documentation netmonitor.timings.learnMore=Learn more about timings @@ -1426,6 +1446,14 @@ netmonitor.context.saveImageAs=Save Image As # for the Copy Image As Data URI menu item displayed in the context menu for a request netmonitor.context.saveImageAs.accesskey=v +# LOCALIZATION NOTE (netmonitor.context.saveResponseAs): This is the label displayed +# on the context menu that saves the response +netmonitor.context.saveResponseAs=Save Response As + +# LOCALIZATION NOTE (netmonitor.context.saveResponseAs.accesskey): This is the access key +# for the Save Response As menu item displayed in the context menu for a request +netmonitor.context.saveResponseAs.accesskey=v + # LOCALIZATION NOTE (netmonitor.context.copyAll): This is the label displayed # on the context menu that copies all data netmonitor.context.copyAll=Copy All diff --git a/l10n-en-CA/devtools/client/styleeditor.ftl b/l10n-en-CA/devtools/client/styleeditor.ftl index 18f6a5f989..2b266be909 100644 --- a/l10n-en-CA/devtools/client/styleeditor.ftl +++ b/l10n-en-CA/devtools/client/styleeditor.ftl @@ -40,7 +40,6 @@ styleeditor-go-to-line = .accesskey = J # Label displayed when searching a term that is not found in any stylesheet path styleeditor-stylesheet-all-filtered = No matching style sheet has been found. - # This string is shown in the style sheets list # Variables: # $ruleCount (Integer) - The number of rules in the stylesheet. @@ -49,3 +48,9 @@ styleeditor-stylesheet-rule-count = [one] { $ruleCount } rule. *[other] { $ruleCount } rules. } +# Title for the pretty print button in the editor footer. +styleeditor-pretty-print-button = + .title = Pretty print style sheet +# Title for the pretty print button in the editor footer, when it's disabled +styleeditor-pretty-print-button-disabled = + .title = Can only pretty print CSS files diff --git a/l10n-en-CA/devtools/client/toolbox-options.ftl b/l10n-en-CA/devtools/client/toolbox-options.ftl index f5accc6030..229f226970 100644 --- a/l10n-en-CA/devtools/client/toolbox-options.ftl +++ b/l10n-en-CA/devtools/client/toolbox-options.ftl @@ -43,6 +43,11 @@ options-inspector-draggable-properties-tooltip = options-inspector-simplified-highlighters-label = Use simpler highlighters with prefers-reduced-motion options-inspector-simplified-highlighters-tooltip = .title = Enables simplified highlighters when prefers-reduced-motion is enabled. Draws lines instead of filled rectangles around highlighted elements to avoid flashing effects. +# The label for the checkbox option to make the Enter key move the focus to the next input +# when editing a property name or value in the Inspector rules view +options-inspector-rules-focus-next-on-enter-label = Focus next input on Enter +options-inspector-rules-focus-next-on-enter-tooltip = + .title = When enabled, hitting the Enter key when editing a selector, a property name or value will move the focus to the next input. ## "Default Color Unit" options for the Inspector @@ -54,6 +59,15 @@ options-default-color-unit-rgb = RGB(A) options-default-color-unit-hwb = HWB options-default-color-unit-name = Colour Names +## Web Console section + +# The heading +options-webconsole-label = Web Console +# The label for the checkbox that toggle whether the Split console is enabled +options-webconsole-split-console-label = Enable Split Console +options-webconsole-split-console-tooltip = + .title = Open Split Console with the Escape Key + ## Style Editor section # The heading diff --git a/l10n-en-CA/devtools/client/toolbox.properties b/l10n-en-CA/devtools/client/toolbox.properties index b4e121bb17..51c5d33658 100644 --- a/l10n-en-CA/devtools/client/toolbox.properties +++ b/l10n-en-CA/devtools/client/toolbox.properties @@ -14,14 +14,13 @@ toolbox.titleTemplate1=Developer Tools — %1$S toolbox.titleTemplate2=Developer Tools — %1$S — %2$S # LOCALIZATION NOTE (toolbox.multiProcessBrowserToolboxTitle): Title used for -# the Browser Toolbox when the pref `devtools.browsertoolbox.fission` is true. +# the Browser Toolbox when the pref `devtools.browsertoolbox.scope` is set to "everything". # This Browser Toolbox allows to debug the parent process as well as the content # processes in the same toolbox. toolbox.multiProcessBrowserToolboxTitle=Multiprocess Browser Toolbox # LOCALIZATION NOTE (toolbox.parentProcessBrowserToolboxTitle): Title used for -# the Browser Toolbox when the pref `devtools.browsertoolbox.fission` and -# `devtools.browsertoolbox.scope` is set to "parent-process". +# the Browser Toolbox when the pref `devtools.browsertoolbox.scope` is set to "parent-process". # This Browser Toolbox allows to debug only the parent process resources. toolbox.parentProcessBrowserToolboxTitle=Parent process Browser Toolbox @@ -161,9 +160,13 @@ toolbox.meatballMenu.button.tooltip=Customize Developer Tools and Get Help toolbox.closebutton.tooltip=Close Developer Tools # LOCALIZATION NOTE (toolbox.errorCountButton.tooltip): This is the tooltip for -# the error count button displayed in the developer tools toolbox. +# the error count button displayed in the developer tools toolbox if the "Enable Split Console" setting is checked. toolbox.errorCountButton.tooltip=Show Split Console +# LOCALIZATION NOTE (toolbox.errorCountButtonConsoleTab.tooltip): This is the tooltip for +# the error count button displayed in the developer tools toolbox if the "Enable Split Console" setting is unchecked. +toolbox.errorCountButtonConsoleTab.tooltip=Show Console + # LOCALIZATION NOTE (toolbox.errorCountButton.description): This is the description that # will be used for the error count button in the devTools settings panel. toolbox.errorCountButton.description=Show the number of errors on the page diff --git a/l10n-en-CA/devtools/client/tooltips.ftl b/l10n-en-CA/devtools/client/tooltips.ftl index 60dae0c2bf..d167c900d9 100644 --- a/l10n-en-CA/devtools/client/tooltips.ftl +++ b/l10n-en-CA/devtools/client/tooltips.ftl @@ -38,14 +38,29 @@ inactive-css-not-table-cell = { $property } has no effect on th inactive-scroll-padding-when-not-scroll-container = { $property } has no effect on this element since it doesn’t scroll. inactive-css-border-image = { $property } has no effect on this element since it cannot be applied to internal table elements where border-collapse is set to collapse on the parent table element. inactive-css-ruby-element = { $property } has no effect on this element since it is a ruby element. Its size is determined by the font size of the ruby text. + +## In the Rule View when a CSS property cannot be successfully applied we display +## an icon. When this icon is hovered this message is displayed to explain how +## the problem can be solved. + inactive-css-highlight-pseudo-elements-not-supported = { $property } is not supported on highlight pseudo-elements. inactive-css-cue-pseudo-element-not-supported = { $property } is not supported on ::cue pseudo-elements. +# Variables: +# $lineCount (integer) - The number of lines the element has. +inactive-css-text-wrap-balance-lines-exceeded = + { $lineCount -> + [one] { $property } has no effect on this element because it has more than { $lineCount } line. + *[other] { $property } has no effect on this element because it has more than { $lineCount } lines. + } +inactive-css-text-wrap-balance-fragmented = { $property } has no effect on this element because it is fragmented, i.e. its content is split across multiple columns or pages. ## In the Rule View when a CSS property cannot be successfully applied we display ## an icon. When this icon is hovered this message is displayed to explain how -## the problem can be solved. +## the problem can be solved. CSS properties and values in tags should +## not be translated. inactive-css-not-grid-or-flex-container-fix = Try adding display:grid or display:flex. { learn-more } +inactive-css-not-grid-or-flex-or-block-container-fix = Try adding display:grid, display:flex or display:block. { learn-more } inactive-css-not-grid-or-flex-container-or-multicol-container-fix = Try adding either display:grid, display:flex, or columns:2. { learn-more } inactive-css-not-multicol-container-fix = Try adding either column-count or column-width. { learn-more } inactive-css-not-grid-or-flex-item-fix-3 = Try adding display:grid, display:flex, display:inline-grid, or display:inline-flex to the element’s parent. { learn-more } @@ -66,6 +81,8 @@ inactive-css-not-table-cell-fix = Try adding display:table-cell inactive-scroll-padding-when-not-scroll-container-fix = Try adding overflow:auto, overflow:scroll, or overflow:hidden. { learn-more } inactive-css-border-image-fix = On the parent table element, remove the property or change the value of border-collapse to a value other than collapse. { learn-more } inactive-css-ruby-element-fix = Try changing the font-size of the ruby text. { learn-more } +inactive-css-text-wrap-balance-lines-exceeded-fix = Try to reduce the number of lines. { learn-more } +inactive-css-text-wrap-balance-fragmented-fix = Avoid splitting the element’s content e.g. by removing the columns or by using page-break-inside:avoid. { learn-more } ## In the Rule View when a CSS property may have compatibility issues with other browsers ## we display an icon. When this icon is hovered this message is displayed to explain why @@ -82,3 +99,10 @@ css-compatibility-deprecated-supported-message = { $property } css-compatibility-experimental-message = { $property } is an experimental property. It is not supported in the following browsers: css-compatibility-experimental-supported-message = { $property } is an experimental property. css-compatibility-learn-more-message = Learn more about { $rootProperty } + +## In the Rule View when a rule selector can causes issues, we display an icon. +## When this icon is hovered one or more of those messages are displayed to explain what +## the issue are. + +# :has() should not be translated +css-selector-warning-unconstrained-has = This selector uses unconstrained :has(), which can be slow diff --git a/l10n-en-CA/devtools/client/webconsole.properties b/l10n-en-CA/devtools/client/webconsole.properties index 6fa064d245..b46ca39797 100644 --- a/l10n-en-CA/devtools/client/webconsole.properties +++ b/l10n-en-CA/devtools/client/webconsole.properties @@ -112,6 +112,11 @@ selfxss.msg=Scam Warning: Take care when pasting things you don’t understand. # Please avoid using non-keyboard characters here selfxss.okstring=allow pasting +# LOCALIZATION NOTE (evaluationNotifcation.noOriginalVariableMapping.msg): the text for the notification message that is displayed +# in the console when the debugger is paused in a non-pretty printed original file and original variable mapping is turned off. +# `Show original variables` should be kept in sync with the checkbox label in the Scopes panel header. +evaluationNotifcation.noOriginalVariableMapping.msg=Original variables name mapping in the debugger is disabled. Evaluation results might not be accurate. Click the `Show original variables` checkbox in the debugger scopes panel to enable. + # LOCALIZATION NOTE (messageToggleDetails): the text that is displayed when # you hover the arrow for expanding/collapsing the message details. For # console.error() and other messages we show the stacktrace. @@ -128,14 +133,18 @@ table.iterationIndex=(iteration index) table.key=Key table.value=Values -# LOCALIZATION NOTE (level.error, level.warn, level.info, level.log, level.debug): -# tooltip for icons next to console output +# LOCALIZATION NOTE (level.error, level.warn, level.info, level.log, level.debug, level.jstracer): +# tooltip for icons next to console output. +# "level.jstracer" isn't related to console.api call, but rather to the JavaScript Tracer, +# each item represents a function call being logged in the console. level.error=Error level.warn=Warning level.info=Info level.log=Log level.debug=Debug +level.jstracer=Function call + # LOCALIZATION NOTE (logpoint.title) # Tooltip shown for logpoints sent from the debugger logpoint.title=Logpoints from the debugger @@ -152,6 +161,14 @@ blockedrequest.label=Blocked by DevTools # Tooltip shown for disabled console messages webconsole.disableIcon.title=This message is no longer active, message details are not available +# LOCALIZATION NOTE (command.title) +# Tooltip shown for console input evaluated code displayed in the console output +command.title=Evaluated code + +# LOCALIZATION NOTE (result.title) +# Tooltip shown for evaluation result displayed in the console output +result.title=Evaluation result + # LOCALIZATION NOTE (webconsole.find.key) # Key shortcut used to focus the search box on upper right of the console webconsole.find.key=CmdOrCtrl+F @@ -439,6 +456,28 @@ webconsole.message.componentDidCatch.label=[DEVTOOLS ERROR] We’re sorry, we co # in the console, for example, copy({hello: "world"}). webconsole.message.commands.copyValueToClipboard=String was copied to clipboard. +# LOCALIZATION NOTE (webconsole.message.commands.startTracingToWebConsole) +# Label displayed when :trace command was executed and the JavaScript tracer started to log to the web console. +webconsole.message.commands.startTracingToWebConsole=Started tracing to Web Console + +# LOCALIZATION NOTE (webconsole.message.commands.startTracingToStdout) +# Label displayed when :trace command was executed and the JavaScript tracer started to log to stdout. +webconsole.message.commands.startTracingToStdout=Started tracing to stdout + +# LOCALIZATION NOTE (webconsole.message.commands.startTracingToProfiler) +# Label displayed when :trace command was executed and the JavaScript tracer will open the profiler showing all the traces, +# but only on stop. +webconsole.message.commands.startTracingToProfiler=Started tracing to the Profiler. The traces will be displayed in the profiler on stop. + +# LOCALIZATION NOTE (webconsole.message.commands.stopTracing) +# Label displayed when the JavaScript tracer stopped +webconsole.message.commands.stopTracing=Stopped tracing + +# LOCALIZATION NOTE (webconsole.message.commands.stopTracingWithReason) +# Label displayed when the JavaScript tracer stopped with a particular reason +# which isn't user explicit stop request. Can be reaching the max-depth option, or an infinite loop. +webconsole.message.commands.stopTracingWithReason=Stopped tracing (reason: %S) + # LOCALIZATION NOTE (webconsole.error.commands.copyError): # the error that is displayed when the "copy" command can't stringify an object # "copy" should not be translated, because is a function name. diff --git a/l10n-en-CA/devtools/shared/styleinspector.properties b/l10n-en-CA/devtools/shared/styleinspector.properties index c40b1d8fd3..a875b0ab71 100644 --- a/l10n-en-CA/devtools/shared/styleinspector.properties +++ b/l10n-en-CA/devtools/shared/styleinspector.properties @@ -156,10 +156,28 @@ rule.twistyCollapse.label=Collapse # speaks when the header of a rule is collapsed. rule.twistyExpand.label=Expand +# LOCALIZATION NOTE (rule.expandableContainerToggleButton.title): +# This is the tooltip for expandable container toggle button in the Rule View (Pseudo-elements, keyframes, …) +rule.expandableContainerToggleButton.title=Toggle panel + # LOCALIZATION NOTE (rule.containerQuery.selectContainerButton.tooltip): Text displayed in a # tooltip when the mouse is over the icon to select a container in a container query in the rule view. rule.containerQuery.selectContainerButton.tooltip=Click to select the container node +# LOCALIZATION NOTE (rule.propertyToggle.label): +# This is the label for the checkbox input in the rule view that allow to disable/re-enable +# a specific property in a rule. +# The argument is the property name. +rule.propertyToggle.label=Enable %S property + +# LOCALIZATION NOTE (rule.newPropertyName.label): +# This is the label for the new property input in the rule view. +rule.newPropertyName.label=New property name + +# LOCALIZATION NOTE (rule.propertyName.label): +# This is the label for the property name input in the rule view. +rule.propertyName.label=Property name + # LOCALIZATION NOTE (styleinspector.contextmenu.copyColor): Text displayed in the rule # and computed view context menu when a color value was clicked. styleinspector.contextmenu.copyColor=Copy Colour diff --git a/l10n-en-CA/devtools/shared/webconsole-commands.ftl b/l10n-en-CA/devtools/shared/webconsole-commands.ftl index 6fbe8159b2..0a049166f6 100644 --- a/l10n-en-CA/devtools/shared/webconsole-commands.ftl +++ b/l10n-en-CA/devtools/shared/webconsole-commands.ftl @@ -1,3 +1,24 @@ # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. + + +# These strings are used inside the Web Console commands +# which can be executed in the Developer Tools, available in the +# Browser Tools sub-menu -> 'Web Developer Tools' + +# Usage string for :block command +webconsole-commands-usage-block = + :block URL_STRING + + Start blocking network requests + + It accepts only one URL_STRING argument, an unquoted string which will be used to block all requests whose URL includes this string. + Use :unblock or the Network Monitor request blocking sidebar to undo this. +# Usage string for :unblock command +webconsole-commands-usage-unblock = + :unblock URL_STRING + + Stop blocking network requests + + It accepts only one argument, the exact same string previously passed to :block. -- cgit v1.2.3