flod wrote:
> First of all: landing this file one week before string freeze is madness.
Sorry. I thought the rapid release model allowed stuff to land on
trunk at any time. If landing this at this time is a serious problem,
we could turn it off on Aurora immediately after the uplift.
>> errAlmostStandardsDoctype=Almost standards mode doctype. Expected
>> \u201C<!DOCTYPE html>\u201D.
>
> "Almost standards mode" is a mode like "Quirks mode", or the mode is
> "Standards mode". Is that what is called "Standards compliance mode" in
> pageInfo.properties. If that's the case, consistency is bad.
There are three HTML modes. In the HTML5 specification and the DOM4
specification, they are called:
quirks mode
limited-quirks mode
no-quirks mode
In common usage, they are instead called:
quirks mode
almost standards mode
standards mode
"Standards compliance mode" is neither a specification term nor a term
in common usage but it means the same as "no-quirks mode" or
"standards mode".
>> errBogusComment=Bogus comment.Bogus comment
>
> (and others similar) Can someone give an example of a "bogus comment"?
<!foo> and <!DOCTYP html> (not the lack of "E") are examples of bogus comments.
> Bogus should be "fake", but I can't imagine a bogus comment. Isn't that
> a bit too colloquial?
The term "bogus comment" comes from the HTML5 specification:
http://www.whatwg.org/specs/web-apps/current-work/#bogus-comment-state
Bogus comment means a part of syntax that parses into a comment node
in the DOM but does not meet the syntax rules for valid comments.
>> errStrayStartTag=Stray end tag \u201C%1$S\u201D.
>> errStrayEndTag=Stray end tag \u201C%1$S\u201D.
>
> First string is wrong, and I wouldn't change it without changing its name.
Indeed, the first string is wrong.
https://bugzilla.mozilla.org/show_bug.cgi?id=698935
What are the rules for changing the string keys when fixing obvious
problems in the en-US string?
> "end of file inside x", "end of file reached...", "end of file
> occurred...", "end of file seen...", "saw end of file" (and I read only
> half the file). Is that variety wanted?
Probably the phrasings should be more similar with each other in en-US, yeah.
On Wed, Nov 2, 2011 at 9:23 AM, Jonathan Kew <
jfkt...@googlemail.com> wrote:
> On 2 Nov 2011, at 06:30, flod wrote:
>
>>> errAstralNonCharacter=Character reference expands to an astral non-character.
>> What is an "astral non-character"?
>
> I assume (hope Henri will correct me if wrong!) that "astral" refers to a character code outside the Unicode "basic multilingual plane" (i.e., what's sometimes known as a supplementary-plane character), and that "non-character" means a code value that is defined to NOT represent a valid character - i.e. one of the last two codes in each "plane", at codepoint 0x??FFF[EF].
Indeed.
> However, IMO the use of "astral" here is (somewhat colloquial) jargon, and "non-character" is also a specialized technical term that may not be appropriate for Firefox UI usage, or at least should be a secondary clarification of the primary message, which is that the character code provided was not valid.
>
> ISTM that something along the lines of
>
> Invalid character code (non-character) in character reference.
>
> may be all that's needed. The fact that it's a "astral" rather than BMP code value is irrelevant.
>
> Similar messages for other errors might be
>
> Invalid character code (outside permissible Unicode range) in character reference.
> Invalid character code (control character) in character reference.
> Invalid character code (surrogate codepoint) in character reference.
Seems reasonable.
On Wed, Nov 2, 2011 at 10:26 AM, flod <
fl...@lodolo.net> wrote:
> Thanks Jonathan for your answer ;-)
>>
>> errEndTagBr=End tag \u201Cbr\u201D.
>
> When is this message displayed?
If the source contains </br>
>> errBadStartTagInHead=Bad start tag in \u201C%1$S\u201D in
>> \u201Chead\u201D.
>
> An example to understand what "%s$S" is?
Any tag name that isn't one of html, link, basefont, bgsound, meta,
style, noframes, head or noscript.
>> errNonSpaceInTable=Misplaced non-space characters insided a table.
>
> Typo
https://bugzilla.mozilla.org/show_bug.cgi?id=698866
>> errNonSpaceInTrailer=Non-space character in page trailer.
>
> What is a page trailer?
The part after the </html> tag.
>> errUnquotedAttributeQuote=Quote in an unquoted attribute value. Probable
>> causes: Attributes running together or a URL query string in an unquoted
>> attribute value.
>> errUnquotedAttributeEquals=\u201C=\u201D in an unquoted attribute value.
>> Probable causes: Attributes running together or a URL query string in an
>> unquoted attribute value.
>
> Explanation of "attributes running together"?
Lacking spaces between. E.g.
<a class=foohref="
http://example.com">
>> errQuirkyDoctype=Quirky doctype. Expected \u201C<!DOCTYPE html>\u201D.
>
> Can you explain "quirky"?
A doctype that triggers the quirks mode.
--
Henri Sivonen
hsiv...@iki.fi
http://hsivonen.iki.fi/