# 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 = Tegnkodingen til et HTML-dokument ble deklarert ved å bruke XML-deklarasjonssyntaksen. Dette er ikke i tråd med gjeldende praksis og det er mer effektivt å bruke en meta-tag i begynnelsen av head-delen. EncMetaTooLate = En meta-tag som forsøkte å deklarere tegnkodingen ble funnet for sent. Kodingen ble derfor gjettet fra innholdet i stedet. Meta-tagen må flyttes til begynnelsen av dokumentets head-del. EncMetaTooLateFrame = En meta-tag som forsøkte å deklarere tegnkodingen ble funnet for sent. Kodingen ble derfor avledet fra kodingen av det overordnede dokumentet i stedet. Meta-tagen må flyttes til begynnelsen av dokumentets head-del. EncMetaAfterHeadInKilobyte = Meta-tagen som deklarerer tegnkodingen til dokumentet skal flyttes til starten av dokumentets head-delen. EncNoDecl = Tegnkodingen til dokumentet ble ikke deklarert, så kodingen ble gjettet ut fra innholdet. Tegnkodingen må deklareres i Content-Type HTTP-headeren, ved å bruke en meta-tag eller ved å bruke et byte-rekkefølgemerke. EncNoDeclPlain = Tegnkodingen til dokumentet ble ikke deklarert, så kodingen ble gjettet ut fra innholdet. Tegnkodingen må deklareres i Content-Type HTTP-headeren eller ved å bruke et byte-rekkefølgemerke. 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 = En meta-tag ble brukt til å deklarere en tegnkoding som utgjør en fare for skripting på tvers av nettsteder (cross-site-scripting). En erstatning for kodingen ble brukt i stedet. EncProtocolReplacement = En koding som utgjør en fare for skripting på tvers av nettsteder (cross-site-scripting) ble erklært på overføringsprotokollnivå. En erstatning for kodingen ble brukt i stedet. EncDetectorReload = Tegnkodingen til dokumentet ble ikke deklarert, og kodingen var kun mulig å gjette ut fra innholdet sent. Dette gjorde at dokumentet ble lastet på nytt. Tegnkodingen må deklareres i Content-Type HTTP-headeren, ved å bruke en meta-tag eller ved å bruke et byte-rekkefølgemerke. EncDetectorReloadPlain = Tegnkodingen til dokumentet ble ikke deklarert, og kodingen var kun mulig å gjette ut fra innholdet sent. Dette gjorde at dokumentet ble lastet på nytt. Tegnkodingen må deklareres i Content-Type HTTP-headeren eller ved å bruke et byte-rekkefølgemerke. EncError = The byte stream was erroneous according to the character encoding that was declared. The character encoding declaration may be incorrect. EncErrorFrame = Bytestrømmen var feil i henhold til tegnkodingen som ble arvet fra det overordnede dokumentet. Tegnkodingen må deklareres i Content-Type HTTP-headeren, ved å bruke en meta-tag eller ved å bruke et byte-rekkefølgemerke. 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 = Så «