HTML Tidy  5.4.0
The HTACG Tidy HTML Project
language_en.h
Go to the documentation of this file.
1 #ifndef language_en_h
2 #define language_en_h
3 /*
4  * language_en.h
5  * Localization support for HTML Tidy.
6  *
7  * This file consists of the strings for Tidy's base language and is a
8  * required localization for Tidy to compile and work. Unlike the other
9  * localization files this file is NOT machine-generated.
10  *
11  * This file also serves as the master template for generating additional
12  * language localizations. As such do not edit PO files for this language;
13  * modify this file directly.
14  *
15  * (c) 2015 HTACG
16  * See tidy.h and access.h for the copyright notice.
17  *
18  * Created by Jim Derry on 11/28/15.
19  */
20 
21 #ifdef _MSC_VER
22 #pragma execution_character_set("utf-8")
23 #endif
24 
25 #include "language.h"
26 #include "access.h"
27 #include "message.h"
28 
29 
30 /**
31  * This language-specific function returns the correct pluralForm
32  * to use given n items, and is used as a member of each language
33  * definition.
34  */
36  /* Plural-Forms: nplurals=2; */
37  return n != 1;
38 }
39 
40 
41 /**
42  * This structure specifies all of the strings needed by Tidy for a
43  * single language. Static definition in a header file makes it
44  * easy to include and exclude languages without tinkering with
45  * the build system.
46  *
47  * This file serves as the master template for generating `gettext`
48  * PO and POT files using our `potool.rb` script. Certain comments
49  * entered below will be included in the PO/POT files as developer
50  * comments. To enable this, use only standard C-style comments that
51  * begin immediately after the opening brace without whitespace.
52  */
53 
55  /***************************************
56  ** This MUST be present and first.
57  ** Specify the code for this language.
58  ***************************************/
59  {/* Specify the ll or ll_cc language code here. */
60  TIDY_LANGUAGE, 0, "en"
61  },
62 
63  /***************************************
64  ** Miscellaneous Strings
65  ***************************************/
66  {/* Only translate if a URL to the target language can be found. */
67  ACCESS_URL, 0, "http://www.w3.org/WAI/GL"
68  },
69  {/* Only translate if a URL to the target language can be found. */
70  ATRC_ACCESS_URL, 0, "http://www.html-tidy.org/accessibility/"
71  },
72  { FILE_CANT_OPEN, 0, "Can't open \"%s\"\n" },
73  { LINE_COLUMN_STRING, 0, "line %d column %d - " },
74  { STRING_CONTENT_LOOKS, 0, "Document content looks like %s" },
75  {/* For example, "discarding invalid UTF-16 surrogate pair" */
76  STRING_DISCARDING, 0, "discarding"
77  },
78  { STRING_DOCTYPE_GIVEN, 0, "Doctype given is \"%s\"" },
79 
80  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
81  STRING_ERROR_COUNT, 0, "Tidy found %u %s and %u %s!"
82  },
83  { STRING_ERROR_COUNT_ERROR, 0, "error" },
84  { STRING_ERROR_COUNT_ERROR, 1, "errors" },
85  { STRING_ERROR_COUNT_WARNING, 0, "warning" },
86  { STRING_ERROR_COUNT_WARNING, 1, "warnings" },
87  { STRING_HELLO_ACCESS, 0, "Accessibility Checks:" },
88  {/* This is not a formal name and can be translated. */
89  STRING_HTML_PROPRIETARY, 0, "HTML Proprietary"
90  },
91  { STRING_MISSING_MALFORMED, 0, "missing or malformed argument for option: %s" },
92  { STRING_NO_ERRORS, 0, "No warnings or errors were found." },
93  { STRING_NO_SYSID, 0, "No system identifier in emitted doctype" },
94  { STRING_NOT_ALL_SHOWN, 0, "Not all warnings/errors were shown." },
95  { STRING_PLAIN_TEXT, 0, "plain text" },
96  {/* For example, "replacing invalid UTF-8 bytes" */
97  STRING_REPLACING, 0, "replacing"
98  },
99  {/* For example, "you should avoid using the specified encoding." */
100  STRING_SPECIFIED, 0, "specified"
101  },
102  { STRING_UNKNOWN_FILE, 0, "%s: can't open file \"%s\"\n" },
103  { STRING_UNKNOWN_OPTION, 0, "unknown option: %s" },
104  { STRING_UNRECZD_OPTION, 0, "unrecognized option -%c use -help to list options\n" },
105  { STRING_XML_DECLARATION, 0, "XML declaration" },
106 
107  {/* This console output should be limited to 78 characters per line. */
109  "\n"
110  " - First, search left from the cell's position to find row header cells.\n"
111  " - Then search upwards to find column header cells.\n"
112  " - The search in a given direction stops when the edge of the table is\n"
113  " reached or when a data cell is found after a header cell.\n"
114  " - Row headers are inserted into the list in the order they appear in\n"
115  " the table. \n"
116  " - For left-to-right tables, headers are inserted from left to right.\n"
117  " - Column headers are inserted after row headers, in \n"
118  " the order they appear in the table, from top to bottom. \n"
119  " - If a header cell has the headers attribute set, then the headers \n"
120  " referenced by this attribute are inserted into the list and the \n"
121  " search stops for the current direction.\n"
122  " TD cells that set the axis attribute are also treated as header cells.\n"
123  "\n"
124  },
125  {/* This console output should be limited to 78 characters per line. */
127  "Characters codes for the Microsoft Windows fonts in the range\n"
128  "128 - 159 may not be recognized on other platforms. You are\n"
129  "instead recommended to use named entities, e.g. ™ rather\n"
130  "than Windows character code 153 (0x2122 in Unicode). Note that\n"
131  "as of February 1998 few browsers support the new entities.\n\n"
132  },
133  {/* This console output should be limited to 78 characters per line.
134  - %s represents a string-encoding name which may be localized in your language. */
136  "It is unlikely that vendor-specific, system-dependent encodings\n"
137  "work widely enough on the World Wide Web; you should avoid using the \n"
138  "%s character encoding, instead you are recommended to\n"
139  "use named entities, e.g. ™.\n"
140  "\n"
141  },
142  {/* This console output should be limited to 78 characters per line.
143  - %s represents a string-encoding name which may be localized in your language.
144  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
145  TEXT_SGML_CHARS, 0,
146  "Character codes 128 to 159 (U+0080 to U+009F) are not allowed in HTML;\n"
147  "even if they were, they would likely be unprintable control characters.\n"
148  "Tidy assumed you wanted to refer to a character with the same byte value in the \n"
149  "%s encoding and replaced that reference with the Unicode \n"
150  "equivalent.\n"
151  "\n"
152  },
153  {/* This console output should be limited to 78 characters per line. */
155  "Character codes for UTF-8 must be in the range: U+0000 to U+10FFFF.\n"
156  "The definition of UTF-8 in Annex D of ISO/IEC 10646-1:2000 also\n"
157  "allows for the use of five- and six-byte sequences to encode\n"
158  "characters that are outside the range of the Unicode character set;\n"
159  "those five- and six-byte sequences are illegal for the use of\n"
160  "UTF-8 as a transformation of Unicode characters. ISO/IEC 10646\n"
161  "does not allow mapping of unpaired surrogates, nor U+FFFE and U+FFFF\n"
162  "(but it does allow other noncharacters). For more information please refer to\n"
163  "http://www.unicode.org/ and http://www.cl.cam.ac.uk/~mgk25/unicode.html\n"
164  "\n"
165  },
166  {/* This console output should be limited to 78 characters per line. */
168  "Character codes for UTF-16 must be in the range: U+0000 to U+10FFFF.\n"
169  "The definition of UTF-16 in Annex C of ISO/IEC 10646-1:2000 does not allow the\n"
170  "mapping of unpaired surrogates. For more information please refer to\n"
171  "http://www.unicode.org/ and http://www.cl.cam.ac.uk/~mgk25/unicode.html\n"
172  "\n"
173  },
174  {/* This console output should be limited to 78 characters per line.
175  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
176  TEXT_INVALID_URI, 0,
177  "URIs must be properly escaped, they must not contain unescaped\n"
178  "characters below U+0021 including the space character and not\n"
179  "above U+007E. Tidy escapes the URI for you as recommended by\n"
180  "HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents\n"
181  "use another algorithm to escape such URIs and some server-sided\n"
182  "scripts depend on that. If you want to depend on that, you must\n"
183  "escape the URI on your own. For more information please refer to\n"
184  "http://www.w3.org/International/O-URL-and-ident.html\n"
185  "\n"
186  },
187  {/* This console output should be limited to 78 characters per line. */
188  TEXT_BAD_FORM, 0,
189  "You may need to move one or both of the <form> and </form>\n"
190  "tags. HTML elements should be properly nested and form elements\n"
191  "are no exception. For instance you should not place the <form>\n"
192  "in one table cell and the </form> in another. If the <form> is\n"
193  "placed before a table, the </form> cannot be placed inside the\n"
194  "table! Note that one form can't be nested inside another!\n"
195  "\n"
196  },
197  {/* This console output should be limited to 78 characters per line. */
198  TEXT_BAD_MAIN, 0,
199  "Only one <main> element is allowed in a document.\n"
200  "Subsequent <main> elements have been discarded, which may\n"
201  "render the document invalid.\n"
202  },
203  {/* This console output should be limited to 78 characters per line. */
204  TEXT_M_SUMMARY, 0,
205  "The table summary attribute should be used to describe\n"
206  "the table structure. It is very helpful for people using\n"
207  "non-visual browsers. The scope and headers attributes for\n"
208  "table cells are useful for specifying which headers apply\n"
209  "to each table cell, enabling non-visual browsers to provide\n"
210  "a meaningful context for each cell.\n"
211  "\n"
212  },
213  {/* This console output should be limited to 78 characters per line. */
214  TEXT_M_IMAGE_ALT, 0,
215  "The alt attribute should be used to give a short description\n"
216  "of an image; longer descriptions should be given with the\n"
217  "longdesc attribute which takes a URL linked to the description.\n"
218  "These measures are needed for people using non-graphical browsers.\n"
219  "\n"
220  },
221  {/* This console output should be limited to 78 characters per line. */
222  TEXT_M_IMAGE_MAP, 0,
223  "Use client-side image maps in preference to server-side image\n"
224  "maps as the latter are inaccessible to people using non-\n"
225  "graphical browsers. In addition, client-side maps are easier\n"
226  "to set up and provide immediate feedback to users.\n"
227  "\n"
228  },
229  {/* This console output should be limited to 78 characters per line. */
230  TEXT_M_LINK_ALT, 0,
231  "For hypertext links defined using a client-side image map, you\n"
232  "need to use the alt attribute to provide a textual description\n"
233  "of the link for people using non-graphical browsers.\n"
234  "\n"
235  },
236  {/* This console output should be limited to 78 characters per line. */
238  "Pages designed using frames present problems for\n"
239  "people who are either blind or using a browser that\n"
240  "doesn't support frames. A frames-based page should always\n"
241  "include an alternative layout inside a NOFRAMES element.\n"
242  "\n"
243  },
244  {/* This console output should be limited to 78 characters per line. */
246  "For further advice on how to make your pages accessible\n"
247  "see http://www.w3.org/WAI/GL"
248  },
249  {/* This console output should be limited to 78 characters per line.
250  - The URL should not be translated unless you find a matching URL in your language. */
252  " and http://www.html-tidy.org/accessibility/"
253  },
254  {/* This console output should be limited to 78 characters per line. */
255  TEXT_USING_LAYER, 0,
256  "The Cascading Style Sheets (CSS) Positioning mechanism\n"
257  "is recommended in preference to the proprietary <LAYER>\n"
258  "element due to limited vendor support for LAYER.\n"
259  "\n"
260  },
261  {/* This console output should be limited to 78 characters per line. */
263  "You are recommended to use CSS for controlling white\n"
264  "space (e.g. for indentation, margins and line spacing).\n"
265  "The proprietary <SPACER> element has limited vendor support.\n"
266  "\n"
267  },
268  {/* This console output should be limited to 78 characters per line. */
269  TEXT_USING_FONT, 0,
270  "You are recommended to use CSS to specify the font and\n"
271  "properties such as its size and color. This will reduce\n"
272  "the size of HTML files and make them easier to maintain\n"
273  "compared with using <FONT> elements.\n"
274  "\n"
275  },
276  {/* This console output should be limited to 78 characters per line. */
277  TEXT_USING_NOBR, 0,
278  "You are recommended to use CSS to control line wrapping.\n"
279  "Use \"white-space: nowrap\" to inhibit wrapping in place\n"
280  "of inserting <NOBR>...</NOBR> into the markup.\n"
281  "\n"
282  },
283  {/* This console output should be limited to 78 characters per line. */
284  TEXT_USING_BODY, 0,
285  "You are recommended to use CSS to specify page and link colors\n"
286  },
287  {/* This console output should be limited to 78 characters per line.
288  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
290  "This document has errors that must be fixed before\n"
291  "using HTML Tidy to generate a tidied up version.\n"
292  "\n"
293  },
294  {/* This console output should be limited to 78 characters per line.
295  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
297  "About HTML Tidy: https://github.com/htacg/tidy-html5\n"
298  "Bug reports and comments: https://github.com/htacg/tidy-html5/issues\n"
299  "Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/\n"
300  "Latest HTML specification: http://dev.w3.org/html5/spec-author-view/\n"
301  "Validate your HTML documents: http://validator.w3.org/nu/\n"
302  "Lobby your company to join the W3C: http://www.w3.org/Consortium\n"
303  },
304  {/* This console output should be limited to 78 characters per line.
305  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
307  "\n"
308  "Do you speak a language other than English, or a different variant of \n"
309  "English? Consider helping us to localize HTML Tidy. For details please see \n"
310  "https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md\n"
311  },
312 
313 
314  /***************************************
315  ** Message Severity Level
316  ***************************************/
317  { TidyInfoString, 0, "Info: " },
318  { TidyWarningString, 0, "Warning: " },
319  { TidyConfigString, 0, "Config: " },
320  { TidyAccessString, 0, "Access: " },
321  { TidyErrorString, 0, "Error: " },
322  { TidyBadDocumentString, 0, "Document: " },
323  { TidyFatalString, 0, "Panic: " },
324 
325  /***************************************
326  ** Warnings and Errors
327  ***************************************/
328 
329  /* ReportEncodingWarning */
330  {
331  ENCODING_MISMATCH, 0, "specified input encoding (%s) does not match actual input encoding (%s)" }, /* Warning */
332 
333  /* ReportEncodingError */
334  { VENDOR_SPECIFIC_CHARS, 0, "%s invalid character code %s" }, /* Error */
335  { INVALID_SGML_CHARS, 0, "%s invalid character code %s" }, /* Error */
336  { INVALID_UTF8, 0, "%s invalid UTF-8 bytes (char. code %s)" }, /* Error */
337  { INVALID_UTF16, 0, "%s invalid UTF-16 surrogate pair (char. code %s)" }, /* Error */
338  { INVALID_NCR, 0, "%s invalid numeric character reference %s" }, /* Error */
339  { BAD_SURROGATE_PAIR, 0, "Have out-of-range surrogate pair U+%04X:U+%04X, replaced with U+FFFD value."}, /* warning */
340  { BAD_SURROGATE_TAIL, 0, "Leading (High) surrogate pair U+%04X, with no trailing (Low) entity, replaced with U+FFFD." }, /* warning */
341  { BAD_SURROGATE_LEAD, 0, "Trailing (Low) surrogate pair U+%04X, with no leading (High) entity, replaced with U+FFFD." }, /* warning */
342 
343  /* ReportEntityError */
344  { MISSING_SEMICOLON, 0, "entity \"%s\" doesn't end in ';'" }, /* Warning in HTML, Error in XML/XHTML */
345  { MISSING_SEMICOLON_NCR, 0, "numeric character reference \"%s\" doesn't end in ';'" }, /* Warning in HTML, Error in XML/XHTML */
346  { UNESCAPED_AMPERSAND, 0, "unescaped & which should be written as &amp;" }, /* Warning in HTML, Error in XHTML */
347  { UNKNOWN_ENTITY, 0, "unescaped & or unknown entity \"%s\"" }, /* Error */
348  { APOS_UNDEFINED, 0, "named entity &apos; only defined in XML/XHTML" }, /* Error in HTML (should only occur for HTML input) */
349 
350  /* ReportAttrError - attribute name */
351  { INSERTING_ATTRIBUTE, 0, "%s inserting \"%s\" attribute" }, /* Warning in CheckLINK, Error otherwise */
352  { INSERTING_AUTO_ATTRIBUTE, 0, "%s inserting \"%s\" attribute using value \"%s\"" }, /* Warning */
353  { MISSING_ATTR_VALUE, 0, "%s attribute \"%s\" lacks value" }, /* Warning in CheckUrl, Error otherwise */
354  { UNKNOWN_ATTRIBUTE, 0, "%s unknown attribute \"%s\"" }, /* Error */
355  { PROPRIETARY_ATTRIBUTE, 0, "%s proprietary attribute \"%s\"" }, /* Error */
356  { MISMATCHED_ATTRIBUTE_ERROR, 0, "%s attribute \"%s\" not allowed for %s" }, /* Error */
357  { MISMATCHED_ATTRIBUTE_WARN, 0, "%s attribute \"%s\" not allowed for %s" }, /* Warning */
358  { JOINING_ATTRIBUTE, 0, "%s joining values of repeated attribute \"%s\"" }, /* Error */
359  { XML_ATTRIBUTE_VALUE, 0, "%s has XML attribute \"%s\"" }, /* Error (but deprecated) */
360 
361  /* ReportAttrError - attribute value */
362  { XML_ID_SYNTAX, 0, "%s ID \"%s\" uses XML ID syntax" }, /* Warning if XHTML, Error if HTML */
363  { ATTR_VALUE_NOT_LCASE, 0, "%s attribute value \"%s\" must be lower case for XHTML" }, /* Error if XHTML input, Notice if HTML input and XHTML outpout */
364  { PROPRIETARY_ATTR_VALUE, 0, "%s proprietary attribute value \"%s\"" }, /* Error */
365  { ANCHOR_NOT_UNIQUE, 0, "%s anchor \"%s\" already defined" }, /* Error */
366 
367  /* ReportAttrError - attribute name, attribute value */
368  { BAD_ATTRIBUTE_VALUE, 0, "%s attribute \"%s\" has invalid value \"%s\"" }, /* Error */
369  { BAD_ATTRIBUTE_VALUE_REPLACED, 0, "%s attribute \"%s\" had invalid value \"%s\" and has been replaced" }, /* Error */
370  { INVALID_ATTRIBUTE, 0, "%s attribute name \"%s\" (value=\"%s\") is invalid" }, /* Error */
371 
372  /* ReportAttrError - attribute value, attribute name */
373  { REPEATED_ATTRIBUTE, 0, "%s dropping value \"%s\" for repeated attribute \"%s\"" }, /* Error */
374 
375  /* ReportAttrError - no arguments */
376  { INVALID_XML_ID, 0, "%s cannot copy name attribute to id" }, /* Warning */
377  { UNEXPECTED_GT, 0, "%s missing '>' for end of tag" }, /* Warning if HTML, Error if XML/XHTML */
378  { UNEXPECTED_QUOTEMARK, 0, "%s unexpected or duplicate quote mark" }, /* Error */
379  { MISSING_QUOTEMARK, 0, "%s attribute with missing trailing quote mark" }, /* Error */
380  { UNEXPECTED_END_OF_FILE_ATTR, 0, "%s end of file while parsing attributes" }, /* Error */
381  { ID_NAME_MISMATCH, 0, "%s id and name attribute value mismatch" }, /* Error */
382  { BACKSLASH_IN_URI, 0, "%s URI reference contains backslash. Typo?" }, /* Error */
383  { FIXED_BACKSLASH, 0, "%s converting backslash in URI to slash" }, /* Error */
384  { ILLEGAL_URI_REFERENCE, 0, "%s improperly escaped URI reference" }, /* Error */
385  { ESCAPED_ILLEGAL_URI, 0, "%s escaping malformed URI reference" }, /* Error */
386  { NEWLINE_IN_URI, 0, "%s discarding newline in URI reference" }, /* Error */
387  { WHITE_IN_URI, 0, "%s discarding whitespace in URI reference" }, /* Error */
388  { UNEXPECTED_EQUALSIGN, 0, "%s unexpected '=', expected attribute name" }, /* Error */
389  { MISSING_IMAGEMAP, 0, "%s should use client-side image map" }, /* Warning (but deprecated) */
390 
391  /* ReportMissingAttr */
392  { MISSING_ATTRIBUTE, 0, "%s lacks \"%s\" attribute" }, /* Error */
393 
394  /* ReportWarning */
395  { NESTED_EMPHASIS, 0, "nested emphasis %s" }, /* Warning */
396  { NESTED_QUOTATION, 0, "nested q elements, possible typo." }, /* Warning */
397  { OBSOLETE_ELEMENT, 0, "replacing obsolete element %s with %s" }, /* Warning */
398  { COERCE_TO_ENDTAG_WARN, 0, "<%s> is probably intended as </%s>" }, /* Warning */
399  { REMOVED_HTML5, 0, "%s element removed from HTML5" }, /* Warning */
400  { BAD_SUMMARY_HTML5, 0, "The summary attribute on the %s element is obsolete in HTML5" }, /* Warning */
401 
402  /* ReportNotice */
403  { TRIM_EMPTY_ELEMENT, 0, "trimming empty %s" }, /* Notice */
404  { REPLACING_ELEMENT, 0, "replacing %s with %s" }, /* Notice */
405 
406  /* ReportError */
407  { COERCE_TO_ENDTAG, 0, "<%s> is probably intended as </%s>" }, /* Error */
408  { REPLACING_UNEX_ELEMENT, 0, "replacing unexpected %s with %s" }, /* Error */
409  { MISSING_ENDTAG_FOR, 0, "missing </%s>" }, /* Error */
410  { MISSING_ENDTAG_BEFORE, 0, "missing </%s> before %s" }, /* Error */
411  { DISCARDING_UNEXPECTED, 0, "discarding unexpected %s" }, /* Error */
412  { NON_MATCHING_ENDTAG, 0, "replacing unexpected %s with </%s>" }, /* Error */
413  { TAG_NOT_ALLOWED_IN, 0, "%s isn't allowed in <%s> elements" }, /* Error */
414  { MISSING_STARTTAG, 0, "missing <%s>" }, /* Error */
415  { UNEXPECTED_ENDTAG, 0, "unexpected </%s>" }, /* Error */
416  { TOO_MANY_ELEMENTS, 0, "too many %s elements" }, /* Error */
417  { USING_BR_INPLACE_OF, 0, "using <br> in place of %s" }, /* Error */
418  { INSERTING_TAG, 0, "inserting implicit <%s>" }, /* Error */
419  { CANT_BE_NESTED, 0, "%s can't be nested" }, /* Error */
420  { PROPRIETARY_ELEMENT, 0, "%s is not approved by W3C" }, /* Error */
421  { ELEMENT_VERS_MISMATCH_ERROR, 0, "%s element not available in %s" }, /* Error */
422  { ELEMENT_VERS_MISMATCH_WARN, 0, "%s element not available in %s" }, /* Warning */
423  { ILLEGAL_NESTING, 0, "%s shouldn't be nested" }, /* Error */
424  { NOFRAMES_CONTENT, 0, "%s not inside 'noframes' element" }, /* Error */
425  { UNEXPECTED_END_OF_FILE, 0, "unexpected end of file %s" }, /* Error */
426  { ELEMENT_NOT_EMPTY, 0, "%s element not empty or not closed" }, /* Error */
427  { UNEXPECTED_ENDTAG_IN, 0, "unexpected </%s> in <%s>" }, /* Error */
428  { TOO_MANY_ELEMENTS_IN, 0, "too many %s elements in <%s>" }, /* Error */
429  { UNESCAPED_ELEMENT, 0, "unescaped %s in pre content" }, /* Error (but deprecated) */
430 
431  /* ReportError - no arguments */
432  { DOCTYPE_AFTER_TAGS, 0, "<!DOCTYPE> isn't allowed after elements" }, /* Error */
433  { MISSING_TITLE_ELEMENT, 0, "inserting missing 'title' element" }, /* Error */
434  { INCONSISTENT_VERSION, 0, "HTML DOCTYPE doesn't match content" }, /* Error */
435  { MISSING_DOCTYPE, 0, "missing <!DOCTYPE> declaration" }, /* Error */
436  { CONTENT_AFTER_BODY, 0, "content occurs after end of body" }, /* Error */
437  { MALFORMED_COMMENT, 0, "adjacent hyphens within comment" }, /* Error */
438  { BAD_COMMENT_CHARS, 0, "expecting -- or >" }, /* Error */
439  { BAD_CDATA_CONTENT, 0, "'<' + '/' + letter not allowed here" }, /* Error */
440  { INCONSISTENT_NAMESPACE, 0, "HTML namespace doesn't match content" }, /* Error */
441  { SPACE_PRECEDING_XMLDECL, 0, "removing whitespace preceding XML Declaration" }, /* Error */
442  { MALFORMED_DOCTYPE, 0, "discarding malformed <!DOCTYPE>" }, /* Error */
443  { BAD_XML_COMMENT, 0, "XML comments can't contain --" }, /* Error (but deprecated) */
444  { DTYPE_NOT_UPPER_CASE, 0, "SYSTEM, PUBLIC, W3C, DTD, EN must be upper case" }, /* Error (but deprecated) */
445  { ENCODING_IO_CONFLICT, 0, "Output encoding does not work with standard output" }, /* Error (but deprecated) */
446 
447  /* ReportFatal */
448  { SUSPECTED_MISSING_QUOTE, 0, "missing quote mark for attribute value" }, /* Error? (not really sometimes) */
449  { DUPLICATE_FRAMESET, 0, "repeated FRAMESET element" }, /* Error */
450  { UNKNOWN_ELEMENT, 0, "%s is not recognized!" }, /* Error */
451 
452  /* Info */
453  { PREVIOUS_LOCATION, 0, "<%s> previously mentioned" }, /* Info */
454 
455 #if SUPPORT_ACCESSIBILITY_CHECKS
456 
457  /***************************************
458  ** ReportAccess
459  ** List of error/warning messages. The
460  ** error code corresponds to the check
461  ** that is listed in the AERT (HTML
462  ** specifications).
463  ***************************************/
464  { IMG_MISSING_ALT, 0, "[1.1.1.1]: <img> missing 'alt' text." }, /* Access */
465  { IMG_ALT_SUSPICIOUS_FILENAME, 0, "[1.1.1.2]: suspicious 'alt' text (filename)." }, /* Access */
466  { IMG_ALT_SUSPICIOUS_FILE_SIZE, 0, "[1.1.1.3]: suspicious 'alt' text (file size)." }, /* Access */
467  { IMG_ALT_SUSPICIOUS_PLACEHOLDER, 0, "[1.1.1.4]: suspicious 'alt' text (placeholder)." }, /* Access */
468  { IMG_ALT_SUSPICIOUS_TOO_LONG, 0, "[1.1.1.10]: suspicious 'alt' text (too long)." }, /* Access */
469  { IMG_MISSING_LONGDESC_DLINK, 0, "[1.1.2.1]: <img> missing 'longdesc' and d-link." }, /* Access */
470  { IMG_MISSING_DLINK, 0, "[1.1.2.2]: <img> missing d-link." }, /* Access */
471  { IMG_MISSING_LONGDESC, 0, "[1.1.2.3]: <img> missing 'longdesc'." }, /* Access */
472  { IMG_BUTTON_MISSING_ALT, 0, "[1.1.3.1]: <img> (button) missing 'alt' text." }, /* Access */
473  { APPLET_MISSING_ALT, 0, "[1.1.4.1]: <applet> missing alternate content." }, /* Access */
474  { OBJECT_MISSING_ALT, 0, "[1.1.5.1]: <object> missing alternate content." }, /* Access */
475  { AUDIO_MISSING_TEXT_WAV, 0, "[1.1.6.1]: audio missing text transcript (wav)." }, /* Access */
476  { AUDIO_MISSING_TEXT_AU, 0, "[1.1.6.2]: audio missing text transcript (au)." }, /* Access */
477  { AUDIO_MISSING_TEXT_AIFF, 0, "[1.1.6.3]: audio missing text transcript (aiff)." }, /* Access */
478  { AUDIO_MISSING_TEXT_SND, 0, "[1.1.6.4]: audio missing text transcript (snd)." }, /* Access */
479  { AUDIO_MISSING_TEXT_RA, 0, "[1.1.6.5]: audio missing text transcript (ra)." }, /* Access */
480  { AUDIO_MISSING_TEXT_RM, 0, "[1.1.6.6]: audio missing text transcript (rm)." }, /* Access */
481  { FRAME_MISSING_LONGDESC, 0, "[1.1.8.1]: <frame> may require 'longdesc'." }, /* Access */
482  { AREA_MISSING_ALT, 0, "[1.1.9.1]: <area> missing 'alt' text." }, /* Access */
483  { SCRIPT_MISSING_NOSCRIPT, 0, "[1.1.10.1]: <script> missing <noscript> section." }, /* Access */
484  { ASCII_REQUIRES_DESCRIPTION, 0, "[1.1.12.1]: ascii art requires description." }, /* Access */
485  { IMG_MAP_SERVER_REQUIRES_TEXT_LINKS, 0, "[1.2.1.1]: image map (server-side) requires text links." }, /* Access */
486  { MULTIMEDIA_REQUIRES_TEXT, 0, "[1.4.1.1]: multimedia requires synchronized text equivalents." }, /* Access */
487  { IMG_MAP_CLIENT_MISSING_TEXT_LINKS, 0, "[1.5.1.1]: image map (client-side) missing text links." }, /* Access */
488  { INFORMATION_NOT_CONVEYED_IMAGE, 0, "[2.1.1.1]: ensure information not conveyed through color alone (image)." }, /* Access */
489  { INFORMATION_NOT_CONVEYED_APPLET, 0, "[2.1.1.2]: ensure information not conveyed through color alone (applet)." }, /* Access */
490  { INFORMATION_NOT_CONVEYED_OBJECT, 0, "[2.1.1.3]: ensure information not conveyed through color alone (object)." }, /* Access */
491  { INFORMATION_NOT_CONVEYED_SCRIPT, 0, "[2.1.1.4]: ensure information not conveyed through color alone (script)." }, /* Access */
492  { INFORMATION_NOT_CONVEYED_INPUT, 0, "[2.1.1.5]: ensure information not conveyed through color alone (input)." }, /* Access */
493  { COLOR_CONTRAST_TEXT, 0, "[2.2.1.1]: poor color contrast (text)." }, /* Access */
494  { COLOR_CONTRAST_LINK, 0, "[2.2.1.2]: poor color contrast (link)." }, /* Access */
495  { COLOR_CONTRAST_ACTIVE_LINK, 0, "[2.2.1.3]: poor color contrast (active link)." }, /* Access */
496  { COLOR_CONTRAST_VISITED_LINK, 0, "[2.2.1.4]: poor color contrast (visited link)." }, /* Access */
497  { DOCTYPE_MISSING, 0, "[3.2.1.1]: <doctype> missing." }, /* Access */
498  { STYLE_SHEET_CONTROL_PRESENTATION, 0, "[3.3.1.1]: use style sheets to control presentation." }, /* Access */
499  { HEADERS_IMPROPERLY_NESTED, 0, "[3.5.1.1]: headers improperly nested." }, /* Access */
500  { POTENTIAL_HEADER_BOLD, 0, "[3.5.2.1]: potential header (bold)." }, /* Access */
501  { POTENTIAL_HEADER_ITALICS, 0, "[3.5.2.2]: potential header (italics)." }, /* Access */
502  { POTENTIAL_HEADER_UNDERLINE, 0, "[3.5.2.3]: potential header (underline)." }, /* Access */
503  { HEADER_USED_FORMAT_TEXT, 0, "[3.5.3.1]: header used to format text." }, /* Access */
504  { LIST_USAGE_INVALID_UL, 0, "[3.6.1.1]: list usage invalid <ul>." }, /* Access */
505  { LIST_USAGE_INVALID_OL, 0, "[3.6.1.2]: list usage invalid <ol>." }, /* Access */
506  { LIST_USAGE_INVALID_LI, 0, "[3.6.1.4]: list usage invalid <li>." }, /* Access */
507  { INDICATE_CHANGES_IN_LANGUAGE, 0, "[4.1.1.1]: indicate changes in language." }, /* Access */
508  { LANGUAGE_NOT_IDENTIFIED, 0, "[4.3.1.1]: language not identified." }, /* Access */
509  { LANGUAGE_INVALID, 0, "[4.3.1.2]: language attribute invalid." }, /* Access */
510  { DATA_TABLE_MISSING_HEADERS, 0, "[5.1.2.1]: data <table> missing row/column headers (all)." }, /* Access */
511  { DATA_TABLE_MISSING_HEADERS_COLUMN, 0, "[5.1.2.2]: data <table> missing row/column headers (1 col)." }, /* Access */
512  { DATA_TABLE_MISSING_HEADERS_ROW, 0, "[5.1.2.3]: data <table> missing row/column headers (1 row)." }, /* Access */
513  { DATA_TABLE_REQUIRE_MARKUP_COLUMN_HEADERS, 0, "[5.2.1.1]: data <table> may require markup (column headers)." }, /* Access */
514  { DATA_TABLE_REQUIRE_MARKUP_ROW_HEADERS, 0, "[5.2.1.2]: data <table> may require markup (row headers)." }, /* Access */
515  { LAYOUT_TABLES_LINEARIZE_PROPERLY, 0, "[5.3.1.1]: verify layout tables linearize properly." }, /* Access */
516  { LAYOUT_TABLE_INVALID_MARKUP, 0, "[5.4.1.1]: invalid markup used in layout <table>." }, /* Access */
517  { TABLE_MISSING_SUMMARY, 0, "[5.5.1.1]: <table> missing summary." }, /* Access */
518  { TABLE_SUMMARY_INVALID_NULL, 0, "[5.5.1.2]: <table> summary invalid (null)." }, /* Access */
519  { TABLE_SUMMARY_INVALID_SPACES, 0, "[5.5.1.3]: <table> summary invalid (spaces)." }, /* Access */
520  { TABLE_SUMMARY_INVALID_PLACEHOLDER, 0, "[5.5.1.6]: <table> summary invalid (placeholder text)." }, /* Access */
521  { TABLE_MISSING_CAPTION, 0, "[5.5.2.1]: <table> missing <caption>." }, /* Access */
522  { TABLE_MAY_REQUIRE_HEADER_ABBR, 0, "[5.6.1.1]: <table> may require header abbreviations." }, /* Access */
523  { TABLE_MAY_REQUIRE_HEADER_ABBR_NULL, 0, "[5.6.1.2]: <table> header abbreviations invalid (null)." }, /* Access */
524  { TABLE_MAY_REQUIRE_HEADER_ABBR_SPACES, 0, "[5.6.1.3]: <table> header abbreviations invalid (spaces)." }, /* Access */
525  { STYLESHEETS_REQUIRE_TESTING_LINK, 0, "[6.1.1.1]: style sheets require testing (link)." }, /* Access */
526  { STYLESHEETS_REQUIRE_TESTING_STYLE_ELEMENT, 0, "[6.1.1.2]: style sheets require testing (style element)." }, /* Access */
527  { STYLESHEETS_REQUIRE_TESTING_STYLE_ATTR, 0, "[6.1.1.3]: style sheets require testing (style attribute)." }, /* Access */
528  { FRAME_SRC_INVALID, 0, "[6.2.1.1]: <frame> source invalid." }, /* Access */
529  { TEXT_EQUIVALENTS_REQUIRE_UPDATING_APPLET, 0, "[6.2.2.1]: text equivalents require updating (applet)." }, /* Access */
530  { TEXT_EQUIVALENTS_REQUIRE_UPDATING_SCRIPT, 0, "[6.2.2.2]: text equivalents require updating (script)." }, /* Access */
531  { TEXT_EQUIVALENTS_REQUIRE_UPDATING_OBJECT, 0, "[6.2.2.3]: text equivalents require updating (object)." }, /* Access */
532  { PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_SCRIPT, 0, "[6.3.1.1]: programmatic objects require testing (script)." }, /* Access */
533  { PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_OBJECT, 0, "[6.3.1.2]: programmatic objects require testing (object)." }, /* Access */
534  { PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_EMBED, 0, "[6.3.1.3]: programmatic objects require testing (embed)." }, /* Access */
535  { PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_APPLET, 0, "[6.3.1.4]: programmatic objects require testing (applet)." }, /* Access */
536  { FRAME_MISSING_NOFRAMES, 0, "[6.5.1.1]: <frameset> missing <noframes> section." }, /* Access */
537  { NOFRAMES_INVALID_NO_VALUE, 0, "[6.5.1.2]: <noframes> section invalid (no value)." }, /* Access */
538  { NOFRAMES_INVALID_CONTENT, 0, "[6.5.1.3]: <noframes> section invalid (content)." }, /* Access */
539  { NOFRAMES_INVALID_LINK, 0, "[6.5.1.4]: <noframes> section invalid (link)." }, /* Access */
540  { REMOVE_FLICKER_SCRIPT, 0, "[7.1.1.1]: remove flicker (script)." }, /* Access */
541  { REMOVE_FLICKER_OBJECT, 0, "[7.1.1.2]: remove flicker (object)." }, /* Access */
542  { REMOVE_FLICKER_EMBED, 0, "[7.1.1.3]: remove flicker (embed)." }, /* Access */
543  { REMOVE_FLICKER_APPLET, 0, "[7.1.1.4]: remove flicker (applet)." }, /* Access */
544  { REMOVE_FLICKER_ANIMATED_GIF, 0, "[7.1.1.5]: remove flicker (animated gif)." }, /* Access */
545  { REMOVE_BLINK_MARQUEE, 0, "[7.2.1.1]: remove blink/marquee." }, /* Access */
546  { REMOVE_AUTO_REFRESH, 0, "[7.4.1.1]: remove auto-refresh." }, /* Access */
547  { REMOVE_AUTO_REDIRECT, 0, "[7.5.1.1]: remove auto-redirect." }, /* Access */
548  { ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_SCRIPT, 0, "[8.1.1.1]: ensure programmatic objects are accessible (script)." }, /* Access */
549  { ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_OBJECT, 0, "[8.1.1.2]: ensure programmatic objects are accessible (object)." }, /* Access */
550  { ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_APPLET, 0, "[8.1.1.3]: ensure programmatic objects are accessible (applet)." }, /* Access */
551  { ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_EMBED, 0, "[8.1.1.4]: ensure programmatic objects are accessible (embed)." }, /* Access */
552  { IMAGE_MAP_SERVER_SIDE_REQUIRES_CONVERSION, 0, "[9.1.1.1]: image map (server-side) requires conversion." }, /* Access */
553  { SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_DOWN, 0, "[9.3.1.1]: <script> not keyboard accessible (onMouseDown)." }, /* Access */
554  { SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_UP, 0, "[9.3.1.2]: <script> not keyboard accessible (onMouseUp)." }, /* Access */
555  { SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_CLICK, 0, "[9.3.1.3]: <script> not keyboard accessible (onClick)." }, /* Access */
556  { SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_OVER, 0, "[9.3.1.4]: <script> not keyboard accessible (onMouseOver)." }, /* Access */
557  { SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_OUT, 0, "[9.3.1.5]: <script> not keyboard accessible (onMouseOut)." }, /* Access */
558  { SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_MOVE, 0, "[9.3.1.6]: <script> not keyboard accessible (onMouseMove)." }, /* Access */
559  { NEW_WINDOWS_REQUIRE_WARNING_NEW, 0, "[10.1.1.1]: new windows require warning (_new)." }, /* Access */
560  { NEW_WINDOWS_REQUIRE_WARNING_BLANK, 0, "[10.1.1.2]: new windows require warning (_blank)." }, /* Access */
561  { FORM_CONTROL_REQUIRES_DEFAULT_TEXT, 0, "[10.4.1.1]: form control requires default text." }, /* Access */
562  { FORM_CONTROL_DEFAULT_TEXT_INVALID_NULL, 0, "[10.4.1.2]: form control default text invalid (null)." }, /* Access */
563  { FORM_CONTROL_DEFAULT_TEXT_INVALID_SPACES, 0, "[10.4.1.3]: form control default text invalid (spaces)." }, /* Access */
564  { REPLACE_DEPRECATED_HTML_APPLET, 0, "[11.2.1.1]: replace deprecated html <applet>." }, /* Access */
565  { REPLACE_DEPRECATED_HTML_BASEFONT, 0, "[11.2.1.2]: replace deprecated html <basefont>." }, /* Access */
566  { REPLACE_DEPRECATED_HTML_CENTER, 0, "[11.2.1.3]: replace deprecated html <center>." }, /* Access */
567  { REPLACE_DEPRECATED_HTML_DIR, 0, "[11.2.1.4]: replace deprecated html <dir>." }, /* Access */
568  { REPLACE_DEPRECATED_HTML_FONT, 0, "[11.2.1.5]: replace deprecated html <font>." }, /* Access */
569  { REPLACE_DEPRECATED_HTML_ISINDEX, 0, "[11.2.1.6]: replace deprecated html <isindex>." }, /* Access */
570  { REPLACE_DEPRECATED_HTML_MENU, 0, "[11.2.1.7]: replace deprecated html <menu>." }, /* Access */
571  { REPLACE_DEPRECATED_HTML_S, 0, "[11.2.1.8]: replace deprecated html <s>." }, /* Access */
572  { REPLACE_DEPRECATED_HTML_STRIKE, 0, "[11.2.1.9]: replace deprecated html <strike>." }, /* Access */
573  { REPLACE_DEPRECATED_HTML_U, 0, "[11.2.1.10]: replace deprecated html <u>." }, /* Access */
574  { FRAME_MISSING_TITLE, 0, "[12.1.1.1]: <frame> missing title." }, /* Access */
575  { FRAME_TITLE_INVALID_NULL, 0, "[12.1.1.2]: <frame> title invalid (null)." }, /* Access */
576  { FRAME_TITLE_INVALID_SPACES, 0, "[12.1.1.3]: <frame> title invalid (spaces)." }, /* Access */
577  { ASSOCIATE_LABELS_EXPLICITLY, 0, "[12.4.1.1]: associate labels explicitly with form controls." }, /* Access */
578  { ASSOCIATE_LABELS_EXPLICITLY_FOR, 0, "[12.4.1.2]: associate labels explicitly with form controls (for)." }, /* Access */
579  { ASSOCIATE_LABELS_EXPLICITLY_ID, 0, "[12.4.1.3]: associate labels explicitly with form controls (id)." }, /* Access */
580  { LINK_TEXT_NOT_MEANINGFUL, 0, "[13.1.1.1]: link text not meaningful." }, /* Access */
581  { LINK_TEXT_MISSING, 0, "[13.1.1.2]: link text missing." }, /* Access */
582  { LINK_TEXT_TOO_LONG, 0, "[13.1.1.3]: link text too long." }, /* Access */
583  { LINK_TEXT_NOT_MEANINGFUL_CLICK_HERE, 0, "[13.1.1.4]: link text not meaningful (click here)." }, /* Access */
584  { METADATA_MISSING, 0, "[13.2.1.1]: Metadata missing." }, /* Access */
585  { METADATA_MISSING_REDIRECT_AUTOREFRESH, 0, "[13.2.1.3]: Metadata missing (redirect/auto-refresh)." }, /* Access */
586  { SKIPOVER_ASCII_ART, 0, "[13.10.1.1]: skip over ascii art." }, /* Access */
587 #endif /* SUPPORT_ACCESSIBILITY_CHECKS */
588 
589 
590  /*********************************************************************
591  ** Options Documentation
592  ** As of 2016-January these descriptions are used uniquely by the
593  ** console application but are made available for LibTidy users as
594  ** well. Because we generate documentation from these descriptions
595  ** it's important to use ONLY the following tags:
596  ** <code>, <em>, <strong>, <br/>, <p>
597  ** Note that the xslt processor requires <br/> to be self closing!
598  *********************************************************************/
599  {/* Important notes for translators:
600  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
601  <br/>.
602  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
603  - Option values should be enclosed in <var></var>.
604  - It's very important that <br/> be self-closing!
605  - The strings "Tidy" and "HTML Tidy" are the program name and must not
606  be translated. */
607  TidyXmlDecl, 0,
608  "This option specifies if Tidy should add the XML declaration when "
609  "outputting XML or XHTML. "
610  "<br/>"
611  "Note that if the input already includes an <code>&lt;?xml ... ?&gt;</code> "
612  "declaration then this option will be ignored. "
613  "<br/>"
614  "If the encoding for the output is different from <var>ascii</var>, one "
615  "of the <var>utf*</var> encodings, or <var>raw</var>, then the "
616  "declaration is always added as required by the XML standard. "
617  },
618  {/* Important notes for translators:
619  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
620  <br/>.
621  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
622  - Option values should be enclosed in <var></var>.
623  - It's very important that <br/> be self-closing!
624  - The strings "Tidy" and "HTML Tidy" are the program name and must not
625  be translated. */
626  TidyXmlSpace, 0,
627  "This option specifies if Tidy should add "
628  "<code>xml:space=\"preserve\"</code> to elements such as "
629  "<code>&lt;pre&gt;</code>, <code>&lt;style&gt;</code> and "
630  "<code>&lt;script&gt;</code> when generating XML. "
631  "<br/>"
632  "This is needed if the whitespace in such elements is to "
633  "be parsed appropriately without having access to the DTD. "
634  },
635  {/* Important notes for translators:
636  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
637  <br/>.
638  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
639  - Option values should be enclosed in <var></var>.
640  - It's very important that <br/> be self-closing!
641  - The strings "Tidy" and "HTML Tidy" are the program name and must not
642  be translated. */
643  TidyAltText, 0,
644  "This option specifies the default <code>alt=</code> text Tidy uses for "
645  "<code>&lt;img&gt;</code> attributes when the <code>alt=</code> attribute "
646  "is missing. "
647  "<br/>"
648  "Use with care, as it is your responsibility to make your documents accessible "
649  "to people who cannot see the images. "
650  },
651  {/* Important notes for translators:
652  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
653  <br/>.
654  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
655  - Option values should be enclosed in <var></var>.
656  - It's very important that <br/> be self-closing!
657  - The strings "Tidy" and "HTML Tidy" are the program name and must not
658  be translated. */
659  TidyXmlPIs, 0,
660  "This option specifies if Tidy should change the parsing of processing "
661  "instructions to require <code>?&gt;</code> as the terminator rather than "
662  "<code>&gt;</code>. "
663  "<br/>"
664  "This option is automatically set if the input is in XML. "
665  },
666  {/* Important notes for translators:
667  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
668  <br/>.
669  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
670  - Option values should be enclosed in <var></var>.
671  - It's very important that <br/> be self-closing!
672  - The strings "Tidy" and "HTML Tidy" are the program name and must not
673  be translated. */
674  TidyMakeBare, 0,
675  "This option specifies if Tidy should strip Microsoft specific HTML "
676  "from Word 2000 documents, and output spaces rather than non-breaking "
677  "spaces where they exist in the input. "
678  },
679  {/* Important notes for translators:
680  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
681  <br/>.
682  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
683  - Option values should be enclosed in <var></var>.
684  - It's very important that <br/> be self-closing!
685  - The strings "Tidy" and "HTML Tidy" are the program name and must not
686  be translated. */
687  TidyCSSPrefix, 0,
688  "This option specifies the prefix that Tidy uses for styles rules. "
689  "<br/>"
690  "By default, <var>c</var> will be used. "
691  },
692  {/* Important notes for translators:
693  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
694  <br/>.
695  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
696  - Option values should be enclosed in <var></var>.
697  - It's very important that <br/> be self-closing!
698  - The strings "Tidy" and "HTML Tidy" are the program name and must not
699  be translated. */
700  TidyMakeClean, 0,
701  "This option specifies if Tidy should perform cleaning of some legacy "
702  "presentational tags (currently <code>&lt;i&gt;</code>, "
703  "<code>&lt;b&gt;</code>, <code>&lt;center&gt;</code> when enclosed within "
704  "appropriate inline tags, and <code>&lt;font&gt;</code>). If set to "
705  "<var>yes</var> then legacy tags will be replaced with CSS "
706  "<code>&lt;style&gt;</code> tags and structural markup as appropriate. "
707  },
708  {/* Important notes for translators:
709  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
710  <br/>.
711  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
712  - Option values should be enclosed in <var></var>.
713  - It's very important that <br/> be self-closing!
714  - The strings "Tidy" and "HTML Tidy" are the program name and must not
715  be translated. */
716  TidyGDocClean, 0,
717  "This option specifies if Tidy should enable specific behavior for "
718  "cleaning up HTML exported from Google Docs. "
719  },
720  {/* Important notes for translators:
721  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
722  <br/>.
723  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
724  - Option values should be enclosed in <var></var>.
725  - It's very important that <br/> be self-closing!
726  - The strings "Tidy" and "HTML Tidy" are the program name and must not
727  be translated. */
728  TidyDoctype, 0,
729  "This option specifies the DOCTYPE declaration generated by Tidy. "
730  "<br/>"
731  "If set to <var>omit</var> the output won't contain a DOCTYPE "
732  "declaration. Note this this also implies <code>numeric-entities</code> is "
733  "set to <var>yes</var>."
734  "<br/>"
735  "If set to <var>html5</var> the DOCTYPE is set to "
736  "<code>&lt;!DOCTYPE html&gt;</code>."
737  "<br/>"
738  "If set to <var>auto</var> (the default) Tidy will use an educated guess "
739  "based upon the contents of the document."
740  "<br/>"
741  "If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
742  "XHTML1 strict DTD."
743  "<br/>"
744  "If set to <var>loose</var>, the DOCTYPE is set to the HTML4 or XHTML1 "
745  "loose (transitional) DTD."
746  "<br/>"
747  "Alternatively, you can supply a string for the formal public identifier "
748  "(FPI)."
749  "<br/>"
750  "For example: "
751  "<br/>"
752  "<code>doctype: \"-//ACME//DTD HTML 3.14159//EN\"</code>"
753  "<br/>"
754  "If you specify the FPI for an XHTML document, Tidy will set the "
755  "system identifier to an empty string. For an HTML document, Tidy adds a "
756  "system identifier only if one was already present in order to preserve "
757  "the processing mode of some browsers. Tidy leaves the DOCTYPE for "
758  "generic XML documents unchanged. "
759  "<br/>"
760  "This option does not offer a validation of document conformance. "
761  },
762  {/* Important notes for translators:
763  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
764  <br/>.
765  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
766  - Option values should be enclosed in <var></var>.
767  - It's very important that <br/> be self-closing!
768  - The strings "Tidy" and "HTML Tidy" are the program name and must not
769  be translated. */
771  "This option specifies if Tidy should discard empty elements. "
772  },
773  {/* Important notes for translators:
774  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
775  <br/>.
776  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
777  - Option values should be enclosed in <var></var>.
778  - It's very important that <br/> be self-closing!
779  - The strings "Tidy" and "HTML Tidy" are the program name and must not
780  be translated. */
782  "This option specifies if Tidy should discard empty paragraphs. "
783  },
784  {/* Important notes for translators:
785  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
786  <br/>.
787  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
788  - Option values should be enclosed in <var></var>.
789  - It's very important that <br/> be self-closing!
790  - The strings "Tidy" and "HTML Tidy" are the program name and must not
791  be translated. */
792  TidyDropFontTags, 0,
793  "Deprecated; <em>do not use</em>. This option is destructive to "
794  "<code>&lt;font&gt;</code> tags, and it will be removed from future "
795  "versions of Tidy. Use the <code>clean</code> option instead. "
796  "<br/>"
797  "If you do set this option despite the warning it will perform "
798  "as <code>clean</code> except styles will be inline instead of put into "
799  "a CSS class. <code>&lt;font&gt;</code> tags will be dropped completely "
800  "and their styles will not be preserved. "
801  "<br/>"
802  "If both <code>clean</code> and this option are enabled, "
803  "<code>&lt;font&gt;</code> tags will still be dropped completely, and "
804  "other styles will be preserved in a CSS class instead of inline. "
805  "<br/>"
806  "See <code>clean</code> for more information. "
807  },
808  {/* Important notes for translators:
809  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
810  <br/>.
811  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
812  - Option values should be enclosed in <var></var>.
813  - It's very important that <br/> be self-closing!
814  - The strings "Tidy" and "HTML Tidy" are the program name and must not
815  be translated. */
817  "This option specifies if Tidy should strip out proprietary attributes, "
818  "such as Microsoft data binding attributes. Additionally attributes "
819  "that aren't permitted in the output version of HTML will be dropped "
820  "if used with <code>strict-tags-attributes</code>. "
821  },
822  {/* Important notes for translators:
823  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
824  <br/>.
825  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
826  - Option values should be enclosed in <var></var>.
827  - It's very important that <br/> be self-closing!
828  - The strings "Tidy" and "HTML Tidy" are the program name and must not
829  be translated. */
831  "This option specifies if Tidy should insert a <code>&lt;p&gt;</code> "
832  "element to enclose any text it finds in any element that allows mixed "
833  "content for HTML transitional but not HTML strict. "
834  },
835  {/* Important notes for translators:
836  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
837  <br/>.
838  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
839  - Option values should be enclosed in <var></var>.
840  - It's very important that <br/> be self-closing!
841  - The strings "Tidy" and "HTML Tidy" are the program name and must not
842  be translated. */
844  "This option specifies if Tidy should enclose any text it finds in the "
845  "body element within a <code>&lt;p&gt;</code> element."
846  "<br/>"
847  "This is useful when you want to take existing HTML and use it with a "
848  "style sheet. "
849  },
850  {/* Important notes for translators:
851  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
852  <br/>.
853  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
854  - Option values should be enclosed in <var></var>.
855  - It's very important that <br/> be self-closing!
856  - The strings "Tidy" and "HTML Tidy" are the program name and must not
857  be translated. */
858  TidyEscapeCdata, 0,
859  "This option specifies if Tidy should convert "
860  "<code>&lt;![CDATA[]]&gt;</code> sections to normal text. "
861  },
862  {/* Important notes for translators:
863  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
864  <br/>.
865  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
866  - Option values should be enclosed in <var></var>.
867  - It's very important that <br/> be self-closing!
868  - The strings "Tidy" and "HTML Tidy" are the program name and must not
869  be translated. */
870  TidyFixComments, 0,
871  "This option specifies if Tidy should replace unexpected hyphens with "
872  "<code>=</code> characters when it comes across adjacent hyphens. "
873  "<br/>"
874  "The default is <var>yes</var>. "
875  "<br/>"
876  "This option is provided for users of Cold Fusion which uses the "
877  "comment syntax: <code>&lt;!--- ---&gt;</code>. "
878  },
879  {/* Important notes for translators:
880  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
881  <br/>.
882  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
883  - Option values should be enclosed in <var></var>.
884  - It's very important that <br/> be self-closing!
885  - The strings "Tidy" and "HTML Tidy" are the program name and must not
886  be translated. */
887  TidyFixUri, 0,
888  "This option specifies if Tidy should check attribute values that carry "
889  "URIs for illegal characters and if such are found, escape them as HTML4 "
890  "recommends. "
891  },
892  {/* Important notes for translators:
893  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
894  <br/>.
895  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
896  - Option values should be enclosed in <var></var>.
897  - It's very important that <br/> be self-closing!
898  - The strings "Tidy" and "HTML Tidy" are the program name and must not
899  be translated. */
900  TidyHideComments, 0,
901  "This option specifies if Tidy should print out comments. "
902  },
903  {/* Important notes for translators:
904  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
905  <br/>.
906  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
907  - Option values should be enclosed in <var></var>.
908  - It's very important that <br/> be self-closing!
909  - The strings "Tidy" and "HTML Tidy" are the program name and must not
910  be translated. */
912  "This option specifies if Tidy should coerce a start tag into an end tag "
913  "in cases where it looks like an end tag was probably intended; "
914  "for example, given "
915  "<br/>"
916  "<code>&lt;span&gt;foo &lt;b&gt;bar&lt;b&gt; baz&lt;/span&gt;</code> "
917  "<br/>"
918  "Tidy will output "
919  "<br/>"
920  "<code>&lt;span&gt;foo &lt;b&gt;bar&lt;/b&gt; baz&lt;/span&gt;</code> "
921  },
922  {/* Important notes for translators:
923  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
924  <br/>.
925  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
926  - Option values should be enclosed in <var></var>.
927  - It's very important that <br/> be self-closing!
928  - The strings "Tidy" and "HTML Tidy" are the program name and must not
929  be translated. */
931  "This option specifies if Tidy should omit optional start tags and end tags "
932  "when generating output. "
933  "<br/>"
934  "Setting this option causes all tags for the <code>&lt;html&gt;</code>, "
935  "<code>&lt;head&gt;</code>, and <code>&lt;body&gt;</code> elements to be "
936  "omitted from output, as well as such end tags as <code>&lt;/p&gt;</code>, "
937  "<code>&lt;/li&gt;</code>, <code>&lt;/dt&gt;</code>, "
938  "<code>&lt;/dd&gt;</code>, <code>&lt;/option&gt;</code>, "
939  "<code>&lt;/tr&gt;</code>, <code>&lt;/td&gt;</code>, and "
940  "<code>&lt;/th&gt;</code>. "
941  "<br/>"
942  "This option is ignored for XML output. "
943  },
944  {/* Important notes for translators:
945  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
946  <br/>.
947  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
948  - Option values should be enclosed in <var></var>.
949  - It's very important that <br/> be self-closing!
950  - The strings "Tidy" and "HTML Tidy" are the program name and must not
951  be translated. */
952  TidyHideEndTags, 0,
953  "This option is an alias for <code>omit-optional-tags</code>. "
954  },
955  {/* Important notes for translators:
956  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
957  <br/>.
958  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
959  - Option values should be enclosed in <var></var>.
960  - It's very important that <br/> be self-closing!
961  - The strings "Tidy" and "HTML Tidy" are the program name and must not
962  be translated. */
963  TidyIndentCdata, 0,
964  "This option specifies if Tidy should indent "
965  "<code>&lt;![CDATA[]]&gt;</code> sections. "
966  },
967  {/* Important notes for translators:
968  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
969  <br/>.
970  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
971  - Option values should be enclosed in <var></var>.
972  - It's very important that <br/> be self-closing!
973  - The strings "Tidy" and "HTML Tidy" are the program name and must not
974  be translated. */
975  TidyXmlTags, 0,
976  "This option specifies if Tidy should use the XML parser rather than the "
977  "error correcting HTML parser. "
978  },
979  {/* Important notes for translators:
980  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
981  <br/>.
982  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
983  - Option values should be enclosed in <var></var>.
984  - It's very important that <br/> be self-closing!
985  - The strings "Tidy" and "HTML Tidy" are the program name and must not
986  be translated. */
987  TidyJoinClasses, 0,
988  "This option specifies if Tidy should combine class names to generate "
989  "a single, new class name if multiple class assignments are detected on "
990  "an element. "
991  },
992  {/* Important notes for translators:
993  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
994  <br/>.
995  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
996  - Option values should be enclosed in <var></var>.
997  - It's very important that <br/> be self-closing!
998  - The strings "Tidy" and "HTML Tidy" are the program name and must not
999  be translated. */
1000  TidyJoinStyles, 0,
1001  "This option specifies if Tidy should combine styles to generate a single, "
1002  "new style if multiple style values are detected on an element. "
1003  },
1004  {/* Important notes for translators:
1005  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1006  <br/>.
1007  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1008  - Option values should be enclosed in <var></var>.
1009  - It's very important that <br/> be self-closing!
1010  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1011  be translated. */
1013  "This option specifies if Tidy should replace any occurrence of "
1014  "<code>&lt;i&gt;</code> with <code>&lt;em&gt;</code> and any occurrence of "
1015  "<code>&lt;b&gt;</code> with <code>&lt;strong&gt;</code>. Any attributes "
1016  "are preserved unchanged. "
1017  "<br/>"
1018  "This option can be set independently of the <code>clean</code> option. "
1019  },
1020  {/* Important notes for translators:
1021  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1022  <br/>.
1023  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1024  - Option values should be enclosed in <var></var>.
1025  - It's very important that <br/> be self-closing!
1026  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1027  be translated. */
1028  TidyLowerLiterals, 0,
1029  "This option specifies if Tidy should convert the value of an attribute "
1030  "that takes a list of predefined values to lower case. "
1031  "<br/>"
1032  "This is required for XHTML documents. "
1033  },
1034  {/* Important notes for translators:
1035  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1036  <br/>.
1037  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1038  - Option values should be enclosed in <var></var>.
1039  - It's very important that <br/> be self-closing!
1040  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1041  be translated. */
1042  TidyMergeEmphasis, 0,
1043  "This option specifies if Tidy should merge nested <code>&lt;b&gt;</code> "
1044  "and <code>&lt;i&gt;</code> elements; for example, for the case "
1045  "<br/>"
1046  "<code>&lt;b class=\"rtop-2\"&gt;foo &lt;b class=\"r2-2\"&gt;bar&lt;/b&gt; baz&lt;/b&gt;</code>, "
1047  "<br/>"
1048  "Tidy will output <code>&lt;b class=\"rtop-2\"&gt;foo bar baz&lt;/b&gt;</code>. "
1049  },
1050  {/* Important notes for translators:
1051  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1052  <br/>.
1053  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1054  - Option values should be enclosed in <var></var>.
1055  - It's very important that <br/> be self-closing!
1056  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1057  be translated. */
1058  TidyMergeDivs, 0,
1059  "This option can be used to modify the behavior of <code>clean</code> when "
1060  "set to <var>yes</var>."
1061  "<br/>"
1062  "This option specifies if Tidy should merge nested <code>&lt;div&gt;</code> "
1063  "such as <code>&lt;div&gt;&lt;div&gt;...&lt;/div&gt;&lt;/div&gt;</code>. "
1064  "<br/>"
1065  "If set to <var>auto</var> the attributes of the inner "
1066  "<code>&lt;div&gt;</code> are moved to the outer one. Nested "
1067  "<code>&lt;div&gt;</code> with <code>id</code> attributes are <em>not</em> "
1068  "merged. "
1069  "<br/>"
1070  "If set to <var>yes</var> the attributes of the inner "
1071  "<code>&lt;div&gt;</code> are discarded with the exception of "
1072  "<code>class</code> and <code>style</code>. "
1073  },
1074  {/* Important notes for translators:
1075  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1076  <br/>.
1077  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1078  - Option values should be enclosed in <var></var>.
1079  - It's very important that <br/> be self-closing!
1080  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1081  be translated. */
1082  TidyMergeSpans, 0,
1083  "This option can be used to modify the behavior of <code>clean</code> when "
1084  "set to <var>yes</var>."
1085  "<br/>"
1086  "This option specifies if Tidy should merge nested <code>&lt;span&gt;</code> "
1087  "such as <code>&lt;span&gt;&lt;span&gt;...&lt;/span&gt;&lt;/span&gt;</code>. "
1088  "<br/>"
1089  "The algorithm is identical to the one used by <code>merge-divs</code>. "
1090  },
1091 #if SUPPORT_ASIAN_ENCODINGS
1092  {/* Important notes for translators:
1093  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1094  <br/>.
1095  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1096  - Option values should be enclosed in <var></var>.
1097  - It's very important that <br/> be self-closing!
1098  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1099  be translated. */
1100  TidyNCR, 0,
1101  "This option specifies if Tidy should allow numeric character references. "
1102  },
1103 #endif
1104  {/* Important notes for translators:
1105  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1106  <br/>.
1107  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1108  - Option values should be enclosed in <var></var>.
1109  - It's very important that <br/> be self-closing!
1110  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1111  be translated. */
1112  TidyBlockTags, 0,
1113  "This option specifies new block-level tags. This option takes a space or "
1114  "comma separated list of tag names. "
1115  "<br/>"
1116  "Unless you declare new tags, Tidy will refuse to generate a tidied file if "
1117  "the input includes previously unknown tags. "
1118  "<br/>"
1119  "Note you can't change the content model for elements such as "
1120  "<code>&lt;table&gt;</code>, <code>&lt;ul&gt;</code>, "
1121  "<code>&lt;ol&gt;</code> and <code>&lt;dl&gt;</code>. "
1122  "<br/>"
1123  "This option is ignored in XML mode. "
1124  },
1125  {/* Important notes for translators:
1126  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1127  <br/>.
1128  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1129  - Option values should be enclosed in <var></var>.
1130  - It's very important that <br/> be self-closing!
1131  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1132  be translated. */
1133  TidyEmptyTags, 0,
1134  "This option specifies new empty inline tags. This option takes a space "
1135  "or comma separated list of tag names. "
1136  "<br/>"
1137  "Unless you declare new tags, Tidy will refuse to generate a tidied file if "
1138  "the input includes previously unknown tags. "
1139  "<br/>"
1140  "Remember to also declare empty tags as either inline or blocklevel. "
1141  "<br/>"
1142  "This option is ignored in XML mode. "
1143  },
1144  {/* Important notes for translators:
1145  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1146  <br/>.
1147  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1148  - Option values should be enclosed in <var></var>.
1149  - It's very important that <br/> be self-closing!
1150  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1151  be translated. */
1152  TidyInlineTags, 0,
1153  "This option specifies new non-empty inline tags. This option takes a "
1154  "space or comma separated list of tag names. "
1155  "<br/>"
1156  "Unless you declare new tags, Tidy will refuse to generate a tidied file if "
1157  "the input includes previously unknown tags. "
1158  "<br/>"
1159  "This option is ignored in XML mode. "
1160  },
1161  {/* Important notes for translators:
1162  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1163  <br/>.
1164  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1165  - Option values should be enclosed in <var></var>.
1166  - It's very important that <br/> be self-closing!
1167  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1168  be translated. */
1169  TidyPreTags, 0,
1170  "This option specifies new tags that are to be processed in exactly the "
1171  "same way as HTML's <code>&lt;pre&gt;</code> element. This option takes a "
1172  "space or comma separated list of tag names. "
1173  "<br/>"
1174  "Unless you declare new tags, Tidy will refuse to generate a tidied file if "
1175  "the input includes previously unknown tags. "
1176  "<br/>"
1177  "Note you cannot as yet add new CDATA elements. "
1178  "<br/>"
1179  "This option is ignored in XML mode. "
1180  },
1181  {/* Important notes for translators:
1182  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1183  <br/>.
1184  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1185  - Option values should be enclosed in <var></var>.
1186  - It's very important that <br/> be self-closing!
1187  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1188  be translated. */
1189  TidyNumEntities, 0,
1190  "This option specifies if Tidy should output entities other than the "
1191  "built-in HTML entities (<code>&amp;amp;</code>, <code>&amp;lt;</code>, "
1192  "<code>&amp;gt;</code>, and <code>&amp;quot;</code>) in the numeric rather "
1193  "than the named entity form. "
1194  "<br/>"
1195  "Only entities compatible with the DOCTYPE declaration generated are used. "
1196  "<br/>"
1197  "Entities that can be represented in the output encoding are translated "
1198  "correspondingly. "
1199  },
1200  {/* Important notes for translators:
1201  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1202  <br/>.
1203  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1204  - Option values should be enclosed in <var></var>.
1205  - It's very important that <br/> be self-closing!
1206  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1207  be translated. */
1208  TidyHtmlOut, 0,
1209  "This option specifies if Tidy should generate pretty printed output, "
1210  "writing it as HTML. "
1211  },
1212  {/* Important notes for translators:
1213  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1214  <br/>.
1215  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1216  - Option values should be enclosed in <var></var>.
1217  - It's very important that <br/> be self-closing!
1218  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1219  be translated. */
1220  TidyXhtmlOut, 0,
1221  "This option specifies if Tidy should generate pretty printed output, "
1222  "writing it as extensible HTML. "
1223  "<br/>"
1224  "This option causes Tidy to set the DOCTYPE and default namespace as "
1225  "appropriate to XHTML, and will use the corrected value in output "
1226  "regardless of other sources. "
1227  "<br/>"
1228  "For XHTML, entities can be written as named or numeric entities according "
1229  "to the setting of <code>numeric-entities</code>. "
1230  "<br/>"
1231  "The original case of tags and attributes will be preserved, regardless of "
1232  "other options. "
1233  },
1234  {/* Important notes for translators:
1235  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1236  <br/>.
1237  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1238  - Option values should be enclosed in <var></var>.
1239  - It's very important that <br/> be self-closing!
1240  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1241  be translated. */
1242  TidyXmlOut, 0,
1243  "This option specifies if Tidy should pretty print output, writing it as "
1244  "well-formed XML. "
1245  "<br/>"
1246  "Any entities not defined in XML 1.0 will be written as numeric entities to "
1247  "allow them to be parsed by an XML parser. "
1248  "<br/>"
1249  "The original case of tags and attributes will be preserved, regardless of "
1250  "other options. "
1251  },
1252  {/* Important notes for translators:
1253  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1254  <br/>.
1255  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1256  - Option values should be enclosed in <var></var>.
1257  - It's very important that <br/> be self-closing!
1258  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1259  be translated. */
1260  TidyQuoteAmpersand, 0,
1261  "This option specifies if Tidy should output unadorned <code>&amp;</code> "
1262  "characters as <code>&amp;amp;</code>. "
1263  },
1264  {/* Important notes for translators:
1265  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1266  <br/>.
1267  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1268  - Option values should be enclosed in <var></var>.
1269  - It's very important that <br/> be self-closing!
1270  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1271  be translated. */
1272  TidyQuoteMarks, 0,
1273  "This option specifies if Tidy should output <code>&quot;</code> characters "
1274  "as <code>&amp;quot;</code> as is preferred by some editing environments. "
1275  "<br/>"
1276  "The apostrophe character <code>'</code> is written out as "
1277  "<code>&amp;#39;</code> since many web browsers don't yet support "
1278  "<code>&amp;apos;</code>. "
1279  },
1280  {/* Important notes for translators:
1281  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1282  <br/>.
1283  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1284  - Option values should be enclosed in <var></var>.
1285  - It's very important that <br/> be self-closing!
1286  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1287  be translated. */
1288  TidyQuoteNbsp, 0,
1289  "This option specifies if Tidy should output non-breaking space characters "
1290  "as entities, rather than as the Unicode character value 160 (decimal). "
1291  },
1292  {/* Important notes for translators:
1293  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1294  <br/>.
1295  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1296  - Option values should be enclosed in <var></var>.
1297  - It's very important that <br/> be self-closing!
1298  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1299  be translated. */
1300  TidyDuplicateAttrs, 0,
1301  "This option specifies if Tidy should keep the first or last attribute, if "
1302  "an attribute is repeated, e.g. has two <code>align</code> attributes. "
1303  },
1304  {/* Important notes for translators:
1305  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1306  <br/>.
1307  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1308  - Option values should be enclosed in <var></var>.
1309  - It's very important that <br/> be self-closing!
1310  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1311  be translated. */
1312  TidySortAttributes, 0,
1313  "This option specifies that Tidy should sort attributes within an element "
1314  "using the specified sort algorithm. If set to <var>alpha</var>, the "
1315  "algorithm is an ascending alphabetic sort. "
1316  },
1317  {/* Important notes for translators:
1318  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1319  <br/>.
1320  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1321  - Option values should be enclosed in <var></var>.
1322  - It's very important that <br/> be self-closing!
1323  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1324  be translated. */
1325  TidyReplaceColor, 0,
1326  "This option specifies if Tidy should replace numeric values in color "
1327  "attributes with HTML/XHTML color names where defined, e.g. replace "
1328  "<code>#ffffff</code> with <code>white</code>. "
1329  },
1330  {/* Important notes for translators:
1331  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1332  <br/>.
1333  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1334  - Option values should be enclosed in <var></var>.
1335  - It's very important that <br/> be self-closing!
1336  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1337  be translated. */
1338  TidyBodyOnly, 0,
1339  "This option specifies if Tidy should print only the contents of the "
1340  "body tag as an HTML fragment. "
1341  "<br/>"
1342  "If set to <var>auto</var>, this is performed only if the body tag has "
1343  "been inferred. "
1344  "<br/>"
1345  "Useful for incorporating existing whole pages as a portion of another "
1346  "page. "
1347  "<br/>"
1348  "This option has no effect if XML output is requested. "
1349  },
1350  {/* Important notes for translators:
1351  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1352  <br/>.
1353  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1354  - Option values should be enclosed in <var></var>.
1355  - It's very important that <br/> be self-closing!
1356  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1357  be translated. */
1358  TidyUpperCaseAttrs, 0,
1359  "This option specifies if Tidy should output attribute names in upper "
1360  "case. "
1361  "<br/>"
1362  "The default is <var>no</var>, which results in lower case attribute "
1363  "names, except for XML input, where the original case is preserved. "
1364  },
1365  {/* Important notes for translators:
1366  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1367  <br/>.
1368  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1369  - Option values should be enclosed in <var></var>.
1370  - It's very important that <br/> be self-closing!
1371  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1372  be translated. */
1373  TidyUpperCaseTags, 0,
1374  "This option specifies if Tidy should output tag names in upper case. "
1375  "<br/>"
1376  "The default is <var>no</var> which results in lower case tag names, "
1377  "except for XML input where the original case is preserved. "
1378  },
1379  {/* Important notes for translators:
1380  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1381  <br/>.
1382  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1383  - Option values should be enclosed in <var></var>.
1384  - It's very important that <br/> be self-closing!
1385  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1386  be translated. */
1387  TidyWord2000, 0,
1388  "This option specifies if Tidy should go to great pains to strip out all "
1389  "the surplus stuff Microsoft Word 2000 inserts when you save Word "
1390  "documents as \"Web pages\". It doesn't handle embedded images or VML. "
1391  "<br/>"
1392  "You should consider using Word's \"Save As: Web Page, Filtered\". "
1393  },
1394  {/* Important notes for translators:
1395  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1396  <br/>.
1397  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1398  - Option values should be enclosed in <var></var>.
1399  - It's very important that <br/> be self-closing!
1400  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1401  be translated. */
1403  "This option specifies what level of accessibility checking, if any, "
1404  "that Tidy should perform. "
1405  "<br/>"
1406  "Level <var>0 (Tidy Classic)</var> is equivalent to Tidy Classic's accessibility "
1407  "checking. "
1408  "<br/>"
1409  "For more information on Tidy's accessibility checking, visit "
1410  "<a href=\"http://www.html-tidy.org/accessibility/\"> Tidy's Accessibility Page</a>. "
1411  },
1412  {/* Important notes for translators:
1413  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1414  <br/>.
1415  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1416  - Option values should be enclosed in <var></var>.
1417  - It's very important that <br/> be self-closing!
1418  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1419  be translated. */
1420  TidyShowErrors, 0,
1421  "This option specifies the number Tidy uses to determine if further errors "
1422  "should be shown. If set to <var>0</var>, then no errors are shown. "
1423  },
1424  {/* Important notes for translators:
1425  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1426  <br/>.
1427  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1428  - Option values should be enclosed in <var></var>.
1429  - It's very important that <br/> be self-closing!
1430  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1431  be translated. */
1432  TidyShowInfo, 0,
1433  "This option specifies if Tidy should display info-level messages. "
1434  },
1435  {/* Important notes for translators:
1436  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1437  <br/>.
1438  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1439  - Option values should be enclosed in <var></var>.
1440  - It's very important that <br/> be self-closing!
1441  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1442  be translated. */
1443  TidyShowWarnings, 0,
1444  "This option specifies if Tidy should suppress warnings. This can be "
1445  "useful when a few errors are hidden in a flurry of warnings. "
1446  },
1447  {/* Important notes for translators:
1448  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1449  <br/>.
1450  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1451  - Option values should be enclosed in <var></var>.
1452  - It's very important that <br/> be self-closing!
1453  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1454  be translated. */
1455  TidyBreakBeforeBR, 0,
1456  "This option specifies if Tidy should output a line break before each "
1457  "<code>&lt;br&gt;</code> element. "
1458  },
1459  {/* Important notes for translators:
1460  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1461  <br/>.
1462  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1463  - Option values should be enclosed in <var></var>.
1464  - It's very important that <br/> be self-closing!
1465  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1466  be translated. */
1467  TidyIndentContent, 0,
1468  "This option specifies if Tidy should indent block-level tags. "
1469  "<br/>"
1470  "If set to <var>auto</var> Tidy will decide whether or not to indent the "
1471  "content of tags such as <code>&lt;title&gt;</code>, "
1472  "<code>&lt;h1&gt;</code>-<code>&lt;h6&gt;</code>, <code>&lt;li&gt;</code>, "
1473  "<code>&lt;td&gt;</code>, or <code>&lt;p&gt;</code> "
1474  "based on the content including a block-level element. "
1475  "<br/>"
1476  "Setting <code>indent</code> to <var>yes</var> can expose layout bugs in "
1477  "some browsers. "
1478  "<br/>"
1479  "Use the option <code>indent-spaces</code> to control the number of spaces "
1480  "or tabs output per level of indent, and <code>indent-with-tabs</code> to "
1481  "specify whether spaces or tabs are used. "
1482  },
1483  {/* Important notes for translators:
1484  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1485  <br/>.
1486  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1487  - Option values should be enclosed in <var></var>.
1488  - It's very important that <br/> be self-closing!
1489  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1490  be translated. */
1492  "This option specifies if Tidy should begin each attribute on a new line. "
1493  },
1494  {/* Important notes for translators:
1495  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1496  <br/>.
1497  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1498  - Option values should be enclosed in <var></var>.
1499  - It's very important that <br/> be self-closing!
1500  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1501  be translated. */
1502  TidyIndentSpaces, 0,
1503  "This option specifies the number of spaces or tabs that Tidy uses to "
1504  "indent content when <code>indent</code> is enabled. "
1505  "<br/>"
1506  "Note that the default value for this option is dependent upon the value of "
1507  "<code>indent-with-tabs</code> (see also). "
1508  },
1509  {/* Important notes for translators:
1510  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1511  <br/>.
1512  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1513  - Option values should be enclosed in <var></var>.
1514  - It's very important that <br/> be self-closing!
1515  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1516  be translated. */
1517  TidyLiteralAttribs, 0,
1518  "This option specifies how Tidy deals with whitespace characters within "
1519  "attribute values. "
1520  "<br/>"
1521  "If the value is <var>no</var> Tidy normalizes attribute values by "
1522  "replacing any newline or tab with a single space, and further by replacing "
1523  "any contiguous whitespace with a single space. "
1524  "<br/>"
1525  "To force Tidy to preserve the original, literal values of all attributes "
1526  "and ensure that whitespace within attribute values is passed "
1527  "through unchanged, set this option to <var>yes</var>. "
1528  },
1529  {/* Important notes for translators:
1530  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1531  <br/>.
1532  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1533  - Option values should be enclosed in <var></var>.
1534  - It's very important that <br/> be self-closing!
1535  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1536  be translated. */
1537  TidyShowMarkup, 0,
1538  "This option specifies if Tidy should generate a pretty printed version "
1539  "of the markup. Note that Tidy won't generate a pretty printed version if "
1540  "it finds significant errors (see <code>force-output</code>). "
1541  },
1542 #if SUPPORT_ASIAN_ENCODINGS
1543  {/* Important notes for translators:
1544  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1545  <br/>.
1546  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1547  - Option values should be enclosed in <var></var>.
1548  - It's very important that <br/> be self-closing!
1549  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1550  be translated. */
1551  TidyPunctWrap, 0,
1552  "This option specifies if Tidy should line wrap after some Unicode or "
1553  "Chinese punctuation characters. "
1554  },
1555 #endif
1556  {/* Important notes for translators:
1557  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1558  <br/>.
1559  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1560  - Option values should be enclosed in <var></var>.
1561  - It's very important that <br/> be self-closing!
1562  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1563  be translated. */
1564  TidyBurstSlides, 0,
1565  "This option has no function and is deprecated. "
1566  },
1567  {/* Important notes for translators:
1568  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1569  <br/>.
1570  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1571  - Option values should be enclosed in <var></var>.
1572  - It's very important that <br/> be self-closing!
1573  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1574  be translated. */
1575  TidyTabSize, 0,
1576  "This option specifies the number of columns that Tidy uses between "
1577  "successive tab stops. It is used to map tabs to spaces when reading the "
1578  "input. "
1579  },
1580  {/* Important notes for translators:
1581  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1582  <br/>.
1583  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1584  - Option values should be enclosed in <var></var>.
1585  - It's very important that <br/> be self-closing!
1586  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1587  be translated. */
1588  TidyVertSpace, 0,
1589  "This option specifies if Tidy should add some extra empty lines for "
1590  "readability. "
1591  "<br/>"
1592  "The default is <var>no</var>. "
1593  "<br/>"
1594  "If set to <var>auto</var> Tidy will eliminate nearly all newline "
1595  "characters."
1596  },
1597  {/* Important notes for translators:
1598  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1599  <br/>.
1600  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1601  - Option values should be enclosed in <var></var>.
1602  - It's very important that <br/> be self-closing!
1603  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1604  be translated. */
1605  TidyWrapLen, 0,
1606  "This option specifies the right margin Tidy uses for line wrapping. "
1607  "<br/>"
1608  "Tidy tries to wrap lines so that they do not exceed this length. "
1609  "<br/>"
1610  "Set <code>wrap</code> to <var>0</var>(zero) if you want to disable line "
1611  "wrapping. "
1612  },
1613  {/* Important notes for translators:
1614  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1615  <br/>.
1616  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1617  - Option values should be enclosed in <var></var>.
1618  - It's very important that <br/> be self-closing!
1619  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1620  be translated. */
1621  TidyWrapAsp, 0,
1622  "This option specifies if Tidy should line wrap text contained within ASP "
1623  "pseudo elements, which look like: <code>&lt;% ... %&gt;</code>. "
1624  },
1625  {/* Important notes for translators:
1626  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1627  <br/>.
1628  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1629  - Option values should be enclosed in <var></var>.
1630  - It's very important that <br/> be self-closing!
1631  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1632  be translated. */
1633  TidyWrapAttVals, 0,
1634  "This option specifies if Tidy should line-wrap attribute values, meaning "
1635  "that if the value of an attribute causes a line to exceed the width "
1636  "specified by <code>wrap</code>, Tidy will add one or more line breaks to "
1637  "the value, causing it to be wrapped into multiple lines. "
1638  "<br/>"
1639  "Note that this option can be set independently of "
1640  "<code>wrap-script-literals</code>. "
1641  "By default Tidy replaces any newline or tab with a single space and "
1642  "replaces any sequences of whitespace with a single space. "
1643  "<br/>"
1644  "To force Tidy to preserve the original, literal values of all attributes, "
1645  "and ensure that whitespace characters within attribute values are passed "
1646  "through unchanged, set <code>literal-attributes</code> to "
1647  "<var>yes</var>. "
1648  },
1649  {/* Important notes for translators:
1650  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1651  <br/>.
1652  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1653  - Option values should be enclosed in <var></var>.
1654  - It's very important that <br/> be self-closing!
1655  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1656  be translated. */
1657  TidyWrapJste, 0,
1658  "This option specifies if Tidy should line wrap text contained within "
1659  "JSTE pseudo elements, which look like: <code>&lt;# ... #&gt;</code>. "
1660  },
1661  {/* Important notes for translators:
1662  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1663  <br/>.
1664  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1665  - Option values should be enclosed in <var></var>.
1666  - It's very important that <br/> be self-closing!
1667  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1668  be translated. */
1669  TidyWrapPhp, 0,
1670  "This option specifies if Tidy should line wrap text contained within PHP "
1671  "pseudo elements, which look like: <code>&lt;?php ... ?&gt;</code>. "
1672  },
1673  {/* Important notes for translators:
1674  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1675  <br/>.
1676  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1677  - Option values should be enclosed in <var></var>.
1678  - It's very important that <br/> be self-closing!
1679  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1680  be translated. */
1681  TidyWrapScriptlets, 0,
1682  "This option specifies if Tidy should line wrap string literals that "
1683  "appear in script attributes. "
1684  "<br/>"
1685  "Tidy wraps long script string literals by inserting a backslash character "
1686  "before the line break. "
1687  },
1688  {/* Important notes for translators:
1689  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1690  <br/>.
1691  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1692  - Option values should be enclosed in <var></var>.
1693  - It's very important that <br/> be self-closing!
1694  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1695  be translated. */
1696  TidyWrapSection, 0,
1697  "This option specifies if Tidy should line wrap text contained within "
1698  "<code>&lt;![ ... ]&gt;</code> section tags. "
1699  },
1700  {/* Important notes for translators:
1701  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1702  <br/>.
1703  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1704  - Option values should be enclosed in <var></var>.
1705  - It's very important that <br/> be self-closing!
1706  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1707  be translated. */
1708  TidyAsciiChars, 0,
1709  "Can be used to modify behavior of the <code>clean</code> option when set "
1710  "to <var>yes</var>. "
1711  "<br/>"
1712  "If set to <var>yes</var> when using <code>clean</code>, "
1713  "<code>&amp;emdash;</code>, <code>&amp;rdquo;</code>, and other named "
1714  "character entities are downgraded to their closest ASCII equivalents. "
1715  },
1716  {/* Important notes for translators:
1717  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1718  <br/>.
1719  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1720  - Option values should be enclosed in <var></var>.
1721  - It's very important that <br/> be self-closing!
1722  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1723  be translated. */
1724  TidyCharEncoding, 0,
1725  "This option specifies the character encoding Tidy uses for both the input "
1726  "and output. "
1727  "<br/>"
1728  "For <var>ascii</var> Tidy will accept Latin-1 (ISO-8859-1) character "
1729  "values, but will use entities for all characters whose value &gt;127. "
1730  "<br/>"
1731  "For <var>raw</var>, Tidy will output values above 127 without "
1732  "translating them into entities. "
1733  "<br/>"
1734  "For <var>latin1</var>, characters above 255 will be written as entities. "
1735  "<br/>"
1736  "For <var>utf8</var>, Tidy assumes that both input and output are encoded "
1737  "as UTF-8. "
1738  "<br/>"
1739  "You can use <var>iso2022</var> for files encoded using the ISO-2022 "
1740  "family of encodings e.g. ISO-2022-JP. "
1741  "<br/>"
1742  "For <var>mac</var> and <var>win1252</var>, Tidy will accept vendor "
1743  "specific character values, but will use entities for all characters whose "
1744  "value &gt;127. "
1745  "<br/>"
1746  "For unsupported encodings, use an external utility to convert to and from "
1747  "UTF-8. "
1748  },
1749  {/* Important notes for translators:
1750  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1751  <br/>.
1752  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1753  - Option values should be enclosed in <var></var>.
1754  - It's very important that <br/> be self-closing!
1755  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1756  be translated. */
1757  TidyInCharEncoding, 0,
1758  "This option specifies the character encoding Tidy uses for the input. See "
1759  "<code>char-encoding</code> for more info. "
1760  },
1761 #if SUPPORT_ASIAN_ENCODINGS
1762  {/* Important notes for translators:
1763  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1764  <br/>.
1765  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1766  - Option values should be enclosed in <var></var>.
1767  - It's very important that <br/> be self-closing!
1768  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1769  be translated. */
1770  TidyLanguage, 0,
1771  "Currently not used, but this option specifies the language Tidy would use "
1772  "if it were properly localized. For example: <var>en</var>. "
1773  },
1774 #endif
1775 #if SUPPORT_UTF16_ENCODINGS
1776  {/* Important notes for translators:
1777  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1778  <br/>.
1779  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1780  - Option values should be enclosed in <var></var>.
1781  - It's very important that <br/> be self-closing!
1782  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1783  be translated. */
1784  TidyOutputBOM, 0,
1785  "This option specifies if Tidy should write a Unicode Byte Order Mark "
1786  "character (BOM; also known as Zero Width No-Break Space; has value of "
1787  "U+FEFF) to the beginning of the output, and only applies to UTF-8 and "
1788  "UTF-16 output encodings. "
1789  "<br/>"
1790  "If set to <var>auto</var> this option causes Tidy to write a BOM to "
1791  "the output only if a BOM was present at the beginning of the input. "
1792  "<br/>"
1793  "A BOM is always written for XML/XHTML output using UTF-16 output "
1794  "encodings. "
1795  },
1796 #endif
1797  {/* Important notes for translators:
1798  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1799  <br/>.
1800  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1801  - Option values should be enclosed in <var></var>.
1802  - It's very important that <br/> be self-closing!
1803  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1804  be translated. */
1806  "This option specifies the character encoding Tidy uses for the output. "
1807  "<br/>"
1808  "Note that this may only be different from <code>input-encoding</code> for "
1809  "Latin encodings (<var>ascii</var>, <var>latin0</var>, "
1810  "<var>latin1</var>, <var>mac</var>, <var>win1252</var>, "
1811  "<var>ibm858</var>)."
1812  "<br/>"
1813  "See <code>char-encoding</code> for more information"
1814  },
1815  {/* Important notes for translators:
1816  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1817  <br/>.
1818  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1819  - Option values should be enclosed in <var></var>.
1820  - It's very important that <br/> be self-closing!
1821  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1822  be translated. */
1823  TidyNewline, 0,
1824  "The default is appropriate to the current platform. "
1825  "<br/>"
1826  "Genrally CRLF on PC-DOS, Windows and OS/2; CR on Classic Mac OS; and LF "
1827  "everywhere else (Linux, Mac OS X, and Unix). "
1828  },
1829  {/* Important notes for translators:
1830  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1831  <br/>.
1832  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1833  - Option values should be enclosed in <var></var>.
1834  - It's very important that <br/> be self-closing!
1835  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1836  be translated. */
1837  TidyErrFile, 0,
1838  "This option specifies the error file Tidy uses for errors and warnings. "
1839  "Normally errors and warnings are output to <code>stderr</code>. "
1840  },
1841  {/* Important notes for translators:
1842  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1843  <br/>.
1844  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1845  - Option values should be enclosed in <var></var>.
1846  - It's very important that <br/> be self-closing!
1847  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1848  be translated. */
1849  TidyFixBackslash, 0,
1850  "This option specifies if Tidy should replace backslash characters "
1851  "<code>\\</code> in URLs with forward slashes <code>/</code>. "
1852  },
1853  {/* Important notes for translators:
1854  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1855  <br/>.
1856  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1857  - Option values should be enclosed in <var></var>.
1858  - It's very important that <br/> be self-closing!
1859  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1860  be translated. */
1861  TidyForceOutput, 0,
1862  "This option specifies if Tidy should produce output even if errors are "
1863  "encountered. "
1864  "<br/>"
1865  "Use this option with care; if Tidy reports an error, this "
1866  "means Tidy was not able to (or is not sure how to) fix the error, so the "
1867  "resulting output may not reflect your intention. "
1868  },
1869  {/* Important notes for translators:
1870  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1871  <br/>.
1872  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1873  - Option values should be enclosed in <var></var>.
1874  - It's very important that <br/> be self-closing!
1875  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1876  be translated. */
1877  TidyEmacs, 0,
1878  "This option specifies if Tidy should change the format for reporting "
1879  "errors and warnings to a format that is more easily parsed by GNU Emacs. "
1880  },
1881  {/* Important notes for translators:
1882  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1883  <br/>.
1884  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1885  - Option values should be enclosed in <var></var>.
1886  - It's very important that <br/> be self-closing!
1887  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1888  be translated. */
1889  TidyEmacsFile, 0,
1890  "Used internally. "
1891  },
1892  {/* Important notes for translators:
1893  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1894  <br/>.
1895  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1896  - Option values should be enclosed in <var></var>.
1897  - It's very important that <br/> be self-closing!
1898  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1899  be translated. */
1900  TidyKeepFileTimes, 0,
1901  "This option specifies if Tidy should keep the original modification time "
1902  "of files that Tidy modifies in place. "
1903  "<br/>"
1904  "Setting the option to <var>yes</var> allows you to tidy files without "
1905  "changing the file modification date, which may be useful with certain "
1906  "tools that use the modification date for things such as automatic server "
1907  "deployment."
1908  "<br/>"
1909  "Note this feature is not supported on some platforms. "
1910  },
1911  {/* Important notes for translators:
1912  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1913  <br/>.
1914  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1915  - Option values should be enclosed in <var></var>.
1916  - It's very important that <br/> be self-closing!
1917  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1918  be translated. */
1919  TidyOutFile, 0,
1920  "This option specifies the output file Tidy uses for markup. Normally "
1921  "markup is written to <code>stdout</code>. "
1922  },
1923  {/* Important notes for translators:
1924  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1925  <br/>.
1926  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1927  - Option values should be enclosed in <var></var>.
1928  - It's very important that <br/> be self-closing!
1929  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1930  be translated. */
1931  TidyQuiet, 0,
1932  "This option specifies if Tidy should output the summary of the numbers "
1933  "of errors and warnings, or the welcome or informational messages. "
1934  },
1935  {/* Important notes for translators:
1936  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1937  <br/>.
1938  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1939  - Option values should be enclosed in <var></var>.
1940  - It's very important that <br/> be self-closing!
1941  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1942  be translated. */
1943  TidySlideStyle, 0,
1944  "This option has no function and is deprecated. "
1945  },
1946  {/* Important notes for translators:
1947  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1948  <br/>.
1949  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1950  - Option values should be enclosed in <var></var>.
1951  - It's very important that <br/> be self-closing!
1952  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1953  be translated. */
1954  TidyMark, 0,
1955  "This option specifies if Tidy should add a <code>meta</code> element to "
1956  "the document head to indicate that the document has been tidied. "
1957  "<br/>"
1958  "Tidy won't add a meta element if one is already present. "
1959  },
1960  {/* Important notes for translators:
1961  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1962  <br/>.
1963  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1964  - Option values should be enclosed in <var></var>.
1965  - It's very important that <br/> be self-closing!
1966  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1967  be translated. */
1968  TidyWriteBack, 0,
1969  "This option specifies if Tidy should write back the tidied markup to the "
1970  "same file it read from. "
1971  "<br/>"
1972  "You are advised to keep copies of important files before tidying them, as "
1973  "on rare occasions the result may not be what you expect. "
1974  },
1975  {/* Important notes for translators:
1976  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1977  <br/>.
1978  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1979  - Option values should be enclosed in <var></var>.
1980  - It's very important that <br/> be self-closing!
1981  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1982  be translated. */
1984  "This option specifies if Tidy should decorate inferred "
1985  "<code>&lt;ul&gt;</code> elements with some CSS markup to avoid indentation "
1986  "to the right. "
1987  },
1988  {/* Important notes for translators:
1989  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1990  <br/>.
1991  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1992  - Option values should be enclosed in <var></var>.
1993  - It's very important that <br/> be self-closing!
1994  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1995  be translated. */
1997  "This option specifies if Tidy should preserve well-formed entities "
1998  "as found in the input. "
1999  },
2000  {/* Important notes for translators:
2001  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
2002  <br/>.
2003  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
2004  - Option values should be enclosed in <var></var>.
2005  - It's very important that <br/> be self-closing!
2006  - The strings "Tidy" and "HTML Tidy" are the program name and must not
2007  be translated. */
2008  TidyAnchorAsName, 0,
2009  "This option controls the deletion or addition of the <code>name</code> "
2010  "attribute in elements where it can serve as anchor. "
2011  "<br/>"
2012  "If set to <var>yes</var> a <code>name</code> attribute, if not already "
2013  "existing, is added along an existing <code>id</code> attribute if the DTD "
2014  "allows it. "
2015  "<br/>"
2016  "If set to <var>no</var> any existing name attribute is removed if an "
2017  "<code>id</code> attribute exists or has been added. "
2018  },
2019  {/* Important notes for translators:
2020  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
2021  <br/>.
2022  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
2023  - Option values should be enclosed in <var></var>.
2024  - It's very important that <br/> be self-closing!
2025  - The strings "Tidy" and "HTML Tidy" are the program name and must not
2026  be translated. */
2027  TidyPPrintTabs, 0,
2028  "This option specifies if Tidy should indent with tabs instead of spaces, "
2029  "assuming <code>indent</code> is <var>yes</var>. "
2030  "<br/>"
2031  "Set it to <var>yes</var> to indent using tabs instead of the default "
2032  "spaces. "
2033  "<br/>"
2034  "Use the option <code>indent-spaces</code> to control the number of tabs "
2035  "output per level of indent. Note that when <code>indent-with-tabs</code> "
2036  "is enabled the default value of <code>indent-spaces</code> is reset to "
2037  "<var>1</var>. "
2038  "<br/>"
2039  "Note <code>tab-size</code> controls converting input tabs to spaces. Set "
2040  "it to zero to retain input tabs. "
2041  },
2042  {/* Important notes for translators:
2043  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
2044  <br/>.
2045  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
2046  - Option values should be enclosed in <var></var>.
2047  - It's very important that <br/> be self-closing!
2048  - The strings "Tidy" and "HTML Tidy" are the program name and must not
2049  be translated. */
2050  TidySkipNested, 0,
2051  "This option specifies that Tidy should skip nested tags when parsing "
2052  "script and style data. "
2053  },
2054  {/* Important notes for translators:
2055  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
2056  <br/>.
2057  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
2058  - Option values should be enclosed in <var></var>.
2059  - It's very important that <br/> be self-closing!
2060  - The strings "Tidy" and "HTML Tidy" are the program name and must not
2061  be translated. */
2062  TidyStrictTagsAttr, 0,
2063  "This options ensures that tags and attributes are applicable for the "
2064  "version of HTML that Tidy outputs. When set to <var>yes</var> (the "
2065  "default) and the output document type is a strict doctype, then Tidy "
2066  "will report errors. If the output document type is a loose or "
2067  "transitional doctype, then Tidy will report warnings. "
2068  "<br/>"
2069  "Additionally if <code>drop-proprietary-attributes</code> is enabled, "
2070  "then not applicable attributes will be dropped, too. "
2071  "<br/>"
2072  "When set to <var>no</var>, these checks are not performed. "
2073  },
2074  {/* Important notes for translators:
2075  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
2076  <br/>.
2077  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
2078  - Option values should be enclosed in <var></var>.
2079  - It's very important that <br/> be self-closing!
2080  - The strings "Tidy" and "HTML Tidy" are the program name and must not
2081  be translated. */
2082  TidyEscapeScripts, 0,
2083  "This option causes items that look like closing tags, like <code>&lt;/g</code> to be escaped "
2084  "to <code>&lt;\\/g</code>. Set this option to 'no' if you do not want this."
2085  },
2086 
2087  /********************************************************
2088  ** Console Application
2089  ** Although these strings are not used within LibTidy
2090  ** and only for the console application, they are
2091  ** provided as part of LibTidy for convenience to
2092  ** developers.
2093  ********************************************************/
2094  { TC_CAT_DIAGNOSTICS, 0, "diagnostics" },
2095  { TC_CAT_ENCODING, 0, "encoding" },
2096  { TC_CAT_MARKUP, 0, "markup" },
2097  { TC_CAT_MISC, 0, "misc" },
2098  { TC_CAT_PRETTYPRINT, 0, "print" },
2099  { TC_LABEL_COL, 0, "column" },
2100  { TC_LABEL_FILE, 0, "file" },
2101  { TC_LABEL_LANG, 0, "lang" },
2102  { TC_LABEL_LEVL, 0, "level" },
2103  { TC_LABEL_OPT, 0, "option" },
2104  { TC_MAIN_ERROR_LOAD_CONFIG, 0, "Loading config file \"%s\" failed, err = %d" },
2105  { TC_OPT_ACCESS, 0,
2106  "do additional accessibility checks (<level> = 0, 1, 2, 3). 0 is "
2107  "assumed if <level> is missing."
2108  },
2109  { TC_OPT_ASCII, 0, "use ISO-8859-1 for input, US-ASCII for output" },
2110  { TC_OPT_ASHTML, 0, "force XHTML to well formed HTML" },
2111  { TC_OPT_ASXML, 0, "convert HTML to well formed XHTML" },
2112  { TC_OPT_BARE, 0, "strip out smart quotes and em dashes, etc." },
2113  { TC_OPT_BIG5, 0, "use Big5 for both input and output" },
2114  { TC_OPT_CLEAN, 0, "replace FONT, NOBR and CENTER tags with CSS" },
2115  { TC_OPT_CONFIG, 0, "set configuration options from the specified <file>" },
2116  { TC_OPT_ERRORS, 0, "show only errors and warnings" },
2117  { TC_OPT_FILE, 0, "write errors and warnings to the specified <file>" },
2118  { TC_OPT_GDOC, 0, "produce clean version of html exported by Google Docs" },
2119  { TC_OPT_HELP, 0, "list the command line options" },
2120  { TC_OPT_HELPCFG, 0, "list all configuration options" },
2121  { TC_OPT_HELPOPT, 0, "show a description of the <option>" },
2122  { TC_OPT_IBM858, 0, "use IBM-858 (CP850+Euro) for input, US-ASCII for output" },
2123  { TC_OPT_INDENT, 0, "indent element content" },
2124  { TC_OPT_ISO2022, 0, "use ISO-2022 for both input and output" },
2125 
2126  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2127  TC_OPT_LANGUAGE, 0,
2128  "set Tidy's output language to <lang>. Specify '-language help' for more help. "
2129  "Use before output-causing arguments to ensure the language takes effect, e.g.,"
2130  "`tidy -lang es -lang help`."
2131  },
2132 
2133  { TC_OPT_LATIN0, 0, "use ISO-8859-15 for input, US-ASCII for output" },
2134  { TC_OPT_LATIN1, 0, "use ISO-8859-1 for both input and output" },
2135  { TC_OPT_MAC, 0, "use MacRoman for input, US-ASCII for output" },
2136  { TC_OPT_MODIFY, 0, "modify the original input files" },
2137  { TC_OPT_NUMERIC, 0, "output numeric rather than named entities" },
2138  { TC_OPT_OMIT, 0, "omit optional start tags and end tags" },
2139  { TC_OPT_OUTPUT, 0, "write output to the specified <file>" },
2140  { TC_OPT_QUIET, 0, "suppress nonessential output" },
2141  { TC_OPT_RAW, 0, "output values above 127 without conversion to entities" },
2142  { TC_OPT_SHIFTJIS, 0, "use Shift_JIS for both input and output" },
2143  { TC_OPT_SHOWCFG, 0, "list the current configuration settings" },
2144  { TC_OPT_UPPER, 0, "force tags to upper case" },
2145  { TC_OPT_UTF16, 0, "use UTF-16 for both input and output" },
2146  { TC_OPT_UTF16BE, 0, "use UTF-16BE for both input and output" },
2147  { TC_OPT_UTF16LE, 0, "use UTF-16LE for both input and output" },
2148  { TC_OPT_UTF8, 0, "use UTF-8 for both input and output" },
2149 
2150  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2151  TC_OPT_VERSION, 0, "show the version of Tidy"
2152  },
2153 
2154  { TC_OPT_WIN1252, 0, "use Windows-1252 for input, US-ASCII for output" },
2155  { TC_OPT_WRAP, 0,
2156  "wrap text at the specified <column>. 0 is assumed if <column> is "
2157  "missing. When this option is omitted, the default of the "
2158  "configuration option 'wrap' applies."
2159  },
2160  { TC_OPT_XML, 0, "specify the input is well formed XML" },
2161  { TC_OPT_XMLCFG, 0, "list all configuration options in XML format" },
2162  { TC_OPT_XMLHELP, 0, "list the command line options in XML format" },
2163 
2164  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2165  TC_OPT_XMLSTRG, 0, "output all of Tidy's strings in XML format"
2166  },
2167 
2168  { TC_OPT_XMLERRS, 0, "output error constants and strings in XML format" },
2169 
2170  { TC_OPT_XMLOPTS, 0, "output option descriptions in XML format" },
2171 
2172  { TC_STRING_CONF_HEADER, 0, "Configuration File Settings:" },
2173 
2174  {/* Must be 27 characters or fewer. */
2175  TC_STRING_CONF_NAME, 0, "Name"
2176  },
2177  {/* Must be 9 characters or fewer. */
2178  TC_STRING_CONF_TYPE, 0, "Type"
2179  },
2180  {/* Must be 40 characters or fewer. */
2181  TC_STRING_CONF_VALUE, 0, "Current Value"
2182  },
2183  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2184  TC_STRING_CONF_NOTE, 0, "Values marked with an *asterisk are calculated internally by HTML Tidy"
2185  },
2186 
2187  { TC_STRING_OPT_NOT_DOCUMENTED, 0, "Warning: option `%s' is not documented." },
2188  { TC_STRING_OUT_OF_MEMORY, 0, "Out of memory. Bailing out." },
2189  { TC_STRING_FATAL_ERROR, 0, "Fatal error: impossible value for id='%d'." },
2190  { TC_STRING_FILE_MANIP, 0, "File manipulation" },
2191  { TC_STRING_PROCESS_DIRECTIVES, 0, "Processing directives" },
2192  { TC_STRING_CHAR_ENCODING, 0, "Character encodings" },
2193  { TC_STRING_LANG_MUST_SPECIFY, 0, "A POSIX or Windows locale must be specified." },
2194 
2195  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2196  TC_STRING_LANG_NOT_FOUND, 0, "Tidy doesn't have language '%s,' will use '%s' instead."
2197  },
2198 
2199  { TC_STRING_MISC, 0, "Miscellaneous" },
2200  { TC_STRING_XML, 0, "XML" },
2201  { TC_STRING_MUST_SPECIFY, 0, "A Tidy option name must be specified." },
2202 
2203  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2204  TC_STRING_UNKNOWN_OPTION, 0, "HTML Tidy: unknown option: %c"
2205  },
2206  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2207  TC_STRING_UNKNOWN_OPTION_B, 0, "HTML Tidy: unknown option."
2208  },
2209  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2210  TC_STRING_VERS_A, 0, "HTML Tidy for %s version %s"
2211  },
2212  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2213  TC_STRING_VERS_B, 0, "HTML Tidy version %s"
2214  },
2215 
2216  {/* This console output should be limited to 78 characters per line.
2217  - %n represents the name of the executable from the file system, and is mostly like going to be "tidy".
2218  - %2 represents a version number, typically x.x.xx.
2219  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2220  TC_TXT_HELP_1, 0,
2221  "\n"
2222  "%s [options...] [file...] [options...] [file...]\n"
2223  "Utility to clean up and pretty print HTML/XHTML/XML.\n"
2224  "\n"
2225  "This is modern HTML Tidy version %s.\n"
2226  "\n"
2227  },
2228  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
2229  - %s represents the platform, for example, "Mac OS X" or "Windows". */
2230  TC_TXT_HELP_2A, 0,
2231  "Command Line Arguments for HTML Tidy for %s:"
2232  },
2233  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2234  TC_TXT_HELP_2B, 0,
2235  "Command Line Arguments for HTML Tidy:"
2236  },
2237  {/* This console output should be limited to 78 characters per line.
2238  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2239  TC_TXT_HELP_3, 0,
2240  "\n"
2241  "Tidy Configuration Options\n"
2242  "==========================\n"
2243  "Use Tidy's configuration options as command line arguments in the form\n"
2244  "of \"--some-option <value>\", for example, \"--indent-with-tabs yes\".\n"
2245  "\n"
2246  "For a list of all configuration options, use \"-help-config\" or refer\n"
2247  "to the man page (if your OS has one).\n"
2248  "\n"
2249  "If your environment has an $HTML_TIDY variable set point to a Tidy \n"
2250  "configuration file then Tidy will attempt to use it.\n"
2251  "\n"
2252  "On some platforms Tidy will also attempt to use a configuration specified \n"
2253  "in /etc/tidy.conf or ~/.tidy.conf.\n"
2254  "\n"
2255  "Other\n"
2256  "=====\n"
2257  "Input/Output default to stdin/stdout respectively.\n"
2258  "\n"
2259  "Single letter options apart from -f may be combined\n"
2260  "as in: tidy -f errs.txt -imu foo.html\n"
2261  "\n"
2262  "Information\n"
2263  "===========\n"
2264  "For more information about HTML Tidy, see\n"
2265  " http://www.html-tidy.org/\n"
2266  "\n"
2267  "For more information on HTML, see the following:\n"
2268  "\n"
2269  " HTML: Edition for Web Authors (the latest HTML specification)\n"
2270  " http://dev.w3.org/html5/spec-author-view\n"
2271  "\n"
2272  " HTML: The Markup Language (an HTML language reference)\n"
2273  " http://dev.w3.org/html5/markup/\n"
2274  "\n"
2275  "File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
2276  "or send questions and comments to public-htacg@w3.org.\n"
2277  "\n"
2278  "Validate your HTML documents using the W3C Nu Markup Validator:\n"
2279  " http://validator.w3.org/nu/\n"
2280  "\n"
2281  },
2282  {/* This console output should be limited to 78 characters per line.
2283  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2284  TC_TXT_HELP_CONFIG, 0,
2285  "\n"
2286  "HTML Tidy Configuration Settings\n"
2287  "\n"
2288  "Within a file, use the form:\n"
2289  "\n"
2290  "wrap: 72\n"
2291  "indent: no\n"
2292  "\n"
2293  "When specified on the command line, use the form:\n"
2294  "\n"
2295  "--wrap 72 --indent no\n"
2296  "\n"
2297  },
2298  { TC_TXT_HELP_CONFIG_NAME, 0, "Name" },
2299  { TC_TXT_HELP_CONFIG_TYPE, 0, "Type" },
2300  { TC_TXT_HELP_CONFIG_ALLW, 0, "Allowable values" },
2301  {/* This console output should be limited to 78 characters per line.
2302  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2303  TC_TXT_HELP_LANG_1, 0,
2304  "\n"
2305  "The --language (or --lang) option indicates which language Tidy \n"
2306  "should use to communicate its output. Please note that this is not \n"
2307  "a document translation service, and only affects the messages that \n"
2308  "Tidy communicates to you. \n"
2309  "\n"
2310  "When used from the command line the --language argument must \n"
2311  "be used before any arguments that result in output, otherwise Tidy \n"
2312  "will produce output before it knows which language to use. \n"
2313  "\n"
2314  "In addition to standard POSIX language codes, Tidy is capable of \n"
2315  "understanding legacy Windows language codes. Please note that this \n"
2316  "list indicates codes Tidy understands, and does not indicate that \n"
2317  "the language is currently installed. \n"
2318  "\n"
2319  "The rightmost column indicates how Tidy will understand the \n"
2320  "legacy Windows name.\n"
2321  "\n"
2322  },
2323  {/* This console output should be limited to 78 characters per line.
2324  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2325  TC_TXT_HELP_LANG_2, 0,
2326  "\n"
2327  "The following languages are currently installed in Tidy. Please \n"
2328  "note that there's no guarantee that they are complete; only that \n"
2329  "one developer or another started to add the language indicated. \n"
2330  "\n"
2331  "Incomplete localizations will default to \"en\" when necessary. \n"
2332  "Please report instances of incorrect strings to the Tidy team. \n"
2333  "\n"
2334  },
2335  {/* This console output should be limited to 78 characters per line.
2336  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
2337  - The parameter %s is likely to be two to five characters, e.g., en or en_US. */
2338  TC_TXT_HELP_LANG_3, 0,
2339  "\n"
2340  "If Tidy is able to determine your locale then Tidy will use the \n"
2341  "locale's language automatically. For example Unix-like systems use a \n"
2342  "$LANG and/or $LC_ALL environment variable. Consult your operating \n"
2343  "system documentation for more information. \n"
2344  "\n"
2345  "Tidy is currently using locale %s. \n"
2346  "\n"
2347  },
2348 
2349 
2350  {/* This MUST be present and last. */
2351  TIDY_MESSAGE_TYPE_LAST, 0, NULL
2352  }
2353 }};
2354 
2355 
2356 #endif /* language_en_h */
Preserve entities.
Definition: tidyenum.h:167
Output " marks as ".
Definition: tidyenum.h:100
Definition: language.h:189
Clean up HTML exported from Google Docs.
Definition: tidyenum.h:87
Definition: message.h:147
Definition: language.h:186
Wrap within JSTE pseudo elements.
Definition: tidyenum.h:107
Definition: message.h:243
Definition: tidyenum.h:277
Definition: message.h:226
Output extensible HTML.
Definition: tidyenum.h:79
Definition: access.h:161
Accessibility check level 0 (old style), or 1, 2, 3.
Definition: tidyenum.h:155
Definition: message.h:108
Definition: access.h:216
Definition: access.h:131
Definition: language.h:143
Definition: language.h:169
Definition: message.h:146
Definition: language.h:123
Definition: access.h:228
Definition: message.h:224
Definition: message.h:112
Definition: message.h:225
Definition: language.h:144
Wrap margin.
Definition: tidyenum.h:48
Wrap within attribute values.
Definition: tidyenum.h:103
Definition: access.h:251
Escape items that look like closing tags in script tags.
Definition: tidyenum.h:174
Definition: message.h:100
Definition: language.h:146
Define anchors as name attributes.
Definition: tidyenum.h:170
If true then output tidied markup.
Definition: tidyenum.h:67
However errors are always shown.
Definition: tidyenum.h:70
Definition: access.h:156
Definition: language.h:181
Definition: language.h:140
Definition: access.h:241
Definition: access.h:132
Definition: message.h:230
Definition: language.h:122
If false, normal output is suppressed.
Definition: tidyenum.h:68
Definition: language.h:195
Definition: language.h:176
Definition: message.h:126
Definition: message.h:248
Definition: access.h:170
Definition: access.h:240
Definition: message.h:185
Definition: language.h:173
Definition: access.h:179
Definition: access.h:162
Definition: access.h:178
Definition: access.h:236
Definition: message.h:140
Definition: access.h:245
Add meta element indicating tidied doc.
Definition: tidyenum.h:117
Definition: message.h:154
Definition: language.h:162
Definition: language.h:178
Definition: message.h:208
Definition: message.h:123
Definition: access.h:235
Definition: language.h:136
Definition: message.h:79
Definition: message.h:104
Definition: language.h:126
Definition: message.h:155
Definition: message.h:124
Definition: message.h:113
Definition: message.h:182
Definition: language.h:190
Number of errors to put out.
Definition: tidyenum.h:127
Definition: message.h:244
Definition: access.h:244
Mark inferred UL elements with no indent CSS.
Definition: tidyenum.h:166
Definition: access.h:193
Definition: access.h:248
Definition: message.h:115
Definition: access.h:151
Definition: access.h:238
Definition: message.h:217
File name to write markup to.
Definition: tidyenum.h:66
Definition: language.h:127
Definition: access.h:181
Definition: message.h:239
Discard proprietary attributes.
Definition: tidyenum.h:89
Treat input as XML.
Definition: tidyenum.h:77
Definition: language.h:197
Name of current Emacs file.
Definition: tidyenum.h:119
Definition: language.h:174
Definition: access.h:253
Definition: access.h:142
Definition: language.h:134
Definition: language.h:131
Definition: message.h:106
Definition: message.h:127
Definition: access.h:172
Definition: tidyenum.h:275
Definition: message.h:207
Definition: message.h:170
Definition: language.h:156
Definition: access.h:211
Definition: message.h:120
Definition: access.h:130
consider punctuation and breaking spaces for wrapping
Definition: tidyenum.h:160
Definition: language.h:172
Definition: message.h:94
Definition: access.h:246
Wrap within <![ ...
Definition: tidyenum.h:105
Definition: access.h:149
Definition: language.h:108
Create output as XML.
Definition: tidyenum.h:78
Definition: language.h:185
Definition: message.h:116
Definition: access.h:232
Definition: access.h:137
Definition: message.h:190
Definition: language.h:132
Make bare HTML: remove Microsoft cruft.
Definition: tidyenum.h:85
Definition: access.h:164
Definition: message.h:82
If yes last modied time is preserved.
Definition: tidyenum.h:115
Coerce end tags from start tags where probably intended.
Definition: tidyenum.h:74
Definition: message.h:168
Definition: language.h:183
Definition: access.h:155
Definition: language.h:163
Definition: message.h:238
Definition: message.h:235
Definition: message.h:143
Draconian cleaning for Word2000.
Definition: tidyenum.h:116
Definition: message.h:114
Definition: message.h:236
Definition: message.h:213
Definition: message.h:111
Definition: message.h:92
Definition: language.h:153
Definition: message.h:163
Definition: message.h:87
static uint whichPluralForm_en(uint n)
This language-specific function returns the correct pluralForm to use given n items, and is used as a member of each language definition.
Definition: language_en.h:35
Definition: message.h:245
Definition: message.h:132
Definition: message.h:221
Definition: language.h:170
Definition: message.h:184
Definition: message.h:131
Definition: language.h:118
Definition: message.h:240
If yes text in blocks is wrapped in P&#39;s.
Definition: tidyenum.h:114
Replace hex color attribute values with names.
Definition: tidyenum.h:147
Definition: access.h:141
Hides all (real) comments in output.
Definition: tidyenum.h:124
static languageDefinition language_en
This structure specifies all of the strings needed by Tidy for a single language. ...
Definition: language_en.h:54
Definition: language.h:158
Definition: access.h:160
Newline+indent before each attribute.
Definition: tidyenum.h:110
Definition: language.h:175
Definition: language.h:202
CSS class naming for -clean option.
Definition: tidyenum.h:148
Definition: language.h:160
Definition: language.h:119
Definition: message.h:103
Definition: access.h:239
Wrap within JavaScript string literals.
Definition: tidyenum.h:104
Definition: message.h:212
Definition: access.h:209
Definition: access.h:185
If set to yes adds xml:space attr as needed.
Definition: tidyenum.h:112
Definition: message.h:219
Definition: access.h:229
Definition: language.h:192
Definition: language.h:125
Definition: message.h:141
Definition: message.h:99
If yes text at body is wrapped in P&#39;s.
Definition: tidyenum.h:113
Definition: message.h:211
Definition: access.h:174
Output tags in upper not lower case.
Definition: tidyenum.h:83
Legacy name for TidyOmitOptionalTags.
Definition: tidyenum.h:76
Finally, a complete language definition.
Definition: language.h:52
Keep first or last duplicate attribute.
Definition: tidyenum.h:59
Definition: access.h:173
Replace presentational clutter by style rules.
Definition: tidyenum.h:86
Definition: message.h:90
Definition: message.h:171
Definition: access.h:210
Applies URI encoding if necessary.
Definition: tidyenum.h:122
Definition: access.h:192
Definition: language.h:120
Definition: language.h:137
Join multiple style attributes.
Definition: tidyenum.h:130
Definition: message.h:164
No &#39;Parsing X&#39;, guessed DTD or summary.
Definition: tidyenum.h:71
Definition: access.h:139
Definition: access.h:159
Definition: access.h:237
Definition: language.h:117
Definition: message.h:249
Definition: message.h:233
Definition: message.h:175
Definition: message.h:122
Allow numeric character references.
Definition: tidyenum.h:135
Definition: message.h:247
Definition: message.h:151
Definition: access.h:205
Definition: access.h:163
Definition: message.h:216
Definition: access.h:188
Expand tabs to n spaces.
Definition: tidyenum.h:49
Definition: access.h:144
Definition: access.h:168
Definition: message.h:204
Definition: message.h:86
Definition: message.h:223
Definition: message.h:138
Definition: message.h:209
Declared empty tags.
Definition: tidyenum.h:152
Definition: message.h:176
Output plain HTML, even for XHTML input.
Definition: tidyenum.h:80
Definition: access.h:145
Definition: message.h:231
Definition: message.h:162
Merge multiple DIVs.
Definition: tidyenum.h:165
Definition: message.h:205
Definition: message.h:148
Definition: language.h:171
Definition: access.h:206
Definition: message.h:214
Output naked ampersand as &.
Definition: tidyenum.h:102
Definition: language.h:168
Definition: message.h:95
Definition: access.h:243
degree to which markup is spread out vertically
Definition: tidyenum.h:158
Definition: language.h:135
Definition: message.h:232
Definition: message.h:102
If true attributes may use newlines.
Definition: tidyenum.h:120
Definition: access.h:134
Definition: message.h:88
Definition: message.h:218
Definition: access.h:208
Wrap within PHP pseudo elements.
Definition: tidyenum.h:108
Definition: access.h:176
Definition: message.h:150
Definition: language.h:116
Definition: access.h:169
Definition: access.h:165
Definition: language.h:159
Definition: message.h:101
Definition: access.h:167
Definition: access.h:207
Definition: access.h:133
Definition: access.h:252
Definition: message.h:128
Definition: language.h:145
Definition: message.h:183
Definition: message.h:237
Definition: message.h:161
Definition: language.h:187
Definition: access.h:186
Definition: access.h:214
If true format error output for GNU Emacs.
Definition: tidyenum.h:118
Definition: language.h:194
Join multiple class attributes.
Definition: tidyenum.h:129
Definition: access.h:138
Definition: message.h:229
Definition: message.h:228
Discard empty p elements.
Definition: tidyenum.h:92
Definition: message.h:105
Definition: language.h:149
Output BODY content only.
Definition: tidyenum.h:121
Definition: language.h:193
Discard presentation tags.
Definition: tidyenum.h:90
Definition: access.h:184
Definition: message.h:156
In/out character encoding.
Definition: tidyenum.h:51
Definition: message.h:178
Output newline before or not?
Definition: tidyenum.h:94
Definition: language.h:188
Definition: access.h:143
Definition: access.h:257
Definition: tidyenum.h:276
Output line ending (default to platform)
Definition: tidyenum.h:54
Definition: message.h:192
Definition: message.h:89
Definition: access.h:150
Definition: message.h:117
Convert quotes and dashes to nearest ASCII char.
Definition: tidyenum.h:128
Definition: access.h:175
Definition: language.h:121
Definition: message.h:139
Definition: message.h:93
Definition: access.h:212
Definition: message.h:119
Definition: access.h:254
Definition: access.h:194
unsigned int uint
Definition: tidyplatform.h:525
File name to write errors to.
Definition: tidyenum.h:65
Definition: language.h:141
Definition: message.h:210
Definition: access.h:187
Definition: access.h:177
Definition: tidyenum.h:281
Fix comments with adjacent hyphens.
Definition: tidyenum.h:93
Definition: message.h:215
Definition: access.h:180
Definition: message.h:145
Definition: language.h:198
Definition: language.h:191
Output attributes in upper not lower case.
Definition: tidyenum.h:84
Definition: message.h:97
Definition: access.h:146
Definition: access.h:247
Declared block tags.
Definition: tidyenum.h:151
Definition: message.h:96
Definition: language.h:124
Create slides on each h2 element.
Definition: tidyenum.h:97
Replace <![CDATA[]]> sections with escaped text.
Definition: tidyenum.h:131
Definition: access.h:242
Definition: message.h:172
Definition: tidyenum.h:280
Output character encoding (if different)
Definition: tidyenum.h:53
Definition: language.h:152
Fix URLs by replacing \ with /.
Definition: tidyenum.h:109
Language property: not used for anything yet.
Definition: tidyenum.h:134
Definition: access.h:171
Definition: message.h:234
Definition: access.h:157
Definition: tidyenum.h:279
Discard empty elements.
Definition: tidyenum.h:91
Replace i by em and b by strong.
Definition: tidyenum.h:88
Definition: access.h:189
Definition: language.h:199
Output document even if errors were found.
Definition: tidyenum.h:126
Definition: access.h:166
Definition: message.h:241
Definition: language.h:167
Definition: language.h:115
Input character encoding (if different)
Definition: tidyenum.h:52
Indentation n spaces/tabs.
Definition: tidyenum.h:47
User specified doctype.
Definition: tidyenum.h:57
Definition: language.h:151
Definition: message.h:227
Definition: access.h:158
Indent using tabs istead of spaces.
Definition: tidyenum.h:171
Definition: message.h:110
Suppress optional start tags and end tags.
Definition: tidyenum.h:75
Merge multiple SPANs.
Definition: tidyenum.h:169
Definition: message.h:121
Definition: language.h:155
Add <?xml?> for XML docs.
Definition: tidyenum.h:82
Definition: message.h:206
Definition: language.h:129
Definition: tidyenum.h:278
Definition: language.h:164
Definition: access.h:250
Definition: message.h:153
Skip nested tags in script and style CDATA.
Definition: tidyenum.h:172
Definition: access.h:215
Definition: language.h:148
Definition: access.h:152
Indent content of appropriate tags.
Definition: tidyenum.h:72
Definition: language.h:142
Definition: message.h:188
Folds known attribute values to lower case.
Definition: tidyenum.h:123
Definition: message.h:144
Definition: message.h:81
Definition: access.h:148
Definition: message.h:137
Definition: language.h:196
Indent <!CDATA[ ...
Definition: tidyenum.h:125
Definition: language.h:139
Output a Byte Order Mark (BOM) for UTF-16 encodings.
Definition: tidyenum.h:141
Definition: language.h:165
Definition: message.h:166
Definition: message.h:130
Definition: message.h:203
If set to yes PIs must end with ?>
Definition: tidyenum.h:111
Use numeric entities.
Definition: tidyenum.h:99
Definition: language.h:138
Definition: language.h:150
Definition: message.h:107
Definition: message.h:98
Default text for alt attribute.
Definition: tidyenum.h:60
Definition: language.h:154
Definition: message.h:129
Definition: access.h:213
Definition: message.h:80
Definition: message.h:222
Definition: message.h:118
Definition: language.h:184
Definition: message.h:186
Definition: language.h:128
Definition: access.h:191
Definition: language.h:182
Definition: message.h:149
Definition: language.h:147
Output non-breaking space as entity.
Definition: tidyenum.h:101
Definition: language.h:133
Definition: language.h:161
Definition: language.h:179
Definition: message.h:159
Ensure tags and attributes match output HTML version.
Definition: tidyenum.h:173
Definition: language.h:130
Definition: message.h:191
Definition: message.h:78
Merge nested B and I elements.
Definition: tidyenum.h:164
Definition: message.h:242
Definition: language.h:166
Definition: access.h:190
Definition: message.h:173
If true, info-level messages are shown.
Definition: tidyenum.h:69
Wrap within ASP pseudo elements.
Definition: tidyenum.h:106
Definition: message.h:142
Definition: access.h:197
Definition: language.h:177
Definition: access.h:147
Definition: message.h:220
Definition: access.h:260
Definition: message.h:91
Definition: message.h:246
Definition: message.h:158
Definition: access.h:154
Definition: language.h:180
Definition: access.h:153
Definition: message.h:109
Definition: message.h:136
Declared inline tags.
Definition: tidyenum.h:150
Definition: access.h:249
Style sheet for slides: not used for anything yet.
Definition: tidyenum.h:63
Definition: language.h:157
Sort attributes.
Definition: tidyenum.h:168
Declared pre tags.
Definition: tidyenum.h:153