tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

htmlparser.properties (13671B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 
      5 # Encoding warnings and errors
      6 EncNoDeclarationFrame=The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it.
      7 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.
      8 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.
      9 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.
     10 EncMetaAfterHeadInKilobyte=The meta tag declaring the character encoding of the document should be moved to start of the head part of the document.
     11 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.
     12 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.
     13 EncMetaUnsupported=An unsupported character encoding was declared for the HTML document using a meta tag. The declaration was ignored.
     14 EncProtocolUnsupported=An unsupported character encoding was declared on the transfer protocol level. The declaration was ignored.
     15 EncMetaUtf16=A meta tag was used to declare the character encoding as UTF-16. This was interpreted as an UTF-8 declaration instead.
     16 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.
     17 EncMetaReplacement=A meta tag was used to declare an encoding that is a cross-site scripting hazard. The replacement encoding was used instead.
     18 EncProtocolReplacement=An encoding that is a cross-site scripting hazard was declared on the transfer protocol level. The replacement encoding was used instead.
     19 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.
     20 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.
     21 EncError=The byte stream was erroneous according to the character encoding that was declared. The character encoding declaration may be incorrect.
     22 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.
     23 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.
     24 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.
     25 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.
     26 # The audience of the following message isn't the author of the document but other people debugging browser behavior.
     27 EncSpeculationFail2022=The start of the document was reparsed, because ISO-2022-JP is an ASCII-incompatible encoding.
     28 
     29 # The bulk of the messages below are derived from
     30 # https://hg.mozilla.org/projects/htmlparser/file/1f633cef7de7/src/nu/validator/htmlparser/impl/ErrorReportingTokenizer.java
     31 # which is available under the MIT license.
     32 
     33 # Tokenizer errors
     34 errGarbageAfterLtSlash=Garbage after “</”.
     35 errLtSlashGt=Saw “</>”. Probable causes: Unescaped “<” (escape as “&lt;”) or mistyped end tag.
     36 errCharRefLacksSemicolon=Character reference was not terminated by a semicolon.
     37 errNoDigitsInNCR=No digits in numeric character reference.
     38 errGtInSystemId=“>” in system identifier.
     39 errGtInPublicId=“>” in public identifier.
     40 errNamelessDoctype=Nameless doctype.
     41 errConsecutiveHyphens=Consecutive hyphens did not terminate a comment. “--” is not permitted inside a comment, but e.g. “- -” is.
     42 errPrematureEndOfComment=Premature end of comment. Use “-->” to end a comment properly.
     43 errBogusComment=Bogus comment.
     44 errUnquotedAttributeLt=“<” in an unquoted attribute value. Probable cause: Missing “>” immediately before.
     45 errUnquotedAttributeGrave=“`” in an unquoted attribute value. Probable cause: Using the wrong character as a quote.
     46 errUnquotedAttributeQuote=Quote in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value.
     47 errUnquotedAttributeEquals=“=” in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value.
     48 errSlashNotFollowedByGt=A slash was not immediately followed by “>”.
     49 errNoSpaceBetweenAttributes=No space between attributes.
     50 errUnquotedAttributeStartLt=“<” at the start of an unquoted attribute value. Probable cause: Missing “>” immediately before.
     51 errUnquotedAttributeStartGrave=“`” at the start of an unquoted attribute value. Probable cause: Using the wrong character as a quote.
     52 errUnquotedAttributeStartEquals=“=” at the start of an unquoted attribute value. Probable cause: Stray duplicate equals sign.
     53 errAttributeValueMissing=Attribute value missing.
     54 errBadCharBeforeAttributeNameLt=Saw “<” when expecting an attribute name. Probable cause: Missing “>” immediately before.
     55 errEqualsSignBeforeAttributeName=Saw “=” when expecting an attribute name. Probable cause: Attribute name missing.
     56 errBadCharAfterLt=Bad character after “<”. Probable cause: Unescaped “<”. Try escaping it as “&lt;”.
     57 errLtGt=Saw “<>”. Probable causes: Unescaped “<” (escape as “&lt;”) or mistyped start tag.
     58 errProcessingInstruction=Saw “<?”. Probable cause: Attempt to use an XML processing instruction in HTML. (XML processing instructions are not supported in HTML.)
     59 errUnescapedAmpersandInterpretedAsCharacterReference=The string following “&” was interpreted as a character reference. (“&” probably should have been escaped as “&amp;”.)
     60 errNotSemicolonTerminated=Named character reference was not terminated by a semicolon. (Or “&” should have been escaped as “&amp;”.)
     61 errNoNamedCharacterMatch=“&” did not start a character reference. (“&” probably should have been escaped as “&amp;”.)
     62 errQuoteBeforeAttributeName=Saw a quote when expecting an attribute name. Probable cause: “=” missing immediately before.
     63 errLtInAttributeName=“<” in attribute name. Probable cause: “>” missing immediately before.
     64 errQuoteInAttributeName=Quote in attribute name. Probable cause: Matching quote missing somewhere earlier.
     65 errExpectedPublicId=Expected a public identifier but the doctype ended.
     66 errBogusDoctype=Bogus doctype.
     67 maybeErrAttributesOnEndTag=End tag had attributes.
     68 maybeErrSlashInEndTag=Stray “/” at the end of an end tag.
     69 errNcrSurrogate=Character reference expands to a surrogate.
     70 errNcrInC1Range=A numeric character reference expanded to the C1 controls range.
     71 errEofInPublicId=End of file inside public identifier.
     72 errEofInComment=End of file inside comment.
     73 errEofInDoctype=End of file inside doctype.
     74 errEofInAttributeValue=End of file reached when inside an attribute value. Ignoring tag.
     75 errEofInAttributeName=End of file occurred in an attribute name. Ignoring tag.
     76 errEofWithoutGt=Saw end of file without the previous tag ending with “>”. Ignoring tag.
     77 errEofInTagName=End of file seen when looking for tag name. Ignoring tag.
     78 errEofInEndTag=End of file inside end tag. Ignoring tag.
     79 errEofAfterLt=End of file after “<”.
     80 errNcrOutOfRange=Character reference outside the permissible Unicode range.
     81 errNcrUnassigned=Character reference expands to a permanently unassigned code point.
     82 errDuplicateAttribute=Duplicate attribute.
     83 errEofInSystemId=End of file inside system identifier.
     84 errExpectedSystemId=Expected a system identifier but the doctype ended.
     85 errMissingSpaceBeforeDoctypeName=Missing space before doctype name.
     86 errNestedComment=Saw “<!--” within a comment. Probable cause: Nested comment (not allowed).
     87 errNcrZero=Character reference expands to zero.
     88 errNoSpaceBetweenDoctypeSystemKeywordAndQuote=No space between the doctype “SYSTEM” keyword and the quote.
     89 errNoSpaceBetweenPublicAndSystemIds=No space between the doctype public and system identifiers.
     90 errNoSpaceBetweenDoctypePublicKeywordAndQuote=No space between the doctype “PUBLIC” keyword and the quote.
     91 
     92 # Tree builder errors
     93 errDeepTree=The document tree is too deep. The tree will be flattened to be 513 elements deep.
     94 errStrayStartTag2=Stray start tag “%1$S”.
     95 errStrayEndTag=Stray end tag “%1$S”.
     96 errUnclosedElements=End tag “%1$S” seen, but there were open elements.
     97 errUnclosedElementsImplied=End tag “%1$S” implied, but there were open elements.
     98 errUnclosedElementsCell=A table cell was implicitly closed, but there were open elements.
     99 errStrayDoctype=Stray doctype.
    100 errAlmostStandardsDoctype=Almost standards mode doctype. Expected “<!DOCTYPE html>”.
    101 errQuirkyDoctype=Quirky doctype. Expected “<!DOCTYPE html>”.
    102 errAlmostStandardsDoctypeVerbose=This page is in Almost Standards Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
    103 errQuirkyDoctypeVerbose=This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
    104 errNonSpaceInTrailer=Non-space character in page trailer.
    105 errNonSpaceAfterFrameset=Non-space after “frameset”.
    106 errNonSpaceInFrameset=Non-space in “frameset”.
    107 errNonSpaceAfterBody=Non-space character after body.
    108 errNonSpaceInColgroupInFragment=Non-space in “colgroup” when parsing fragment.
    109 errNonSpaceInNoscriptInHead=Non-space character inside “noscript” inside “head”.
    110 errFooBetweenHeadAndBody=“%1$S” element between “head” and “body”.
    111 errStartTagWithoutDoctype=Start tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”.
    112 errNoSelectInTableScope=No “select” in table scope.
    113 errStartSelectWhereEndSelectExpected=“select” start tag where end tag expected.
    114 errStartTagWithSelectOpen=“%1$S” start tag with “select” open.
    115 errBadStartTagInNoscriptInHead=Bad start tag “%1$S” in “noscript” in “head”.
    116 errImage=Saw a start tag “image”.
    117 errFooSeenWhenFooOpen2=Start tag “%1$S” seen but an element of the same type was already open.
    118 errHeadingWhenHeadingOpen=Heading cannot be a child of another heading.
    119 errFramesetStart=“frameset” start tag seen.
    120 errNoCellToClose=No cell to close.
    121 errStartTagInTable=Start tag “%1$S” seen in “table”.
    122 errFormWhenFormOpen=Saw a “form” start tag, but there was already an active “form” element. Nested forms are not allowed. Ignoring the tag.
    123 errTableSeenWhileTableOpen=Start tag for “table” seen but the previous “table” is still open.
    124 errStartTagInTableBody=“%1$S” start tag in table body.
    125 errEndTagSeenWithoutDoctype=End tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”.
    126 errEndTagAfterBody=Saw an end tag after “body” had been closed.
    127 errEndTagSeenWithSelectOpen=“%1$S” end tag with “select” open.
    128 errGarbageInColgroup=Garbage in “colgroup” fragment.
    129 errEndTagBr=End tag “br”.
    130 errNoElementToCloseButEndTagSeen=No “%1$S” element in scope but a “%1$S” end tag seen.
    131 errHtmlStartTagInForeignContext=HTML start tag “%1$S” in a foreign namespace context.
    132 errNoTableRowToClose=No table row to close.
    133 errNonSpaceInTable=Misplaced non-space characters inside a table.
    134 errUnclosedChildrenInRuby=Unclosed children in “ruby”.
    135 errStartTagSeenWithoutRuby=Start tag “%1$S” seen without a “ruby” element being open.
    136 errSelfClosing=Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag.
    137 errNoCheckUnclosedElementsOnStack=Unclosed elements on stack.
    138 errEndTagDidNotMatchCurrentOpenElement=End tag “%1$S” did not match the name of the current open element (“%2$S”).
    139 errEndTagViolatesNestingRules=End tag “%1$S” violates nesting rules.
    140 errEndWithUnclosedElements=End tag for “%1$S” seen, but there were unclosed elements.
    141 errListUnclosedStartTags=Unclosed element or elements.