From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../en-US/chrome/layout/htmlparser.properties | 132 +++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 dom/locales/en-US/chrome/layout/htmlparser.properties (limited to 'dom/locales/en-US/chrome/layout/htmlparser.properties') 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 000000000..7b08270fb --- /dev/null +++ b/dom/locales/en-US/chrome/layout/htmlparser.properties @@ -0,0 +1,132 @@ +# 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. +EncNoDeclarationPlain=The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature. +EncNoDeclaration=The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol. +EncLateMetaFrame=The character encoding declaration of the framed HTML document was not found when prescanning the first 1024 bytes of the file. When viewed without the document framing it, the page will reload automatically. The encoding declaration needs to be moved to be within the first 1024 bytes of the file. +EncLateMeta=The character encoding declaration of the HTML document was not found when prescanning the first 1024 bytes of the file. When viewed in a differently-configured browser, this page will reload automatically. The encoding declaration needs to be moved to be within the first 1024 bytes of the file. +EncLateMetaReload=The page was reloaded, because the character encoding declaration of the HTML document was not found when prescanning the first 1024 bytes of the file. The encoding declaration needs to be moved to be within the first 1024 bytes of the file. +EncLateMetaTooLate=The character encoding declaration of document was found too late for it to take effect. The encoding declaration needs to be moved to be within the first 1024 bytes of the file. +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. +EncBomlessUtf16=Detected UTF-16-encoded Basic Latin-only text without a byte order mark and without a transfer protocol-level declaration. Encoding this content in UTF-16 is inefficient and the character encoding should have been declared in any case. +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. + +# The bulk of the messages below are derived from +# http://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. +errHyphenHyphenBang=“--!” found in comment. +errNcrZero=Character reference expands to zero. +errNoSpaceBetweenDoctypeSystemKeywordAndQuote=No space between the doctype “SYSTEM” keyword and the quote. +errNoSpaceBetweenPublicAndSystemIds=No space between the doctype public and system identifiers. +errNoSpaceBetweenDoctypePublicKeywordAndQuote=No space between the doctype “PUBLIC” keyword and the quote. + +# Tree builder errors +errStrayStartTag2=Stray start tag “%1$S”. +errStrayEndTag=Stray end tag “%1$S”. +errUnclosedElements=End tag “%1$S” seen, but there were open elements. +errUnclosedElementsImplied=End tag “%1$S” implied, but there were open elements. +errUnclosedElementsCell=A table cell was implicitly closed, but there were open elements. +errStrayDoctype=Stray doctype. +errAlmostStandardsDoctype=Almost standards mode doctype. Expected “”. +errQuirkyDoctype=Quirky doctype. Expected “”. +errNonSpaceInTrailer=Non-space character in page trailer. +errNonSpaceAfterFrameset=Non-space after “frameset”. +errNonSpaceInFrameset=Non-space in “frameset”. +errNonSpaceAfterBody=Non-space character after body. +errNonSpaceInColgroupInFragment=Non-space in “colgroup” when parsing fragment. +errNonSpaceInNoscriptInHead=Non-space character inside “noscript” inside “head”. +errFooBetweenHeadAndBody=“%1$S” element between “head” and “body”. +errStartTagWithoutDoctype=Start tag seen without seeing a doctype first. Expected “”. +errNoSelectInTableScope=No “select” in table scope. +errStartSelectWhereEndSelectExpected=“select” start tag where end tag expected. +errStartTagWithSelectOpen=“%1$S” start tag with “select” open. +errBadStartTagInHead2=Bad start tag “%1$S” in “head”. +errImage=Saw a start tag “image”. +errIsindex=“isindex” seen. +errFooSeenWhenFooOpen=An “%1$S” start tag seen but an element of the same type was already open. +errHeadingWhenHeadingOpen=Heading cannot be a child of another heading. +errFramesetStart=“frameset” start tag seen. +errNoCellToClose=No cell to close. +errStartTagInTable=Start tag “%1$S” seen in “table”. +errFormWhenFormOpen=Saw a “form” start tag, but there was already an active “form” element. Nested forms are not allowed. Ignoring the tag. +errTableSeenWhileTableOpen=Start tag for “table” seen but the previous “table” is still open. +errStartTagInTableBody=“%1$S” start tag in table body. +errEndTagSeenWithoutDoctype=End tag seen without seeing a doctype first. Expected “”. +errEndTagAfterBody=Saw an end tag after “body” had been closed. +errEndTagSeenWithSelectOpen=“%1$S” end tag with “select” open. +errGarbageInColgroup=Garbage in “colgroup” fragment. +errEndTagBr=End tag “br”. +errNoElementToCloseButEndTagSeen=No “%1$S” element in scope but a “%1$S” end tag seen. +errHtmlStartTagInForeignContext=HTML start tag “%1$S” in a foreign namespace context. +errTableClosedWhileCaptionOpen=“table” closed but “caption” was still open. +errNoTableRowToClose=No table row to close. +errNonSpaceInTable=Misplaced non-space characters inside a table. +errUnclosedChildrenInRuby=Unclosed children in “ruby”. +errStartTagSeenWithoutRuby=Start tag “%1$S” seen without a “ruby” element being open. +errSelfClosing=Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. +errNoCheckUnclosedElementsOnStack=Unclosed elements on stack. +errEndTagDidNotMatchCurrentOpenElement=End tag “%1$S” did not match the name of the current open element (“%2$S”). +errEndTagViolatesNestingRules=End tag “%1$S” violates nesting rules. +errEndWithUnclosedElements=End tag for “%1$S” seen, but there were unclosed elements. \ No newline at end of file -- cgit v1.2.3