From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../en-US/chrome/layout/HtmlForm.properties | 35 +++++ .../en-US/chrome/layout/MediaDocument.properties | 22 ++++ dom/locales/en-US/chrome/layout/css.properties | 52 ++++++++ .../en-US/chrome/layout/htmlparser.properties | 144 +++++++++++++++++++++ .../en-US/chrome/layout/layout_errors.properties | 46 +++++++ .../en-US/chrome/layout/printing.properties | 56 ++++++++ .../en-US/chrome/layout/xmlparser.properties | 48 +++++++ dom/locales/en-US/chrome/layout/xul.properties | 5 + 8 files changed, 408 insertions(+) create mode 100644 dom/locales/en-US/chrome/layout/HtmlForm.properties create mode 100644 dom/locales/en-US/chrome/layout/MediaDocument.properties create mode 100644 dom/locales/en-US/chrome/layout/css.properties create mode 100644 dom/locales/en-US/chrome/layout/htmlparser.properties create mode 100644 dom/locales/en-US/chrome/layout/layout_errors.properties create mode 100644 dom/locales/en-US/chrome/layout/printing.properties create mode 100644 dom/locales/en-US/chrome/layout/xmlparser.properties create mode 100644 dom/locales/en-US/chrome/layout/xul.properties (limited to 'dom/locales/en-US/chrome/layout') diff --git a/dom/locales/en-US/chrome/layout/HtmlForm.properties b/dom/locales/en-US/chrome/layout/HtmlForm.properties new file mode 100644 index 0000000000..68cc4430f1 --- /dev/null +++ b/dom/locales/en-US/chrome/layout/HtmlForm.properties @@ -0,0 +1,35 @@ +# 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/. + +Reset=Reset +Submit=Submit Query +Browse=Browse… +FileUpload=File Upload +DirectoryUpload=Select Folder to Upload +DirectoryPickerOkButtonLabel=Upload +ForgotPostWarning=Form contains enctype=%S, but does not contain method=post. Submitting normally with method=GET and no enctype instead. +ForgotFileEnctypeWarning=Form contains a file input, but is missing method=POST and enctype=multipart/form-data on the form. The file will not be sent. +# LOCALIZATION NOTE (DefaultFormSubject): %S will be replaced with brandShortName +DefaultFormSubject=Form Post from %S +CannotEncodeAllUnicode=A form was submitted in the %S encoding which cannot encode all Unicode characters, so user input may get corrupted. To avoid this problem, the page should be changed so that the form is submitted in the UTF-8 encoding either by changing the encoding of the page itself to UTF-8 or by specifying accept-charset=utf-8 on the form element. +AllSupportedTypes=All Supported Types +# LOCALIZATION NOTE (NoFileSelected): this string is shown on a +# when there is no file selected yet. +NoFileSelected=No file selected. +# LOCALIZATION NOTE (NoFilesSelected): this string is shown on a +# when there is no file selected yet. +NoFilesSelected=No files selected. +# LOCALIZATION NOTE (NoDirSelected): this string is shown on a +# when there is no directory +# selected yet. +NoDirSelected=No directory selected. +# LOCALIZATION NOTE (XFilesSelected): this string is shown on a +# when there are more than one selected file. +# %S will be a number greater or equal to 2. +XFilesSelected=%S files selected. +ColorPicker=Choose a color +# LOCALIZATION NOTE (DefaultSummary): this string is shown on a
when +# it has no direct child. Google Chrome should already have this +# string translated. +DefaultSummary=Details diff --git a/dom/locales/en-US/chrome/layout/MediaDocument.properties b/dom/locales/en-US/chrome/layout/MediaDocument.properties new file mode 100644 index 0000000000..e911111622 --- /dev/null +++ b/dom/locales/en-US/chrome/layout/MediaDocument.properties @@ -0,0 +1,22 @@ +# 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 (ImageTitleWithDimensions2AndFile): first %S is filename, second %S is type, third %S is width and fourth %S is height +#LOCALIZATION NOTE (ImageTitleWithoutDimensions): first %S is filename, second %S is type +#LOCALIZATION NOTE (ImageTitleWithDimensions2): first %S is type, second %S is width and third %S is height +#LOCALIZATION NOTE (ImageTitleWithNeitherDimensionsNorFile): first %S is type +#LOCALIZATION NOTE (MediaTitleWithFile): first %S is filename, second %S is type +#LOCALIZATION NOTE (MediaTitleWithNoInfo): first %S is type +ImageTitleWithDimensions2AndFile=%S (%S Image, %S\u00A0\u00D7\u00A0%S pixels) +ImageTitleWithoutDimensions=%S (%S Image) +ImageTitleWithDimensions2=(%S Image, %S\u00A0\u00D7\u00A0%S pixels) +ImageTitleWithNeitherDimensionsNorFile=(%S Image) +MediaTitleWithFile=%S (%S Object) +MediaTitleWithNoInfo=(%S Object) + +InvalidImage=The image \u201c%S\u201d cannot be displayed because it contains errors. +UnsupportedImage=The image “%S” cannot be displayed because it requires unsupported features. +ScaledImage=Scaled (%S%%) + +TitleWithStatus=%S — %S diff --git a/dom/locales/en-US/chrome/layout/css.properties b/dom/locales/en-US/chrome/layout/css.properties new file mode 100644 index 0000000000..e9ec132868 --- /dev/null +++ b/dom/locales/en-US/chrome/layout/css.properties @@ -0,0 +1,52 @@ +# 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/. + +MimeNotCss=The stylesheet %1$S was not loaded because its MIME type, “%2$S”, is not “text/css”. +MimeNotCssWarn=The stylesheet %1$S was loaded as CSS even though its MIME type, “%2$S”, is not “text/css”. + +PEDeclDropped=Declaration dropped. +PEDeclSkipped=Skipped to next declaration. +PEUnknownProperty=Unknown property ‘%1$S’. +PEPRSyntaxFieldEmptyInput=@property syntax descriptor is empty. +PEPRSyntaxFieldExpectedPipe=@property syntax descriptor ‘%S’ contains components without a pipe between them. +PEPRSyntaxFieldInvalidNameStart=@property syntax descriptor ‘%S’ contains a component name that starts with an invalid character. +PEPRSyntaxFieldInvalidName=@property syntax descriptor ‘%S’ contains a component name with an invalid character. +PEPRSyntaxFieldUnclosedDataTypeName=@property syntax descriptor ‘%S’ contains an unclosed data type name. +PEPRSyntaxFieldUnexpectedEOF=@property syntax descriptor ‘%S’ is incomplete. +PEPRSyntaxFieldUnknownDataTypeName=@property syntax descriptor ‘%S’ contains an unknown data type name. +PEValueParsingError=Error in parsing value for ‘%1$S’. +PEUnknownAtRule=Unrecognized at-rule or error parsing at-rule ‘%1$S’. +PEMQUnexpectedOperator=Unexpected operator in media list. +PEMQUnexpectedToken=Unexpected token ‘%1$S’ in media list. +PEAtNSUnexpected=Unexpected token within @namespace: ‘%1$S’. +PEKeyframeBadName=Expected identifier for name of @keyframes rule. +PEBadSelectorRSIgnored=Ruleset ignored due to bad selector. +PEBadSelectorKeyframeRuleIgnored=Keyframe rule ignored due to bad selector. +PESelectorGroupNoSelector=Selector expected. +PESelectorGroupExtraCombinator=Dangling combinator. +PEClassSelNotIdent=Expected identifier for class selector but found ‘%1$S’. +PETypeSelNotType=Expected element name or ‘*’ but found ‘%1$S’. +PEUnknownNamespacePrefix=Unknown namespace prefix ‘%1$S’. +PEAttributeNameExpected=Expected identifier for attribute name but found ‘%1$S’. +PEAttributeNameOrNamespaceExpected=Expected attribute name or namespace but found ‘%1$S’. +PEAttSelNoBar=Expected ‘|’ but found ‘%1$S’. +PEAttSelUnexpected=Unexpected token in attribute selector: ‘%1$S’. +PEAttSelBadValue=Expected identifier or string for value in attribute selector but found ‘%1$S’. +PEPseudoSelBadName=Expected identifier for pseudo-class or pseudo-element but found ‘%1$S’. +PEPseudoSelEndOrUserActionPC=Expected end of selector or a user action pseudo-class after pseudo-element but found ‘%1$S’. +PEPseudoSelUnknown=Unknown pseudo-class or pseudo-element ‘%1$S’. +PEPseudoClassArgNotIdent=Expected identifier for pseudo-class parameter but found ‘%1$S’. +PEColorNotColor=Expected color but found ‘%1$S’. +PEParseDeclarationDeclExpected=Expected declaration but found ‘%1$S’. +PEUnknownFontDesc=Unknown descriptor ‘%1$S’ in @font-face rule. +PEMQExpectedFeatureName=Expected media feature name but found ‘%1$S’. +PEMQNoMinMaxWithoutValue=Media features with min- or max- must have a value. +PEMQExpectedFeatureValue=Found invalid value for media feature. +PEExpectedNoneOrURL=Expected ‘none’ or URL but found ‘%1$S’. +PEExpectedNoneOrURLOrFilterFunction=Expected ‘none’, URL, or filter function but found ‘%1$S’. +PEDisallowedImportRule=@import rules are not yet valid in constructed stylesheets. +PENeverMatchingHostSelector=:host selector in ‘%S’ is not featureless and will never match. Maybe you intended to use :host()? + +TooLargeDashedRadius=Border radius is too large for ‘dashed’ style (the limit is 100000px). Rendering as solid. +TooLargeDottedRadius=Border radius is too large for ‘dotted’ style (the limit is 100000px). Rendering as solid. diff --git a/dom/locales/en-US/chrome/layout/htmlparser.properties b/dom/locales/en-US/chrome/layout/htmlparser.properties new file mode 100644 index 0000000000..ce0e1a1db4 --- /dev/null +++ b/dom/locales/en-US/chrome/layout/htmlparser.properties @@ -0,0 +1,144 @@ +# 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/. + +# Encoding warnings and errors +EncNoDeclarationFrame=The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it. +EncXmlDecl=The character encoding of an HTML document was declared using the XML declaration syntax. This is non-conforming, and declaring the encoding using a meta tag at the start of the head part is more efficient. +EncMetaTooLate=A meta tag attempting to declare the character encoding declaration was found too late, and the encoding was guessed from content instead. The meta tag needs to be moved to the start of the head part of the document. +EncMetaTooLateFrame=A meta tag attempting to declare the character encoding declaration was found too late, and the encoding of the parent document was used instead. The meta tag needs to be moved to the start of the head part of the document. +EncMetaAfterHeadInKilobyte=The meta tag declaring the character encoding of the document should be moved to start of the head part of the document. +EncNoDecl=The character encoding of the document was not declared, so the encoding was guessed from content. The character encoding needs to be declared in the Content-Type HTTP header, using a meta tag, or using a byte order mark. +EncNoDeclPlain=The character encoding of the document was not declared, so the encoding was guessed from content. The character encoding needs to be declared in the Content-Type HTTP header or using a byte order mark. +EncMetaUnsupported=An unsupported character encoding was declared for the HTML document using a meta tag. The declaration was ignored. +EncProtocolUnsupported=An unsupported character encoding was declared on the transfer protocol level. The declaration was ignored. +EncMetaUtf16=A meta tag was used to declare the character encoding as UTF-16. This was interpreted as an UTF-8 declaration instead. +EncMetaUserDefined=A meta tag was used to declare the character encoding as x-user-defined. This was interpreted as a windows-1252 declaration instead for compatibility with intentionally mis-encoded legacy fonts. This site should migrate to Unicode. +EncMetaReplacement=A meta tag was used to declare an encoding that is a cross-site scripting hazard. The replacement encoding was used instead. +EncProtocolReplacement=An encoding that is a cross-site scripting hazard was declared on the transfer protocol level. The replacement encoding was used instead. +EncDetectorReload=The character encoding of the document was not declared, and the encoding was guessable from content only late. This caused the document to be reloaded. The character encoding needs to be declared in the Content-Type HTTP header, using a meta tag, or using a byte order mark. +EncDetectorReloadPlain=The character encoding of the document was not declared, and the encoding was guessable from content only late. This caused the document to be reloaded. The character encoding needs to be declared in the Content-Type HTTP header or using a byte order mark. +EncError=The byte stream was erroneous according to the character encoding that was declared. The character encoding declaration may be incorrect. +EncErrorFrame=The byte stream was erroneous according to the character encoding that was inherited from the parent document. The character encoding needs to be declared in the Content-Type HTTP header, using a meta tag, or using a byte order mark. +EncErrorFramePlain=The byte stream was erroneous according to the character encoding that was inherited from the parent document. The character encoding needs to be declared in the Content-Type HTTP header or using a byte order mark. +EncSpeculationFailMeta=The start of the document was reparsed, because there were non-ASCII characters before the meta tag that declared the encoding. The meta should be the first child of head without non-ASCII comments before. +EncSpeculationFailXml=The start of the document was reparsed, because there were non-ASCII characters in the part of the document that was unsuccessfully searched for a meta tag before falling back to the XML declaration syntax. A meta tag at the start of the head part should be used instead of the XML declaration syntax. +# The audience of the following message isn't the author of the document but other people debugging browser behavior. +EncSpeculationFail2022=The start of the document was reparsed, because ISO-2022-JP is an ASCII-incompatible encoding. + +# The bulk of the messages below are derived from +# https://hg.mozilla.org/projects/htmlparser/file/1f633cef7de7/src/nu/validator/htmlparser/impl/ErrorReportingTokenizer.java +# which is available under the MIT license. + +# Tokenizer errors +errGarbageAfterLtSlash=Garbage after “”. Probable causes: Unescaped “<” (escape as “<”) or mistyped end tag. +errCharRefLacksSemicolon=Character reference was not terminated by a semicolon. +errNoDigitsInNCR=No digits in numeric character reference. +errGtInSystemId=“>” in system identifier. +errGtInPublicId=“>” in public identifier. +errNamelessDoctype=Nameless doctype. +errConsecutiveHyphens=Consecutive hyphens did not terminate a comment. “--” is not permitted inside a comment, but e.g. “- -” is. +errPrematureEndOfComment=Premature end of comment. Use “-->” to end a comment properly. +errBogusComment=Bogus comment. +errUnquotedAttributeLt=“<” in an unquoted attribute value. Probable cause: Missing “>” immediately before. +errUnquotedAttributeGrave=“`” in an unquoted attribute value. Probable cause: Using the wrong character as a quote. +errUnquotedAttributeQuote=Quote in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. +errUnquotedAttributeEquals=“=” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value. +errSlashNotFollowedByGt=A slash was not immediately followed by “>”. +errNoSpaceBetweenAttributes=No space between attributes. +errUnquotedAttributeStartLt=“<” at the start of an unquoted attribute value. Probable cause: Missing “>” immediately before. +errUnquotedAttributeStartGrave=“`” at the start of an unquoted attribute value. Probable cause: Using the wrong character as a quote. +errUnquotedAttributeStartEquals=“=” at the start of an unquoted attribute value. Probable cause: Stray duplicate equals sign. +errAttributeValueMissing=Attribute value missing. +errBadCharBeforeAttributeNameLt=Saw “<” when expecting an attribute name. Probable cause: Missing “>” immediately before. +errEqualsSignBeforeAttributeName=Saw “=” when expecting an attribute name. Probable cause: Attribute name missing. +errBadCharAfterLt=Bad character after “<”. Probable cause: Unescaped “<”. Try escaping it as “<”. +errLtGt=Saw “<>”. Probable causes: Unescaped “<” (escape as “<”) or mistyped start tag. +errProcessingInstruction=Saw “” missing immediately before. +errQuoteInAttributeName=Quote in attribute name. Probable cause: Matching quote missing somewhere earlier. +errExpectedPublicId=Expected a public identifier but the doctype ended. +errBogusDoctype=Bogus doctype. +maybeErrAttributesOnEndTag=End tag had attributes. +maybeErrSlashInEndTag=Stray “/” at the end of an end tag. +errNcrNonCharacter=Character reference expands to a non-character. +errNcrSurrogate=Character reference expands to a surrogate. +errNcrControlChar=Character reference expands to a control character. +errNcrCr=A numeric character reference expanded to carriage return. +errNcrInC1Range=A numeric character reference expanded to the C1 controls range. +errEofInPublicId=End of file inside public identifier. +errEofInComment=End of file inside comment. +errEofInDoctype=End of file inside doctype. +errEofInAttributeValue=End of file reached when inside an attribute value. Ignoring tag. +errEofInAttributeName=End of file occurred in an attribute name. Ignoring tag. +errEofWithoutGt=Saw end of file without the previous tag ending with “>”. Ignoring tag. +errEofInTagName=End of file seen when looking for tag name. Ignoring tag. +errEofInEndTag=End of file inside end tag. Ignoring tag. +errEofAfterLt=End of file after “<”. +errNcrOutOfRange=Character reference outside the permissible Unicode range. +errNcrUnassigned=Character reference expands to a permanently unassigned code point. +errDuplicateAttribute=Duplicate attribute. +errEofInSystemId=End of file inside system identifier. +errExpectedSystemId=Expected a system identifier but the doctype ended. +errMissingSpaceBeforeDoctypeName=Missing space before doctype name. +errNestedComment=Saw “