mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
fa20edc44d
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
2506 lines
146 KiB
PHP
2506 lines
146 KiB
PHP
#ifndef language_en_h
|
||
#define language_en_h
|
||
/*
|
||
* language_en.h
|
||
* Localization support for HTML Tidy.
|
||
*
|
||
* This file consists of the strings for Tidy's base language and is a
|
||
* required localization for Tidy to compile and work. Unlike the other
|
||
* localization files this file is NOT machine-generated.
|
||
*
|
||
* This file also serves as the master template for generating additional
|
||
* language localizations. As such do not edit PO files for this language;
|
||
* modify this file directly.
|
||
*
|
||
* (c) 2015-2017 HTACG
|
||
* See tidy.h and access.h for the copyright notice.
|
||
*
|
||
* Created by Jim Derry on 11/28/15.
|
||
*/
|
||
|
||
#ifdef _MSC_VER
|
||
#pragma execution_character_set("utf-8")
|
||
#endif
|
||
|
||
|
||
/**
|
||
* This language-specific function returns the correct pluralForm
|
||
* to use given n items, and is used as a member of each language
|
||
* definition.
|
||
*/
|
||
static uint whichPluralForm_en(uint n) {
|
||
/* Plural-Forms: nplurals=2; */
|
||
return n != 1;
|
||
}
|
||
|
||
|
||
/**
|
||
* This structure specifies all of the strings needed by Tidy for a
|
||
* single language. Static definition in a header file makes it
|
||
* easy to include and exclude languages without tinkering with
|
||
* the build system.
|
||
*
|
||
* This file serves as the master template for generating `gettext`
|
||
* PO and POT files using our `potool.rb` script. Certain comments
|
||
* entered below will be included in the PO/POT files as developer
|
||
* comments. To enable this, use only standard C-style comments that
|
||
* begin immediately after the opening brace without whitespace.
|
||
*/
|
||
|
||
static languageDefinition language_en = { whichPluralForm_en, {
|
||
/***************************************
|
||
** This MUST be present and first.
|
||
** Specify the code for this language.
|
||
***************************************/
|
||
{/* Specify the ll or ll_cc language code here. */
|
||
TIDY_LANGUAGE, 0, "en"
|
||
},
|
||
|
||
/*********************************************************************
|
||
** Options Documentation
|
||
** As of 2016-January these descriptions are used uniquely by the
|
||
** console application but are made available for LibTidy users as
|
||
** well. Because we generate documentation from these descriptions
|
||
** it's important to use ONLY the following tags:
|
||
** <code>, <em>, <strong>, <br/>, <p>
|
||
** Note that the xslt processor requires <br/> to be self closing!
|
||
** @remark enum source is TidyOptionId
|
||
*********************************************************************/
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyAccessibilityCheckLevel, 0,
|
||
"This option specifies what level of accessibility checking, if any, "
|
||
"that Tidy should perform. "
|
||
"<br/>"
|
||
"Level <var>0 (Tidy Classic)</var> performs no additional accessibility checking. "
|
||
"<br/>"
|
||
"Level <var>1 (Priority 1 Checks)</var> performs the Priority Level 1 checks."
|
||
"<br/>"
|
||
"Level <var>2 (Priority 2 Checks)</var> performs the Priority Level 1 and 2 checks."
|
||
"<br/>"
|
||
"Level <var>3 (Priority 3 Checks)</var> performs the Priority Level 1, 2, and 3 checks."
|
||
"<br/>"
|
||
"For more information on Tidy's accessibility checking, including the specific "
|
||
"checks that are made for each Priority Level, please visit "
|
||
"<a href=\"https://www.html-tidy.org/accessibility/\"> Tidy's Accessibility Page</a>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyAltText, 0,
|
||
"This option specifies the default <code>alt=</code> text Tidy uses for "
|
||
"<code><img></code> attributes when the <code>alt=</code> attribute "
|
||
"is missing. "
|
||
"<br/>"
|
||
"Use with care, as it is your responsibility to make your documents accessible "
|
||
"to people who cannot see the images. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyAnchorAsName, 0,
|
||
"This option controls the deletion or addition of the <code>name</code> "
|
||
"attribute in elements where it can serve as anchor. "
|
||
"<br/>"
|
||
"If set to <var>yes</var> a <code>name</code> attribute, if not already "
|
||
"existing, is added along an existing <code>id</code> attribute if the DTD "
|
||
"allows it. "
|
||
"<br/>"
|
||
"If set to <var>no</var> any existing name attribute is removed if an "
|
||
"<code>id</code> attribute exists or has been added. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyAsciiChars, 0,
|
||
"Can be used to modify behavior of the <code>clean</code> option when set "
|
||
"to <var>yes</var>. "
|
||
"<br/>"
|
||
"If set to <var>yes</var> when using <code>clean</code>, "
|
||
"<code>&emdash;</code>, <code>&rdquo;</code>, and other named "
|
||
"character entities are downgraded to their closest ASCII equivalents. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyBlockTags, 0,
|
||
"This option specifies new block-level tags. This option takes a space or "
|
||
"comma separated list of tag names. "
|
||
"<br/>"
|
||
"Unless you declare new tags, Tidy will refuse to generate a tidied file if "
|
||
"the input includes previously unknown tags. "
|
||
"<br/>"
|
||
"Note you can't change the content model for elements such as "
|
||
"<code><table></code>, <code><ul></code>, "
|
||
"<code><ol></code> and <code><dl></code>. "
|
||
"<br/>"
|
||
"This option is ignored in XML mode. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyBodyOnly, 0,
|
||
"This option specifies if Tidy should print only the contents of the "
|
||
"body tag as an HTML fragment. "
|
||
"<br/>"
|
||
"If set to <var>auto</var>, this is performed only if the body tag has "
|
||
"been inferred. "
|
||
"<br/>"
|
||
"Useful for incorporating existing whole pages as a portion of another "
|
||
"page. "
|
||
"<br/>"
|
||
"This option has no effect if XML output is requested. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyBreakBeforeBR, 0,
|
||
"This option specifies if Tidy should output a line break before each "
|
||
"<code><br></code> element. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyCharEncoding, 0,
|
||
"This option specifies the character encoding Tidy uses for input, and "
|
||
"when set, automatically chooses an appropriate character encoding to "
|
||
"be used for output. The output encoding Tidy chooses may be different "
|
||
"from the input encoding. "
|
||
"<br/>"
|
||
"For <var>ascii</var>, <var>latin0</var>, <var>ibm858</var>, "
|
||
"<var>mac</var>, and <var>win1252</var> input encodings, the "
|
||
"<code>output-encoding</code> option will automatically be set to "
|
||
"<var>ascii</var>. You can set <code>output-encoding</code> manually "
|
||
"to override this. "
|
||
"<br/>"
|
||
"For other input encodings, the <code>output-encoding</code> option "
|
||
"will automatically be set to the the same value. "
|
||
"<br/>"
|
||
"Regardless of the preset value, you can set "
|
||
"<code>output-encoding</code> manually to override this. "
|
||
"<br/>"
|
||
"Tidy is not an encoding converter. Although the Latin and UTF "
|
||
"encodings can be mixed freely, it is not possible to convert Asian "
|
||
"encodings to Latin encodings with Tidy. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyCoerceEndTags, 0,
|
||
"This option specifies if Tidy should coerce a start tag into an end tag "
|
||
"in cases where it looks like an end tag was probably intended; "
|
||
"for example, given "
|
||
"<br/>"
|
||
"<code><span>foo <b>bar<b> baz</span></code> "
|
||
"<br/>"
|
||
"Tidy will output "
|
||
"<br/>"
|
||
"<code><span>foo <b>bar</b> baz</span></code> "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyCSSPrefix, 0,
|
||
"This option specifies the prefix that Tidy uses for styles rules. "
|
||
"<br/>"
|
||
"By default, <var>c</var> will be used. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyDecorateInferredUL, 0,
|
||
"This option specifies if Tidy should decorate inferred "
|
||
"<code><ul></code> elements with some CSS markup to avoid indentation "
|
||
"to the right. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyDoctype, 0,
|
||
"This option specifies the DOCTYPE declaration generated by Tidy. "
|
||
"<br/>"
|
||
"If set to <var>omit</var> the output won't contain a DOCTYPE "
|
||
"declaration. Note this this also implies <code>numeric-entities</code> is "
|
||
"set to <var>yes</var>."
|
||
"<br/>"
|
||
"If set to <var>html5</var> the DOCTYPE is set to "
|
||
"<code><!DOCTYPE html></code>."
|
||
"<br/>"
|
||
"If set to <var>auto</var> (the default) Tidy will use an educated guess "
|
||
"based upon the contents of the document. Note that selecting this option "
|
||
"will <em>not</em> change the current document's DOCTYPE on output. "
|
||
"<br/>"
|
||
"If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
|
||
"XHTML1 strict DTD."
|
||
"<br/>"
|
||
"If set to <var>loose</var>, the DOCTYPE is set to the HTML4 or XHTML1 "
|
||
"loose (transitional) DTD."
|
||
"<br/>"
|
||
"Alternatively, you can supply a string for the formal public identifier "
|
||
"(FPI)."
|
||
"<br/>"
|
||
"For example: "
|
||
"<br/>"
|
||
"<code>doctype: \"-//ACME//DTD HTML 3.14159//EN\"</code>"
|
||
"<br/>"
|
||
"If you specify the FPI for an XHTML document, Tidy will set the "
|
||
"system identifier to an empty string. For an HTML document, Tidy adds a "
|
||
"system identifier only if one was already present in order to preserve "
|
||
"the processing mode of some browsers. Tidy leaves the DOCTYPE for "
|
||
"generic XML documents unchanged. "
|
||
"<br/>"
|
||
"This option does not offer a validation of document conformance. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyDropEmptyElems, 0,
|
||
"This option specifies if Tidy should discard empty elements. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyDropEmptyParas, 0,
|
||
"This option specifies if Tidy should discard empty paragraphs. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyDropPropAttrs, 0,
|
||
"This option specifies if Tidy should strip out proprietary attributes, "
|
||
"such as Microsoft data binding attributes. Additionally attributes "
|
||
"that aren't permitted in the output version of HTML will be dropped "
|
||
"if used with <code>strict-tags-attributes</code>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyDuplicateAttrs, 0,
|
||
"This option specifies if Tidy should keep the first or last attribute, if "
|
||
"an attribute is repeated, e.g. has two <code>align</code> attributes. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyEmacs, 0,
|
||
"This option specifies that Tidy should change the format for reporting "
|
||
"errors and warnings to a format that is more easily parsed by GNU Emacs "
|
||
"or some other program. It changes them from the default "
|
||
"<br/>"
|
||
" line <line number> column <column number> - (Error|Warning): <message> "
|
||
"<br/>"
|
||
"to a form which includes the input filename: "
|
||
"<br/>"
|
||
" <filename>:<line number>:<column number>: (Error|Warning): <message> "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyEmptyTags, 0,
|
||
"This option specifies new empty inline tags. This option takes a space "
|
||
"or comma separated list of tag names. "
|
||
"<br/>"
|
||
"Unless you declare new tags, Tidy will refuse to generate a tidied file if "
|
||
"the input includes previously unknown tags. "
|
||
"<br/>"
|
||
"Remember to also declare empty tags as either inline or blocklevel. "
|
||
"<br/>"
|
||
"This option is ignored in XML mode. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyEncloseBlockText, 0,
|
||
"This option specifies if Tidy should insert a <code><p></code> "
|
||
"element to enclose any text it finds in any element that allows mixed "
|
||
"content for HTML transitional but not HTML strict. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyEncloseBodyText, 0,
|
||
"This option specifies if Tidy should enclose any text it finds in the "
|
||
"body element within a <code><p></code> element."
|
||
"<br/>"
|
||
"This is useful when you want to take existing HTML and use it with a "
|
||
"style sheet. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyErrFile, 0,
|
||
"This option specifies the error file Tidy uses for errors and warnings. "
|
||
"Normally errors and warnings are output to <code>stderr</code>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyEscapeCdata, 0,
|
||
"This option specifies if Tidy should convert "
|
||
"<code><![CDATA[]]></code> sections to normal text. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyEscapeScripts, 0,
|
||
"This option causes items that look like closing tags, like "
|
||
"<code></g</code> to be escaped to <code><\\/g</code>. Set "
|
||
"this option to <var>no</var> if you do not want this."
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyFixBackslash, 0,
|
||
"This option specifies if Tidy should replace backslash characters "
|
||
"<code>\\</code> in URLs with forward slashes <code>/</code>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyFixComments, 0,
|
||
"This option specifies if Tidy should replace unexpected hyphens with "
|
||
"<code>=</code> characters when it comes across adjacent hyphens. "
|
||
"<br/>"
|
||
"The default is <var>auto</var> will which will act as <var>no</var> "
|
||
"for HTML5 document types, and <var>yes</var> for all other document "
|
||
"types. "
|
||
"<br/>"
|
||
"HTML has abandoned SGML comment syntax, and allows adjacent hyphens "
|
||
"for all versions of HTML, although XML and XHTML do not. If you plan "
|
||
"to support older browsers that require SGML comment syntax, then "
|
||
"consider setting this value to <var>yes</var>."
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyFixUri, 0,
|
||
"This option specifies if Tidy should check attribute values that carry "
|
||
"URIs for illegal characters and if such are found, escape them as HTML4 "
|
||
"recommends. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyForceOutput, 0,
|
||
"This option specifies if Tidy should produce output even if errors are "
|
||
"encountered. "
|
||
"<br/>"
|
||
"Use this option with care; if Tidy reports an error, this "
|
||
"means Tidy was not able to (or is not sure how to) fix the error, so the "
|
||
"resulting output may not reflect your intention. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyGDocClean, 0,
|
||
"This option specifies if Tidy should enable specific behavior for "
|
||
"cleaning up HTML exported from Google Docs. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyHideComments, 0,
|
||
"This option specifies if Tidy should not print out comments. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyHtmlOut, 0,
|
||
"This option specifies if Tidy should generate pretty printed output, "
|
||
"writing it as HTML. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyInCharEncoding, 0,
|
||
"This option specifies the character encoding Tidy uses for input. "
|
||
"Tidy makes certain assumptions about some of the input encodings. "
|
||
"<br/>"
|
||
"For <var>ascii</var>, Tidy will accept Latin-1 (ISO-8859-1) character "
|
||
"values and convert them to entities as necessary. "
|
||
"<br/>"
|
||
"For <var>raw</var>, Tidy will make no assumptions about the character "
|
||
"values and will pass them unchanged to output. "
|
||
"<br/>"
|
||
"For <var>mac</var> and <var>win1252</var>, vendor specific characters "
|
||
"values will be accepted and converted to entities as necessary. "
|
||
"<br/>"
|
||
"Asian encodings such as <var>iso2022</var> will be handled "
|
||
"appropriately assuming the corresponding <code>output-encoding</code> "
|
||
"is also specified. "
|
||
"<br/>"
|
||
"Tidy is not an encoding converter. Although the Latin and UTF "
|
||
"encodings can be mixed freely, it is not possible to convert Asian "
|
||
"encodings to Latin encodings with Tidy. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyIndentAttributes, 0,
|
||
"This option specifies if Tidy should begin each attribute on a new line. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyIndentCdata, 0,
|
||
"This option specifies if Tidy should indent "
|
||
"<code><![CDATA[]]></code> sections. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyIndentContent, 0,
|
||
"This option specifies if Tidy should indent block-level tags. "
|
||
"<br/>"
|
||
"If set to <var>auto</var> Tidy will decide whether or not to indent the "
|
||
"content of tags such as <code><title></code>, "
|
||
"<code><h1></code>-<code><h6></code>, <code><li></code>, "
|
||
"<code><td></code>, or <code><p></code> "
|
||
"based on the content including a block-level element. "
|
||
"<br/>"
|
||
"Setting <code>indent</code> to <var>yes</var> can expose layout bugs in "
|
||
"some browsers. "
|
||
"<br/>"
|
||
"Use the option <code>indent-spaces</code> to control the number of spaces "
|
||
"or tabs output per level of indent, and <code>indent-with-tabs</code> to "
|
||
"specify whether spaces or tabs are used. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyIndentSpaces, 0,
|
||
"This option specifies the number of spaces or tabs that Tidy uses to "
|
||
"indent content when <code>indent</code> is enabled. "
|
||
"<br/>"
|
||
"Note that the default value for this option is dependent upon the value of "
|
||
"<code>indent-with-tabs</code> (see also). "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyInlineTags, 0,
|
||
"This option specifies new non-empty inline tags. This option takes a "
|
||
"space or comma separated list of tag names. "
|
||
"<br/>"
|
||
"Unless you declare new tags, Tidy will refuse to generate a tidied file if "
|
||
"the input includes previously unknown tags. "
|
||
"<br/>"
|
||
"This option is ignored in XML mode. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyJoinClasses, 0,
|
||
"This option specifies if Tidy should combine class names to generate "
|
||
"a single, new class name if multiple class assignments are detected on "
|
||
"an element. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyJoinStyles, 0,
|
||
"This option specifies if Tidy should combine styles to generate a single, "
|
||
"new style if multiple style values are detected on an element. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyKeepFileTimes, 0,
|
||
"This option specifies if Tidy should keep the original modification time "
|
||
"of files that Tidy modifies in place. "
|
||
"<br/>"
|
||
"Setting the option to <var>yes</var> allows you to tidy files without "
|
||
"changing the file modification date, which may be useful with certain "
|
||
"tools that use the modification date for things such as automatic server "
|
||
"deployment."
|
||
"<br/>"
|
||
"Note this feature is not supported on some platforms. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyKeepTabs, 0,
|
||
"With the default <var>no</var> Tidy will replace all source tabs with spaces, "
|
||
"controlled by the option <code>tab-size</code>, and the current line offset. "
|
||
"Of course, except in the special blocks/elements enumerated below, this will later "
|
||
"be reduced to just one space. "
|
||
"<br/>"
|
||
"If set <var>yes</var> this option specifies Tidy should keep certain tabs "
|
||
"found in the source, but only "
|
||
"in preformatted blocks like <code><pre></code>, and other CDATA elements like "
|
||
"<code><script></code>, <code><style></code>, and other pseudo elements like "
|
||
"<code><?php ... ?></code>. As always, all other tabs, or sequences of tabs, in "
|
||
"the source will continue to be replaced with a space. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyLiteralAttribs, 0,
|
||
"This option specifies how Tidy deals with whitespace characters within "
|
||
"attribute values. "
|
||
"<br/>"
|
||
"If the value is <var>no</var> Tidy normalizes attribute values by "
|
||
"replacing any newline or tab with a single space, and further by replacing "
|
||
"any contiguous whitespace with a single space. "
|
||
"<br/>"
|
||
"To force Tidy to preserve the original, literal values of all attributes "
|
||
"and ensure that whitespace within attribute values is passed "
|
||
"through unchanged, set this option to <var>yes</var>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyLogicalEmphasis, 0,
|
||
"This option specifies if Tidy should replace any occurrence of "
|
||
"<code><i></code> with <code><em></code> and any occurrence of "
|
||
"<code><b></code> with <code><strong></code>. Any attributes "
|
||
"are preserved unchanged. "
|
||
"<br/>"
|
||
"This option can be set independently of the <code>clean</code> option. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyLowerLiterals, 0,
|
||
"This option specifies if Tidy should convert the value of an attribute "
|
||
"that takes a list of predefined values to lower case. "
|
||
"<br/>"
|
||
"This is required for XHTML documents. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyMakeBare, 0,
|
||
"This option specifies if Tidy should replace smart quotes and em dashes with "
|
||
"ASCII, and output spaces rather than non-breaking "
|
||
"spaces, where they exist in the input. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyMakeClean, 0,
|
||
"This option specifies if Tidy should perform cleaning of some legacy "
|
||
"presentational tags (currently <code><i></code>, "
|
||
"<code><b></code>, <code><center></code> when enclosed "
|
||
"within appropriate inline tags, and <code><font></code>). If "
|
||
"set to <var>yes</var>, then the legacy tags will be replaced with CSS "
|
||
"<code><style></code> tags and structural markup as appropriate. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyMark, 0,
|
||
"This option specifies if Tidy should add a <code>meta</code> element to "
|
||
"the document head to indicate that the document has been tidied. "
|
||
"<br/>"
|
||
"Tidy won't add a meta element if one is already present. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyMergeDivs, 0,
|
||
"This option can be used to modify the behavior of <code>clean</code> when "
|
||
"set to <var>yes</var>."
|
||
"<br/>"
|
||
"This option specifies if Tidy should merge nested <code><div></code> "
|
||
"such as <code><div><div>...</div></div></code>. "
|
||
"<br/>"
|
||
"If set to <var>auto</var> the attributes of the inner "
|
||
"<code><div></code> are moved to the outer one. Nested "
|
||
"<code><div></code> with <code>id</code> attributes are <em>not</em> "
|
||
"merged. "
|
||
"<br/>"
|
||
"If set to <var>yes</var> the attributes of the inner "
|
||
"<code><div></code> are discarded with the exception of "
|
||
"<code>class</code> and <code>style</code>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyMergeEmphasis, 0,
|
||
"This option specifies if Tidy should merge nested <code><b></code> "
|
||
"and <code><i></code> elements; for example, for the case "
|
||
"<br/>"
|
||
"<code><b class=\"rtop-2\">foo <b class=\"r2-2\">bar</b> baz</b></code>, "
|
||
"<br/>"
|
||
"Tidy will output <code><b class=\"rtop-2\">foo bar baz</b></code>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyMergeSpans, 0,
|
||
"This option can be used to modify the behavior of <code>clean</code> when "
|
||
"set to <var>yes</var>."
|
||
"<br/>"
|
||
"This option specifies if Tidy should merge nested <code><span></code> "
|
||
"such as <code><span><span>...</span></span></code>. "
|
||
"<br/>"
|
||
"The algorithm is identical to the one used by <code>merge-divs</code>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyNCR, 0,
|
||
"This option specifies if Tidy should allow numeric character references. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyNewline, 0,
|
||
"The default is appropriate to the current platform. "
|
||
"<br/>"
|
||
"Generally <var>CRLF</var> on PC-DOS, Windows and OS/2; <var>CR</var> "
|
||
"on Classic Mac OS; and <var>LF</var> everywhere else (Linux, macOS, "
|
||
"and Unix). "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyNumEntities, 0,
|
||
"This option specifies if Tidy should output entities other than the "
|
||
"built-in HTML entities (<code>&amp;</code>, <code>&lt;</code>, "
|
||
"<code>&gt;</code>, and <code>&quot;</code>) in the numeric rather "
|
||
"than the named entity form. "
|
||
"<br/>"
|
||
"Only entities compatible with the DOCTYPE declaration generated are used. "
|
||
"<br/>"
|
||
"Entities that can be represented in the output encoding are translated "
|
||
"correspondingly. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyOmitOptionalTags, 0,
|
||
"This option specifies if Tidy should omit optional start tags and end tags "
|
||
"when generating output. "
|
||
"<br/>"
|
||
"Setting this option causes all tags for the <code><html></code>, "
|
||
"<code><head></code>, and <code><body></code> elements to be "
|
||
"omitted from output, as well as such end tags as <code></p></code>, "
|
||
"<code></li></code>, <code></dt></code>, "
|
||
"<code></dd></code>, <code></option></code>, "
|
||
"<code></tr></code>, <code></td></code>, and "
|
||
"<code></th></code>. "
|
||
"<br/>"
|
||
"This option is ignored for XML output. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyOutCharEncoding, 0,
|
||
"This option specifies the character encoding Tidy uses for "
|
||
"output. Some of the output encodings affect whether or not "
|
||
"some characters are translated to entities, although in all "
|
||
"cases, some entities will be written according to other Tidy "
|
||
"configuration options. "
|
||
"<br/>"
|
||
"For <var>ascii</var>, <var>mac</var>, and <var>win1252</var> "
|
||
"output encodings, entities will be used for all characters "
|
||
"with values over 127. "
|
||
"<br/>"
|
||
"For <var>raw</var> output, Tidy will write values above 127 "
|
||
"without translating them to entities. "
|
||
"<br/>"
|
||
"Output using <var>latin1</var> will cause Tidy to write "
|
||
"character values higher than 255 as entities. "
|
||
"<br/>"
|
||
"The UTF family such as <var>utf8</var> will write output "
|
||
"in the respective UTF encoding. "
|
||
"<br/>"
|
||
"Asian output encodings such as <var>iso2022</var> will write "
|
||
"output in the specified encoding, assuming a corresponding "
|
||
"<code>input-encoding</code> was specified. "
|
||
"<br/>"
|
||
"Tidy is not an encoding converter. Although the Latin and UTF "
|
||
"encodings can be mixed freely, it is not possible to convert Asian "
|
||
"encodings to Latin encodings with Tidy. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyOutFile, 0,
|
||
"This option specifies the output file Tidy uses for markup. Normally "
|
||
"markup is written to <code>stdout</code>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyOutputBOM, 0,
|
||
"This option specifies if Tidy should write a Unicode Byte Order Mark "
|
||
"character (BOM; also known as Zero Width No-Break Space; has value of "
|
||
"U+FEFF) to the beginning of the output, and only applies to UTF-8 and "
|
||
"UTF-16 output encodings. "
|
||
"<br/>"
|
||
"If set to <var>auto</var> this option causes Tidy to write a BOM to "
|
||
"the output only if a BOM was present at the beginning of the input. "
|
||
"<br/>"
|
||
"A BOM is always written for XML/XHTML output using UTF-16 output "
|
||
"encodings. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyPPrintTabs, 0,
|
||
"This option specifies if Tidy should indent with tabs instead of spaces, "
|
||
"assuming <code>indent</code> is <var>yes</var>. "
|
||
"<br/>"
|
||
"Set it to <var>yes</var> to indent using tabs instead of the default "
|
||
"spaces. "
|
||
"<br/>"
|
||
"Use the option <code>indent-spaces</code> to control the number of tabs "
|
||
"output per level of indent. Note that when <code>indent-with-tabs</code> "
|
||
"is enabled the default value of <code>indent-spaces</code> is reset to "
|
||
"<var>1</var>. "
|
||
"<br/>"
|
||
"Note <code>tab-size</code> controls converting input tabs to spaces. Set "
|
||
"it to zero to retain input tabs. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyPreserveEntities, 0,
|
||
"This option specifies if Tidy should preserve well-formed entities "
|
||
"as found in the input. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyPreTags, 0,
|
||
"This option specifies new tags that are to be processed in exactly the "
|
||
"same way as HTML's <code><pre></code> element. This option takes a "
|
||
"space or comma separated list of tag names. "
|
||
"<br/>"
|
||
"Unless you declare new tags, Tidy will refuse to generate a tidied file if "
|
||
"the input includes previously unknown tags. "
|
||
"<br/>"
|
||
"Note you cannot as yet add new CDATA elements. "
|
||
"<br/>"
|
||
"This option is ignored in XML mode. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyPriorityAttributes, 0,
|
||
"This option allows prioritizing the writing of attributes in tidied "
|
||
"documents, allowing them to written before the other attributes of an "
|
||
"element. For example, you might specify that <strong>id</strong> and "
|
||
"<strong>name</strong> are written before every other attribute. "
|
||
"<br/>"
|
||
"This option takes a space or comma separated list of attribute names. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyPunctWrap, 0,
|
||
"This option specifies if Tidy should line wrap after some Unicode or "
|
||
"Chinese punctuation characters. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyQuiet, 0,
|
||
"When enabled, this option limits Tidy's non-document output to report "
|
||
"only document warnings and errors. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyQuoteAmpersand, 0,
|
||
"This option specifies if Tidy should output unadorned <code>&</code> "
|
||
"characters as <code>&amp;</code>, in legacy doctypes only. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyQuoteMarks, 0,
|
||
"This option specifies if Tidy should output <code>"</code> characters "
|
||
"as <code>&quot;</code> as is preferred by some editing environments. "
|
||
"<br/>"
|
||
"The apostrophe character <code>'</code> is written out as "
|
||
"<code>&#39;</code> since many web browsers don't yet support "
|
||
"<code>&apos;</code>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyQuoteNbsp, 0,
|
||
"This option specifies if Tidy should output non-breaking space characters "
|
||
"as entities, rather than as the Unicode character value 160 (decimal). "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyReplaceColor, 0,
|
||
"This option specifies if Tidy should replace numeric values in color "
|
||
"attributes with HTML/XHTML color names where defined, e.g. replace "
|
||
"<code>#ffffff</code> with <code>white</code>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyShowErrors, 0,
|
||
"This option specifies the number Tidy uses to determine if further errors "
|
||
"should be shown. If set to <var>0</var>, then no errors are shown. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyShowFilename, 0,
|
||
"This option specifies if Tidy should show the filename in messages. eg: "
|
||
"<br/>"
|
||
" tidy -q -e --show-filename yes index.html<br/>"
|
||
" index.html: line 43 column 3 - Warning: replacing invalid UTF-8 bytes (char. code U+00A9) "
|
||
},
|
||
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyShowInfo, 0,
|
||
"This option specifies if Tidy should display info-level messages. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyShowMarkup, 0,
|
||
"This option specifies if Tidy should generate a pretty printed version "
|
||
"of the markup. Note that Tidy won't generate a pretty printed version if "
|
||
"it finds significant errors (see <code>force-output</code>). "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyShowWarnings, 0,
|
||
"This option specifies if Tidy should suppress warnings. This can be "
|
||
"useful when a few errors are hidden in a flurry of warnings. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidySkipNested, 0,
|
||
"This option specifies that Tidy should skip nested tags when parsing "
|
||
"script and style data. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidySortAttributes, 0,
|
||
"This option specifies that Tidy should sort attributes within an element "
|
||
"using the specified sort algorithm. If set to <var>alpha</var>, the "
|
||
"algorithm is an ascending alphabetic sort. "
|
||
"<br/>"
|
||
"When used while sorting with <code>priority-attributes</code>, any "
|
||
"attribute sorting will take place after the priority attributes have "
|
||
"been output. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyMuteReports, 0,
|
||
"Use this option to prevent Tidy from displaying certain types of "
|
||
"report output, for example, for conditions that you wish to ignore. "
|
||
"<br/>"
|
||
"This option takes a list of one or more keys indicating the message "
|
||
"type to mute. You can discover these message keys by using the "
|
||
"<code>mute-id</code> configuration option and examining Tidy's "
|
||
"output. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyMuteShow, 0,
|
||
"This option indicates whether or not Tidy should display message ID's "
|
||
"with each of its error reports. This could be useful if you wanted to "
|
||
"use the <code>mute</code> configuration option in order to filter "
|
||
"out certain report messages. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyStrictTagsAttr, 0,
|
||
"This options ensures that tags and attributes are applicable for the "
|
||
"version of HTML that Tidy outputs. When set to <var>yes</var> and the "
|
||
"output document type is a strict doctype, then Tidy will report "
|
||
"errors. If the output document type is a loose or transitional "
|
||
"doctype, then Tidy will report warnings. "
|
||
"<br/>"
|
||
"Additionally if <code>drop-proprietary-attributes</code> is enabled, "
|
||
"then not applicable attributes will be dropped, too. "
|
||
"<br/>"
|
||
"When set to <var>no</var>, these checks are not performed. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyTabSize, 0,
|
||
"This option specifies the number of columns that Tidy uses between "
|
||
"successive tab stops. It is used to map tabs to spaces when reading the "
|
||
"input. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyUpperCaseAttrs, 0,
|
||
"This option specifies if Tidy should output attribute names in upper "
|
||
"case. "
|
||
"<br/>"
|
||
"When set to <var>no</var>, attribute names will be written in lower "
|
||
"case. Specifying <var>yes</var> will output attribute names in upper "
|
||
"case, and <var>preserve</var> can used to leave attribute names "
|
||
"untouched. "
|
||
"<br/>"
|
||
"When using XML input, the original case is always preserved. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyUpperCaseTags, 0,
|
||
"This option specifies if Tidy should output tag names in upper case. "
|
||
"<br/>"
|
||
"The default is <var>no</var> which results in lower case tag names, "
|
||
"except for XML input where the original case is preserved. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyUseCustomTags, 0,
|
||
"This option enables the use of tags for autonomous custom elements, "
|
||
"e.g. <code><flag-icon></code> with Tidy. Custom tags are "
|
||
"disabled if this value is <var>no</var>. Other settings - "
|
||
"<var>blocklevel</var>, <var>empty</var>, <var>inline</var>, and "
|
||
"<var>pre</var> will treat <em>all</em> detected custom tags "
|
||
"accordingly. "
|
||
"<br/>"
|
||
"The use of <code>new-blocklevel-tags</code>, "
|
||
"<code>new-empty-tags</code>, <code>new-inline-tags</code>, or "
|
||
"<code>new-pre-tags</code> will override the treatment of custom tags "
|
||
"by this configuration option. This may be useful if you have "
|
||
"different types of custom tags."
|
||
"<br/>"
|
||
"When enabled these tags are determined during the processing of your "
|
||
"document using opening tags; matching closing tags will be recognized "
|
||
"accordingly, and unknown closing tags will be discarded. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyVertSpace, 0,
|
||
"This option specifies if Tidy should add some extra empty lines for "
|
||
"readability. "
|
||
"<br/>"
|
||
"The default is <var>no</var>. "
|
||
"<br/>"
|
||
"If set to <var>auto</var> Tidy will eliminate nearly all newline "
|
||
"characters."
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyWarnPropAttrs, 0,
|
||
"This option specifies if Tidy should warn on proprietary attributes."
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyWord2000, 0,
|
||
"This option specifies if Tidy should go to great pains to strip out "
|
||
"all the surplus stuff Microsoft Word 2000 inserts when you save Word "
|
||
"documents as \"Web pages\". It doesn't handle embedded images or VML. "
|
||
"<br/>"
|
||
"You should consider saving using Word's <strong>Save As...</strong>, "
|
||
"and choosing <strong>Web Page, Filtered</strong>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyWrapAsp, 0,
|
||
"This option specifies if Tidy should line wrap text contained within ASP "
|
||
"pseudo elements, which look like: <code><% ... %></code>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyWrapAttVals, 0,
|
||
"This option specifies if Tidy should line-wrap attribute values, meaning "
|
||
"that if the value of an attribute causes a line to exceed the width "
|
||
"specified by <code>wrap</code>, Tidy will add one or more line breaks to "
|
||
"the value, causing it to be wrapped into multiple lines. "
|
||
"<br/>"
|
||
"Note that this option can be set independently of "
|
||
"<code>wrap-script-literals</code>. "
|
||
"By default Tidy replaces any newline or tab with a single space and "
|
||
"replaces any sequences of whitespace with a single space. "
|
||
"<br/>"
|
||
"To force Tidy to preserve the original, literal values of all attributes, "
|
||
"and ensure that whitespace characters within attribute values are passed "
|
||
"through unchanged, set <code>literal-attributes</code> to "
|
||
"<var>yes</var>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyWrapJste, 0,
|
||
"This option specifies if Tidy should line wrap text contained within "
|
||
"JSTE pseudo elements, which look like: <code><# ... #></code>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyWrapLen, 0,
|
||
"This option specifies the right margin Tidy uses for line wrapping. "
|
||
"<br/>"
|
||
"Tidy tries to wrap lines so that they do not exceed this length. "
|
||
"<br/>"
|
||
"Set <code>wrap</code> to <var>0</var> (zero) if you want to disable "
|
||
"line wrapping. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyWrapPhp, 0,
|
||
"This option specifies if Tidy should add a new line after a PHP "
|
||
"pseudo elements, which look like: <code><?php ... ?></code>. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyWrapScriptlets, 0,
|
||
"This option specifies if Tidy should line wrap string literals assigned "
|
||
"to element event handler attributes, such as element.onmouseover()."
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyWrapSection, 0,
|
||
"This option specifies if Tidy should line wrap text contained within "
|
||
"<code><![ ... ]></code> section tags. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyWriteBack, 0,
|
||
"This option specifies if Tidy should write back the tidied markup to the "
|
||
"same file it read from. "
|
||
"<br/>"
|
||
"You are advised to keep copies of important files before tidying them, as "
|
||
"on rare occasions the result may not be what you expect. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyXhtmlOut, 0,
|
||
"This option specifies if Tidy should generate pretty printed output, "
|
||
"writing it as extensible HTML. "
|
||
"<br/>"
|
||
"This option causes Tidy to set the DOCTYPE and default namespace as "
|
||
"appropriate to XHTML, and will use the corrected value in output "
|
||
"regardless of other sources. "
|
||
"<br/>"
|
||
"For XHTML, entities can be written as named or numeric entities according "
|
||
"to the setting of <code>numeric-entities</code>. "
|
||
"<br/>"
|
||
"The original case of tags and attributes will be preserved, regardless of "
|
||
"other options. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyXmlDecl, 0,
|
||
"This option specifies if Tidy should add the XML declaration when "
|
||
"outputting XML or XHTML. "
|
||
"<br/>"
|
||
"Note that if the input already includes an <code><?xml ... ?></code> "
|
||
"declaration then this option will be ignored. "
|
||
"<br/>"
|
||
"If the encoding for the output is different from <var>ascii</var>, one "
|
||
"of the <var>utf*</var> encodings, or <var>raw</var>, then the "
|
||
"declaration is always added as required by the XML standard. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyXmlOut, 0,
|
||
"This option specifies if Tidy should pretty print output, writing it as "
|
||
"well-formed XML. "
|
||
"<br/>"
|
||
"Any entities not defined in XML 1.0 will be written as numeric entities to "
|
||
"allow them to be parsed by an XML parser. "
|
||
"<br/>"
|
||
"The original case of tags and attributes will be preserved, regardless of "
|
||
"other options. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyXmlPIs, 0,
|
||
"This option specifies if Tidy should change the parsing of processing "
|
||
"instructions to require <code>?></code> as the terminator rather than "
|
||
"<code>></code>. "
|
||
"<br/>"
|
||
"This option is automatically set if the input is in XML. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyXmlSpace, 0,
|
||
"This option specifies if Tidy should add "
|
||
"<code>xml:space=\"preserve\"</code> to elements such as "
|
||
"<code><pre></code>, <code><style></code> and "
|
||
"<code><script></code> when generating XML. "
|
||
"<br/>"
|
||
"This is needed if the whitespace in such elements is to "
|
||
"be parsed appropriately without having access to the DTD. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyXmlTags, 0,
|
||
"This option specifies if Tidy should use the XML parser rather than the "
|
||
"error correcting HTML parser. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyMetaCharset, 0,
|
||
"This option, when enabled, adds a <code><meta></code> element "
|
||
"and sets the <code>charset</code> attribute to the encoding of the "
|
||
"document. Set this option to <var>yes</var> to enable it. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyShowMetaChange, 0,
|
||
"This option enables a message whenever Tidy changes the "
|
||
"<code>content</code> attribute of a meta charset declaration to match "
|
||
"the encoding of the document. Set this option to <var>yes</var> to "
|
||
"enable it. "
|
||
},
|
||
{/* Important notes for translators:
|
||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||
<br/>.
|
||
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||
- Option values should be enclosed in <var></var>.
|
||
- It's very important that <br/> be self-closing!
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||
be translated. */
|
||
TidyStyleTags, 0,
|
||
"This option specifies if Tidy should move all style tags to the "
|
||
"head of the document. "
|
||
},
|
||
|
||
|
||
/********************************************
|
||
** Message Severity Level
|
||
** @remark enum source TidyConfigCategory
|
||
********************************************/
|
||
{ TidyInfo, 0, "Info: " },
|
||
{ TidyWarning, 0, "Warning: " },
|
||
{ TidyConfig, 0, "Config: " },
|
||
{ TidyAccess, 0, "Access: " },
|
||
{ TidyError, 0, "Error: " },
|
||
{ TidyBadDocument, 0, "Document: " },
|
||
{ TidyFatal, 0, "Panic: " },
|
||
{ TidyDialogueSummary, 0, "Summary: " },
|
||
{ TidyDialogueInfo, 0, "Information: " },
|
||
{ TidyDialogueFootnote, 0, "Footnote: " },
|
||
|
||
|
||
/********************************************
|
||
** Miscellaneous Strings
|
||
** @remark enum source TidyStrings
|
||
** @remark enum generator FOREACH_MSG_MISC
|
||
********************************************/
|
||
{ LINE_COLUMN_STRING, 0, "line %d column %d - " },
|
||
{ FN_LINE_COLUMN_STRING, 0, "%s: line %d column %d - " },
|
||
{/* For example, "discarding invalid UTF-16 surrogate pair" */
|
||
STRING_DISCARDING, 0, "discarding"
|
||
},
|
||
{ STRING_ERROR_COUNT_ERROR, 0, "error" },
|
||
{ STRING_ERROR_COUNT_ERROR, 1, "errors" },
|
||
{ STRING_ERROR_COUNT_WARNING, 0, "warning" },
|
||
{ STRING_ERROR_COUNT_WARNING, 1, "warnings" },
|
||
{ STRING_HELLO_ACCESS, 0, "\nAccessibility Checks:\n" },
|
||
{/* This is not a formal name and can be translated. */
|
||
STRING_HTML_PROPRIETARY, 0, "HTML Proprietary"
|
||
},
|
||
{ STRING_XML_DECLARATION, 0, "XML declaration" },
|
||
{ STRING_PLAIN_TEXT, 0, "plain text" },
|
||
{/* For example, "replacing invalid UTF-8 bytes" */
|
||
STRING_REPLACING, 0, "replacing"
|
||
},
|
||
{/* For example, "you should avoid using the specified encoding." */
|
||
STRING_SPECIFIED, 0, "specified"
|
||
},
|
||
{ TIDYCUSTOMNO_STRING, 0, "no" },
|
||
{ TIDYCUSTOMBLOCKLEVEL_STRING, 0, "block level" },
|
||
{ TIDYCUSTOMEMPTY_STRING, 0, "empty" },
|
||
{ TIDYCUSTOMINLINE_STRING, 0, "inline" },
|
||
{ TIDYCUSTOMPRE_STRING, 0, "pre" },
|
||
|
||
|
||
/********************************************
|
||
** Footnote Strings
|
||
** @remark enum source TidyStrings
|
||
** @rename enum generator FOREACH_FOOTNOTE_MSG
|
||
********************************************/
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_HTML_T_ALGORITHM, 0,
|
||
"\n"
|
||
" - First, search left from the cell's position to find row header cells.\n"
|
||
" - Then search upwards to find column header cells.\n"
|
||
" - The search in a given direction stops when the edge of the table is\n"
|
||
" reached or when a data cell is found after a header cell.\n"
|
||
" - Row headers are inserted into the list in the order they appear in\n"
|
||
" the table. \n"
|
||
" - For left-to-right tables, headers are inserted from left to right.\n"
|
||
" - Column headers are inserted after row headers, in \n"
|
||
" the order they appear in the table, from top to bottom. \n"
|
||
" - If a header cell has the headers attribute set, then the headers \n"
|
||
" referenced by this attribute are inserted into the list and the \n"
|
||
" search stops for the current direction.\n"
|
||
" TD cells that set the axis attribute are also treated as header cells.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- %s represents a string-encoding name which may be localized in your language. */
|
||
TEXT_VENDOR_CHARS, 0,
|
||
"It is unlikely that vendor-specific, system-dependent encodings\n"
|
||
"work widely enough on the World Wide Web; you should avoid using the \n"
|
||
"%s character encoding, instead you are recommended to\n"
|
||
"use named entities, e.g. ™.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- %s represents a string-encoding name which may be localized in your language.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TEXT_SGML_CHARS, 0,
|
||
"Character codes 128 to 159 (U+0080 to U+009F) are not allowed in HTML;\n"
|
||
"even if they were, they would likely be unprintable control characters.\n"
|
||
"Tidy assumed you wanted to refer to a character with the same byte value in the \n"
|
||
"%s encoding and replaced that reference with the Unicode \n"
|
||
"equivalent.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_INVALID_UTF8, 0,
|
||
"Character codes for UTF-8 must be in the range: U+0000 to U+10FFFF.\n"
|
||
"The definition of UTF-8 in Annex D of ISO/IEC 10646-1:2000 also\n"
|
||
"allows for the use of five- and six-byte sequences to encode\n"
|
||
"characters that are outside the range of the Unicode character set;\n"
|
||
"those five- and six-byte sequences are illegal for the use of\n"
|
||
"UTF-8 as a transformation of Unicode characters. ISO/IEC 10646\n"
|
||
"does not allow mapping of unpaired surrogates, nor U+FFFE and U+FFFF\n"
|
||
"(but it does allow other noncharacters). For more information please refer to\n"
|
||
"https://home.unicode.org/ and https://www.cl.cam.ac.uk/~mgk25/unicode.html\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_INVALID_UTF16, 0,
|
||
"Character codes for UTF-16 must be in the range: U+0000 to U+10FFFF.\n"
|
||
"The definition of UTF-16 in Annex C of ISO/IEC 10646-1:2000 does not allow the\n"
|
||
"mapping of unpaired surrogates. For more information please refer to\n"
|
||
"https://home.unicode.org/ and https://www.cl.cam.ac.uk/~mgk25/unicode.html\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TEXT_INVALID_URI, 0,
|
||
"URIs must be properly escaped, they must not contain unescaped\n"
|
||
"characters below U+0021 including the space character and not\n"
|
||
"above U+007E. Tidy escapes the URI for you as recommended by\n"
|
||
"HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents\n"
|
||
"use another algorithm to escape such URIs and some server-sided\n"
|
||
"scripts depend on that. If you want to depend on that, you must\n"
|
||
"escape the URI on your own. For more information please refer to\n"
|
||
"https://www.w3.org/International/O-URL-and-ident.html\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_BAD_FORM, 0,
|
||
"You may need to move one or both of the <form> and </form>\n"
|
||
"tags. HTML elements should be properly nested and form elements\n"
|
||
"are no exception. For instance you should not place the <form>\n"
|
||
"in one table cell and the </form> in another. If the <form> is\n"
|
||
"placed before a table, the </form> cannot be placed inside the\n"
|
||
"table! Note that one form can't be nested inside another!\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_BAD_MAIN, 0,
|
||
"Only one <main> element is allowed in a document.\n"
|
||
"Subsequent <main> elements have been discarded, which may\n"
|
||
"render the document invalid.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_M_SUMMARY, 0,
|
||
"The table summary attribute should be used to describe\n"
|
||
"the table structure. It is very helpful for people using\n"
|
||
"non-visual browsers. The scope and headers attributes for\n"
|
||
"table cells are useful for specifying which headers apply\n"
|
||
"to each table cell, enabling non-visual browsers to provide\n"
|
||
"a meaningful context for each cell.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_M_IMAGE_ALT, 0,
|
||
"The alt attribute should be used to give a short description\n"
|
||
"of an image; longer descriptions should be given with the\n"
|
||
"longdesc attribute which takes a URL linked to the description.\n"
|
||
"These measures are needed for people using non-graphical browsers.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_M_IMAGE_MAP, 0,
|
||
"Use client-side image maps in preference to server-side image\n"
|
||
"maps as the latter are inaccessible to people using non-\n"
|
||
"graphical browsers. In addition, client-side maps are easier\n"
|
||
"to set up and provide immediate feedback to users.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_M_LINK_ALT, 0,
|
||
"For hypertext links defined using a client-side image map, you\n"
|
||
"need to use the alt attribute to provide a textual description\n"
|
||
"of the link for people using non-graphical browsers.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_USING_FRAMES, 0,
|
||
"Pages designed using frames present problems for\n"
|
||
"people who are either blind or using a browser that\n"
|
||
"doesn't support frames. A frames-based page should always\n"
|
||
"include an alternative layout inside a NOFRAMES element.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
FOOTNOTE_TRIM_EMPTY_ELEMENT, 0,
|
||
"One or more empty elements were present in the source document but\n"
|
||
"dropped on output. If these elements are necessary or you don't want\n"
|
||
"this behavior, then consider setting the option \"drop-empty-elements\"\n"
|
||
"to no.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The URL should not be translated unless you find a matching URL in your language. */
|
||
TEXT_ACCESS_ADVICE1, 0,
|
||
"For further advice on how to make your pages accessible\n"
|
||
"see https://www.w3.org/WAI/GL."
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The URL should not be translated unless you find a matching URL in your language. */
|
||
TEXT_ACCESS_ADVICE2, 0,
|
||
"For further advice on how to make your pages accessible\n"
|
||
"see https://www.w3.org/WAI/GL and https://www.html-tidy.org/accessibility/."
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_USING_LAYER, 0,
|
||
"The Cascading Style Sheets (CSS) Positioning mechanism\n"
|
||
"is recommended in preference to the proprietary <LAYER>\n"
|
||
"element due to limited vendor support for LAYER.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_USING_SPACER, 0,
|
||
"You are recommended to use CSS for controlling white\n"
|
||
"space (e.g. for indentation, margins and line spacing).\n"
|
||
"The proprietary <SPACER> element has limited vendor support.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_USING_FONT, 0,
|
||
"You are recommended to use CSS to specify the font and\n"
|
||
"properties such as its size and color. This will reduce\n"
|
||
"the size of HTML files and make them easier to maintain\n"
|
||
"compared with using <FONT> elements.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_USING_NOBR, 0,
|
||
"You are recommended to use CSS to control line wrapping.\n"
|
||
"Use \"white-space: nowrap\" to inhibit wrapping in place\n"
|
||
"of inserting <NOBR>...</NOBR> into the markup.\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line. */
|
||
TEXT_USING_BODY, 0,
|
||
"You are recommended to use CSS to specify page and link colors"
|
||
},
|
||
|
||
/********************************************
|
||
** Miscellaneous Dialogue Strings
|
||
** @remark enum source TidyStrings
|
||
** @rename enum generator FOREACH_DIALOG_MSG
|
||
********************************************/
|
||
{ STRING_CONTENT_LOOKS, 0, "Document content looks like %s" },
|
||
{ STRING_DOCTYPE_GIVEN, 0, "Doctype given is \"%s\"" },
|
||
{/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
STRING_ERROR_COUNT, 0, "Tidy found %u %s and %u %s!\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
STRING_NEEDS_INTERVENTION, 0,
|
||
"This document has errors that must be fixed before\n"
|
||
"using HTML Tidy to generate a tidied up version.\n"
|
||
},
|
||
{ STRING_NO_ERRORS, 0, "No warnings or errors were found.\n" },
|
||
{ STRING_NO_SYSID, 0, "No system identifier in emitted doctype" },
|
||
{ STRING_NOT_ALL_SHOWN, 0, "Tidy found %u %s and %u %s! Not all warnings/errors were shown.\n" },
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TEXT_GENERAL_INFO, 0,
|
||
"About HTML Tidy: https://github.com/htacg/tidy-html5\n"
|
||
"Bug reports and comments: https://github.com/htacg/tidy-html5/issues\n"
|
||
"Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/\n"
|
||
"Latest HTML specification: https://html.spec.whatwg.org/multipage/\n"
|
||
"Validate your HTML documents: https://validator.w3.org/nu/\n"
|
||
"Lobby your company to join the W3C: https://www.w3.org/Consortium\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||
- Don't terminate the last line with a newline. */
|
||
TEXT_GENERAL_INFO_PLEA, 0,
|
||
"Do you speak a language other than English, or a different variant of \n"
|
||
"English? Consider helping us to localize HTML Tidy. For details please see \n"
|
||
"https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md"
|
||
},
|
||
|
||
|
||
/********************************************
|
||
** Report Output
|
||
** @remark enum source TidyStrings
|
||
** @rename enum generator FOREACH_REPORT_MSG
|
||
********************************************/
|
||
{ ADDED_MISSING_CHARSET, 0, "Added appropriate missing <meta charset=...> to %s" },
|
||
{ ANCHOR_NOT_UNIQUE, 0, "%s anchor \"%s\" already defined" },
|
||
{ ANCHOR_DUPLICATED, 0, "Implicit %s anchor \"%s\" duplicated by Tidy." },
|
||
{ APOS_UNDEFINED, 0, "named entity ' only defined in XML/XHTML" },
|
||
{ ATTR_VALUE_NOT_LCASE, 0, "%s attribute value \"%s\" must be lower case for XHTML" },
|
||
{ ATTRIBUTE_IS_NOT_ALLOWED, 0, "%s attribute \"is\" not allowed for autonomous custom tags." },
|
||
{ ATTRIBUTE_VALUE_REPLACED, 0, "%s attribute \"%s\", incorrect value \"%s\" replaced" },
|
||
{ BACKSLASH_IN_URI, 0, "%s URI reference contains backslash. Typo?" },
|
||
{ BAD_ATTRIBUTE_VALUE_REPLACED, 0, "%s attribute \"%s\" had invalid value \"%s\" and has been replaced" },
|
||
{ BAD_ATTRIBUTE_VALUE, 0, "%s attribute \"%s\" has invalid value \"%s\"" },
|
||
{ BAD_CDATA_CONTENT, 0, "'<' + '/' + letter not allowed here" },
|
||
{ BAD_SUMMARY_HTML5, 0, "The summary attribute on the %s element is obsolete in HTML5" },
|
||
{ BAD_SURROGATE_LEAD, 0, "Trailing (Low) surrogate pair U+%04X, with no leading (High) entity, replaced with U+FFFD." },
|
||
{ BAD_SURROGATE_PAIR, 0, "Have out-of-range surrogate pair U+%04X:U+%04X, replaced with U+FFFD value." },
|
||
{ BAD_SURROGATE_TAIL, 0, "Leading (High) surrogate pair U+%04X, with no trailing (Low) entity, replaced with U+FFFD." },
|
||
{ CANT_BE_NESTED, 0, "%s can't be nested" },
|
||
{ COERCE_TO_ENDTAG, 0, "<%s> is probably intended as </%s>" },
|
||
{ CONTENT_AFTER_BODY, 0, "content occurs after end of body" },
|
||
{ CUSTOM_TAG_DETECTED, 0, "detected autonomous custom tag %s; will treat as %s" },
|
||
{ DISCARDING_UNEXPECTED, 0, "discarding unexpected %s" },
|
||
{ DOCTYPE_AFTER_TAGS, 0, "<!DOCTYPE> isn't allowed after elements" },
|
||
{ DUPLICATE_FRAMESET, 0, "repeated FRAMESET element" },
|
||
{ ELEMENT_NOT_EMPTY, 0, "%s element not empty or not closed" },
|
||
{ ELEMENT_VERS_MISMATCH_ERROR, 0, "%s element not available in %s" },
|
||
{ ELEMENT_VERS_MISMATCH_WARN, 0, "%s element not available in %s" },
|
||
{ ENCODING_MISMATCH, 0, "specified input encoding (%s) does not match actual input encoding (%s)" },
|
||
{ ESCAPED_ILLEGAL_URI, 0, "%s escaping malformed URI reference" },
|
||
{ FILE_CANT_OPEN, 0, "Can't open \"%s\"\n" },
|
||
{ FILE_CANT_OPEN_CFG, 0, "Can't open configuration file \"%s\"\n" },
|
||
{ FILE_NOT_FILE, 0, "\"%s\" is not a file!\n" },
|
||
{ FIXED_BACKSLASH, 0, "%s converting backslash in URI to slash" },
|
||
{ FOUND_STYLE_IN_BODY, 0, "found <style> tag in <body>! fix-style-tags: yes to move." },
|
||
{ ID_NAME_MISMATCH, 0, "%s id and name attribute value mismatch" },
|
||
{ ILLEGAL_NESTING, 0, "%s shouldn't be nested" },
|
||
{ ILLEGAL_URI_CODEPOINT, 0, "%s illegal characters found in URI" },
|
||
{ ILLEGAL_URI_REFERENCE, 0, "%s improperly escaped URI reference" },
|
||
{ INSERTING_AUTO_ATTRIBUTE, 0, "%s inserting \"%s\" attribute using value \"%s\"" },
|
||
{ INSERTING_TAG, 0, "inserting implicit <%s>" },
|
||
{ INVALID_ATTRIBUTE, 0, "%s attribute name \"%s\" (value=\"%s\") is invalid" },
|
||
{ INVALID_NCR, 0, "%s invalid numeric character reference %s" },
|
||
{ INVALID_SGML_CHARS, 0, "%s invalid character code %s" },
|
||
{ INVALID_UTF8, 0, "%s invalid UTF-8 bytes (char. code %s)" },
|
||
{ INVALID_UTF16, 0, "%s invalid UTF-16 surrogate pair (char. code %s)" },
|
||
{ INVALID_XML_ID, 0, "%s cannot copy name attribute to id" },
|
||
{ JOINING_ATTRIBUTE, 0, "%s joining values of repeated attribute \"%s\"" },
|
||
{ MALFORMED_COMMENT, 0, "tidy replaced adjacent \"-\" with \"=\"" },
|
||
{ MALFORMED_COMMENT_DROPPING, 0, "dropping a possible comment due to a missing hyphen" },
|
||
{ MALFORMED_COMMENT_EOS, 0, "the end of the document was reached before the end of the comment" },
|
||
{ MALFORMED_COMMENT_WARN, 0, "detected adjacent hyphens within the comment; consider fix-bad-comments" },
|
||
{ MALFORMED_DOCTYPE, 0, "discarding malformed <!DOCTYPE>" },
|
||
{ MISMATCHED_ATTRIBUTE_ERROR, 0, "%s attribute \"%s\" not allowed for %s" },
|
||
{ MISMATCHED_ATTRIBUTE_WARN, 0, "%s attribute \"%s\" not allowed for %s" },
|
||
{ MISSING_ATTR_VALUE, 0, "%s attribute \"%s\" lacks value" },
|
||
{ MISSING_ATTRIBUTE, 0, "%s lacks \"%s\" attribute" },
|
||
{ MISSING_DOCTYPE, 0, "missing <!DOCTYPE> declaration" },
|
||
{ MISSING_ENDTAG_BEFORE, 0, "missing </%s> before %s" },
|
||
{ MISSING_ENDTAG_FOR, 0, "missing </%s>" },
|
||
{ MISSING_ENDTAG_OPTIONAL, 0, "missing optional end tag </%s>" },
|
||
{ MISSING_IMAGEMAP, 0, "%s should use client-side image map" },
|
||
{ MISSING_QUOTEMARK, 0, "%s attribute with missing trailing quote mark" },
|
||
{ MISSING_QUOTEMARK_OPEN, 0, "value for attribute \"%s\" missing quote marks" },
|
||
{ MISSING_SEMICOLON_NCR, 0, "numeric character reference \"%s\" doesn't end in ';'" },
|
||
{ MISSING_SEMICOLON, 0, "entity \"%s\" doesn't end in ';'" },
|
||
{ MISSING_STARTTAG, 0, "missing <%s>" },
|
||
{ MISSING_TITLE_ELEMENT, 0, "inserting missing 'title' element" },
|
||
{ MOVED_STYLE_TO_HEAD, 0, "moved <style> tag to <head>! fix-style-tags: no to avoid." },
|
||
{ NESTED_EMPHASIS, 0, "nested emphasis %s" },
|
||
{ NESTED_QUOTATION, 0, "nested q elements, possible typo." },
|
||
{ NEWLINE_IN_URI, 0, "%s discarding newline in URI reference" },
|
||
{ NOFRAMES_CONTENT, 0, "%s not inside 'noframes' element" },
|
||
{ NON_MATCHING_ENDTAG, 0, "replacing unexpected %s with </%s>" },
|
||
{ OBSOLETE_ELEMENT, 0, "replacing obsolete element %s with %s" },
|
||
{ OPTION_REMOVED, 0, "option \"%s\" no longer exists, and no replacement could be found." },
|
||
{ OPTION_REMOVED_APPLIED, 0, "option \"%s\" replaced with \"%s\", which Tidy has set to \"%s\"." },
|
||
{ OPTION_REMOVED_UNAPPLIED, 0, "option \"%s\" replaced with \"%s\", but Tidy could not set it for you." },
|
||
{ PREVIOUS_LOCATION, 0, "<%s> previously mentioned" },
|
||
{ PROPRIETARY_ATTR_VALUE, 0, "%s proprietary attribute value \"%s\"" },
|
||
{ PROPRIETARY_ATTRIBUTE, 0, "%s proprietary attribute \"%s\"" },
|
||
{ PROPRIETARY_ELEMENT, 0, "%s is not approved by W3C" },
|
||
{ REMOVED_HTML5, 0, "%s element removed from HTML5" },
|
||
{ REPEATED_ATTRIBUTE, 0, "%s dropping value \"%s\" for repeated attribute \"%s\"" },
|
||
{ REPLACING_ELEMENT, 0, "replacing %s with %s" },
|
||
{ REPLACING_UNEX_ELEMENT, 0, "replacing unexpected %s with %s" },
|
||
{ SPACE_PRECEDING_XMLDECL, 0, "removing whitespace preceding XML Declaration" },
|
||
{ STRING_ARGUMENT_BAD, 0, "option \"%s\" given bad argument \"%s\"" },
|
||
{ STRING_MISSING_MALFORMED, 0, "missing or malformed argument for option: %s" },
|
||
{ STRING_MUTING_TYPE, 0, "messages of type \"%s\" will not be output" },
|
||
{ STRING_UNKNOWN_OPTION, 0, "unknown option: %s" },
|
||
{ SUSPECTED_MISSING_QUOTE, 0, "suspected missing quote mark for attribute value" },
|
||
{ TAG_NOT_ALLOWED_IN, 0, "%s isn't allowed in <%s> elements" },
|
||
{ TOO_MANY_ELEMENTS_IN, 0, "too many %s elements in <%s>" },
|
||
{ TOO_MANY_ELEMENTS, 0, "too many %s elements" },
|
||
{ TRIM_EMPTY_ELEMENT, 0, "trimming empty %s" },
|
||
{ UNESCAPED_AMPERSAND, 0, "unescaped & which should be written as &" },
|
||
{ UNEXPECTED_END_OF_FILE_ATTR, 0, "%s end of file while parsing attributes" },
|
||
{ UNEXPECTED_END_OF_FILE, 0, "unexpected end of file %s" },
|
||
{ UNEXPECTED_ENDTAG_ERR, 0, "unexpected </%s>" },
|
||
{ UNEXPECTED_ENDTAG_IN, 0, "unexpected </%s> in <%s>" },
|
||
{ UNEXPECTED_ENDTAG, 0, "unexpected </%s>" },
|
||
{ UNEXPECTED_EQUALSIGN, 0, "%s unexpected '=', expected attribute name" },
|
||
{ UNEXPECTED_GT, 0, "%s missing '>' for end of tag" },
|
||
{ UNEXPECTED_QUOTEMARK, 0, "%s unexpected or duplicate quote mark" },
|
||
{ UNKNOWN_ELEMENT_LOOKS_CUSTOM, 0, "%s is not recognized! Did you mean to enable the custom-tags option?" },
|
||
{ UNKNOWN_ELEMENT, 0, "%s is not recognized!" },
|
||
{ UNKNOWN_ENTITY, 0, "unescaped & or unknown entity \"%s\"" },
|
||
{ USING_BR_INPLACE_OF, 0, "using <br> in place of %s" },
|
||
{ VENDOR_SPECIFIC_CHARS, 0, "%s invalid character code %s" },
|
||
{ WHITE_IN_URI, 0, "%s discarding whitespace in URI reference" },
|
||
{ XML_DECLARATION_DETECTED, 0, "An XML declaration was detected. Did you mean to use input-xml?" },
|
||
{ XML_ID_SYNTAX, 0, "%s ID \"%s\" uses XML ID syntax" },
|
||
{ BLANK_TITLE_ELEMENT, 0, "blank 'title' element" },
|
||
|
||
|
||
/***************************************
|
||
** Report Output -- Accessibility
|
||
***************************************/
|
||
{ IMG_MISSING_ALT, 0, "[1.1.1.1]: <img> missing 'alt' text." },
|
||
{ IMG_ALT_SUSPICIOUS_FILENAME, 0, "[1.1.1.2]: suspicious 'alt' text (filename)." },
|
||
{ IMG_ALT_SUSPICIOUS_FILE_SIZE, 0, "[1.1.1.3]: suspicious 'alt' text (file size)." },
|
||
{ IMG_ALT_SUSPICIOUS_PLACEHOLDER, 0, "[1.1.1.4]: suspicious 'alt' text (placeholder)." },
|
||
{ IMG_ALT_SUSPICIOUS_TOO_LONG, 0, "[1.1.1.10]: suspicious 'alt' text (too long)." },
|
||
{ IMG_MISSING_LONGDESC_DLINK, 0, "[1.1.2.1]: <img> missing 'longdesc' and d-link." },
|
||
{ IMG_MISSING_DLINK, 0, "[1.1.2.2]: <img> missing d-link." },
|
||
{ IMG_MISSING_LONGDESC, 0, "[1.1.2.3]: <img> missing 'longdesc'." },
|
||
{ IMG_BUTTON_MISSING_ALT, 0, "[1.1.3.1]: <img> (button) missing 'alt' text." },
|
||
{ APPLET_MISSING_ALT, 0, "[1.1.4.1]: <applet> missing alternate content." },
|
||
{ OBJECT_MISSING_ALT, 0, "[1.1.5.1]: <object> missing alternate content." },
|
||
{ AUDIO_MISSING_TEXT_WAV, 0, "[1.1.6.1]: audio missing text transcript (wav)." },
|
||
{ AUDIO_MISSING_TEXT_AU, 0, "[1.1.6.2]: audio missing text transcript (au)." },
|
||
{ AUDIO_MISSING_TEXT_AIFF, 0, "[1.1.6.3]: audio missing text transcript (aiff)." },
|
||
{ AUDIO_MISSING_TEXT_SND, 0, "[1.1.6.4]: audio missing text transcript (snd)." },
|
||
{ AUDIO_MISSING_TEXT_RA, 0, "[1.1.6.5]: audio missing text transcript (ra)." },
|
||
{ AUDIO_MISSING_TEXT_RM, 0, "[1.1.6.6]: audio missing text transcript (rm)." },
|
||
{ FRAME_MISSING_LONGDESC, 0, "[1.1.8.1]: <frame> may require 'longdesc'." },
|
||
{ AREA_MISSING_ALT, 0, "[1.1.9.1]: <area> missing 'alt' text." },
|
||
{ SCRIPT_MISSING_NOSCRIPT, 0, "[1.1.10.1]: <script> missing <noscript> section." },
|
||
{ ASCII_REQUIRES_DESCRIPTION, 0, "[1.1.12.1]: ascii art requires description." },
|
||
{ IMG_MAP_SERVER_REQUIRES_TEXT_LINKS, 0, "[1.2.1.1]: image map (server-side) requires text links." },
|
||
{ MULTIMEDIA_REQUIRES_TEXT, 0, "[1.4.1.1]: multimedia requires synchronized text equivalents." },
|
||
{ IMG_MAP_CLIENT_MISSING_TEXT_LINKS, 0, "[1.5.1.1]: image map (client-side) missing text links." },
|
||
{ INFORMATION_NOT_CONVEYED_IMAGE, 0, "[2.1.1.1]: ensure information not conveyed through color alone (image)." },
|
||
{ INFORMATION_NOT_CONVEYED_APPLET, 0, "[2.1.1.2]: ensure information not conveyed through color alone (applet)." },
|
||
{ INFORMATION_NOT_CONVEYED_OBJECT, 0, "[2.1.1.3]: ensure information not conveyed through color alone (object)." },
|
||
{ INFORMATION_NOT_CONVEYED_SCRIPT, 0, "[2.1.1.4]: ensure information not conveyed through color alone (script)." },
|
||
{ INFORMATION_NOT_CONVEYED_INPUT, 0, "[2.1.1.5]: ensure information not conveyed through color alone (input)." },
|
||
{ COLOR_CONTRAST_TEXT, 0, "[2.2.1.1]: poor color contrast (text)." },
|
||
{ COLOR_CONTRAST_LINK, 0, "[2.2.1.2]: poor color contrast (link)." },
|
||
{ COLOR_CONTRAST_ACTIVE_LINK, 0, "[2.2.1.3]: poor color contrast (active link)." },
|
||
{ COLOR_CONTRAST_VISITED_LINK, 0, "[2.2.1.4]: poor color contrast (visited link)." },
|
||
{ DOCTYPE_MISSING, 0, "[3.2.1.1]: <doctype> missing." },
|
||
{ STYLE_SHEET_CONTROL_PRESENTATION, 0, "[3.3.1.1]: use style sheets to control presentation." },
|
||
{ HEADERS_IMPROPERLY_NESTED, 0, "[3.5.1.1]: headers improperly nested." },
|
||
{ POTENTIAL_HEADER_BOLD, 0, "[3.5.2.1]: potential header (bold)." },
|
||
{ POTENTIAL_HEADER_ITALICS, 0, "[3.5.2.2]: potential header (italics)." },
|
||
{ POTENTIAL_HEADER_UNDERLINE, 0, "[3.5.2.3]: potential header (underline)." },
|
||
{ HEADER_USED_FORMAT_TEXT, 0, "[3.5.3.1]: header used to format text." },
|
||
{ LIST_USAGE_INVALID_UL, 0, "[3.6.1.1]: list usage invalid <ul>." },
|
||
{ LIST_USAGE_INVALID_OL, 0, "[3.6.1.2]: list usage invalid <ol>." },
|
||
{ LIST_USAGE_INVALID_LI, 0, "[3.6.1.4]: list usage invalid <li>." },
|
||
{ LANGUAGE_NOT_IDENTIFIED, 0, "[4.3.1.1]: language not identified." },
|
||
{ LANGUAGE_INVALID, 0, "[4.3.1.2]: language attribute invalid." },
|
||
{ DATA_TABLE_MISSING_HEADERS, 0, "[5.1.2.1]: data <table> missing row/column headers (all)." },
|
||
{ DATA_TABLE_MISSING_HEADERS_COLUMN, 0, "[5.1.2.2]: data <table> missing row/column headers (1 col)." },
|
||
{ DATA_TABLE_MISSING_HEADERS_ROW, 0, "[5.1.2.3]: data <table> missing row/column headers (1 row)." },
|
||
{ DATA_TABLE_REQUIRE_MARKUP_COLUMN_HEADERS, 0, "[5.2.1.1]: data <table> may require markup (column headers)." },
|
||
{ DATA_TABLE_REQUIRE_MARKUP_ROW_HEADERS, 0, "[5.2.1.2]: data <table> may require markup (row headers)." },
|
||
{ LAYOUT_TABLES_LINEARIZE_PROPERLY, 0, "[5.3.1.1]: verify layout tables linearize properly." },
|
||
{ LAYOUT_TABLE_INVALID_MARKUP, 0, "[5.4.1.1]: invalid markup used in layout <table>." },
|
||
{ TABLE_MISSING_SUMMARY, 0, "[5.5.1.1]: <table> missing summary." },
|
||
{ TABLE_SUMMARY_INVALID_NULL, 0, "[5.5.1.2]: <table> summary invalid (null)." },
|
||
{ TABLE_SUMMARY_INVALID_SPACES, 0, "[5.5.1.3]: <table> summary invalid (spaces)." },
|
||
{ TABLE_SUMMARY_INVALID_PLACEHOLDER, 0, "[5.5.1.6]: <table> summary invalid (placeholder text)." },
|
||
{ TABLE_MISSING_CAPTION, 0, "[5.5.2.1]: <table> missing <caption>." },
|
||
{ TABLE_MAY_REQUIRE_HEADER_ABBR, 0, "[5.6.1.1]: <table> may require header abbreviations." },
|
||
{ TABLE_MAY_REQUIRE_HEADER_ABBR_NULL, 0, "[5.6.1.2]: <table> header abbreviations invalid (null)." },
|
||
{ TABLE_MAY_REQUIRE_HEADER_ABBR_SPACES, 0, "[5.6.1.3]: <table> header abbreviations invalid (spaces)." },
|
||
{ STYLESHEETS_REQUIRE_TESTING_LINK, 0, "[6.1.1.1]: style sheets require testing (link)." },
|
||
{ STYLESHEETS_REQUIRE_TESTING_STYLE_ELEMENT, 0, "[6.1.1.2]: style sheets require testing (style element)." },
|
||
{ STYLESHEETS_REQUIRE_TESTING_STYLE_ATTR, 0, "[6.1.1.3]: style sheets require testing (style attribute)." },
|
||
{ FRAME_SRC_INVALID, 0, "[6.2.1.1]: <frame> source invalid." },
|
||
{ TEXT_EQUIVALENTS_REQUIRE_UPDATING_APPLET, 0, "[6.2.2.1]: text equivalents require updating (applet)." },
|
||
{ TEXT_EQUIVALENTS_REQUIRE_UPDATING_SCRIPT, 0, "[6.2.2.2]: text equivalents require updating (script)." },
|
||
{ TEXT_EQUIVALENTS_REQUIRE_UPDATING_OBJECT, 0, "[6.2.2.3]: text equivalents require updating (object)." },
|
||
{ PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_SCRIPT, 0, "[6.3.1.1]: programmatic objects require testing (script)." },
|
||
{ PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_OBJECT, 0, "[6.3.1.2]: programmatic objects require testing (object)." },
|
||
{ PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_EMBED, 0, "[6.3.1.3]: programmatic objects require testing (embed)." },
|
||
{ PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_APPLET, 0, "[6.3.1.4]: programmatic objects require testing (applet)." },
|
||
{ FRAME_MISSING_NOFRAMES, 0, "[6.5.1.1]: <frameset> missing <noframes> section." },
|
||
{ NOFRAMES_INVALID_NO_VALUE, 0, "[6.5.1.2]: <noframes> section invalid (no value)." },
|
||
{ NOFRAMES_INVALID_CONTENT, 0, "[6.5.1.3]: <noframes> section invalid (content)." },
|
||
{ NOFRAMES_INVALID_LINK, 0, "[6.5.1.4]: <noframes> section invalid (link)." },
|
||
{ REMOVE_FLICKER_SCRIPT, 0, "[7.1.1.1]: remove flicker (script)." },
|
||
{ REMOVE_FLICKER_OBJECT, 0, "[7.1.1.2]: remove flicker (object)." },
|
||
{ REMOVE_FLICKER_EMBED, 0, "[7.1.1.3]: remove flicker (embed)." },
|
||
{ REMOVE_FLICKER_APPLET, 0, "[7.1.1.4]: remove flicker (applet)." },
|
||
{ REMOVE_FLICKER_ANIMATED_GIF, 0, "[7.1.1.5]: remove flicker (animated gif)." },
|
||
{ REMOVE_BLINK_MARQUEE, 0, "[7.2.1.1]: remove blink/marquee." },
|
||
{ REMOVE_AUTO_REFRESH, 0, "[7.4.1.1]: remove auto-refresh." },
|
||
{ REMOVE_AUTO_REDIRECT, 0, "[7.5.1.1]: remove auto-redirect." },
|
||
{ ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_SCRIPT, 0, "[8.1.1.1]: ensure programmatic objects are accessible (script)." },
|
||
{ ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_OBJECT, 0, "[8.1.1.2]: ensure programmatic objects are accessible (object)." },
|
||
{ ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_APPLET, 0, "[8.1.1.3]: ensure programmatic objects are accessible (applet)." },
|
||
{ ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_EMBED, 0, "[8.1.1.4]: ensure programmatic objects are accessible (embed)." },
|
||
{ IMAGE_MAP_SERVER_SIDE_REQUIRES_CONVERSION, 0, "[9.1.1.1]: image map (server-side) requires conversion." },
|
||
{ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_DOWN, 0, "[9.3.1.1]: <script> not keyboard accessible (onMouseDown)." },
|
||
{ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_UP, 0, "[9.3.1.2]: <script> not keyboard accessible (onMouseUp)." },
|
||
{ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_CLICK, 0, "[9.3.1.3]: <script> not keyboard accessible (onClick)." },
|
||
{ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_OVER, 0, "[9.3.1.4]: <script> not keyboard accessible (onMouseOver)." },
|
||
{ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_OUT, 0, "[9.3.1.5]: <script> not keyboard accessible (onMouseOut)." },
|
||
{ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_MOVE, 0, "[9.3.1.6]: <script> not keyboard accessible (onMouseMove)." },
|
||
{ NEW_WINDOWS_REQUIRE_WARNING_NEW, 0, "[10.1.1.1]: new windows require warning (_new)." },
|
||
{ NEW_WINDOWS_REQUIRE_WARNING_BLANK, 0, "[10.1.1.2]: new windows require warning (_blank)." },
|
||
{ REPLACE_DEPRECATED_HTML_APPLET, 0, "[11.2.1.1]: replace deprecated html <applet>." },
|
||
{ REPLACE_DEPRECATED_HTML_BASEFONT, 0, "[11.2.1.2]: replace deprecated html <basefont>." },
|
||
{ REPLACE_DEPRECATED_HTML_CENTER, 0, "[11.2.1.3]: replace deprecated html <center>." },
|
||
{ REPLACE_DEPRECATED_HTML_DIR, 0, "[11.2.1.4]: replace deprecated html <dir>." },
|
||
{ REPLACE_DEPRECATED_HTML_FONT, 0, "[11.2.1.5]: replace deprecated html <font>." },
|
||
{ REPLACE_DEPRECATED_HTML_ISINDEX, 0, "[11.2.1.6]: replace deprecated html <isindex>." },
|
||
{ REPLACE_DEPRECATED_HTML_MENU, 0, "[11.2.1.7]: replace deprecated html <menu>." },
|
||
{ REPLACE_DEPRECATED_HTML_S, 0, "[11.2.1.8]: replace deprecated html <s>." },
|
||
{ REPLACE_DEPRECATED_HTML_STRIKE, 0, "[11.2.1.9]: replace deprecated html <strike>." },
|
||
{ REPLACE_DEPRECATED_HTML_U, 0, "[11.2.1.10]: replace deprecated html <u>." },
|
||
{ FRAME_MISSING_TITLE, 0, "[12.1.1.1]: <frame> missing title." },
|
||
{ FRAME_TITLE_INVALID_NULL, 0, "[12.1.1.2]: <frame> title invalid (null)." },
|
||
{ FRAME_TITLE_INVALID_SPACES, 0, "[12.1.1.3]: <frame> title invalid (spaces)." },
|
||
{ ASSOCIATE_LABELS_EXPLICITLY, 0, "[12.4.1.1]: associate labels explicitly with form controls." },
|
||
{ ASSOCIATE_LABELS_EXPLICITLY_FOR, 0, "[12.4.1.2]: associate labels explicitly with form controls (for)." },
|
||
{ ASSOCIATE_LABELS_EXPLICITLY_ID, 0, "[12.4.1.3]: associate labels explicitly with form controls (id)." },
|
||
{ LINK_TEXT_NOT_MEANINGFUL, 0, "[13.1.1.1]: link text not meaningful." },
|
||
{ LINK_TEXT_MISSING, 0, "[13.1.1.2]: link text missing." },
|
||
{ LINK_TEXT_TOO_LONG, 0, "[13.1.1.3]: link text too long." },
|
||
{ LINK_TEXT_NOT_MEANINGFUL_CLICK_HERE, 0, "[13.1.1.4]: link text not meaningful (click here)." },
|
||
{ METADATA_MISSING, 0, "[13.2.1.1]: Metadata missing." },
|
||
{ METADATA_MISSING_REDIRECT_AUTOREFRESH, 0, "[13.2.1.3]: Metadata missing (redirect/auto-refresh)." },
|
||
{ SKIPOVER_ASCII_ART, 0, "[13.10.1.1]: skip over ascii art." },
|
||
|
||
|
||
#if SUPPORT_CONSOLE_APP
|
||
/********************************************************
|
||
** Console Application
|
||
** Although these strings are not used within LibTidy
|
||
** and only for the console application, they are
|
||
** provided as part of LibTidy for convenience to
|
||
** developers.
|
||
********************************************************/
|
||
{ TC_LABEL_COL, 0, "column" },
|
||
{ TC_LABEL_FILE, 0, "file" },
|
||
{ TC_LABEL_LANG, 0, "lang" },
|
||
{ TC_LABEL_LEVL, 0, "level" },
|
||
{ TC_LABEL_OPT, 0, "option" },
|
||
{ TC_MAIN_ERROR_LOAD_CONFIG, 0, "Loading config file \"%s\" problems, err = %d" },
|
||
{ TC_OPT_ACCESS, 0,
|
||
"do additional accessibility checks (<level> = 0, 1, 2, 3). 0 is "
|
||
"assumed if <level> is missing."
|
||
},
|
||
{ TC_OPT_ASCII, 0, "use ISO-8859-1 for input, US-ASCII for output" },
|
||
{ TC_OPT_ASHTML, 0, "force XHTML to well formed HTML" },
|
||
{ TC_OPT_ASXML, 0, "convert HTML to well formed XHTML" },
|
||
{ TC_OPT_BARE, 0, "strip out smart quotes and em dashes, etc." },
|
||
{ TC_OPT_BIG5, 0, "use Big5 for both input and output" },
|
||
{ TC_OPT_CLEAN, 0, "replace FONT, NOBR and CENTER tags with CSS" },
|
||
{ TC_OPT_CONFIG, 0, "set configuration options from the specified <file>" },
|
||
{ TC_OPT_ERRORS, 0, "show only errors and warnings" },
|
||
{ TC_OPT_FILE, 0, "write errors and warnings to the specified <file>" },
|
||
{ TC_OPT_GDOC, 0, "produce clean version of html exported by Google Docs" },
|
||
{ TC_OPT_HELP, 0, "list the command line options" },
|
||
{ TC_OPT_HELPCFG, 0, "list all configuration options" },
|
||
{ TC_OPT_HELPENV, 0, "show information about the environment and runtime configuration" },
|
||
{ TC_OPT_HELPOPT, 0, "show a description of the <option>" },
|
||
{ TC_OPT_IBM858, 0, "use IBM-858 (CP850+Euro) for input, US-ASCII for output" },
|
||
{ TC_OPT_INDENT, 0, "indent element content" },
|
||
{ TC_OPT_ISO2022, 0, "use ISO-2022 for both input and output" },
|
||
|
||
{/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_OPT_LANGUAGE, 0,
|
||
"set Tidy's output language to <lang>. Specify '-language help' for more help. "
|
||
"Use before output-causing arguments to ensure the language takes effect, e.g.,"
|
||
"`tidy -lang es -lang help`."
|
||
},
|
||
|
||
{ TC_OPT_LATIN0, 0, "use ISO-8859-15 for input, US-ASCII for output" },
|
||
{ TC_OPT_LATIN1, 0, "use ISO-8859-1 for both input and output" },
|
||
{ TC_OPT_MAC, 0, "use MacRoman for input, US-ASCII for output" },
|
||
{ TC_OPT_MODIFY, 0, "modify the original input files" },
|
||
{ TC_OPT_NUMERIC, 0, "output numeric rather than named entities" },
|
||
{ TC_OPT_OMIT, 0, "omit optional start tags and end tags" },
|
||
{ TC_OPT_OUTPUT, 0, "write output to the specified <file>" },
|
||
{ TC_OPT_QUIET, 0, "suppress nonessential output" },
|
||
{ TC_OPT_RAW, 0, "output values above 127 without conversion to entities" },
|
||
{ TC_OPT_SHIFTJIS, 0, "use Shift_JIS for both input and output" },
|
||
{ TC_OPT_SHOWCFG, 0, "list the current configuration settings" },
|
||
{ TC_OPT_EXP_CFG, 0, "list the current configuration settings, suitable for a config file" },
|
||
{ TC_OPT_EXP_DEF, 0, "list the default configuration settings, suitable for a config file" },
|
||
{ TC_OPT_UPPER, 0, "force tags to upper case" },
|
||
{ TC_OPT_UTF16, 0, "use UTF-16 for both input and output" },
|
||
{ TC_OPT_UTF16BE, 0, "use UTF-16BE for both input and output" },
|
||
{ TC_OPT_UTF16LE, 0, "use UTF-16LE for both input and output" },
|
||
{ TC_OPT_UTF8, 0, "use UTF-8 for both input and output" },
|
||
|
||
{/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_OPT_VERSION, 0, "show the version of Tidy"
|
||
},
|
||
|
||
{ TC_OPT_WIN1252, 0, "use Windows-1252 for input, US-ASCII for output" },
|
||
{ TC_OPT_WRAP, 0,
|
||
"wrap text at the specified <column>. 0 is assumed if <column> is "
|
||
"missing. When this option is omitted, the default of the "
|
||
"configuration option 'wrap' applies."
|
||
},
|
||
{ TC_OPT_XML, 0, "specify the input is well formed XML" },
|
||
{ TC_OPT_XMLCFG, 0, "list all configuration options in XML format" },
|
||
{ TC_OPT_XMLHELP, 0, "list the command line options in XML format" },
|
||
|
||
{/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_OPT_XMLSTRG, 0, "output all of Tidy's strings in XML format"
|
||
},
|
||
|
||
{ TC_OPT_XMLERRS, 0, "output error constants and strings in XML format" },
|
||
|
||
{ TC_OPT_XMLOPTS, 0, "output option descriptions in XML format" },
|
||
|
||
{ TC_STRING_CONF_HEADER, 0, "Configuration File Settings:" },
|
||
|
||
{/* Must be 27 characters or fewer. */
|
||
TC_STRING_CONF_NAME, 0, "Name"
|
||
},
|
||
{/* Must be 9 characters or fewer. */
|
||
TC_STRING_CONF_TYPE, 0, "Type"
|
||
},
|
||
{/* Must be 40 characters or fewer. */
|
||
TC_STRING_CONF_VALUE, 0, "Current Value"
|
||
},
|
||
|
||
{ TC_STRING_OPT_NOT_DOCUMENTED, 0, "Warning: option `%s' is not documented." },
|
||
{ TC_STRING_OUT_OF_MEMORY, 0, "Out of memory. Bailing out." },
|
||
{ TC_STRING_FATAL_ERROR, 0, "Fatal error: impossible value for id='%d'." },
|
||
{ TC_STRING_FILE_MANIP, 0, "File manipulation" },
|
||
{ TC_STRING_PROCESS_DIRECTIVES, 0, "Processing directives" },
|
||
{ TC_STRING_CHAR_ENCODING, 0, "Character encodings" },
|
||
{ TC_STRING_LANG_MUST_SPECIFY, 0, "A POSIX or Windows locale must be specified." },
|
||
|
||
{/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_STRING_LANG_NOT_FOUND, 0, "Tidy doesn't have language '%s,' will use '%s' instead."
|
||
},
|
||
|
||
{ TC_STRING_MISC, 0, "Miscellaneous" },
|
||
{ TC_STRING_XML, 0, "XML" },
|
||
{ TC_STRING_MUST_SPECIFY, 0, "A Tidy option name must be specified." },
|
||
|
||
{/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_STRING_UNKNOWN_OPTION, 0, "HTML Tidy: unknown option: %c"
|
||
},
|
||
{/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_STRING_UNKNOWN_OPTION_B, 0, "HTML Tidy: unknown option."
|
||
},
|
||
{/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_STRING_VERS_A, 0, "HTML Tidy for %s version %s"
|
||
},
|
||
{/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_STRING_VERS_B, 0, "HTML Tidy version %s"
|
||
},
|
||
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- First %s represents the name of the executable from the file system, and is mostly like going to be "tidy".
|
||
- Second %s represents a version number, typically x.x.xx.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_TXT_HELP_1, 0,
|
||
"%s [options...] [file...] [options...] [file...]\n"
|
||
"Utility to clean up and pretty print HTML/XHTML/XML.\n"
|
||
"\n"
|
||
"This is modern HTML Tidy version %s.\n"
|
||
"\n"
|
||
},
|
||
{/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||
- %s represents the platform, for example, "Mac OS X" or "Windows". */
|
||
TC_TXT_HELP_2A, 0,
|
||
"Command Line Arguments for HTML Tidy for %s:"
|
||
},
|
||
{/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_TXT_HELP_2B, 0,
|
||
"Command Line Arguments for HTML Tidy:"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||
- %s represents either a blank line, or TC_TXT_HELP_3A explaining environment options. */
|
||
TC_TXT_HELP_3, 0,
|
||
"\n"
|
||
"Tidy Configuration Options\n"
|
||
"==========================\n"
|
||
" Use Tidy's configuration options as command line arguments in the form\n"
|
||
" of \"--some-option <value>\", for example, \"--indent-with-tabs yes\".\n"
|
||
"\n"
|
||
" You can also specify a file containing configuration options with the \n"
|
||
" -config <file> directive, or in one or more files specific to your \n"
|
||
" environment (see next section). \n"
|
||
"\n"
|
||
" For a list of all configuration options, use \"-help-config\" or refer\n"
|
||
" to the man page (if your OS has one).\n"
|
||
"\n"
|
||
"Configuration Files\n"
|
||
"===================\n"
|
||
" If your environment has an $HTML_TIDY variable set to point to a Tidy \n"
|
||
" configuration file, then Tidy will attempt to use it. \n"
|
||
"%s"
|
||
" Use \"-help-env\" for more information about how you can use the environment. \n"
|
||
" to specify Tidy options. \n"
|
||
"\n"
|
||
"Other\n"
|
||
"=====\n"
|
||
" Input/Output default to stdin/stdout respectively.\n"
|
||
"\n"
|
||
" Single letter options apart from -f may be combined\n"
|
||
" as in: tidy -f errs.txt -imu foo.html\n"
|
||
"\n"
|
||
"Information\n"
|
||
"===========\n"
|
||
" For more information about HTML Tidy, see\n"
|
||
" https://www.html-tidy.org/\n"
|
||
"\n"
|
||
" For more information on HTML, see the following:\n"
|
||
"\n"
|
||
" HTML Living Standard (the latest HTML specification)\n"
|
||
" https://html.spec.whatwg.org/multipage/\n"
|
||
"\n"
|
||
" File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
|
||
" or send questions and comments to public-htacg@w3.org.\n"
|
||
"\n"
|
||
" Validate your HTML documents using the W3C Nu Markup Validator:\n"
|
||
" https://validator.w3.org/nu/\n"
|
||
"\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||
- Both parameters %s reflect file paths and names. */
|
||
TC_TXT_HELP_3A, 0,
|
||
"\n"
|
||
" Additionally, Tidy will automatically attempt to use configuration specified \n"
|
||
" in these files, if present: \n"
|
||
"\n"
|
||
" %s \n"
|
||
" %s \n"
|
||
"\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_TXT_HELP_CONFIG, 0,
|
||
"\n"
|
||
"HTML Tidy Configuration Settings\n"
|
||
"\n"
|
||
"Within a file, use the form:\n"
|
||
"\n"
|
||
"wrap: 72\n"
|
||
"indent: no\n"
|
||
"\n"
|
||
"When specified on the command line, use the form:\n"
|
||
"\n"
|
||
"--wrap 72 --indent no\n"
|
||
"\n"
|
||
},
|
||
{ TC_TXT_HELP_CONFIG_NAME, 0, "Name" },
|
||
{ TC_TXT_HELP_CONFIG_TYPE, 0, "Type" },
|
||
{ TC_TXT_HELP_CONFIG_ALLW, 0, "Allowable values" },
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||
- The first %s indicates two more list items, or an empty string.
|
||
- The second %s indicates a file name, or a message indicating no file name. */
|
||
TC_TXT_HELP_ENV_1, 0,
|
||
"\n"
|
||
"Tidy can configure its option values from multiple sources, in the \n"
|
||
"order below. Subsequent use of the same option overrides previous \n"
|
||
"option settings. \n"
|
||
"\n"
|
||
" - Tidy's built-in default values. \n"
|
||
"%s" /* rc files */
|
||
" - The file specified in the $HTML_TIDY environment variable: \n"
|
||
" %s \n"
|
||
" - Options in a file specified on the command line. \n"
|
||
" - Options set directly on the command line. \n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_TXT_HELP_ENV_1A, 0,
|
||
" - The system runtime configuration file: \n"
|
||
" %s \n"
|
||
" - The user runtime configuration file: \n"
|
||
" %s \n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||
- This message indicates that a file name is not currently set. */
|
||
TC_TXT_HELP_ENV_1B, 0,
|
||
"(not currently set)"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_TXT_HELP_ENV_1C, 0,
|
||
"\n"
|
||
"Note that because $HTML_TIDY is set, the user runtime configuration file \n"
|
||
"%s will not be used. \n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_TXT_HELP_LANG_1, 0,
|
||
"\n"
|
||
"The -language (or -lang) option indicates which language Tidy \n"
|
||
"should use to communicate its output. Please note that this is not \n"
|
||
"a document translation service, and only affects the messages that \n"
|
||
"Tidy communicates to you. \n"
|
||
"\n"
|
||
"When used from the command line the -language argument must \n"
|
||
"be used before any arguments that result in output, otherwise Tidy \n"
|
||
"will produce output before it knows which language to use. \n"
|
||
"\n"
|
||
"In addition to standard POSIX language codes, Tidy is capable of \n"
|
||
"understanding legacy Windows language codes. Please note that this \n"
|
||
"list indicates codes Tidy understands, and does not indicate that \n"
|
||
"the language is currently installed. \n"
|
||
"\n"
|
||
"The rightmost column indicates how Tidy will understand the \n"
|
||
"legacy Windows name.\n"
|
||
"\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
||
TC_TXT_HELP_LANG_2, 0,
|
||
"\n"
|
||
"The following languages are currently installed in Tidy. Please \n"
|
||
"note that there's no guarantee that they are complete; only that \n"
|
||
"one developer or another started to add the language indicated. \n"
|
||
"\n"
|
||
"Incomplete localizations will default to \"en\" when necessary. \n"
|
||
"Please report instances of incorrect strings to the Tidy team. \n"
|
||
"\n"
|
||
},
|
||
{/* This console output should be limited to 78 characters per line.
|
||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||
- The parameter %s is likely to be two to five characters, e.g., en or en_US. */
|
||
TC_TXT_HELP_LANG_3, 0,
|
||
"\n"
|
||
"If Tidy is able to determine your locale then Tidy will use the \n"
|
||
"locale's language automatically. For example Unix-like systems use a \n"
|
||
"$LANG and/or $LC_ALL environment variable. Consult your operating \n"
|
||
"system documentation for more information. \n"
|
||
"\n"
|
||
"Tidy is currently using locale %s. \n"
|
||
"\n"
|
||
},
|
||
#endif /* SUPPORT_CONSOLE_APP */
|
||
|
||
{/* This MUST be present and last. */
|
||
TIDY_MESSAGE_TYPE_LAST, 0, NULL
|
||
}
|
||
}};
|
||
|
||
|
||
#endif /* language_en_h */
|