diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /devtools/shared/locales | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/shared/locales')
-rw-r--r-- | devtools/shared/locales/en-US/accessibility.properties | 142 | ||||
-rw-r--r-- | devtools/shared/locales/en-US/debugger-paused-reasons.ftl | 85 | ||||
-rw-r--r-- | devtools/shared/locales/en-US/debugger.properties | 59 | ||||
-rw-r--r-- | devtools/shared/locales/en-US/eyedropper.properties | 14 | ||||
-rw-r--r-- | devtools/shared/locales/en-US/highlighters.ftl | 66 | ||||
-rw-r--r-- | devtools/shared/locales/en-US/screenshot.properties | 138 | ||||
-rw-r--r-- | devtools/shared/locales/en-US/shared.properties | 6 | ||||
-rw-r--r-- | devtools/shared/locales/en-US/styleinspector.properties | 267 | ||||
-rw-r--r-- | devtools/shared/locales/en-US/webconsole-commands.ftl | 24 | ||||
-rw-r--r-- | devtools/shared/locales/jar.mn | 11 | ||||
-rw-r--r-- | devtools/shared/locales/l10n.toml | 12 | ||||
-rw-r--r-- | devtools/shared/locales/moz.build | 7 |
12 files changed, 831 insertions, 0 deletions
diff --git a/devtools/shared/locales/en-US/accessibility.properties b/devtools/shared/locales/en-US/accessibility.properties new file mode 100644 index 0000000000..73958f93d1 --- /dev/null +++ b/devtools/shared/locales/en-US/accessibility.properties @@ -0,0 +1,142 @@ +# 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/. + +# LOCALIZATION NOTE (accessibility.contrast.ratio): A title text for the color contrast +# ratio description, used by the accessibility highlighter to display the value. %S in the +# content will be replaced by the contrast ratio numerical value. +accessibility.contrast.ratio=Contrast: %S + +# LOCALIZATION NOTE (accessibility.contrast.ratio.error): A title text for the color +# contrast ratio, used when the tool is unable to calculate the contrast ratio value. +accessibility.contrast.ratio.error=Unable to calculate + +# LOCALIZATION NOTE (accessibility.contrast.ratio.label): A title text for the color +# contrast ratio description, used together with the actual values. +accessibility.contrast.ratio.label=Contrast: + +# LOCALIZATION NOTE (accessibility.contrast.ratio.label.large): A title text for the color +# contrast ratio description that also specifies that the color contrast criteria used is +# if for large text. +accessibility.contrast.ratio.label.large=Contrast (large text): + +# LOCALIZATION NOTE (accessibility.text.label.issue.area): A title text that +# describes that currently selected accessible object for an <area> element must have +# its name provided via the alt attribute. +accessibility.text.label.issue.area = Use “alt” attribute to label “area” elements that have the “href” attribute. + +# LOCALIZATION NOTE (accessibility.text.label.issue.dialog): A title text that +# describes that currently selected accessible object for a dialog should have a name +# provided. +accessibility.text.label.issue.dialog = Dialogs should be labeled. + +# LOCALIZATION NOTE (accessibility.text.label.issue.document.title): A title text that +# describes that currently selected accessible object for a document must have a name +# provided via title. +accessibility.text.label.issue.document.title = Documents must have a title. + +# LOCALIZATION NOTE (accessibility.text.label.issue.embed): A title text that +# describes that currently selected accessible object for an <embed> must have a name +# provided. +accessibility.text.label.issue.embed = Embedded content must be labeled. + +# LOCALIZATION NOTE (accessibility.text.label.issue.figure): A title text that +# describes that currently selected accessible object for a figure should have a name +# provided. +accessibility.text.label.issue.figure = Figures with optional captions should be labeled. + +# LOCALIZATION NOTE (accessibility.text.label.issue.fieldset): A title text that +# describes that currently selected accessible object for a <fieldset> must have a name +# provided. +accessibility.text.label.issue.fieldset = “fieldset” elements must be labeled. + +# LOCALIZATION NOTE (accessibility.text.label.issue.fieldset.legend2): A title text that +# describes that currently selected accessible object for a <fieldset> must have a name +# provided via <legend> element. +accessibility.text.label.issue.fieldset.legend2 = Use a “legend” element to label a “fieldset”. + +# LOCALIZATION NOTE (accessibility.text.label.issue.form): A title text that +# describes that currently selected accessible object for a form element must have a name +# provided. +accessibility.text.label.issue.form = Form elements must be labeled. + +# LOCALIZATION NOTE (accessibility.text.label.issue.form.visible): A title text that +# describes that currently selected accessible object for a form element should have a name +# provided via a visible label/element. +accessibility.text.label.issue.form.visible = Form elements should have a visible text label. + +# LOCALIZATION NOTE (accessibility.text.label.issue.frame): A title text that +# describes that currently selected accessible object for a <frame> must have a name +# provided. +accessibility.text.label.issue.frame = “frame” elements must be labeled. + +# LOCALIZATION NOTE (accessibility.text.label.issue.glyph): A title text that +# describes that currently selected accessible object for a <mglyph> must have a name +# provided via alt attribute. +accessibility.text.label.issue.glyph = Use “alt” attribute to label “mglyph” elements. + +# LOCALIZATION NOTE (accessibility.text.label.issue.heading): A title text that +# describes that currently selected accessible object for a heading must have a name +# provided. +accessibility.text.label.issue.heading = Headings must be labeled. + +# LOCALIZATION NOTE (accessibility.text.label.issue.heading.content): A title text that +# describes that currently selected accessible object for a heading must have visible +# content. +accessibility.text.label.issue.heading.content = Headings should have visible text content. + +# LOCALIZATION NOTE (accessibility.text.label.issue.iframe): A title text that +# describes that currently selected accessible object for an <iframe> have a name +# provided via title attribute. +accessibility.text.label.issue.iframe = Use “title” attribute to describe “iframe” content. + +# LOCALIZATION NOTE (accessibility.text.label.issue.image): A title text that +# describes that currently selected accessible object for graphical content must have a +# name provided. +accessibility.text.label.issue.image = Content with images must be labeled. + +# LOCALIZATION NOTE (accessibility.text.label.issue.interactive): A title text that +# describes that currently selected accessible object for interactive element must have a +# name provided. +accessibility.text.label.issue.interactive = Interactive elements must be labeled. + +# LOCALIZATION NOTE (accessibility.text.label.issue.optgroup.label2): A title text that +# describes that currently selected accessible object for an <optgroup> must have a +# name provided via label attribute. +accessibility.text.label.issue.optgroup.label2 = Use a “label” attribute to label an “optgroup”. + +# LOCALIZATION NOTE (accessibility.text.label.issue.toolbar): A title text that +# describes that currently selected accessible object for a toolbar must have a +# name provided when there is more than one toolbar in the document. +accessibility.text.label.issue.toolbar = Toolbars must be labeled when there is more than one toolbar. + +# LOCALIZATION NOTE (accessibility.keyboard.issue.semantics): A title text that +# describes that currently selected accessible object is focusable and should +# indicate that it could be interacted with. +accessibility.keyboard.issue.semantics=Focusable elements should have interactive semantics. + +# LOCALIZATION NOTE (accessibility.keyboard.issue.tabindex): A title text that +# describes that currently selected accessible object has a corresponding +# DOMNode that defines a tabindex attribute greater that 0 which can result in +# unexpected behaviour when navigating with keyboard. +accessibility.keyboard.issue.tabindex=Avoid using “tabindex” attribute greater than zero. + +# LOCALIZATION NOTE (accessibility.keyboard.issue.action): A title text that +# describes that currently selected accessible object is interactive but can not +# be activated using keyboard or accessibility API. +accessibility.keyboard.issue.action=Interactive elements must be able to be activated using a keyboard. + +# LOCALIZATION NOTE (accessibility.keyboard.issue.focusable): A title text that +# describes that currently selected accessible object is interactive but is not +# focusable with a keyboard. +accessibility.keyboard.issue.focusable=Interactive elements must be focusable. + +# LOCALIZATION NOTE (accessibility.keyboard.issue.focus.visible): A title text +# that describes that currently selected accessible object is focusable but +# might not have appropriate focus styling. +accessibility.keyboard.issue.focus.visible=Focusable element may be missing focus styling. + +# LOCALIZATION NOTE (accessibility.keyboard.issue.mouse.only): A title text that +# describes that currently selected accessible object is not focusable and not +# semantic but can be activated via mouse (e.g. has click handler). +accessibility.keyboard.issue.mouse.only=Clickable elements must be focusable and should have interactive semantics. diff --git a/devtools/shared/locales/en-US/debugger-paused-reasons.ftl b/devtools/shared/locales/en-US/debugger-paused-reasons.ftl new file mode 100644 index 0000000000..3188cb8ed3 --- /dev/null +++ b/devtools/shared/locales/en-US/debugger-paused-reasons.ftl @@ -0,0 +1,85 @@ +# 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 Debugger which is available from the Web +### Developer sub-menu -> 'Debugger', as well as in the "Paused Debugger +### Overlay" that is displayed in the content page when it pauses. + +### 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. + +# The text that is displayed in a info block explaining how the debugger is +# currently paused due to a `debugger` statement in the code +whypaused-debugger-statement = Paused on debugger statement + +# The text that is displayed in a info block explaining how the debugger is +# currently paused on a breakpoint +whypaused-breakpoint = Paused on breakpoint + +# The text that is displayed in a info block explaining how the debugger is +# currently paused on an event breakpoint. +whypaused-event-breakpoint = Paused on event breakpoint + +# The text that is displayed in a info block explaining how the debugger is +# currently paused on an exception +whypaused-exception = Paused on exception + +# The text that is displayed in a info block explaining how the debugger is +# currently paused on a DOM mutation breakpoint +whypaused-mutation-breakpoint = Paused on DOM mutation + +# The text that is displayed to describe an added node which triggers a subtree +# modification +whypaused-mutation-breakpoint-added = Added: + +# The text that is displayed to describe a removed node which triggers a subtree +# modification +whypaused-mutation-breakpoint-removed = Removed: + +# The text that is displayed in a info block explaining how the debugger is +# currently paused at a JS execution +whypaused-interrupted = Paused at Execution + +# The text that is displayed in a info block explaining how the debugger is +# currently paused while stepping in or out of the stack +whypaused-resume-limit = Paused while stepping + +# The text that is displayed in a info block explaining how the debugger is +# currently paused on a dom event +whypaused-pause-on-dom-events = Paused on event listener + +# The text that is displayed in an info block when evaluating a conditional +# breakpoint throws an error +whypaused-breakpoint-condition-thrown = Error with conditional breakpoint + +# The text that is displayed in a info block explaining how the debugger is +# currently paused on an xml http request +whypaused-xhr = Paused on XMLHttpRequest + +# The text that is displayed in a info block explaining how the debugger is +# currently paused on a promise rejection +whypaused-promise-rejection = Paused on promise rejection + +# The text that is displayed in a info block explaining how the debugger is +# currently paused at a watchpoint on an object property +whypaused-get-watchpoint = Paused on property get + +# The text that is displayed in an info block explaining how the debugger is +# currently paused at a watchpoint on an object property +whypaused-set-watchpoint = Paused on property set + +# The text that is displayed in a info block explaining how the debugger is +# currently paused on an assert +whypaused-assert = Paused on assertion + +# The text that is displayed in a info block explaining how the debugger is +# currently paused on a debugger statement +whypaused-debug-command = Paused on debugged function + +# The text that is displayed in a info block explaining how the debugger is +# currently paused on an event listener breakpoint set +whypaused-other = Debugger paused diff --git a/devtools/shared/locales/en-US/debugger.properties b/devtools/shared/locales/en-US/debugger.properties new file mode 100644 index 0000000000..65e2beb79d --- /dev/null +++ b/devtools/shared/locales/en-US/debugger.properties @@ -0,0 +1,59 @@ +# 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/. + +# LOCALIZATION NOTE These strings are used inside the Debugger +# which is available from the Browser Tools sub-menu -> 'Debugger'. +# 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 (remoteIncomingPromptTitle): The title displayed on the +# dialog that prompts the user to allow the incoming connection. +remoteIncomingPromptTitle=Incoming Connection + +# LOCALIZATION NOTE (remoteIncomingPromptHeader): Header displayed on the +# dialog that prompts the user to allow the incoming connection. +remoteIncomingPromptHeader=An incoming request to permit remote debugging connection was detected. A remote client can take complete control over your browser! +# LOCALIZATION NOTE (remoteIncomingPromptClientEndpoint): Part of the prompt +# dialog for the user to choose whether an incoming connection should be +# allowed. +# %1$S: The host and port of the client such as "127.0.0.1:6000" +remoteIncomingPromptClientEndpoint=Client Endpoint: %1$S +# LOCALIZATION NOTE (remoteIncomingPromptServerEndpoint): Part of the prompt +# dialog for the user to choose whether an incoming connection should be +# allowed. +# %1$S: The host and port of the server such as "127.0.0.1:6000" +remoteIncomingPromptServerEndpoint=Server Endpoint: %1$S +# LOCALIZATION NOTE (remoteIncomingPromptFooter): Footer displayed on the +# dialog that prompts the user to allow the incoming connection. +remoteIncomingPromptFooter=Allow connection? + +# LOCALIZATION NOTE (remoteIncomingPromptDisable): The label displayed on the +# third button in the incoming connection dialog that lets the user disable the +# remote devtools server. +remoteIncomingPromptDisable=Disable + +# LOCALIZATION NOTE (clientSendOOBTitle): The title displayed on the dialog that +# instructs the user to transfer an authentication token to the server. +clientSendOOBTitle=Client Identification +# LOCALIZATION NOTE (clientSendOOBHeader): Header displayed on the dialog that +# instructs the user to transfer an authentication token to the server. +clientSendOOBHeader=The endpoint you are connecting to needs more information to authenticate this connection. Please provide the token below in the prompt that appears on the other end. +# LOCALIZATION NOTE (clientSendOOBHash): Part of the dialog that instructs the +# user to transfer an authentication token to the server. +# %1$S: The client's cert fingerprint +clientSendOOBHash=My Cert: %1$S +# LOCALIZATION NOTE (clientSendOOBToken): Part of the dialog that instructs the +# user to transfer an authentication token to the server. +# %1$S: The authentication token that the user will transfer. +clientSendOOBToken=Token: %1$S + +# LOCALIZATION NOTE (serverReceiveOOBTitle): The title displayed on the dialog +# that instructs the user to provide an authentication token from the client. +serverReceiveOOBTitle=Provide Client Token +# LOCALIZATION NOTE (serverReceiveOOBBody): Main text displayed on the dialog +# that instructs the user to provide an authentication token from the client. +serverReceiveOOBBody=The client should be displaying a token value. Enter that token value here to complete authentication with this client. diff --git a/devtools/shared/locales/en-US/eyedropper.properties b/devtools/shared/locales/en-US/eyedropper.properties new file mode 100644 index 0000000000..0f320ab37c --- /dev/null +++ b/devtools/shared/locales/en-US/eyedropper.properties @@ -0,0 +1,14 @@ +# 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/. + +# LOCALIZATION NOTE These strings are used in the Eyedropper color tool. +# LOCALIZATION NOTE 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 (colorValue.copied): This text is displayed when the user selects a +# color with the eyedropper and it's copied to the clipboard. +colorValue.copied=copied diff --git a/devtools/shared/locales/en-US/highlighters.ftl b/devtools/shared/locales/en-US/highlighters.ftl new file mode 100644 index 0000000000..2eb3196cf4 --- /dev/null +++ b/devtools/shared/locales/en-US/highlighters.ftl @@ -0,0 +1,66 @@ +# 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/. + +### This file contains strings used in highlighters. +### Highlighters are visualizations that DevTools draws on top of content to aid +### in understanding content sizing, etc. + +# The row and column position of a grid cell shown in the grid cell infobar when hovering +# over the CSS grid outline. +# Variables +# $row (integer) - The row index +# $column (integer) - The column index +grid-row-column-positions = Row { $row } / Column { $column } + +# The layout type of an element shown in the infobar when hovering over a DOM element and +# it is a grid container. +gridtype-container = Grid Container + +# The layout type of an element shown in the infobar when hovering over a DOM element and +# it is a grid item. +gridtype-item = Grid Item + +# The layout type of an element shown in the infobar when hovering over a DOM element and +# it is both a grid container and a grid item. +gridtype-dual = Grid Container/Item + +# The layout type of an element shown in the infobar when hovering over a DOM element and +# it is a flex container. +flextype-container = Flex Container + +# The layout type of an element shown in the infobar when hovering over a DOM element and +# it is a flex item. +flextype-item = Flex Item + +# The layout type of an element shown in the infobar when hovering over a DOM element and +# it is both a flex container and a flex item. +flextype-dual = Flex Container/Item + +# The message displayed in the content page when the user clicks on the +# "Pick an element from the page" in about:devtools-toolbox inspector panel, when +# debugging a remote page. +# Variables +# $action (string) - Will either be remote-node-picker-notice-action-desktop or +# remote-node-picker-notice-action-touch +remote-node-picker-notice = DevTools Node Picker enabled. { $action } + +# Text displayed in `remote-node-picker-notice`, when the remote page is on desktop +remote-node-picker-notice-action-desktop = Click an element to select it in the Inspector + +# Text displayed in `remote-node-picker-notice`, when the remote page is on Android +remote-node-picker-notice-action-touch = Tap an element to select it in the Inspector + +# The text displayed in the button that is in the notice in the content page when the user +# clicks on the "Pick an element from the page" in about:devtools-toolbox inspector panel, +# when debugging a remote page. +remote-node-picker-notice-hide-button = Hide + +# The text displayed in a toolbox notification message which is only displayed +# if prefers-reduced-motion is enabled (via OS-level settings or by using the +# ui.prefersReducedMotion=1 preference). +simple-highlighters-message = When prefers-reduced-motion is enabled, a simpler highlighter can be enabled in the settings panel, to avoid flashing colors. + +# Text displayed in a button inside the "simple-highlighters-message" toolbox +# notification. "Settings" here refers to the DevTools settings panel. +simple-highlighters-settings-button = Open Settings diff --git a/devtools/shared/locales/en-US/screenshot.properties b/devtools/shared/locales/en-US/screenshot.properties new file mode 100644 index 0000000000..fd1296e14d --- /dev/null +++ b/devtools/shared/locales/en-US/screenshot.properties @@ -0,0 +1,138 @@ +# 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/. + +# LOCALIZATION NOTE 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' +# +# 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 (screenshotDesc) A very short description of the +# 'screenshot' command. Displayed when the --help flag is passed to +# the screenshot command. +screenshotDesc=Save an image of the page + +# LOCALIZATION NOTE (screenshotFilenameDesc) A very short string to describe +# the 'filename' parameter to the 'screenshot' command. Displayed when the +# --help flag is passed to the screenshot command. +screenshotFilenameDesc=Destination filename + +# LOCALIZATION NOTE (screenshotFilenameManual) A fuller description of the +# 'filename' parameter to the 'screenshot' command. +screenshotFilenameManual=The name of the file (should have a ‘.png’ extension) to which we write the screenshot. + +# LOCALIZATION NOTE (screenshotClipboardDesc) A very short string to describe +# the 'clipboard' parameter to the 'screenshot' command. Displayed when the +# --help flag is passed to the screenshot command. +screenshotClipboardDesc=Copy screenshot to clipboard? (true/false) + +# LOCALIZATION NOTE (screenshotClipboardManual) A fuller description of the +# 'clipboard' parameter to the 'screenshot' command. Displayed when the +# --help flag is passed to the screenshot command. +screenshotClipboardManual=True if you want to copy the screenshot instead of saving it to a file. + +# LOCALIZATION NOTE (screenshotGroupOptions) A label for the optional options of +# the screenshot command. Displayed when the --help flag is passed to the +# screenshot command. +screenshotGroupOptions=Options + +# LOCALIZATION NOTE (screenshotDelayDesc) A very short string to describe +# the 'delay' parameter to the 'screenshot' command. Displayed when the +# --help flag is passed to the screenshot command. +screenshotDelayDesc=Delay (seconds) + +# LOCALIZATION NOTE (screenshotDelayManual) A fuller description of the +# 'delay' parameter to the 'screenshot' command. Displayed when the +# --help flag is passed to the screenshot command. +screenshotDelayManual=The time to wait (in seconds) before the screenshot is taken + +# LOCALIZATION NOTE (screenshotDPRDesc) A very short string to describe +# the 'dpr' parameter to the 'screenshot' command. Displayed when the +# --help flag is passed to the `screenshot command. +screenshotDPRDesc=Device pixel ratio + +# LOCALIZATION NOTE (screenshotDPRManual) A fuller description of the +# 'dpr' parameter to the 'screenshot' command. Displayed when the +# --help flag is passed to the `screenshot command. +screenshotDPRManual=The device pixel ratio to use when taking the screenshot + +# LOCALIZATION NOTE (screenshotFullPageDesc) A very short string to describe +# the 'fullpage' parameter to the 'screenshot' command. Displayed when the +# --help flag is passed to the `screenshot command. +screenshotFullPageDesc=Entire webpage? (true/false) + +# LOCALIZATION NOTE (screenshotFullPageManual) A fuller description of the +# 'fullpage' parameter to the 'screenshot' command. Displayed when the +# --help flag is passed to the `screenshot command. +screenshotFullPageManual=True if the screenshot should also include parts of the webpage which are outside the current scrolled bounds. + +# LOCALIZATION NOTE (screenshotFileDesc) A very short string to describe +# the 'file' parameter to the 'screenshot' command. Displayed when the +# --help flag is passed to the `screenshot command. +screenshotFileDesc=Save to file? (true/false) + +# LOCALIZATION NOTE (screenshotFileManual) A fuller description of the +# 'file' parameter to the 'screenshot' command. Displayed when the +# --help flag is passed to the `screenshot command. +screenshotFileManual=True if the screenshot should save the file even when other options are enabled (eg. clipboard). + +# LOCALIZATION NOTE (screenshotGeneratedFilename) The auto generated filename +# when no file name is provided. The first argument (%1$S) is the date string +# in yyyy-mm-dd format and the second argument (%2$S) is the time string +# in HH.MM.SS format. Please don't add the extension here. +screenshotGeneratedFilename=Screen Shot %1$S at %2$S + +# LOCALIZATION NOTE (screenshotErrorSavingToFile) Text displayed to user upon +# encountering error while saving the screenshot to the file specified. +# The argument (%1$S) is the filename. +screenshotErrorSavingToFile=Error saving to %1$S + +# LOCALIZATION NOTE (screenshotSavedToFile) Text displayed to user when the +# screenshot is successfully saved to the file specified. +# The argument (%1$S) is the filename. +screenshotSavedToFile=Saved to %1$S + +# LOCALIZATION NOTE (screenshotErrorCopying) Text displayed to user upon +# encountering error while copying the screenshot to clipboard. +screenshotErrorCopying=Error occurred while copying screenshot to clipboard. + +# LOCALIZATION NOTE (screenshotCopied) Text displayed to user when the +# screenshot is successfully copied to the clipboard. +screenshotCopied=Screenshot copied to clipboard. + +# LOCALIZATION NOTE (inspectNodeDesc) A very short string to describe the +# 'node' parameter to the 'inspect' command. Displayed when the +# --help flag is passed to the `screenshot command. +inspectNodeDesc=CSS selector + +# LOCALIZATION NOTE (inspectNodeManual) A fuller description of the 'node' +# parameter to the 'inspect' command. Displayed when the --help flag is +# passed to the `screenshot command. +inspectNodeManual=A CSS selector for use with document.querySelector which identifies a single element + +# LOCALIZATION NOTE (screenshotTruncationWarning) Text displayed to user when the image +# that would be created by the screenshot is too big and needs to be truncated to avoid +# errors. +# The first parameter is the width of the final image and the second parameter is the +# height of the image. +screenshotTruncationWarning=The image was cut off to %1$S×%2$S as the resulting image was too large + +# LOCALIZATION NOTE (screenshotDPRDecreasedWarning2) Text displayed to user when +# taking the screenshot initially failed. When the Device Pixel Ratio is larger +# than 1.0 a second try immediately after displaying this message is attempted. +screenshotDPRDecreasedWarning=The device pixel ratio was reduced to 1 as the resulting image was too large + +# LOCALIZATION NOTE (screenshotRenderingError) Text displayed to user upon +# encountering an error while rendering the screenshot. This most often happens when the +# resulting image is too large to be rendered. +screenshotRenderingError=Error creating the image. The resulting image was probably too large. + +# LOCALIZATION NOTE (screenshotNoSelectorMatchWarning) Text displayed to user when the +# provided selector for the screenshot does not match any element on the page. +# The argument (%1$S) is selector. +screenshotNoSelectorMatchWarning=The ‘%S’ selector does not match any element on the page. diff --git a/devtools/shared/locales/en-US/shared.properties b/devtools/shared/locales/en-US/shared.properties new file mode 100644 index 0000000000..0978450dee --- /dev/null +++ b/devtools/shared/locales/en-US/shared.properties @@ -0,0 +1,6 @@ +# 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/. + +# LOCALIZATION NOTE (ellipsis): The ellipsis (three dots) character +ellipsis=… diff --git a/devtools/shared/locales/en-US/styleinspector.properties b/devtools/shared/locales/en-US/styleinspector.properties new file mode 100644 index 0000000000..4d74bac132 --- /dev/null +++ b/devtools/shared/locales/en-US/styleinspector.properties @@ -0,0 +1,267 @@ +# 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/. + +# LOCALIZATION NOTE These strings are used inside the Style Inspector. +# +# 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 (rule.status): For each style property the panel shows +# the rules which hold that specific property. For every rule, the rule status +# is also displayed: a rule can be the best match, a match, a parent match, or a +# rule did not match the element the user has highlighted. +rule.status.BEST=Best Match +rule.status.MATCHED=Matched +rule.status.PARENT_MATCH=Parent Match + +# LOCALIZATION NOTE (rule.sourceElement, rule.sourceInline, +# rule.sourceConstructed): For each style property the panel shows the rules +# which hold that specific property. +# For every rule, the rule source is also displayed: a rule can come from a +# file, from the same page (inline), from a constructed style sheet +# (constructed), or from the element itself (element). +rule.sourceInline=inline +rule.sourceConstructed=constructed +rule.sourceElement=element + +# LOCALIZATION NOTE (rule.inheritedFrom): Shown for CSS rules +# that were inherited from a parent node. Will be passed a node +# identifier of the parent node. +# e.g "Inherited from body#bodyID" +rule.inheritedFrom=Inherited from %S + +# LOCALIZATION NOTE (rule.keyframe): Shown for CSS Rules keyframe header. +# Will be passed an identifier of the keyframe animation name. +rule.keyframe=Keyframes %S + +# LOCALIZATION NOTE (rule.userAgentStyles): Shown next to the style sheet +# link for CSS rules that were loaded from a user agent style sheet. +# These styles will not be editable, and will only be visible if the +# devtools.inspector.showUserAgentStyles pref is true. +rule.userAgentStyles=(user agent) + +# LOCALIZATION NOTE (rule.pseudoElement): Shown for CSS rules +# pseudo element header +rule.pseudoElement=Pseudo-elements + +# LOCALIZATION NOTE (rule.selectedElement): Shown for CSS rules element header if +# pseudo elements are present in the rule view. +rule.selectedElement=This Element + +# LOCALIZATION NOTE (rule.warning.title): When an invalid property value is +# entered into the rule view a warning icon is displayed. This text is used for +# the title attribute of the warning icon. +rule.warning.title=Invalid property value + +# LOCALIZATION NOTE (rule.warningName.title): When an invalid property name is +# entered into the rule view a warning icon is displayed. This text is used for +# the title attribute of the warning icon. +rule.warningName.title=Invalid property name + +# LOCALIZATION NOTE (rule.filterProperty.title): Text displayed in the tooltip +# of the search button that is shown next to a property that has been overridden +# in the rule view. +rule.filterProperty.title=Filter rules containing this property + +# LOCALIZATION NOTE (rule.empty): Text displayed when the highlighter is +# first opened and there's no node selected in the rule view. +rule.empty=No element selected. + +# LOCALIZATION NOTE (rule.variableValue): Text displayed in a tooltip +# when the mouse is over a variable use (like "var(--something)") in +# the rule view. The first argument is the variable name and the +# second argument is the value. +rule.variableValue=%S = %S + +# LOCALIZATION NOTE (rule.variableUnset): Text displayed in a tooltip +# when the mouse is over a variable use (like "var(--something)"), +# where the variable is not set. the rule view. The argument is the +# variable name. +rule.variableUnset=%S is not set + +# LOCALIZATION NOTE (rule.selectorHighlighter.tooltip): Text displayed in a +# tooltip when the mouse is over a selector highlighter icon in the rule view. +rule.selectorHighlighter.tooltip=Highlight all elements matching this selector + +# LOCALIZATION NOTE (rule.colorSwatch.tooltip): Text displayed in a tooltip +# when the mouse is over a color swatch in the rule view. +rule.colorSwatch.tooltip=Click to open the color picker, Shift+click to change the color format + +# LOCALIZATION NOTE (rule.bezierSwatch.tooltip): Text displayed in a tooltip +# when the mouse is over a cubic-bezier swatch in the rule view. +rule.bezierSwatch.tooltip=Click to open the timing-function editor + +# LOCALIZATION NOTE (rule.filterSwatch.tooltip): Text displayed in a tooltip +# when the mouse is over a filter swatch in the rule view. +rule.filterSwatch.tooltip=Click to open the filter editor + +# LOCALIZATION NOTE (rule.angleSwatch.tooltip): Text displayed in a tooltip +# when the mouse is over a angle swatch in the rule view. +rule.angleSwatch.tooltip=Shift+click to change the angle format + +# LOCALIZATION NOTE (rule.flexToggle.tooltip): Text displayed in a tooltip +# when the mouse is over a Flexbox toggle icon in the rule view. +rule.flexToggle.tooltip=Click to toggle the Flexbox highlighter + +# LOCALIZATION NOTE (rule.gridToggle.tooltip): Text displayed in a tooltip +# when the mouse is over a CSS Grid toggle icon in the rule view. +rule.gridToggle.tooltip=Click to toggle the CSS Grid highlighter + +# LOCALIZATION NOTE (rule.filterStyles.placeholder): This is the placeholder that +# goes in the search box when no search term has been entered. +rule.filterStyles.placeholder=Filter Styles + +# LOCALIZATION NOTE (rule.addRule.tooltip): This is the tooltip shown when +# hovering the `Add new rule` button in the rules view toolbar. +rule.addRule.tooltip=Add new rule + +# LOCALIZATION NOTE (rule.togglePseudo.tooltip): This is the tooltip +# shown when hovering over the `Toggle Pseudo Class Panel` button in the +# rule view toolbar. +rule.togglePseudo.tooltip=Toggle pseudo-classes + +# LOCALIZATION NOTE (rule.classPanel.toggleClass.tooltip): This is the tooltip +# shown when hovering over the `Toggle Class Panel` button in the +# rule view toolbar. +rule.classPanel.toggleClass.tooltip=Toggle classes + +# LOCALIZATION NOTE (rule.classPanel.newClass.placeholder): This is the placeholder +# shown inside the text field used to add a new class in the rule-view. +rule.classPanel.newClass.placeholder=Add new class + +# LOCALIZATION NOTE (rule.classPanel.noClasses): This is the text displayed in the +# class panel when the current element has no classes applied. +rule.classPanel.noClasses=No classes on this element + +# LOCALIZATION NOTE (rule.printSimulation.tooltip): +# This is the tooltip of the print simulation button in the Rule View toolbar +# that toggles print simulation. +rule.printSimulation.tooltip=Toggle print media simulation for the page + +# LOCALIZATION NOTE (rule.colorSchemeSimulation.tooltip): +# This is the tooltip of the color scheme simulation button in the Rule View +# toolbar that toggles color-scheme simulation. +rule.colorSchemeSimulation.tooltip=Toggle color-scheme simulation for the page + +# LOCALIZATION NOTE (rule.twistyCollapse.label): The text a screen reader +# speaks when the header of a rule is expanded. +rule.twistyCollapse.label=Collapse + +# LOCALIZATION NOTE (rule.twistyExpand.label): The text a screen reader +# 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 Color + +# LOCALIZATION NOTE (styleinspector.contextmenu.copyColor.accessKey): Access key for +# the rule and computed view context menu "Copy Color" entry. +styleinspector.contextmenu.copyColor.accessKey=L + +# LOCALIZATION NOTE (styleinspector.contextmenu.copyUrl): In rule and computed view : +# text displayed in the context menu for an image URL. +# Clicking it copies the URL to the clipboard of the user. +styleinspector.contextmenu.copyUrl=Copy URL + +# LOCALIZATION NOTE (styleinspector.contextmenu.copyUrl.accessKey): Access key for +# the rule and computed view context menu "Copy URL" entry. +styleinspector.contextmenu.copyUrl.accessKey=U + +# LOCALIZATION NOTE (styleinspector.contextmenu.copyImageDataUrl): In rule and computed view : +# text displayed in the context menu for an image URL. +# Clicking it copies the image as Data-URL to the clipboard of the user. +styleinspector.contextmenu.copyImageDataUrl=Copy Image Data-URL + +# LOCALIZATION NOTE (styleinspector.contextmenu.copyImageDataUrl.accessKey): Access key for +# the rule and computed view context menu "Copy Image Data-URL" entry. +styleinspector.contextmenu.copyImageDataUrl.accessKey=I + +# LOCALIZATION NOTE (styleinspector.copyImageDataUrlError): Text set in the clipboard +# if an error occurs when using the copyImageDataUrl context menu action +# (invalid image link, timeout, etc...) +styleinspector.copyImageDataUrlError=Failed to copy image Data-URL + +# LOCALIZATION NOTE (styleinspector.contextmenu.toggleOrigSources): Text displayed in the rule view +# context menu. +styleinspector.contextmenu.toggleOrigSources=Show Original Sources + +# LOCALIZATION NOTE (styleinspector.contextmenu.toggleOrigSources.accessKey): Access key for +# the rule view context menu "Show original sources" entry. +styleinspector.contextmenu.toggleOrigSources.accessKey=O + +# LOCALIZATION NOTE (styleinspector.contextmenu.addNewRule): Text displayed in the +# rule view context menu for adding a new rule to the element. +# This should match inspector.addRule.tooltip in inspector.properties +styleinspector.contextmenu.addNewRule=Add New Rule + +# LOCALIZATION NOTE (styleinspector.contextmenu.addNewRule.accessKey): Access key for +# the rule view context menu "Add rule" entry. +styleinspector.contextmenu.addNewRule.accessKey=R + +# LOCALIZATION NOTE (styleinspector.contextmenu.selectAll): Text displayed in the +# computed view context menu. +styleinspector.contextmenu.selectAll=Select All + +# LOCALIZATION NOTE (styleinspector.contextmenu.selectAll.accessKey): Access key for +# the computed view context menu "Select all" entry. +styleinspector.contextmenu.selectAll.accessKey=A + +# LOCALIZATION NOTE (styleinspector.contextmenu.copy): Text displayed in the +# computed view context menu. +styleinspector.contextmenu.copy=Copy + +# LOCALIZATION NOTE (styleinspector.contextmenu.copy.accessKey): Access key for +# the computed view context menu "Copy" entry. +styleinspector.contextmenu.copy.accessKey=C + +# LOCALIZATION NOTE (styleinspector.contextmenu.copyLocation): Text displayed in the +# rule view context menu for copying the source location. +styleinspector.contextmenu.copyLocation=Copy Location + +# LOCALIZATION NOTE (styleinspector.contextmenu.copyDeclaration): Text +# displayed in the rule view context menu for copying the CSS declaration. +styleinspector.contextmenu.copyDeclaration=Copy Declaration + +# LOCALIZATION NOTE (styleinspector.contextmenu.copyPropertyName): Text displayed in +# the rule view context menu for copying the property name. +styleinspector.contextmenu.copyPropertyName=Copy Property Name + +# LOCALIZATION NOTE (styleinspector.contextmenu.copyPropertyValue): Text displayed in +# the rule view context menu for copying the property value. +styleinspector.contextmenu.copyPropertyValue=Copy Property Value + +# LOCALIZATION NOTE (styleinspector.contextmenu.copyRule): Text displayed in the +# rule view context menu for copying the rule. +styleinspector.contextmenu.copyRule=Copy Rule + +# LOCALIZATION NOTE (styleinspector.contextmenu.copySelector): Text displayed in the +# rule view context menu for copying the selector. +styleinspector.contextmenu.copySelector=Copy Selector diff --git a/devtools/shared/locales/en-US/webconsole-commands.ftl b/devtools/shared/locales/en-US/webconsole-commands.ftl new file mode 100644 index 0000000000..14517f2321 --- /dev/null +++ b/devtools/shared/locales/en-US/webconsole-commands.ftl @@ -0,0 +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. diff --git a/devtools/shared/locales/jar.mn b/devtools/shared/locales/jar.mn new file mode 100644 index 0000000000..05820242b3 --- /dev/null +++ b/devtools/shared/locales/jar.mn @@ -0,0 +1,11 @@ +#filter substitution +# 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/. + +[localization] @AB_CD@.jar: + devtools/shared (%*.ftl) + +@AB_CD@.jar: +% locale devtools-shared @AB_CD@ %locale/@AB_CD@/devtools/shared/ + locale/@AB_CD@/devtools/shared/ (%*.properties) diff --git a/devtools/shared/locales/l10n.toml b/devtools/shared/locales/l10n.toml new file mode 100644 index 0000000000..88e817e349 --- /dev/null +++ b/devtools/shared/locales/l10n.toml @@ -0,0 +1,12 @@ +# 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/. + +basepath = "../../.." + +[env] + l = "{l10n_base}/{locale}/" + +[[paths]] + reference = "devtools/shared/locales/en-US/**" + l10n = "{l}devtools/shared/**" diff --git a/devtools/shared/locales/moz.build b/devtools/shared/locales/moz.build new file mode 100644 index 0000000000..d988c0ff9b --- /dev/null +++ b/devtools/shared/locales/moz.build @@ -0,0 +1,7 @@ +# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# 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/. + +JAR_MANIFESTS += ["jar.mn"] |