Removed SUPPORT_UTF16_ENCODINGS, and regen'd strings.
This commit is contained in:
parent
7a4a544a5d
commit
2758939406
|
@ -228,7 +228,6 @@ endif ()
|
||||||
# Macro Values
|
# Macro Values
|
||||||
# These additional macros are set in Tidy's source code.
|
# These additional macros are set in Tidy's source code.
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
add_definitions ( -DSUPPORT_UTF16_ENCODINGS=1 )
|
|
||||||
add_definitions ( -DSUPPORT_ASIAN_ENCODINGS=1 )
|
add_definitions ( -DSUPPORT_ASIAN_ENCODINGS=1 )
|
||||||
add_definitions ( -DSUPPORT_ACCESSIBILITY_CHECKS=1 )
|
add_definitions ( -DSUPPORT_ACCESSIBILITY_CHECKS=1 )
|
||||||
add_definitions ( -DLIBTIDY_VERSION="${LIBTIDY_VERSION}" )
|
add_definitions ( -DLIBTIDY_VERSION="${LIBTIDY_VERSION}" )
|
||||||
|
|
|
@ -376,11 +376,9 @@ static const CmdOptDesc cmdopt_defs[] = {
|
||||||
{ CmdOptCharEnc, "-mac", TC_OPT_MAC, 0, NULL },
|
{ CmdOptCharEnc, "-mac", TC_OPT_MAC, 0, NULL },
|
||||||
{ CmdOptCharEnc, "-win1252", TC_OPT_WIN1252, 0, NULL },
|
{ CmdOptCharEnc, "-win1252", TC_OPT_WIN1252, 0, NULL },
|
||||||
{ CmdOptCharEnc, "-ibm858", TC_OPT_IBM858, 0, NULL },
|
{ CmdOptCharEnc, "-ibm858", TC_OPT_IBM858, 0, NULL },
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
{ CmdOptCharEnc, "-utf16le", TC_OPT_UTF16LE, 0, NULL },
|
{ CmdOptCharEnc, "-utf16le", TC_OPT_UTF16LE, 0, NULL },
|
||||||
{ CmdOptCharEnc, "-utf16be", TC_OPT_UTF16BE, 0, NULL },
|
{ CmdOptCharEnc, "-utf16be", TC_OPT_UTF16BE, 0, NULL },
|
||||||
{ CmdOptCharEnc, "-utf16", TC_OPT_UTF16, 0, NULL },
|
{ CmdOptCharEnc, "-utf16", TC_OPT_UTF16, 0, NULL },
|
||||||
#endif
|
|
||||||
#if SUPPORT_ASIAN_ENCODINGS /* #431953 - RJ */
|
#if SUPPORT_ASIAN_ENCODINGS /* #431953 - RJ */
|
||||||
{ CmdOptCharEnc, "-big5", TC_OPT_BIG5, 0, NULL },
|
{ CmdOptCharEnc, "-big5", TC_OPT_BIG5, 0, NULL },
|
||||||
{ CmdOptCharEnc, "-shiftjis", TC_OPT_SHIFTJIS, 0, NULL },
|
{ CmdOptCharEnc, "-shiftjis", TC_OPT_SHIFTJIS, 0, NULL },
|
||||||
|
@ -2144,11 +2142,10 @@ int main( int argc, char** argv )
|
||||||
#ifndef NO_NATIVE_ISO2022_SUPPORT
|
#ifndef NO_NATIVE_ISO2022_SUPPORT
|
||||||
strcasecmp(arg, "iso2022") == 0 ||
|
strcasecmp(arg, "iso2022") == 0 ||
|
||||||
#endif
|
#endif
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
strcasecmp(arg, "utf16le") == 0 ||
|
strcasecmp(arg, "utf16le") == 0 ||
|
||||||
strcasecmp(arg, "utf16be") == 0 ||
|
strcasecmp(arg, "utf16be") == 0 ||
|
||||||
strcasecmp(arg, "utf16") == 0 ||
|
strcasecmp(arg, "utf16") == 0 ||
|
||||||
#endif
|
|
||||||
#if SUPPORT_ASIAN_ENCODINGS
|
#if SUPPORT_ASIAN_ENCODINGS
|
||||||
strcasecmp(arg, "shiftjis") == 0 ||
|
strcasecmp(arg, "shiftjis") == 0 ||
|
||||||
strcasecmp(arg, "big5") == 0 ||
|
strcasecmp(arg, "big5") == 0 ||
|
||||||
|
|
|
@ -613,11 +613,7 @@ typedef enum
|
||||||
TidyOmitOptionalTags, /**< Suppress optional start tags and end tags */
|
TidyOmitOptionalTags, /**< Suppress optional start tags and end tags */
|
||||||
TidyOutCharEncoding, /**< Output character encoding (if different) */
|
TidyOutCharEncoding, /**< Output character encoding (if different) */
|
||||||
TidyOutFile, /**< File name to write markup to */
|
TidyOutFile, /**< File name to write markup to */
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
TidyOutputBOM, /**< Output a Byte Order Mark (BOM) for UTF-16 encodings */
|
TidyOutputBOM, /**< Output a Byte Order Mark (BOM) for UTF-16 encodings */
|
||||||
#else
|
|
||||||
TidyOutputBOMNotUsed, /**< This option is not compiled in */
|
|
||||||
#endif
|
|
||||||
TidyPPrintTabs, /**< Indent using tabs istead of spaces */
|
TidyPPrintTabs, /**< Indent using tabs istead of spaces */
|
||||||
TidyPreserveEntities, /**< Preserve entities */
|
TidyPreserveEntities, /**< Preserve entities */
|
||||||
TidyPreTags, /**< Declared pre tags */
|
TidyPreTags, /**< Declared pre tags */
|
||||||
|
@ -756,12 +752,9 @@ typedef enum
|
||||||
TidyEncMac,
|
TidyEncMac,
|
||||||
TidyEncWin1252,
|
TidyEncWin1252,
|
||||||
TidyEncIbm858,
|
TidyEncIbm858,
|
||||||
|
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
TidyEncUtf16le,
|
TidyEncUtf16le,
|
||||||
TidyEncUtf16be,
|
TidyEncUtf16be,
|
||||||
TidyEncUtf16,
|
TidyEncUtf16,
|
||||||
#endif
|
|
||||||
|
|
||||||
#if SUPPORT_ASIAN_ENCODINGS
|
#if SUPPORT_ASIAN_ENCODINGS
|
||||||
TidyEncBig5,
|
TidyEncBig5,
|
||||||
|
|
|
@ -82,11 +82,6 @@ extern "C" {
|
||||||
# define SUPPORT_ASIAN_ENCODINGS 1
|
# define SUPPORT_ASIAN_ENCODINGS 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Enable/disable support for UTF-16 character encodings */
|
|
||||||
#ifndef SUPPORT_UTF16_ENCODINGS
|
|
||||||
# define SUPPORT_UTF16_ENCODINGS 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Enable/disable support for additional accessibility checks */
|
/* Enable/disable support for additional accessibility checks */
|
||||||
#ifndef SUPPORT_ACCESSIBILITY_CHECKS
|
#ifndef SUPPORT_ACCESSIBILITY_CHECKS
|
||||||
# define SUPPORT_ACCESSIBILITY_CHECKS 1
|
# define SUPPORT_ACCESSIBILITY_CHECKS 1
|
||||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
||||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"PO-Revision-Date: 2017-09-19 14:00:03\n"
|
"PO-Revision-Date: 2017-10-03 12:22:47\n"
|
||||||
"Last-Translator: jderry\n"
|
"Last-Translator: jderry\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
|
||||||
|
@ -257,7 +257,8 @@ msgid ""
|
||||||
"<code><!DOCTYPE html></code>."
|
"<code><!DOCTYPE html></code>."
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"If set to <var>auto</var> (the default) Tidy will use an educated guess "
|
"If set to <var>auto</var> (the default) Tidy will use an educated guess "
|
||||||
"based upon the contents of the document."
|
"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/>"
|
"<br/>"
|
||||||
"If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
|
"If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
|
||||||
"XHTML1 strict DTD."
|
"XHTML1 strict DTD."
|
||||||
|
@ -472,10 +473,14 @@ msgid ""
|
||||||
"This option specifies if Tidy should replace unexpected hyphens with "
|
"This option specifies if Tidy should replace unexpected hyphens with "
|
||||||
"<code>=</code> characters when it comes across adjacent hyphens. "
|
"<code>=</code> characters when it comes across adjacent hyphens. "
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"The default is <var>yes</var>. "
|
"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/>"
|
"<br/>"
|
||||||
"This option is provided for users of Cold Fusion which uses the "
|
"HTML has abandonded SGML comment syntax, and allows adjacent hypens "
|
||||||
"comment syntax: <code><!--- ---></code>. "
|
"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>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
|
@ -1094,6 +1099,24 @@ msgid ""
|
||||||
"This option is ignored in XML mode. "
|
"This option is ignored in XML mode. "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
msgctxt "TidyPriorityAttributes"
|
||||||
|
msgid ""
|
||||||
|
"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 <var>id</var> and "
|
||||||
|
"<var>name</var> are written before every other attribute. "
|
||||||
|
"<br/>"
|
||||||
|
"This option takes a space or comma separated list of attribute names. "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||||||
#. <br/>.
|
#. <br/>.
|
||||||
|
@ -1268,6 +1291,10 @@ msgid ""
|
||||||
"This option specifies that Tidy should sort attributes within an element "
|
"This option specifies that Tidy should sort attributes within an element "
|
||||||
"using the specified sort algorithm. If set to <var>alpha</var>, the "
|
"using the specified sort algorithm. If set to <var>alpha</var>, the "
|
||||||
"algorithm is an ascending alphabetic sort. "
|
"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. "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
|
@ -2010,6 +2037,15 @@ msgid ""
|
||||||
"include an alternative layout inside a NOFRAMES element.\n"
|
"include an alternative layout inside a NOFRAMES element.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. This console output should be limited to 78 characters per line.
|
||||||
|
msgctxt "FOOTNOTE_TRIM_EMPTY_ELEMENT"
|
||||||
|
msgid ""
|
||||||
|
"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"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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.
|
#. - The URL should not be translated unless you find a matching URL in your language.
|
||||||
msgctxt "TEXT_ACCESS_ADVICE1"
|
msgctxt "TEXT_ACCESS_ADVICE1"
|
||||||
|
@ -2343,7 +2379,19 @@ msgid "%s joining values of repeated attribute \"%s\""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "MALFORMED_COMMENT"
|
msgctxt "MALFORMED_COMMENT"
|
||||||
msgid "adjacent hyphens within comment"
|
msgid "tidy replaced adjacent \"-\" with \"=\""
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_DROPPING"
|
||||||
|
msgid "dropping a possible comment due to a missing hyphen"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_EOS"
|
||||||
|
msgid "the end of the document was reached before the end of the comment"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_WARN"
|
||||||
|
msgid "detected adjacent hyphens within the comment; consider fix-bad-comments"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "MALFORMED_DOCTYPE"
|
msgctxt "MALFORMED_DOCTYPE"
|
||||||
|
@ -2384,6 +2432,11 @@ msgctxt "MISSING_ENDTAG_FOR"
|
||||||
msgid "missing </%s>"
|
msgid "missing </%s>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgctxt "MISSING_ENDTAG_OPTIONAL"
|
||||||
|
msgid "missing optional end tag </%s>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgctxt "MISSING_IMAGEMAP"
|
msgctxt "MISSING_IMAGEMAP"
|
||||||
msgid "%s should use client-side image map"
|
msgid "%s should use client-side image map"
|
||||||
|
@ -2394,6 +2447,11 @@ msgctxt "MISSING_QUOTEMARK"
|
||||||
msgid "%s attribute with missing trailing quote mark"
|
msgid "%s attribute with missing trailing quote mark"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgctxt "MISSING_QUOTEMARK_OPEN"
|
||||||
|
msgid "value for attribute \"%s\" missing quote marks"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgctxt "MISSING_SEMICOLON_NCR"
|
msgctxt "MISSING_SEMICOLON_NCR"
|
||||||
msgid "numeric character reference \"%s\" doesn't end in ';'"
|
msgid "numeric character reference \"%s\" doesn't end in ';'"
|
||||||
|
@ -2501,7 +2559,7 @@ msgid "unknown option: %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "SUSPECTED_MISSING_QUOTE"
|
msgctxt "SUSPECTED_MISSING_QUOTE"
|
||||||
msgid "missing quote mark for attribute value"
|
msgid "suspected missing quote mark for attribute value"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
|
@ -3162,6 +3220,10 @@ msgctxt "TC_OPT_HELPCFG"
|
||||||
msgid "list all configuration options"
|
msgid "list all configuration options"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_HELPENV"
|
||||||
|
msgid "show information about the environment and runtime configuration"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TC_OPT_HELPOPT"
|
msgctxt "TC_OPT_HELPOPT"
|
||||||
msgid "show a description of the <option>"
|
msgid "show a description of the <option>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3230,6 +3292,14 @@ msgctxt "TC_OPT_SHOWCFG"
|
||||||
msgid "list the current configuration settings"
|
msgid "list the current configuration settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_EXP_CFG"
|
||||||
|
msgid "list the current configuration settings, suitable for a config file"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_EXP_DEF"
|
||||||
|
msgid "list the default configuration settings, suitable for a config file"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TC_OPT_UPPER"
|
msgctxt "TC_OPT_UPPER"
|
||||||
msgid "force tags to upper case"
|
msgid "force tags to upper case"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3409,36 +3479,44 @@ msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 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.
|
||||||
|
#, c-format
|
||||||
msgctxt "TC_TXT_HELP_3"
|
msgctxt "TC_TXT_HELP_3"
|
||||||
msgid ""
|
msgid ""
|
||||||
"\n"
|
"\n"
|
||||||
"Tidy Configuration Options\n"
|
"Tidy Configuration Options\n"
|
||||||
"==========================\n"
|
"==========================\n"
|
||||||
"Use Tidy's configuration options as command line arguments in the form\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"
|
" of \"--some-option <value>\", for example, \"--indent-with-tabs yes\".\n"
|
||||||
"\n"
|
"\n"
|
||||||
"For a list of all configuration options, use \"-help-config\" or refer\n"
|
" You can also specify a file containing configuration options with the \n"
|
||||||
"to the man page (if your OS has one).\n"
|
" -options <file> directive, or in one or more files specific to your \n"
|
||||||
|
" environment (see next section). \n"
|
||||||
"\n"
|
"\n"
|
||||||
"If your environment has an $HTML_TIDY variable set point to a Tidy \n"
|
" For a list of all configuration options, use \"-help-config\" or refer\n"
|
||||||
"configuration file then Tidy will attempt to use it.\n"
|
" to the man page (if your OS has one).\n"
|
||||||
"\n"
|
"\n"
|
||||||
"On some platforms Tidy will also attempt to use a configuration specified \n"
|
"Configuration Files\n"
|
||||||
"in /etc/tidy.conf or ~/.tidy.conf.\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"
|
"\n"
|
||||||
"Other\n"
|
"Other\n"
|
||||||
"=====\n"
|
"=====\n"
|
||||||
"Input/Output default to stdin/stdout respectively.\n"
|
" Input/Output default to stdin/stdout respectively.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Single letter options apart from -f may be combined\n"
|
" Single letter options apart from -f may be combined\n"
|
||||||
"as in: tidy -f errs.txt -imu foo.html\n"
|
" as in: tidy -f errs.txt -imu foo.html\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Information\n"
|
"Information\n"
|
||||||
"===========\n"
|
"===========\n"
|
||||||
"For more information about HTML Tidy, see\n"
|
" For more information about HTML Tidy, see\n"
|
||||||
" http://www.html-tidy.org/\n"
|
" http://www.html-tidy.org/\n"
|
||||||
"\n"
|
"\n"
|
||||||
"For more information on HTML, see the following:\n"
|
" For more information on HTML, see the following:\n"
|
||||||
"\n"
|
"\n"
|
||||||
" HTML: Edition for Web Authors (the latest HTML specification)\n"
|
" HTML: Edition for Web Authors (the latest HTML specification)\n"
|
||||||
" http://dev.w3.org/html5/spec-author-view\n"
|
" http://dev.w3.org/html5/spec-author-view\n"
|
||||||
|
@ -3446,14 +3524,29 @@ msgid ""
|
||||||
" HTML: The Markup Language (an HTML language reference)\n"
|
" HTML: The Markup Language (an HTML language reference)\n"
|
||||||
" http://dev.w3.org/html5/markup/\n"
|
" http://dev.w3.org/html5/markup/\n"
|
||||||
"\n"
|
"\n"
|
||||||
"File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
|
" File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
|
||||||
"or send questions and comments to public-htacg@w3.org.\n"
|
" or send questions and comments to public-htacg@w3.org.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Validate your HTML documents using the W3C Nu Markup Validator:\n"
|
" Validate your HTML documents using the W3C Nu Markup Validator:\n"
|
||||||
" http://validator.w3.org/nu/\n"
|
" http://validator.w3.org/nu/\n"
|
||||||
"\n"
|
"\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_3A"
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
" Additionally, Tidy will automatically attempt to use configuration specified \n"
|
||||||
|
" in these files, if present: \n"
|
||||||
|
"\n"
|
||||||
|
" %s \n"
|
||||||
|
" %s \n"
|
||||||
|
"\n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||||||
msgctxt "TC_TXT_HELP_CONFIG"
|
msgctxt "TC_TXT_HELP_CONFIG"
|
||||||
|
@ -3484,6 +3577,54 @@ msgctxt "TC_TXT_HELP_CONFIG_ALLW"
|
||||||
msgid "Allowable values"
|
msgid "Allowable values"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1"
|
||||||
|
msgid ""
|
||||||
|
"\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"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1A"
|
||||||
|
msgid ""
|
||||||
|
" - The system runtime configuration file: \n"
|
||||||
|
" %s \n"
|
||||||
|
" - The user runtime configuration file: \n"
|
||||||
|
" %s \n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1B"
|
||||||
|
msgid "(not currently set)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1C"
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
"Note that because $HTML_TIDY is set, the user runtime configuration file \n"
|
||||||
|
"%s will not be used. \n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||||||
msgctxt "TC_TXT_HELP_LANG_1"
|
msgctxt "TC_TXT_HELP_LANG_1"
|
||||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
||||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"PO-Revision-Date: 2017-09-19 14:00:03\n"
|
"PO-Revision-Date: 2017-10-03 12:22:47\n"
|
||||||
"Last-Translator: jderry\n"
|
"Last-Translator: jderry\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
|
||||||
|
@ -251,7 +251,8 @@ msgid ""
|
||||||
"<code><!DOCTYPE html></code>."
|
"<code><!DOCTYPE html></code>."
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"If set to <var>auto</var> (the default) Tidy will use an educated guess "
|
"If set to <var>auto</var> (the default) Tidy will use an educated guess "
|
||||||
"based upon the contents of the document."
|
"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/>"
|
"<br/>"
|
||||||
"If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
|
"If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
|
||||||
"XHTML1 strict DTD."
|
"XHTML1 strict DTD."
|
||||||
|
@ -466,10 +467,14 @@ msgid ""
|
||||||
"This option specifies if Tidy should replace unexpected hyphens with "
|
"This option specifies if Tidy should replace unexpected hyphens with "
|
||||||
"<code>=</code> characters when it comes across adjacent hyphens. "
|
"<code>=</code> characters when it comes across adjacent hyphens. "
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"The default is <var>yes</var>. "
|
"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/>"
|
"<br/>"
|
||||||
"This option is provided for users of Cold Fusion which uses the "
|
"HTML has abandonded SGML comment syntax, and allows adjacent hypens "
|
||||||
"comment syntax: <code><!--- ---></code>. "
|
"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>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
|
@ -1060,6 +1065,24 @@ msgid ""
|
||||||
"This option is ignored in XML mode. "
|
"This option is ignored in XML mode. "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
msgctxt "TidyPriorityAttributes"
|
||||||
|
msgid ""
|
||||||
|
"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 <var>id</var> and "
|
||||||
|
"<var>name</var> are written before every other attribute. "
|
||||||
|
"<br/>"
|
||||||
|
"This option takes a space or comma separated list of attribute names. "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||||||
#. <br/>.
|
#. <br/>.
|
||||||
|
@ -1231,6 +1254,10 @@ msgid ""
|
||||||
"This option specifies that Tidy should sort attributes within an element "
|
"This option specifies that Tidy should sort attributes within an element "
|
||||||
"using the specified sort algorithm. If set to <var>alpha</var>, the "
|
"using the specified sort algorithm. If set to <var>alpha</var>, the "
|
||||||
"algorithm is an ascending alphabetic sort. "
|
"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. "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
|
@ -1958,6 +1985,15 @@ msgid ""
|
||||||
"include an alternative layout inside a NOFRAMES element.\n"
|
"include an alternative layout inside a NOFRAMES element.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. This console output should be limited to 78 characters per line.
|
||||||
|
msgctxt "FOOTNOTE_TRIM_EMPTY_ELEMENT"
|
||||||
|
msgid ""
|
||||||
|
"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"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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.
|
#. - The URL should not be translated unless you find a matching URL in your language.
|
||||||
msgctxt "TEXT_ACCESS_ADVICE1"
|
msgctxt "TEXT_ACCESS_ADVICE1"
|
||||||
|
@ -2287,7 +2323,19 @@ msgid "%s joining values of repeated attribute \"%s\""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "MALFORMED_COMMENT"
|
msgctxt "MALFORMED_COMMENT"
|
||||||
msgid "adjacent hyphens within comment"
|
msgid "tidy replaced adjacent \"-\" with \"=\""
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_DROPPING"
|
||||||
|
msgid "dropping a possible comment due to a missing hyphen"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_EOS"
|
||||||
|
msgid "the end of the document was reached before the end of the comment"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_WARN"
|
||||||
|
msgid "detected adjacent hyphens within the comment; consider fix-bad-comments"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "MALFORMED_DOCTYPE"
|
msgctxt "MALFORMED_DOCTYPE"
|
||||||
|
@ -2328,6 +2376,11 @@ msgctxt "MISSING_ENDTAG_FOR"
|
||||||
msgid "missing </%s>"
|
msgid "missing </%s>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgctxt "MISSING_ENDTAG_OPTIONAL"
|
||||||
|
msgid "missing optional end tag </%s>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgctxt "MISSING_IMAGEMAP"
|
msgctxt "MISSING_IMAGEMAP"
|
||||||
msgid "%s should use client-side image map"
|
msgid "%s should use client-side image map"
|
||||||
|
@ -2338,6 +2391,11 @@ msgctxt "MISSING_QUOTEMARK"
|
||||||
msgid "%s attribute with missing trailing quote mark"
|
msgid "%s attribute with missing trailing quote mark"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgctxt "MISSING_QUOTEMARK_OPEN"
|
||||||
|
msgid "value for attribute \"%s\" missing quote marks"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgctxt "MISSING_SEMICOLON_NCR"
|
msgctxt "MISSING_SEMICOLON_NCR"
|
||||||
msgid "numeric character reference \"%s\" doesn't end in ';'"
|
msgid "numeric character reference \"%s\" doesn't end in ';'"
|
||||||
|
@ -2445,7 +2503,7 @@ msgid "unknown option: %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "SUSPECTED_MISSING_QUOTE"
|
msgctxt "SUSPECTED_MISSING_QUOTE"
|
||||||
msgid "missing quote mark for attribute value"
|
msgid "suspected missing quote mark for attribute value"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
|
@ -3106,6 +3164,10 @@ msgctxt "TC_OPT_HELPCFG"
|
||||||
msgid "list all configuration options"
|
msgid "list all configuration options"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_HELPENV"
|
||||||
|
msgid "show information about the environment and runtime configuration"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TC_OPT_HELPOPT"
|
msgctxt "TC_OPT_HELPOPT"
|
||||||
msgid "show a description of the <option>"
|
msgid "show a description of the <option>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3174,6 +3236,14 @@ msgctxt "TC_OPT_SHOWCFG"
|
||||||
msgid "list the current configuration settings"
|
msgid "list the current configuration settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_EXP_CFG"
|
||||||
|
msgid "list the current configuration settings, suitable for a config file"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_EXP_DEF"
|
||||||
|
msgid "list the default configuration settings, suitable for a config file"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TC_OPT_UPPER"
|
msgctxt "TC_OPT_UPPER"
|
||||||
msgid "force tags to upper case"
|
msgid "force tags to upper case"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3353,36 +3423,44 @@ msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 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.
|
||||||
|
#, c-format
|
||||||
msgctxt "TC_TXT_HELP_3"
|
msgctxt "TC_TXT_HELP_3"
|
||||||
msgid ""
|
msgid ""
|
||||||
"\n"
|
"\n"
|
||||||
"Tidy Configuration Options\n"
|
"Tidy Configuration Options\n"
|
||||||
"==========================\n"
|
"==========================\n"
|
||||||
"Use Tidy's configuration options as command line arguments in the form\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"
|
" of \"--some-option <value>\", for example, \"--indent-with-tabs yes\".\n"
|
||||||
"\n"
|
"\n"
|
||||||
"For a list of all configuration options, use \"-help-config\" or refer\n"
|
" You can also specify a file containing configuration options with the \n"
|
||||||
"to the man page (if your OS has one).\n"
|
" -options <file> directive, or in one or more files specific to your \n"
|
||||||
|
" environment (see next section). \n"
|
||||||
"\n"
|
"\n"
|
||||||
"If your environment has an $HTML_TIDY variable set point to a Tidy \n"
|
" For a list of all configuration options, use \"-help-config\" or refer\n"
|
||||||
"configuration file then Tidy will attempt to use it.\n"
|
" to the man page (if your OS has one).\n"
|
||||||
"\n"
|
"\n"
|
||||||
"On some platforms Tidy will also attempt to use a configuration specified \n"
|
"Configuration Files\n"
|
||||||
"in /etc/tidy.conf or ~/.tidy.conf.\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"
|
"\n"
|
||||||
"Other\n"
|
"Other\n"
|
||||||
"=====\n"
|
"=====\n"
|
||||||
"Input/Output default to stdin/stdout respectively.\n"
|
" Input/Output default to stdin/stdout respectively.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Single letter options apart from -f may be combined\n"
|
" Single letter options apart from -f may be combined\n"
|
||||||
"as in: tidy -f errs.txt -imu foo.html\n"
|
" as in: tidy -f errs.txt -imu foo.html\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Information\n"
|
"Information\n"
|
||||||
"===========\n"
|
"===========\n"
|
||||||
"For more information about HTML Tidy, see\n"
|
" For more information about HTML Tidy, see\n"
|
||||||
" http://www.html-tidy.org/\n"
|
" http://www.html-tidy.org/\n"
|
||||||
"\n"
|
"\n"
|
||||||
"For more information on HTML, see the following:\n"
|
" For more information on HTML, see the following:\n"
|
||||||
"\n"
|
"\n"
|
||||||
" HTML: Edition for Web Authors (the latest HTML specification)\n"
|
" HTML: Edition for Web Authors (the latest HTML specification)\n"
|
||||||
" http://dev.w3.org/html5/spec-author-view\n"
|
" http://dev.w3.org/html5/spec-author-view\n"
|
||||||
|
@ -3390,14 +3468,29 @@ msgid ""
|
||||||
" HTML: The Markup Language (an HTML language reference)\n"
|
" HTML: The Markup Language (an HTML language reference)\n"
|
||||||
" http://dev.w3.org/html5/markup/\n"
|
" http://dev.w3.org/html5/markup/\n"
|
||||||
"\n"
|
"\n"
|
||||||
"File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
|
" File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
|
||||||
"or send questions and comments to public-htacg@w3.org.\n"
|
" or send questions and comments to public-htacg@w3.org.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Validate your HTML documents using the W3C Nu Markup Validator:\n"
|
" Validate your HTML documents using the W3C Nu Markup Validator:\n"
|
||||||
" http://validator.w3.org/nu/\n"
|
" http://validator.w3.org/nu/\n"
|
||||||
"\n"
|
"\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_3A"
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
" Additionally, Tidy will automatically attempt to use configuration specified \n"
|
||||||
|
" in these files, if present: \n"
|
||||||
|
"\n"
|
||||||
|
" %s \n"
|
||||||
|
" %s \n"
|
||||||
|
"\n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||||||
msgctxt "TC_TXT_HELP_CONFIG"
|
msgctxt "TC_TXT_HELP_CONFIG"
|
||||||
|
@ -3428,6 +3521,54 @@ msgctxt "TC_TXT_HELP_CONFIG_ALLW"
|
||||||
msgid "Allowable values"
|
msgid "Allowable values"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1"
|
||||||
|
msgid ""
|
||||||
|
"\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"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1A"
|
||||||
|
msgid ""
|
||||||
|
" - The system runtime configuration file: \n"
|
||||||
|
" %s \n"
|
||||||
|
" - The user runtime configuration file: \n"
|
||||||
|
" %s \n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1B"
|
||||||
|
msgid "(not currently set)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1C"
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
"Note that because $HTML_TIDY is set, the user runtime configuration file \n"
|
||||||
|
"%s will not be used. \n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||||||
msgctxt "TC_TXT_HELP_LANG_1"
|
msgctxt "TC_TXT_HELP_LANG_1"
|
||||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
||||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"PO-Revision-Date: 2017-09-19 14:00:03\n"
|
"PO-Revision-Date: 2017-10-03 12:22:47\n"
|
||||||
"Last-Translator: jderry\n"
|
"Last-Translator: jderry\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
|
||||||
|
@ -251,7 +251,8 @@ msgid ""
|
||||||
"<code><!DOCTYPE html></code>."
|
"<code><!DOCTYPE html></code>."
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"If set to <var>auto</var> (the default) Tidy will use an educated guess "
|
"If set to <var>auto</var> (the default) Tidy will use an educated guess "
|
||||||
"based upon the contents of the document."
|
"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/>"
|
"<br/>"
|
||||||
"If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
|
"If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
|
||||||
"XHTML1 strict DTD."
|
"XHTML1 strict DTD."
|
||||||
|
@ -466,10 +467,14 @@ msgid ""
|
||||||
"This option specifies if Tidy should replace unexpected hyphens with "
|
"This option specifies if Tidy should replace unexpected hyphens with "
|
||||||
"<code>=</code> characters when it comes across adjacent hyphens. "
|
"<code>=</code> characters when it comes across adjacent hyphens. "
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"The default is <var>yes</var>. "
|
"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/>"
|
"<br/>"
|
||||||
"This option is provided for users of Cold Fusion which uses the "
|
"HTML has abandonded SGML comment syntax, and allows adjacent hypens "
|
||||||
"comment syntax: <code><!--- ---></code>. "
|
"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>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
|
@ -1055,6 +1060,24 @@ msgid ""
|
||||||
"This option is ignored in XML mode. "
|
"This option is ignored in XML mode. "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
msgctxt "TidyPriorityAttributes"
|
||||||
|
msgid ""
|
||||||
|
"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 <var>id</var> and "
|
||||||
|
"<var>name</var> are written before every other attribute. "
|
||||||
|
"<br/>"
|
||||||
|
"This option takes a space or comma separated list of attribute names. "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||||||
#. <br/>.
|
#. <br/>.
|
||||||
|
@ -1226,6 +1249,10 @@ msgid ""
|
||||||
"This option specifies that Tidy should sort attributes within an element "
|
"This option specifies that Tidy should sort attributes within an element "
|
||||||
"using the specified sort algorithm. If set to <var>alpha</var>, the "
|
"using the specified sort algorithm. If set to <var>alpha</var>, the "
|
||||||
"algorithm is an ascending alphabetic sort. "
|
"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. "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
|
@ -1953,6 +1980,15 @@ msgid ""
|
||||||
"include an alternative layout inside a NOFRAMES element.\n"
|
"include an alternative layout inside a NOFRAMES element.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. This console output should be limited to 78 characters per line.
|
||||||
|
msgctxt "FOOTNOTE_TRIM_EMPTY_ELEMENT"
|
||||||
|
msgid ""
|
||||||
|
"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"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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.
|
#. - The URL should not be translated unless you find a matching URL in your language.
|
||||||
msgctxt "TEXT_ACCESS_ADVICE1"
|
msgctxt "TEXT_ACCESS_ADVICE1"
|
||||||
|
@ -2282,7 +2318,19 @@ msgid "%s joining values of repeated attribute \"%s\""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "MALFORMED_COMMENT"
|
msgctxt "MALFORMED_COMMENT"
|
||||||
msgid "adjacent hyphens within comment"
|
msgid "tidy replaced adjacent \"-\" with \"=\""
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_DROPPING"
|
||||||
|
msgid "dropping a possible comment due to a missing hyphen"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_EOS"
|
||||||
|
msgid "the end of the document was reached before the end of the comment"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_WARN"
|
||||||
|
msgid "detected adjacent hyphens within the comment; consider fix-bad-comments"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "MALFORMED_DOCTYPE"
|
msgctxt "MALFORMED_DOCTYPE"
|
||||||
|
@ -2323,6 +2371,11 @@ msgctxt "MISSING_ENDTAG_FOR"
|
||||||
msgid "missing </%s>"
|
msgid "missing </%s>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgctxt "MISSING_ENDTAG_OPTIONAL"
|
||||||
|
msgid "missing optional end tag </%s>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgctxt "MISSING_IMAGEMAP"
|
msgctxt "MISSING_IMAGEMAP"
|
||||||
msgid "%s should use client-side image map"
|
msgid "%s should use client-side image map"
|
||||||
|
@ -2333,6 +2386,11 @@ msgctxt "MISSING_QUOTEMARK"
|
||||||
msgid "%s attribute with missing trailing quote mark"
|
msgid "%s attribute with missing trailing quote mark"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgctxt "MISSING_QUOTEMARK_OPEN"
|
||||||
|
msgid "value for attribute \"%s\" missing quote marks"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgctxt "MISSING_SEMICOLON_NCR"
|
msgctxt "MISSING_SEMICOLON_NCR"
|
||||||
msgid "numeric character reference \"%s\" doesn't end in ';'"
|
msgid "numeric character reference \"%s\" doesn't end in ';'"
|
||||||
|
@ -2440,7 +2498,7 @@ msgid "unknown option: %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "SUSPECTED_MISSING_QUOTE"
|
msgctxt "SUSPECTED_MISSING_QUOTE"
|
||||||
msgid "missing quote mark for attribute value"
|
msgid "suspected missing quote mark for attribute value"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
|
@ -3101,6 +3159,10 @@ msgctxt "TC_OPT_HELPCFG"
|
||||||
msgid "list all configuration options"
|
msgid "list all configuration options"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_HELPENV"
|
||||||
|
msgid "show information about the environment and runtime configuration"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TC_OPT_HELPOPT"
|
msgctxt "TC_OPT_HELPOPT"
|
||||||
msgid "show a description of the <option>"
|
msgid "show a description of the <option>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3169,6 +3231,14 @@ msgctxt "TC_OPT_SHOWCFG"
|
||||||
msgid "list the current configuration settings"
|
msgid "list the current configuration settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_EXP_CFG"
|
||||||
|
msgid "list the current configuration settings, suitable for a config file"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_EXP_DEF"
|
||||||
|
msgid "list the default configuration settings, suitable for a config file"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TC_OPT_UPPER"
|
msgctxt "TC_OPT_UPPER"
|
||||||
msgid "force tags to upper case"
|
msgid "force tags to upper case"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3348,36 +3418,44 @@ msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 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.
|
||||||
|
#, c-format
|
||||||
msgctxt "TC_TXT_HELP_3"
|
msgctxt "TC_TXT_HELP_3"
|
||||||
msgid ""
|
msgid ""
|
||||||
"\n"
|
"\n"
|
||||||
"Tidy Configuration Options\n"
|
"Tidy Configuration Options\n"
|
||||||
"==========================\n"
|
"==========================\n"
|
||||||
"Use Tidy's configuration options as command line arguments in the form\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"
|
" of \"--some-option <value>\", for example, \"--indent-with-tabs yes\".\n"
|
||||||
"\n"
|
"\n"
|
||||||
"For a list of all configuration options, use \"-help-config\" or refer\n"
|
" You can also specify a file containing configuration options with the \n"
|
||||||
"to the man page (if your OS has one).\n"
|
" -options <file> directive, or in one or more files specific to your \n"
|
||||||
|
" environment (see next section). \n"
|
||||||
"\n"
|
"\n"
|
||||||
"If your environment has an $HTML_TIDY variable set point to a Tidy \n"
|
" For a list of all configuration options, use \"-help-config\" or refer\n"
|
||||||
"configuration file then Tidy will attempt to use it.\n"
|
" to the man page (if your OS has one).\n"
|
||||||
"\n"
|
"\n"
|
||||||
"On some platforms Tidy will also attempt to use a configuration specified \n"
|
"Configuration Files\n"
|
||||||
"in /etc/tidy.conf or ~/.tidy.conf.\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"
|
"\n"
|
||||||
"Other\n"
|
"Other\n"
|
||||||
"=====\n"
|
"=====\n"
|
||||||
"Input/Output default to stdin/stdout respectively.\n"
|
" Input/Output default to stdin/stdout respectively.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Single letter options apart from -f may be combined\n"
|
" Single letter options apart from -f may be combined\n"
|
||||||
"as in: tidy -f errs.txt -imu foo.html\n"
|
" as in: tidy -f errs.txt -imu foo.html\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Information\n"
|
"Information\n"
|
||||||
"===========\n"
|
"===========\n"
|
||||||
"For more information about HTML Tidy, see\n"
|
" For more information about HTML Tidy, see\n"
|
||||||
" http://www.html-tidy.org/\n"
|
" http://www.html-tidy.org/\n"
|
||||||
"\n"
|
"\n"
|
||||||
"For more information on HTML, see the following:\n"
|
" For more information on HTML, see the following:\n"
|
||||||
"\n"
|
"\n"
|
||||||
" HTML: Edition for Web Authors (the latest HTML specification)\n"
|
" HTML: Edition for Web Authors (the latest HTML specification)\n"
|
||||||
" http://dev.w3.org/html5/spec-author-view\n"
|
" http://dev.w3.org/html5/spec-author-view\n"
|
||||||
|
@ -3385,14 +3463,29 @@ msgid ""
|
||||||
" HTML: The Markup Language (an HTML language reference)\n"
|
" HTML: The Markup Language (an HTML language reference)\n"
|
||||||
" http://dev.w3.org/html5/markup/\n"
|
" http://dev.w3.org/html5/markup/\n"
|
||||||
"\n"
|
"\n"
|
||||||
"File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
|
" File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
|
||||||
"or send questions and comments to public-htacg@w3.org.\n"
|
" or send questions and comments to public-htacg@w3.org.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Validate your HTML documents using the W3C Nu Markup Validator:\n"
|
" Validate your HTML documents using the W3C Nu Markup Validator:\n"
|
||||||
" http://validator.w3.org/nu/\n"
|
" http://validator.w3.org/nu/\n"
|
||||||
"\n"
|
"\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_3A"
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
" Additionally, Tidy will automatically attempt to use configuration specified \n"
|
||||||
|
" in these files, if present: \n"
|
||||||
|
"\n"
|
||||||
|
" %s \n"
|
||||||
|
" %s \n"
|
||||||
|
"\n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||||||
msgctxt "TC_TXT_HELP_CONFIG"
|
msgctxt "TC_TXT_HELP_CONFIG"
|
||||||
|
@ -3423,6 +3516,54 @@ msgctxt "TC_TXT_HELP_CONFIG_ALLW"
|
||||||
msgid "Allowable values"
|
msgid "Allowable values"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1"
|
||||||
|
msgid ""
|
||||||
|
"\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"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1A"
|
||||||
|
msgid ""
|
||||||
|
" - The system runtime configuration file: \n"
|
||||||
|
" %s \n"
|
||||||
|
" - The user runtime configuration file: \n"
|
||||||
|
" %s \n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1B"
|
||||||
|
msgid "(not currently set)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1C"
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
"Note that because $HTML_TIDY is set, the user runtime configuration file \n"
|
||||||
|
"%s will not be used. \n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||||||
msgctxt "TC_TXT_HELP_LANG_1"
|
msgctxt "TC_TXT_HELP_LANG_1"
|
||||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
||||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"PO-Revision-Date: 2017-09-19 14:00:03\n"
|
"PO-Revision-Date: 2017-10-03 12:22:47\n"
|
||||||
"Last-Translator: jderry\n"
|
"Last-Translator: jderry\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
|
||||||
|
@ -300,7 +300,8 @@ msgid ""
|
||||||
"<code><!DOCTYPE html></code>."
|
"<code><!DOCTYPE html></code>."
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"If set to <var>auto</var> (the default) Tidy will use an educated guess "
|
"If set to <var>auto</var> (the default) Tidy will use an educated guess "
|
||||||
"based upon the contents of the document."
|
"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/>"
|
"<br/>"
|
||||||
"If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
|
"If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
|
||||||
"XHTML1 strict DTD."
|
"XHTML1 strict DTD."
|
||||||
|
@ -557,14 +558,18 @@ msgid ""
|
||||||
"This option specifies if Tidy should replace unexpected hyphens with "
|
"This option specifies if Tidy should replace unexpected hyphens with "
|
||||||
"<code>=</code> characters when it comes across adjacent hyphens. "
|
"<code>=</code> characters when it comes across adjacent hyphens. "
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"The default is <var>yes</var>. "
|
"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/>"
|
"<br/>"
|
||||||
"This option is provided for users of Cold Fusion which uses the "
|
"HTML has abandonded SGML comment syntax, and allows adjacent hypens "
|
||||||
"comment syntax: <code><!--- ---></code>. "
|
"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>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Cette option précise si Tidy doit remplacer les traits d'unions par le caractère <code>=</code> "
|
"Cette option précise si Tidy doit remplacer les traits d'unions par le caractère <code>=</code> "
|
||||||
"s'il rencontre des traits-d'unions adjacents. <br/>La valeur par défaut est <var>yes</var>. <br/"
|
"s'il rencontre des traits-d'unions adjacents. <br/>La valeur par défaut est <var>yes</var>. <br/"
|
||||||
">Cette option est fourni pour les utilisateurs de Cold Fusion qui utilisent la syntaxe de "
|
">Cette option est fourni pour les utilisateurs de ColdFusion qui utilisent la syntaxe de "
|
||||||
"commentaire: <code><!--- ---></code>. "
|
"commentaire: <code><!--- ---></code>. "
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
|
@ -1263,6 +1268,24 @@ msgstr ""
|
||||||
"inconnues. <br/>Notez que vous ne pouvez encore ajouter de nouveaux éléments CDATA. <br/>Cette "
|
"inconnues. <br/>Notez que vous ne pouvez encore ajouter de nouveaux éléments CDATA. <br/>Cette "
|
||||||
"option est ignorée avec le mode XML. "
|
"option est ignorée avec le mode 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.
|
||||||
|
msgctxt "TidyPriorityAttributes"
|
||||||
|
msgid ""
|
||||||
|
"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 <var>id</var> and "
|
||||||
|
"<var>name</var> are written before every other attribute. "
|
||||||
|
"<br/>"
|
||||||
|
"This option takes a space or comma separated list of attribute names. "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||||||
#. <br/>.
|
#. <br/>.
|
||||||
|
@ -1458,6 +1481,10 @@ msgid ""
|
||||||
"This option specifies that Tidy should sort attributes within an element "
|
"This option specifies that Tidy should sort attributes within an element "
|
||||||
"using the specified sort algorithm. If set to <var>alpha</var>, the "
|
"using the specified sort algorithm. If set to <var>alpha</var>, the "
|
||||||
"algorithm is an ascending alphabetic sort. "
|
"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. "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Cette option précise que Tidy doit classer les attributs d'un élément en utilisant un algorithme de "
|
"Cette option précise que Tidy doit classer les attributs d'un élément en utilisant un algorithme de "
|
||||||
"classement. Si la valeur est <var>alpha</var>, l'algorithme est un classement alphabétique "
|
"classement. Si la valeur est <var>alpha</var>, l'algorithme est un classement alphabétique "
|
||||||
|
@ -2364,6 +2391,15 @@ msgstr ""
|
||||||
"d'un élément NOFRAMES.\n"
|
"d'un élément NOFRAMES.\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
|
#. This console output should be limited to 78 characters per line.
|
||||||
|
msgctxt "FOOTNOTE_TRIM_EMPTY_ELEMENT"
|
||||||
|
msgid ""
|
||||||
|
"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"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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.
|
#. - The URL should not be translated unless you find a matching URL in your language.
|
||||||
msgctxt "TEXT_ACCESS_ADVICE1"
|
msgctxt "TEXT_ACCESS_ADVICE1"
|
||||||
|
@ -2727,9 +2763,21 @@ msgid "%s joining values of repeated attribute \"%s\""
|
||||||
msgstr "%s regroupement des valeurs répétées de l'attribut « %s »"
|
msgstr "%s regroupement des valeurs répétées de l'attribut « %s »"
|
||||||
|
|
||||||
msgctxt "MALFORMED_COMMENT"
|
msgctxt "MALFORMED_COMMENT"
|
||||||
msgid "adjacent hyphens within comment"
|
msgid "tidy replaced adjacent \"-\" with \"=\""
|
||||||
msgstr "tirets adjacents dans un commentaire"
|
msgstr "tirets adjacents dans un commentaire"
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_DROPPING"
|
||||||
|
msgid "dropping a possible comment due to a missing hyphen"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_EOS"
|
||||||
|
msgid "the end of the document was reached before the end of the comment"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_WARN"
|
||||||
|
msgid "detected adjacent hyphens within the comment; consider fix-bad-comments"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "MALFORMED_DOCTYPE"
|
msgctxt "MALFORMED_DOCTYPE"
|
||||||
msgid "discarding malformed <!DOCTYPE>"
|
msgid "discarding malformed <!DOCTYPE>"
|
||||||
msgstr "inhibition de la <!DOCTYPE> mal formée"
|
msgstr "inhibition de la <!DOCTYPE> mal formée"
|
||||||
|
@ -2768,6 +2816,11 @@ msgctxt "MISSING_ENDTAG_FOR"
|
||||||
msgid "missing </%s>"
|
msgid "missing </%s>"
|
||||||
msgstr "absence de </%s>"
|
msgstr "absence de </%s>"
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgctxt "MISSING_ENDTAG_OPTIONAL"
|
||||||
|
msgid "missing optional end tag </%s>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgctxt "MISSING_IMAGEMAP"
|
msgctxt "MISSING_IMAGEMAP"
|
||||||
msgid "%s should use client-side image map"
|
msgid "%s should use client-side image map"
|
||||||
|
@ -2778,6 +2831,11 @@ msgctxt "MISSING_QUOTEMARK"
|
||||||
msgid "%s attribute with missing trailing quote mark"
|
msgid "%s attribute with missing trailing quote mark"
|
||||||
msgstr "%s attribut avec apostrophe de fin manquante"
|
msgstr "%s attribut avec apostrophe de fin manquante"
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgctxt "MISSING_QUOTEMARK_OPEN"
|
||||||
|
msgid "value for attribute \"%s\" missing quote marks"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgctxt "MISSING_SEMICOLON_NCR"
|
msgctxt "MISSING_SEMICOLON_NCR"
|
||||||
msgid "numeric character reference \"%s\" doesn't end in ';'"
|
msgid "numeric character reference \"%s\" doesn't end in ';'"
|
||||||
|
@ -2885,7 +2943,7 @@ msgid "unknown option: %s"
|
||||||
msgstr "option inconnue: %s"
|
msgstr "option inconnue: %s"
|
||||||
|
|
||||||
msgctxt "SUSPECTED_MISSING_QUOTE"
|
msgctxt "SUSPECTED_MISSING_QUOTE"
|
||||||
msgid "missing quote mark for attribute value"
|
msgid "suspected missing quote mark for attribute value"
|
||||||
msgstr "absence de guillemet pour la valeur d'attribut"
|
msgstr "absence de guillemet pour la valeur d'attribut"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
|
@ -3550,6 +3608,10 @@ msgctxt "TC_OPT_HELPCFG"
|
||||||
msgid "list all configuration options"
|
msgid "list all configuration options"
|
||||||
msgstr "liste toutes les options de configuration"
|
msgstr "liste toutes les options de configuration"
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_HELPENV"
|
||||||
|
msgid "show information about the environment and runtime configuration"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TC_OPT_HELPOPT"
|
msgctxt "TC_OPT_HELPOPT"
|
||||||
msgid "show a description of the <option>"
|
msgid "show a description of the <option>"
|
||||||
msgstr "Affiche une description de l'<option>"
|
msgstr "Affiche une description de l'<option>"
|
||||||
|
@ -3621,6 +3683,14 @@ msgctxt "TC_OPT_SHOWCFG"
|
||||||
msgid "list the current configuration settings"
|
msgid "list the current configuration settings"
|
||||||
msgstr "liste les options de configuration"
|
msgstr "liste les options de configuration"
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_EXP_CFG"
|
||||||
|
msgid "list the current configuration settings, suitable for a config file"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_EXP_DEF"
|
||||||
|
msgid "list the default configuration settings, suitable for a config file"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TC_OPT_UPPER"
|
msgctxt "TC_OPT_UPPER"
|
||||||
msgid "force tags to upper case"
|
msgid "force tags to upper case"
|
||||||
msgstr "force les balises en lettres majuscules"
|
msgstr "force les balises en lettres majuscules"
|
||||||
|
@ -3808,36 +3878,44 @@ msgstr "Arguments en ligne de commande de HTML Tidy:"
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 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.
|
||||||
|
#, c-format
|
||||||
msgctxt "TC_TXT_HELP_3"
|
msgctxt "TC_TXT_HELP_3"
|
||||||
msgid ""
|
msgid ""
|
||||||
"\n"
|
"\n"
|
||||||
"Tidy Configuration Options\n"
|
"Tidy Configuration Options\n"
|
||||||
"==========================\n"
|
"==========================\n"
|
||||||
"Use Tidy's configuration options as command line arguments in the form\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"
|
" of \"--some-option <value>\", for example, \"--indent-with-tabs yes\".\n"
|
||||||
"\n"
|
"\n"
|
||||||
"For a list of all configuration options, use \"-help-config\" or refer\n"
|
" You can also specify a file containing configuration options with the \n"
|
||||||
"to the man page (if your OS has one).\n"
|
" -options <file> directive, or in one or more files specific to your \n"
|
||||||
|
" environment (see next section). \n"
|
||||||
"\n"
|
"\n"
|
||||||
"If your environment has an $HTML_TIDY variable set point to a Tidy \n"
|
" For a list of all configuration options, use \"-help-config\" or refer\n"
|
||||||
"configuration file then Tidy will attempt to use it.\n"
|
" to the man page (if your OS has one).\n"
|
||||||
"\n"
|
"\n"
|
||||||
"On some platforms Tidy will also attempt to use a configuration specified \n"
|
"Configuration Files\n"
|
||||||
"in /etc/tidy.conf or ~/.tidy.conf.\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"
|
"\n"
|
||||||
"Other\n"
|
"Other\n"
|
||||||
"=====\n"
|
"=====\n"
|
||||||
"Input/Output default to stdin/stdout respectively.\n"
|
" Input/Output default to stdin/stdout respectively.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Single letter options apart from -f may be combined\n"
|
" Single letter options apart from -f may be combined\n"
|
||||||
"as in: tidy -f errs.txt -imu foo.html\n"
|
" as in: tidy -f errs.txt -imu foo.html\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Information\n"
|
"Information\n"
|
||||||
"===========\n"
|
"===========\n"
|
||||||
"For more information about HTML Tidy, see\n"
|
" For more information about HTML Tidy, see\n"
|
||||||
" http://www.html-tidy.org/\n"
|
" http://www.html-tidy.org/\n"
|
||||||
"\n"
|
"\n"
|
||||||
"For more information on HTML, see the following:\n"
|
" For more information on HTML, see the following:\n"
|
||||||
"\n"
|
"\n"
|
||||||
" HTML: Edition for Web Authors (the latest HTML specification)\n"
|
" HTML: Edition for Web Authors (the latest HTML specification)\n"
|
||||||
" http://dev.w3.org/html5/spec-author-view\n"
|
" http://dev.w3.org/html5/spec-author-view\n"
|
||||||
|
@ -3845,10 +3923,10 @@ msgid ""
|
||||||
" HTML: The Markup Language (an HTML language reference)\n"
|
" HTML: The Markup Language (an HTML language reference)\n"
|
||||||
" http://dev.w3.org/html5/markup/\n"
|
" http://dev.w3.org/html5/markup/\n"
|
||||||
"\n"
|
"\n"
|
||||||
"File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
|
" File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
|
||||||
"or send questions and comments to public-htacg@w3.org.\n"
|
" or send questions and comments to public-htacg@w3.org.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Validate your HTML documents using the W3C Nu Markup Validator:\n"
|
" Validate your HTML documents using the W3C Nu Markup Validator:\n"
|
||||||
" http://validator.w3.org/nu/\n"
|
" http://validator.w3.org/nu/\n"
|
||||||
"\n"
|
"\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3887,6 +3965,21 @@ msgstr ""
|
||||||
" http://dev.w3.org/html5/spec-author-view\n"
|
" http://dev.w3.org/html5/spec-author-view\n"
|
||||||
"\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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_3A"
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
" Additionally, Tidy will automatically attempt to use configuration specified \n"
|
||||||
|
" in these files, if present: \n"
|
||||||
|
"\n"
|
||||||
|
" %s \n"
|
||||||
|
" %s \n"
|
||||||
|
"\n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||||||
msgctxt "TC_TXT_HELP_CONFIG"
|
msgctxt "TC_TXT_HELP_CONFIG"
|
||||||
|
@ -3929,6 +4022,54 @@ msgctxt "TC_TXT_HELP_CONFIG_ALLW"
|
||||||
msgid "Allowable values"
|
msgid "Allowable values"
|
||||||
msgstr "Valeurs possibles"
|
msgstr "Valeurs possibles"
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1"
|
||||||
|
msgid ""
|
||||||
|
"\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"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1A"
|
||||||
|
msgid ""
|
||||||
|
" - The system runtime configuration file: \n"
|
||||||
|
" %s \n"
|
||||||
|
" - The user runtime configuration file: \n"
|
||||||
|
" %s \n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1B"
|
||||||
|
msgid "(not currently set)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1C"
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
"Note that because $HTML_TIDY is set, the user runtime configuration file \n"
|
||||||
|
"%s will not be used. \n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||||||
msgctxt "TC_TXT_HELP_LANG_1"
|
msgctxt "TC_TXT_HELP_LANG_1"
|
||||||
|
|
|
@ -1,15 +1,13 @@
|
||||||
# Rafael Fontenelle <rafaelff@gnome.org>, 2017.
|
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
|
||||||
"PO-Revision-Date: 2017-09-21 00:07-0200\n"
|
|
||||||
"Last-Translator: Rafael Fontenelle <rafaelff@gnome.org>\n"
|
|
||||||
"Language-Team: \n"
|
|
||||||
"Language: pt_BR\n"
|
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Language: pt_br\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
"X-Generator: Virtaal 1.0.0-beta1\n"
|
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"PO-Revision-Date: 2017-10-03 12:22:47\n"
|
||||||
|
"Last-Translator: jderry\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||||||
|
@ -312,7 +310,8 @@ msgid ""
|
||||||
"<code><!DOCTYPE html></code>."
|
"<code><!DOCTYPE html></code>."
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"If set to <var>auto</var> (the default) Tidy will use an educated guess "
|
"If set to <var>auto</var> (the default) Tidy will use an educated guess "
|
||||||
"based upon the contents of the document."
|
"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/>"
|
"<br/>"
|
||||||
"If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
|
"If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
|
||||||
"XHTML1 strict DTD."
|
"XHTML1 strict DTD."
|
||||||
|
@ -576,10 +575,14 @@ msgid ""
|
||||||
"This option specifies if Tidy should replace unexpected hyphens with "
|
"This option specifies if Tidy should replace unexpected hyphens with "
|
||||||
"<code>=</code> characters when it comes across adjacent hyphens. "
|
"<code>=</code> characters when it comes across adjacent hyphens. "
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"The default is <var>yes</var>. "
|
"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/>"
|
"<br/>"
|
||||||
"This option is provided for users of Cold Fusion which uses the "
|
"HTML has abandonded SGML comment syntax, and allows adjacent hypens "
|
||||||
"comment syntax: <code><!--- ---></code>. "
|
"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>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Esta opção especifica se Tidy deve substituir hífenes inesperados com "
|
"Esta opção especifica se Tidy deve substituir hífenes inesperados com "
|
||||||
"caracteres <code>=</code> quando se trata de hífenes adjacentes. <br/>O "
|
"caracteres <code>=</code> quando se trata de hífenes adjacentes. <br/>O "
|
||||||
|
@ -1315,6 +1318,24 @@ msgstr ""
|
||||||
"que você ainda não pode adicionar novos elementos CDATA. <br/>Esta opção é "
|
"que você ainda não pode adicionar novos elementos CDATA. <br/>Esta opção é "
|
||||||
"ignorada no modo XML. "
|
"ignorada no modo 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.
|
||||||
|
msgctxt "TidyPriorityAttributes"
|
||||||
|
msgid ""
|
||||||
|
"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 <var>id</var> and "
|
||||||
|
"<var>name</var> are written before every other attribute. "
|
||||||
|
"<br/>"
|
||||||
|
"This option takes a space or comma separated list of attribute names. "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||||||
#. <br/>.
|
#. <br/>.
|
||||||
|
@ -1514,6 +1535,10 @@ msgid ""
|
||||||
"This option specifies that Tidy should sort attributes within an element "
|
"This option specifies that Tidy should sort attributes within an element "
|
||||||
"using the specified sort algorithm. If set to <var>alpha</var>, the "
|
"using the specified sort algorithm. If set to <var>alpha</var>, the "
|
||||||
"algorithm is an ascending alphabetic sort. "
|
"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. "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Esta opção especifica que o Tidy deve ordenar atributos dentro de um "
|
"Esta opção especifica que o Tidy deve ordenar atributos dentro de um "
|
||||||
"elemento usando o algoritmo de ordenação especificado. Se configurado para "
|
"elemento usando o algoritmo de ordenação especificado. Se configurado para "
|
||||||
|
@ -2102,7 +2127,7 @@ msgstr "impressão"
|
||||||
|
|
||||||
msgctxt "TidyInfo"
|
msgctxt "TidyInfo"
|
||||||
msgid "Info: "
|
msgid "Info: "
|
||||||
msgstr "Info: "
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TidyWarning"
|
msgctxt "TidyWarning"
|
||||||
msgid "Warning: "
|
msgid "Warning: "
|
||||||
|
@ -2110,7 +2135,7 @@ msgstr "Acesso: "
|
||||||
|
|
||||||
msgctxt "TidyConfig"
|
msgctxt "TidyConfig"
|
||||||
msgid "Config: "
|
msgid "Config: "
|
||||||
msgstr "Config: "
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TidyAccess"
|
msgctxt "TidyAccess"
|
||||||
msgid "Access: "
|
msgid "Access: "
|
||||||
|
@ -2451,6 +2476,15 @@ msgstr ""
|
||||||
"quadros deve sempre incluir um layout alternativo dentro\n"
|
"quadros deve sempre incluir um layout alternativo dentro\n"
|
||||||
"de um elemento NOFRAMES.\n"
|
"de um elemento NOFRAMES.\n"
|
||||||
|
|
||||||
|
#. This console output should be limited to 78 characters per line.
|
||||||
|
msgctxt "FOOTNOTE_TRIM_EMPTY_ELEMENT"
|
||||||
|
msgid ""
|
||||||
|
"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"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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.
|
#. - The URL should not be translated unless you find a matching URL in your language.
|
||||||
msgctxt "TEXT_ACCESS_ADVICE1"
|
msgctxt "TEXT_ACCESS_ADVICE1"
|
||||||
|
@ -2817,9 +2851,21 @@ msgid "%s joining values of repeated attribute \"%s\""
|
||||||
msgstr "%s juntando valores de atributo repetido \"%s\""
|
msgstr "%s juntando valores de atributo repetido \"%s\""
|
||||||
|
|
||||||
msgctxt "MALFORMED_COMMENT"
|
msgctxt "MALFORMED_COMMENT"
|
||||||
msgid "adjacent hyphens within comment"
|
msgid "tidy replaced adjacent \"-\" with \"=\""
|
||||||
msgstr "hífenes adjacentes dentro de comentário"
|
msgstr "hífenes adjacentes dentro de comentário"
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_DROPPING"
|
||||||
|
msgid "dropping a possible comment due to a missing hyphen"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_EOS"
|
||||||
|
msgid "the end of the document was reached before the end of the comment"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_WARN"
|
||||||
|
msgid "detected adjacent hyphens within the comment; consider fix-bad-comments"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "MALFORMED_DOCTYPE"
|
msgctxt "MALFORMED_DOCTYPE"
|
||||||
msgid "discarding malformed <!DOCTYPE>"
|
msgid "discarding malformed <!DOCTYPE>"
|
||||||
msgstr "descartando <!DOCTYPE> malformado"
|
msgstr "descartando <!DOCTYPE> malformado"
|
||||||
|
@ -2858,6 +2904,11 @@ msgctxt "MISSING_ENDTAG_FOR"
|
||||||
msgid "missing </%s>"
|
msgid "missing </%s>"
|
||||||
msgstr "faltando </%s>"
|
msgstr "faltando </%s>"
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgctxt "MISSING_ENDTAG_OPTIONAL"
|
||||||
|
msgid "missing optional end tag </%s>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgctxt "MISSING_IMAGEMAP"
|
msgctxt "MISSING_IMAGEMAP"
|
||||||
msgid "%s should use client-side image map"
|
msgid "%s should use client-side image map"
|
||||||
|
@ -2868,6 +2919,11 @@ msgctxt "MISSING_QUOTEMARK"
|
||||||
msgid "%s attribute with missing trailing quote mark"
|
msgid "%s attribute with missing trailing quote mark"
|
||||||
msgstr "atributo de %s faltando aspas ao final"
|
msgstr "atributo de %s faltando aspas ao final"
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgctxt "MISSING_QUOTEMARK_OPEN"
|
||||||
|
msgid "value for attribute \"%s\" missing quote marks"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgctxt "MISSING_SEMICOLON_NCR"
|
msgctxt "MISSING_SEMICOLON_NCR"
|
||||||
msgid "numeric character reference \"%s\" doesn't end in ';'"
|
msgid "numeric character reference \"%s\" doesn't end in ';'"
|
||||||
|
@ -2975,7 +3031,7 @@ msgid "unknown option: %s"
|
||||||
msgstr "opção desconhecida: %s"
|
msgstr "opção desconhecida: %s"
|
||||||
|
|
||||||
msgctxt "SUSPECTED_MISSING_QUOTE"
|
msgctxt "SUSPECTED_MISSING_QUOTE"
|
||||||
msgid "missing quote mark for attribute value"
|
msgid "suspected missing quote mark for attribute value"
|
||||||
msgstr "faltando aspas para o valor de atributo"
|
msgstr "faltando aspas para o valor de atributo"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
|
@ -3642,6 +3698,10 @@ msgctxt "TC_OPT_HELPCFG"
|
||||||
msgid "list all configuration options"
|
msgid "list all configuration options"
|
||||||
msgstr "lista todas as opções de configuração"
|
msgstr "lista todas as opções de configuração"
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_HELPENV"
|
||||||
|
msgid "show information about the environment and runtime configuration"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TC_OPT_HELPOPT"
|
msgctxt "TC_OPT_HELPOPT"
|
||||||
msgid "show a description of the <option>"
|
msgid "show a description of the <option>"
|
||||||
msgstr " mostra uma descrição da <opção>"
|
msgstr " mostra uma descrição da <opção>"
|
||||||
|
@ -3714,6 +3774,14 @@ msgctxt "TC_OPT_SHOWCFG"
|
||||||
msgid "list the current configuration settings"
|
msgid "list the current configuration settings"
|
||||||
msgstr "lista as definições da configuração atual"
|
msgstr "lista as definições da configuração atual"
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_EXP_CFG"
|
||||||
|
msgid "list the current configuration settings, suitable for a config file"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_EXP_DEF"
|
||||||
|
msgid "list the default configuration settings, suitable for a config file"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TC_OPT_UPPER"
|
msgctxt "TC_OPT_UPPER"
|
||||||
msgid "force tags to upper case"
|
msgid "force tags to upper case"
|
||||||
msgstr "força tags para maiúsculo"
|
msgstr "força tags para maiúsculo"
|
||||||
|
@ -3902,36 +3970,44 @@ msgstr "Os argumentos de linha de comando para HTML Tidy:"
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 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.
|
||||||
|
#, c-format
|
||||||
msgctxt "TC_TXT_HELP_3"
|
msgctxt "TC_TXT_HELP_3"
|
||||||
msgid ""
|
msgid ""
|
||||||
"\n"
|
"\n"
|
||||||
"Tidy Configuration Options\n"
|
"Tidy Configuration Options\n"
|
||||||
"==========================\n"
|
"==========================\n"
|
||||||
"Use Tidy's configuration options as command line arguments in the form\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"
|
" of \"--some-option <value>\", for example, \"--indent-with-tabs yes\".\n"
|
||||||
"\n"
|
"\n"
|
||||||
"For a list of all configuration options, use \"-help-config\" or refer\n"
|
" You can also specify a file containing configuration options with the \n"
|
||||||
"to the man page (if your OS has one).\n"
|
" -options <file> directive, or in one or more files specific to your \n"
|
||||||
|
" environment (see next section). \n"
|
||||||
"\n"
|
"\n"
|
||||||
"If your environment has an $HTML_TIDY variable set point to a Tidy \n"
|
" For a list of all configuration options, use \"-help-config\" or refer\n"
|
||||||
"configuration file then Tidy will attempt to use it.\n"
|
" to the man page (if your OS has one).\n"
|
||||||
"\n"
|
"\n"
|
||||||
"On some platforms Tidy will also attempt to use a configuration specified \n"
|
"Configuration Files\n"
|
||||||
"in /etc/tidy.conf or ~/.tidy.conf.\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"
|
"\n"
|
||||||
"Other\n"
|
"Other\n"
|
||||||
"=====\n"
|
"=====\n"
|
||||||
"Input/Output default to stdin/stdout respectively.\n"
|
" Input/Output default to stdin/stdout respectively.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Single letter options apart from -f may be combined\n"
|
" Single letter options apart from -f may be combined\n"
|
||||||
"as in: tidy -f errs.txt -imu foo.html\n"
|
" as in: tidy -f errs.txt -imu foo.html\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Information\n"
|
"Information\n"
|
||||||
"===========\n"
|
"===========\n"
|
||||||
"For more information about HTML Tidy, see\n"
|
" For more information about HTML Tidy, see\n"
|
||||||
" http://www.html-tidy.org/\n"
|
" http://www.html-tidy.org/\n"
|
||||||
"\n"
|
"\n"
|
||||||
"For more information on HTML, see the following:\n"
|
" For more information on HTML, see the following:\n"
|
||||||
"\n"
|
"\n"
|
||||||
" HTML: Edition for Web Authors (the latest HTML specification)\n"
|
" HTML: Edition for Web Authors (the latest HTML specification)\n"
|
||||||
" http://dev.w3.org/html5/spec-author-view\n"
|
" http://dev.w3.org/html5/spec-author-view\n"
|
||||||
|
@ -3939,10 +4015,10 @@ msgid ""
|
||||||
" HTML: The Markup Language (an HTML language reference)\n"
|
" HTML: The Markup Language (an HTML language reference)\n"
|
||||||
" http://dev.w3.org/html5/markup/\n"
|
" http://dev.w3.org/html5/markup/\n"
|
||||||
"\n"
|
"\n"
|
||||||
"File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
|
" File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
|
||||||
"or send questions and comments to public-htacg@w3.org.\n"
|
" or send questions and comments to public-htacg@w3.org.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Validate your HTML documents using the W3C Nu Markup Validator:\n"
|
" Validate your HTML documents using the W3C Nu Markup Validator:\n"
|
||||||
" http://validator.w3.org/nu/\n"
|
" http://validator.w3.org/nu/\n"
|
||||||
"\n"
|
"\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3990,6 +4066,21 @@ msgstr ""
|
||||||
" http://validator.w3.org/nu/\n"
|
" http://validator.w3.org/nu/\n"
|
||||||
"\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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_3A"
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
" Additionally, Tidy will automatically attempt to use configuration specified \n"
|
||||||
|
" in these files, if present: \n"
|
||||||
|
"\n"
|
||||||
|
" %s \n"
|
||||||
|
" %s \n"
|
||||||
|
"\n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||||||
msgctxt "TC_TXT_HELP_CONFIG"
|
msgctxt "TC_TXT_HELP_CONFIG"
|
||||||
|
@ -4032,6 +4123,54 @@ msgctxt "TC_TXT_HELP_CONFIG_ALLW"
|
||||||
msgid "Allowable values"
|
msgid "Allowable values"
|
||||||
msgstr "Valores permitidos"
|
msgstr "Valores permitidos"
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1"
|
||||||
|
msgid ""
|
||||||
|
"\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"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1A"
|
||||||
|
msgid ""
|
||||||
|
" - The system runtime configuration file: \n"
|
||||||
|
" %s \n"
|
||||||
|
" - The user runtime configuration file: \n"
|
||||||
|
" %s \n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1B"
|
||||||
|
msgid "(not currently set)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1C"
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
"Note that because $HTML_TIDY is set, the user runtime configuration file \n"
|
||||||
|
"%s will not be used. \n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||||||
msgctxt "TC_TXT_HELP_LANG_1"
|
msgctxt "TC_TXT_HELP_LANG_1"
|
||||||
|
@ -4120,3 +4259,4 @@ msgstr ""
|
||||||
"\n"
|
"\n"
|
||||||
"Tidy está usando a localidade %s. \n"
|
"Tidy está usando a localidade %s. \n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
||||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"PO-Revision-Date: 2017-09-19 14:00:03\n"
|
"PO-Revision-Date: 2017-10-03 12:22:47\n"
|
||||||
"Last-Translator: jderry\n"
|
"Last-Translator: jderry\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
|
||||||
|
@ -251,7 +251,8 @@ msgid ""
|
||||||
"<code><!DOCTYPE html></code>."
|
"<code><!DOCTYPE html></code>."
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"If set to <var>auto</var> (the default) Tidy will use an educated guess "
|
"If set to <var>auto</var> (the default) Tidy will use an educated guess "
|
||||||
"based upon the contents of the document."
|
"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/>"
|
"<br/>"
|
||||||
"If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
|
"If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
|
||||||
"XHTML1 strict DTD."
|
"XHTML1 strict DTD."
|
||||||
|
@ -466,10 +467,14 @@ msgid ""
|
||||||
"This option specifies if Tidy should replace unexpected hyphens with "
|
"This option specifies if Tidy should replace unexpected hyphens with "
|
||||||
"<code>=</code> characters when it comes across adjacent hyphens. "
|
"<code>=</code> characters when it comes across adjacent hyphens. "
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"The default is <var>yes</var>. "
|
"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/>"
|
"<br/>"
|
||||||
"This option is provided for users of Cold Fusion which uses the "
|
"HTML has abandonded SGML comment syntax, and allows adjacent hypens "
|
||||||
"comment syntax: <code><!--- ---></code>. "
|
"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>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
|
@ -1055,6 +1060,24 @@ msgid ""
|
||||||
"This option is ignored in XML mode. "
|
"This option is ignored in XML mode. "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
msgctxt "TidyPriorityAttributes"
|
||||||
|
msgid ""
|
||||||
|
"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 <var>id</var> and "
|
||||||
|
"<var>name</var> are written before every other attribute. "
|
||||||
|
"<br/>"
|
||||||
|
"This option takes a space or comma separated list of attribute names. "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
#. - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||||||
#. <br/>.
|
#. <br/>.
|
||||||
|
@ -1226,6 +1249,10 @@ msgid ""
|
||||||
"This option specifies that Tidy should sort attributes within an element "
|
"This option specifies that Tidy should sort attributes within an element "
|
||||||
"using the specified sort algorithm. If set to <var>alpha</var>, the "
|
"using the specified sort algorithm. If set to <var>alpha</var>, the "
|
||||||
"algorithm is an ascending alphabetic sort. "
|
"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. "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Important notes for translators:
|
#. Important notes for translators:
|
||||||
|
@ -1951,6 +1978,15 @@ msgid ""
|
||||||
"include an alternative layout inside a NOFRAMES element.\n"
|
"include an alternative layout inside a NOFRAMES element.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. This console output should be limited to 78 characters per line.
|
||||||
|
msgctxt "FOOTNOTE_TRIM_EMPTY_ELEMENT"
|
||||||
|
msgid ""
|
||||||
|
"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"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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.
|
#. - The URL should not be translated unless you find a matching URL in your language.
|
||||||
msgctxt "TEXT_ACCESS_ADVICE1"
|
msgctxt "TEXT_ACCESS_ADVICE1"
|
||||||
|
@ -2276,7 +2312,19 @@ msgid "%s joining values of repeated attribute \"%s\""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "MALFORMED_COMMENT"
|
msgctxt "MALFORMED_COMMENT"
|
||||||
msgid "adjacent hyphens within comment"
|
msgid "tidy replaced adjacent \"-\" with \"=\""
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_DROPPING"
|
||||||
|
msgid "dropping a possible comment due to a missing hyphen"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_EOS"
|
||||||
|
msgid "the end of the document was reached before the end of the comment"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "MALFORMED_COMMENT_WARN"
|
||||||
|
msgid "detected adjacent hyphens within the comment; consider fix-bad-comments"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "MALFORMED_DOCTYPE"
|
msgctxt "MALFORMED_DOCTYPE"
|
||||||
|
@ -2317,6 +2365,11 @@ msgctxt "MISSING_ENDTAG_FOR"
|
||||||
msgid "missing </%s>"
|
msgid "missing </%s>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgctxt "MISSING_ENDTAG_OPTIONAL"
|
||||||
|
msgid "missing optional end tag </%s>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgctxt "MISSING_IMAGEMAP"
|
msgctxt "MISSING_IMAGEMAP"
|
||||||
msgid "%s should use client-side image map"
|
msgid "%s should use client-side image map"
|
||||||
|
@ -2327,6 +2380,11 @@ msgctxt "MISSING_QUOTEMARK"
|
||||||
msgid "%s attribute with missing trailing quote mark"
|
msgid "%s attribute with missing trailing quote mark"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgctxt "MISSING_QUOTEMARK_OPEN"
|
||||||
|
msgid "value for attribute \"%s\" missing quote marks"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgctxt "MISSING_SEMICOLON_NCR"
|
msgctxt "MISSING_SEMICOLON_NCR"
|
||||||
msgid "numeric character reference \"%s\" doesn't end in ';'"
|
msgid "numeric character reference \"%s\" doesn't end in ';'"
|
||||||
|
@ -2434,7 +2492,7 @@ msgid "unknown option: %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "SUSPECTED_MISSING_QUOTE"
|
msgctxt "SUSPECTED_MISSING_QUOTE"
|
||||||
msgid "missing quote mark for attribute value"
|
msgid "suspected missing quote mark for attribute value"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
|
@ -3095,6 +3153,10 @@ msgctxt "TC_OPT_HELPCFG"
|
||||||
msgid "list all configuration options"
|
msgid "list all configuration options"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_HELPENV"
|
||||||
|
msgid "show information about the environment and runtime configuration"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TC_OPT_HELPOPT"
|
msgctxt "TC_OPT_HELPOPT"
|
||||||
msgid "show a description of the <option>"
|
msgid "show a description of the <option>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3163,6 +3225,14 @@ msgctxt "TC_OPT_SHOWCFG"
|
||||||
msgid "list the current configuration settings"
|
msgid "list the current configuration settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_EXP_CFG"
|
||||||
|
msgid "list the current configuration settings, suitable for a config file"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "TC_OPT_EXP_DEF"
|
||||||
|
msgid "list the default configuration settings, suitable for a config file"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "TC_OPT_UPPER"
|
msgctxt "TC_OPT_UPPER"
|
||||||
msgid "force tags to upper case"
|
msgid "force tags to upper case"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3342,36 +3412,44 @@ msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 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.
|
||||||
|
#, c-format
|
||||||
msgctxt "TC_TXT_HELP_3"
|
msgctxt "TC_TXT_HELP_3"
|
||||||
msgid ""
|
msgid ""
|
||||||
"\n"
|
"\n"
|
||||||
"Tidy Configuration Options\n"
|
"Tidy Configuration Options\n"
|
||||||
"==========================\n"
|
"==========================\n"
|
||||||
"Use Tidy's configuration options as command line arguments in the form\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"
|
" of \"--some-option <value>\", for example, \"--indent-with-tabs yes\".\n"
|
||||||
"\n"
|
"\n"
|
||||||
"For a list of all configuration options, use \"-help-config\" or refer\n"
|
" You can also specify a file containing configuration options with the \n"
|
||||||
"to the man page (if your OS has one).\n"
|
" -options <file> directive, or in one or more files specific to your \n"
|
||||||
|
" environment (see next section). \n"
|
||||||
"\n"
|
"\n"
|
||||||
"If your environment has an $HTML_TIDY variable set point to a Tidy \n"
|
" For a list of all configuration options, use \"-help-config\" or refer\n"
|
||||||
"configuration file then Tidy will attempt to use it.\n"
|
" to the man page (if your OS has one).\n"
|
||||||
"\n"
|
"\n"
|
||||||
"On some platforms Tidy will also attempt to use a configuration specified \n"
|
"Configuration Files\n"
|
||||||
"in /etc/tidy.conf or ~/.tidy.conf.\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"
|
"\n"
|
||||||
"Other\n"
|
"Other\n"
|
||||||
"=====\n"
|
"=====\n"
|
||||||
"Input/Output default to stdin/stdout respectively.\n"
|
" Input/Output default to stdin/stdout respectively.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Single letter options apart from -f may be combined\n"
|
" Single letter options apart from -f may be combined\n"
|
||||||
"as in: tidy -f errs.txt -imu foo.html\n"
|
" as in: tidy -f errs.txt -imu foo.html\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Information\n"
|
"Information\n"
|
||||||
"===========\n"
|
"===========\n"
|
||||||
"For more information about HTML Tidy, see\n"
|
" For more information about HTML Tidy, see\n"
|
||||||
" http://www.html-tidy.org/\n"
|
" http://www.html-tidy.org/\n"
|
||||||
"\n"
|
"\n"
|
||||||
"For more information on HTML, see the following:\n"
|
" For more information on HTML, see the following:\n"
|
||||||
"\n"
|
"\n"
|
||||||
" HTML: Edition for Web Authors (the latest HTML specification)\n"
|
" HTML: Edition for Web Authors (the latest HTML specification)\n"
|
||||||
" http://dev.w3.org/html5/spec-author-view\n"
|
" http://dev.w3.org/html5/spec-author-view\n"
|
||||||
|
@ -3379,14 +3457,29 @@ msgid ""
|
||||||
" HTML: The Markup Language (an HTML language reference)\n"
|
" HTML: The Markup Language (an HTML language reference)\n"
|
||||||
" http://dev.w3.org/html5/markup/\n"
|
" http://dev.w3.org/html5/markup/\n"
|
||||||
"\n"
|
"\n"
|
||||||
"File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
|
" File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
|
||||||
"or send questions and comments to public-htacg@w3.org.\n"
|
" or send questions and comments to public-htacg@w3.org.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Validate your HTML documents using the W3C Nu Markup Validator:\n"
|
" Validate your HTML documents using the W3C Nu Markup Validator:\n"
|
||||||
" http://validator.w3.org/nu/\n"
|
" http://validator.w3.org/nu/\n"
|
||||||
"\n"
|
"\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_3A"
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
" Additionally, Tidy will automatically attempt to use configuration specified \n"
|
||||||
|
" in these files, if present: \n"
|
||||||
|
"\n"
|
||||||
|
" %s \n"
|
||||||
|
" %s \n"
|
||||||
|
"\n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||||||
msgctxt "TC_TXT_HELP_CONFIG"
|
msgctxt "TC_TXT_HELP_CONFIG"
|
||||||
|
@ -3417,6 +3510,54 @@ msgctxt "TC_TXT_HELP_CONFIG_ALLW"
|
||||||
msgid "Allowable values"
|
msgid "Allowable values"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1"
|
||||||
|
msgid ""
|
||||||
|
"\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"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1A"
|
||||||
|
msgid ""
|
||||||
|
" - The system runtime configuration file: \n"
|
||||||
|
" %s \n"
|
||||||
|
" - The user runtime configuration file: \n"
|
||||||
|
" %s \n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1B"
|
||||||
|
msgid "(not currently set)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. 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.
|
||||||
|
#, c-format
|
||||||
|
msgctxt "TC_TXT_HELP_ENV_1C"
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
"Note that because $HTML_TIDY is set, the user runtime configuration file \n"
|
||||||
|
"%s will not be used. \n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. This console output should be limited to 78 characters per line.
|
#. 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 strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
|
||||||
msgctxt "TC_TXT_HELP_LANG_1"
|
msgctxt "TC_TXT_HELP_LANG_1"
|
||||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
||||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"POT-Creation-Date: 2017-10-02 13:38:21\n"
|
"POT-Creation-Date: 2017-10-03 12:22:47\n"
|
||||||
"Last-Translator: jderry\n"
|
"Last-Translator: jderry\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
|
||||||
|
|
13
src/config.c
13
src/config.c
|
@ -91,12 +91,9 @@ static PickListItems charEncPicks = {
|
||||||
{ "mac", TidyEncMac, { "mac", NULL } },
|
{ "mac", TidyEncMac, { "mac", NULL } },
|
||||||
{ "win1252", TidyEncWin1252, { "win1252", NULL } },
|
{ "win1252", TidyEncWin1252, { "win1252", NULL } },
|
||||||
{ "ibm858", TidyEncIbm858, { "ibm858", NULL } },
|
{ "ibm858", TidyEncIbm858, { "ibm858", NULL } },
|
||||||
|
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
{ "utf16le", TidyEncUtf16le, { "utf16le", NULL } },
|
{ "utf16le", TidyEncUtf16le, { "utf16le", NULL } },
|
||||||
{ "utf16be", TidyEncUtf16be, { "utf16be", NULL } },
|
{ "utf16be", TidyEncUtf16be, { "utf16be", NULL } },
|
||||||
{ "utf16", TidyEncUtf16, { "utf16", NULL } },
|
{ "utf16", TidyEncUtf16, { "utf16", NULL } },
|
||||||
#endif
|
|
||||||
|
|
||||||
#if SUPPORT_ASIAN_ENCODINGS
|
#if SUPPORT_ASIAN_ENCODINGS
|
||||||
{ "big5", TidyEncBig5, { "big5", NULL } },
|
{ "big5", TidyEncBig5, { "big5", NULL } },
|
||||||
|
@ -274,9 +271,7 @@ static const TidyOptionImpl option_defs[] =
|
||||||
{ TidyOmitOptionalTags, MU, "omit-optional-tags", BL, no, ParsePickList, &boolPicks },
|
{ TidyOmitOptionalTags, MU, "omit-optional-tags", BL, no, ParsePickList, &boolPicks },
|
||||||
{ TidyOutCharEncoding, CE, "output-encoding", IN, UTF8, ParseCharEnc, &charEncPicks },
|
{ TidyOutCharEncoding, CE, "output-encoding", IN, UTF8, ParseCharEnc, &charEncPicks },
|
||||||
{ TidyOutFile, MS, "output-file", ST, 0, ParseString, NULL },
|
{ TidyOutFile, MS, "output-file", ST, 0, ParseString, NULL },
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
{ TidyOutputBOM, CE, "output-bom", IN, TidyAutoState, ParsePickList, &autoBoolPicks },
|
{ TidyOutputBOM, CE, "output-bom", IN, TidyAutoState, ParsePickList, &autoBoolPicks },
|
||||||
#endif
|
|
||||||
{ TidyPPrintTabs, PP, "indent-with-tabs", BL, no, ParseTabs, &boolPicks }, /* 20150515 - Issue #108 */
|
{ TidyPPrintTabs, PP, "indent-with-tabs", BL, no, ParseTabs, &boolPicks }, /* 20150515 - Issue #108 */
|
||||||
{ TidyPreserveEntities, MU, "preserve-entities", BL, no, ParsePickList, &boolPicks },
|
{ TidyPreserveEntities, MU, "preserve-entities", BL, no, ParsePickList, &boolPicks },
|
||||||
{ TidyPreTags, MU, "new-pre-tags", ST, 0, ParseTagNames, NULL },
|
{ TidyPreTags, MU, "new-pre-tags", ST, 0, ParseTagNames, NULL },
|
||||||
|
@ -997,11 +992,10 @@ Bool TY_(AdjustCharEncoding)( TidyDocImpl* doc, int encoding )
|
||||||
case ISO2022:
|
case ISO2022:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
case UTF16LE:
|
case UTF16LE:
|
||||||
case UTF16BE:
|
case UTF16BE:
|
||||||
case UTF16:
|
case UTF16:
|
||||||
#endif
|
|
||||||
#if SUPPORT_ASIAN_ENCODINGS
|
#if SUPPORT_ASIAN_ENCODINGS
|
||||||
case SHIFTJIS:
|
case SHIFTJIS:
|
||||||
case BIG5:
|
case BIG5:
|
||||||
|
@ -1066,11 +1060,9 @@ void AdjustConfig( TidyDocImpl* doc )
|
||||||
*/
|
*/
|
||||||
if ( cfg(doc, TidyOutCharEncoding) != ASCII &&
|
if ( cfg(doc, TidyOutCharEncoding) != ASCII &&
|
||||||
cfg(doc, TidyOutCharEncoding) != UTF8 &&
|
cfg(doc, TidyOutCharEncoding) != UTF8 &&
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
cfg(doc, TidyOutCharEncoding) != UTF16 &&
|
cfg(doc, TidyOutCharEncoding) != UTF16 &&
|
||||||
cfg(doc, TidyOutCharEncoding) != UTF16BE &&
|
cfg(doc, TidyOutCharEncoding) != UTF16BE &&
|
||||||
cfg(doc, TidyOutCharEncoding) != UTF16LE &&
|
cfg(doc, TidyOutCharEncoding) != UTF16LE &&
|
||||||
#endif
|
|
||||||
cfg(doc, TidyOutCharEncoding) != RAW &&
|
cfg(doc, TidyOutCharEncoding) != RAW &&
|
||||||
cfgBool(doc, TidyXmlOut) )
|
cfgBool(doc, TidyXmlOut) )
|
||||||
{
|
{
|
||||||
|
@ -1080,12 +1072,11 @@ void AdjustConfig( TidyDocImpl* doc )
|
||||||
/* XML requires end tags */
|
/* XML requires end tags */
|
||||||
if ( cfgBool(doc, TidyXmlOut) )
|
if ( cfgBool(doc, TidyXmlOut) )
|
||||||
{
|
{
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
/* XML requires a BOM on output if using UTF-16 encoding */
|
/* XML requires a BOM on output if using UTF-16 encoding */
|
||||||
ulong enc = cfg( doc, TidyOutCharEncoding );
|
ulong enc = cfg( doc, TidyOutCharEncoding );
|
||||||
if ( enc == UTF16LE || enc == UTF16BE || enc == UTF16 )
|
if ( enc == UTF16LE || enc == UTF16BE || enc == UTF16 )
|
||||||
TY_(SetOptionInt)( doc, TidyOutputBOM, yes );
|
TY_(SetOptionInt)( doc, TidyOutputBOM, yes );
|
||||||
#endif
|
|
||||||
TY_(SetOptionBool)( doc, TidyQuoteAmpersand, yes );
|
TY_(SetOptionBool)( doc, TidyQuoteAmpersand, yes );
|
||||||
TY_(SetOptionBool)( doc, TidyOmitOptionalTags, no );
|
TY_(SetOptionBool)( doc, TidyOmitOptionalTags, no );
|
||||||
}
|
}
|
||||||
|
|
|
@ -933,7 +933,6 @@ static languageDefinition language_en = { whichPluralForm_en, {
|
||||||
"This option specifies the output file Tidy uses for markup. Normally "
|
"This option specifies the output file Tidy uses for markup. Normally "
|
||||||
"markup is written to <code>stdout</code>. "
|
"markup is written to <code>stdout</code>. "
|
||||||
},
|
},
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
{/* Important notes for translators:
|
{/* Important notes for translators:
|
||||||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||||||
<br/>.
|
<br/>.
|
||||||
|
@ -954,7 +953,6 @@ static languageDefinition language_en = { whichPluralForm_en, {
|
||||||
"A BOM is always written for XML/XHTML output using UTF-16 output "
|
"A BOM is always written for XML/XHTML output using UTF-16 output "
|
||||||
"encodings. "
|
"encodings. "
|
||||||
},
|
},
|
||||||
#endif
|
|
||||||
{/* Important notes for translators:
|
{/* Important notes for translators:
|
||||||
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||||||
<br/>.
|
<br/>.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef language_en_gb_h
|
#ifndef language_en_gb_h
|
||||||
#define language_en_gb_h
|
#define language_en_gb_h
|
||||||
/*
|
/*
|
||||||
* language_en_gb.h
|
* language_en_gb.h
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef language_es_h
|
#ifndef language_es_h
|
||||||
#define language_es_h
|
#define language_es_h
|
||||||
/*
|
/*
|
||||||
* language_es.h
|
* language_es.h
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef language_es_mx_h
|
#ifndef language_es_mx_h
|
||||||
#define language_es_mx_h
|
#define language_es_mx_h
|
||||||
/*
|
/*
|
||||||
* language_es_mx.h
|
* language_es_mx.h
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef language_fr_h
|
#ifndef language_fr_h
|
||||||
#define language_fr_h
|
#define language_fr_h
|
||||||
/*
|
/*
|
||||||
* language_fr.h
|
* language_fr.h
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* Orginating PO file metadata:
|
* Orginating PO file metadata:
|
||||||
* PO_LAST_TRANSLATOR=jderry
|
* PO_LAST_TRANSLATOR=jderry
|
||||||
* PO_REVISION_DATE=2017-09-19 14:00:03
|
* PO_REVISION_DATE=2017-10-03 12:22:47
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
@ -355,8 +355,6 @@ static languageDefinition language_fr = { whichPluralForm_fr, {
|
||||||
"Cette option précise le fichier de sortie que Tidy utilise pour la structure de balises. En "
|
"Cette option précise le fichier de sortie que Tidy utilise pour la structure de balises. En "
|
||||||
"principe la structure est écrite vers <code>stdout</code>. "
|
"principe la structure est écrite vers <code>stdout</code>. "
|
||||||
},
|
},
|
||||||
|
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
{ TidyOutputBOM, 0,
|
{ TidyOutputBOM, 0,
|
||||||
"Cette option précise si Tidy doit écrire un caractère indicateur d'ordre des octets (Unicode Byte "
|
"Cette option précise si Tidy doit écrire un caractère indicateur d'ordre des octets (Unicode Byte "
|
||||||
"Order Mark ou BOM; connu aussi sous Zero Width No-Break Space; a la valeur de U+FEFF) au début de "
|
"Order Mark ou BOM; connu aussi sous Zero Width No-Break Space; a la valeur de U+FEFF) au début de "
|
||||||
|
@ -364,8 +362,6 @@ static languageDefinition language_fr = { whichPluralForm_fr, {
|
||||||
"<var>auto</var>, Tidy écrira un BOM vers la sortie seulement si un BOM était présent au début de "
|
"<var>auto</var>, Tidy écrira un BOM vers la sortie seulement si un BOM était présent au début de "
|
||||||
"l'entrée. <br/>Un BOM est toujours écrit pour la sortie XML/XHTML des sorties encodées en UTF-16. "
|
"l'entrée. <br/>Un BOM est toujours écrit pour la sortie XML/XHTML des sorties encodées en UTF-16. "
|
||||||
},
|
},
|
||||||
#endif /* SUPPORT_UTF16_ENCODINGS */
|
|
||||||
|
|
||||||
{ TidyPPrintTabs, 0,
|
{ TidyPPrintTabs, 0,
|
||||||
"Cette option précise si tidy doit indenter avec des tabulations plutôt que des espaces, en "
|
"Cette option précise si tidy doit indenter avec des tabulations plutôt que des espaces, en "
|
||||||
"supposant que <code>indent</code> vaut <var>yes</var>. <br/>Définir cette option à <var>yes</var> "
|
"supposant que <code>indent</code> vaut <var>yes</var>. <br/>Définir cette option à <var>yes</var> "
|
||||||
|
|
|
@ -403,8 +403,6 @@ static languageDefinition language_pt_br = { whichPluralForm_pt_br, {
|
||||||
"Essa opção especifica o arquivo de saída que o Tidy usa para marcação. "
|
"Essa opção especifica o arquivo de saída que o Tidy usa para marcação. "
|
||||||
"Normalmente, a marcação é escrita para <code>stdout</code>. "
|
"Normalmente, a marcação é escrita para <code>stdout</code>. "
|
||||||
},
|
},
|
||||||
|
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
{ TidyOutputBOM, 0,
|
{ TidyOutputBOM, 0,
|
||||||
"Esta opção especifica se o Tidy deve escrever um caractere Unicode de marca "
|
"Esta opção especifica se o Tidy deve escrever um caractere Unicode de marca "
|
||||||
"de ordem de byte (BOM, também conhecido como Zero Width No Break Break, tem "
|
"de ordem de byte (BOM, também conhecido como Zero Width No Break Break, tem "
|
||||||
|
@ -414,8 +412,6 @@ static languageDefinition language_pt_br = { whichPluralForm_pt_br, {
|
||||||
"presente no início da entrada. <br/>Um BOM está sempre escrita para saída "
|
"presente no início da entrada. <br/>Um BOM está sempre escrita para saída "
|
||||||
"XML/XHTML usando codificações de saída UTF-16. "
|
"XML/XHTML usando codificações de saída UTF-16. "
|
||||||
},
|
},
|
||||||
#endif /* SUPPORT_UTF16_ENCODINGS */
|
|
||||||
|
|
||||||
{ TidyPPrintTabs, 0,
|
{ TidyPPrintTabs, 0,
|
||||||
"Esta opção especifica se o Tidy deve aplicar recuo com tabulações em vez de "
|
"Esta opção especifica se o Tidy deve aplicar recuo com tabulações em vez de "
|
||||||
"espaços, presumindo que <code>indent</code> seja <var>yes</var>. <br/>Defina-"
|
"espaços, presumindo que <code>indent</code> seja <var>yes</var>. <br/>Defina-"
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* Orginating PO file metadata:
|
* Orginating PO file metadata:
|
||||||
* PO_LAST_TRANSLATOR=jderry
|
* PO_LAST_TRANSLATOR=jderry
|
||||||
* PO_REVISION_DATE=2017-09-08 11:28:05
|
* PO_REVISION_DATE=2017-10-03 12:22:47
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
|
|
@ -623,12 +623,10 @@ TidyMessageImpl *formatEncodingReport(TidyDocImpl* doc, Node *element, Node *nod
|
||||||
doc->badChars |= BC_INVALID_UTF8;
|
doc->badChars |= BC_INVALID_UTF8;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
case INVALID_UTF16:
|
case INVALID_UTF16:
|
||||||
TY_(tmbsnprintf)(buf, sizeof(buf), "U+%04X", c);
|
TY_(tmbsnprintf)(buf, sizeof(buf), "U+%04X", c);
|
||||||
doc->badChars |= BC_INVALID_UTF16;
|
doc->badChars |= BC_INVALID_UTF16;
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
|
|
||||||
case VENDOR_SPECIFIC_CHARS:
|
case VENDOR_SPECIFIC_CHARS:
|
||||||
NtoS(c, buf);
|
NtoS(c, buf);
|
||||||
|
@ -1166,10 +1164,8 @@ void TY_(ErrorSummary)( TidyDocImpl* doc )
|
||||||
if (doc->badChars & BC_INVALID_UTF8)
|
if (doc->badChars & BC_INVALID_UTF8)
|
||||||
TY_(Dialogue)( doc, TEXT_INVALID_UTF8 );
|
TY_(Dialogue)( doc, TEXT_INVALID_UTF8 );
|
||||||
|
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
if (doc->badChars & BC_INVALID_UTF16)
|
if (doc->badChars & BC_INVALID_UTF16)
|
||||||
TY_(Dialogue)( doc, TEXT_INVALID_UTF16 );
|
TY_(Dialogue)( doc, TEXT_INVALID_UTF16 );
|
||||||
#endif
|
|
||||||
|
|
||||||
if (doc->badChars & BC_INVALID_URI)
|
if (doc->badChars & BC_INVALID_URI)
|
||||||
TY_(Dialogue)( doc, TEXT_INVALID_URI );
|
TY_(Dialogue)( doc, TEXT_INVALID_URI );
|
||||||
|
|
|
@ -895,11 +895,9 @@ static void PPrintChar( TidyDocImpl* doc, uint c, uint mode )
|
||||||
switch ( outenc )
|
switch ( outenc )
|
||||||
{
|
{
|
||||||
case UTF8:
|
case UTF8:
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
case UTF16:
|
case UTF16:
|
||||||
case UTF16LE:
|
case UTF16LE:
|
||||||
case UTF16BE:
|
case UTF16BE:
|
||||||
#endif
|
|
||||||
if (!(mode & PREFORMATTED) && cfg(doc, TidyPunctWrap))
|
if (!(mode & PREFORMATTED) && cfg(doc, TidyPunctWrap))
|
||||||
{
|
{
|
||||||
WrapPoint wp = CharacterWrapPoint(c);
|
WrapPoint wp = CharacterWrapPoint(c);
|
||||||
|
@ -982,14 +980,12 @@ static void PPrintChar( TidyDocImpl* doc, uint c, uint mode )
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
/* don't map UTF-16 chars to entities */
|
/* don't map UTF-16 chars to entities */
|
||||||
if ( outenc == UTF16 || outenc == UTF16LE || outenc == UTF16BE )
|
if ( outenc == UTF16 || outenc == UTF16LE || outenc == UTF16BE )
|
||||||
{
|
{
|
||||||
AddChar( pprint, c );
|
AddChar( pprint, c );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/* use numeric entities only for XML */
|
/* use numeric entities only for XML */
|
||||||
if ( cfgBool(doc, TidyXmlTags) )
|
if ( cfgBool(doc, TidyXmlTags) )
|
||||||
|
|
|
@ -168,9 +168,7 @@ StreamIn* TY_(UserInput)( TidyDocImpl* doc, TidyInputSource* source, int encodin
|
||||||
int TY_(ReadBOMEncoding)(StreamIn *in)
|
int TY_(ReadBOMEncoding)(StreamIn *in)
|
||||||
{
|
{
|
||||||
uint c, c1;
|
uint c, c1;
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
uint bom;
|
uint bom;
|
||||||
#endif
|
|
||||||
|
|
||||||
c = ReadByte(in);
|
c = ReadByte(in);
|
||||||
if (c == EndOfStream)
|
if (c == EndOfStream)
|
||||||
|
@ -186,7 +184,6 @@ int TY_(ReadBOMEncoding)(StreamIn *in)
|
||||||
/* todo: dont warn about mismatch for auto input encoding */
|
/* todo: dont warn about mismatch for auto input encoding */
|
||||||
/* todo: let the user override the encoding found here */
|
/* todo: let the user override the encoding found here */
|
||||||
|
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
bom = (c << 8) + c1;
|
bom = (c << 8) + c1;
|
||||||
|
|
||||||
if ( bom == UNICODE_BOM_BE )
|
if ( bom == UNICODE_BOM_BE )
|
||||||
|
@ -206,7 +203,6 @@ int TY_(ReadBOMEncoding)(StreamIn *in)
|
||||||
return UTF16LE; /* return decoded BOM */
|
return UTF16LE; /* return decoded BOM */
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif /* SUPPORT_UTF16_ENCODINGS */
|
|
||||||
{
|
{
|
||||||
uint c2 = ReadByte(in);
|
uint c2 = ReadByte(in);
|
||||||
|
|
||||||
|
@ -410,7 +406,6 @@ uint TY_(ReadChar)( StreamIn *in )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
/* handle surrogate pairs */
|
/* handle surrogate pairs */
|
||||||
if ( in->encoding == UTF16LE ||
|
if ( in->encoding == UTF16LE ||
|
||||||
in->encoding == UTF16 ||
|
in->encoding == UTF16 ||
|
||||||
|
@ -441,7 +436,6 @@ uint TY_(ReadChar)( StreamIn *in )
|
||||||
TY_(ReportEncodingError)( in->doc, INVALID_UTF16, c, yes );
|
TY_(ReportEncodingError)( in->doc, INVALID_UTF16, c, yes );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Do first: acts on range 128 - 255 */
|
/* Do first: acts on range 128 - 255 */
|
||||||
switch ( in->encoding )
|
switch ( in->encoding )
|
||||||
|
@ -670,7 +664,6 @@ void TY_(WriteChar)( uint c, StreamOut* out )
|
||||||
}
|
}
|
||||||
#endif /* NO_NATIVE_ISO2022_SUPPORT */
|
#endif /* NO_NATIVE_ISO2022_SUPPORT */
|
||||||
|
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
else if ( out->encoding == UTF16LE ||
|
else if ( out->encoding == UTF16LE ||
|
||||||
out->encoding == UTF16BE ||
|
out->encoding == UTF16BE ||
|
||||||
out->encoding == UTF16 )
|
out->encoding == UTF16 )
|
||||||
|
@ -717,7 +710,6 @@ void TY_(WriteChar)( uint c, StreamOut* out )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#if SUPPORT_ASIAN_ENCODINGS
|
#if SUPPORT_ASIAN_ENCODINGS
|
||||||
else if (out->encoding == BIG5 || out->encoding == SHIFTJIS)
|
else if (out->encoding == BIG5 || out->encoding == SHIFTJIS)
|
||||||
|
@ -1210,7 +1202,6 @@ static uint ReadCharFromStream( StreamIn* in )
|
||||||
}
|
}
|
||||||
#endif /* #ifndef NO_NATIVE_ISO2022_SUPPORT */
|
#endif /* #ifndef NO_NATIVE_ISO2022_SUPPORT */
|
||||||
|
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
if ( in->encoding == UTF16LE )
|
if ( in->encoding == UTF16LE )
|
||||||
{
|
{
|
||||||
uint c1 = ReadByte( in );
|
uint c1 = ReadByte( in );
|
||||||
|
@ -1228,7 +1219,6 @@ static uint ReadCharFromStream( StreamIn* in )
|
||||||
n = (c << 8) + c1;
|
n = (c << 8) + c1;
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
if ( in->encoding == UTF8 )
|
if ( in->encoding == UTF8 )
|
||||||
{
|
{
|
||||||
|
@ -1303,11 +1293,9 @@ static uint ReadCharFromStream( StreamIn* in )
|
||||||
void TY_(outBOM)( StreamOut *out )
|
void TY_(outBOM)( StreamOut *out )
|
||||||
{
|
{
|
||||||
if ( out->encoding == UTF8
|
if ( out->encoding == UTF8
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
|| out->encoding == UTF16LE
|
|| out->encoding == UTF16LE
|
||||||
|| out->encoding == UTF16BE
|
|| out->encoding == UTF16BE
|
||||||
|| out->encoding == UTF16
|
|| out->encoding == UTF16
|
||||||
#endif
|
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
/* this will take care of encoding the BOM correctly */
|
/* this will take care of encoding the BOM correctly */
|
||||||
|
@ -1331,11 +1319,9 @@ static struct _enc2iana
|
||||||
{ MACROMAN, "macintosh", "mac" },
|
{ MACROMAN, "macintosh", "mac" },
|
||||||
{ WIN1252, "windows-1252", "win1252" },
|
{ WIN1252, "windows-1252", "win1252" },
|
||||||
{ IBM858, "ibm00858", "ibm858" },
|
{ IBM858, "ibm00858", "ibm858" },
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
{ UTF16LE, "utf-16", "utf16le" },
|
{ UTF16LE, "utf-16", "utf16le" },
|
||||||
{ UTF16BE, "utf-16", "utf16be" },
|
{ UTF16BE, "utf-16", "utf16be" },
|
||||||
{ UTF16, "utf-16", "utf16" },
|
{ UTF16, "utf-16", "utf16" },
|
||||||
#endif
|
|
||||||
#if SUPPORT_ASIAN_ENCODINGS
|
#if SUPPORT_ASIAN_ENCODINGS
|
||||||
{ BIG5, "big5", "big5" },
|
{ BIG5, "big5", "big5" },
|
||||||
{ SHIFTJIS, "shift_jis", "shiftjis"},
|
{ SHIFTJIS, "shift_jis", "shiftjis"},
|
||||||
|
|
|
@ -154,26 +154,21 @@ int TY_(GetCharEncodingFromOptName)(ctmbstr charenc);
|
||||||
#define MACROMAN 6
|
#define MACROMAN 6
|
||||||
#define WIN1252 7
|
#define WIN1252 7
|
||||||
#define IBM858 8
|
#define IBM858 8
|
||||||
|
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
#define UTF16LE 9
|
#define UTF16LE 9
|
||||||
#define UTF16BE 10
|
#define UTF16BE 10
|
||||||
#define UTF16 11
|
#define UTF16 11
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Note that Big5 and SHIFTJIS are not converted to ISO 10646 codepoints
|
/* Note that Big5 and SHIFTJIS are not converted to ISO 10646 codepoints
|
||||||
** (i.e., to Unicode) before being recoded into UTF-8. This may be
|
** (i.e., to Unicode) before being recoded into UTF-8. This may be
|
||||||
** confusing: usually UTF-8 implies ISO10646 codepoints.
|
** confusing: usually UTF-8 implies ISO10646 codepoints.
|
||||||
*/
|
*/
|
||||||
#if SUPPORT_ASIAN_ENCODINGS
|
#if SUPPORT_ASIAN_ENCODINGS
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
#define BIG5 12
|
#define BIG5 12
|
||||||
#define SHIFTJIS 13
|
#define SHIFTJIS 13
|
||||||
#else
|
#else
|
||||||
#define BIG5 9
|
#define BIG5 9
|
||||||
#define SHIFTJIS 10
|
#define SHIFTJIS 10
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef TIDY_WIN32_MLANG_SUPPORT
|
#ifdef TIDY_WIN32_MLANG_SUPPORT
|
||||||
/* hack: windows code page numbers start at 37 */
|
/* hack: windows code page numbers start at 37 */
|
||||||
|
|
|
@ -2173,10 +2173,8 @@ int tidyDocSaveStream( TidyDocImpl* doc, StreamOut* out )
|
||||||
{
|
{
|
||||||
Bool showMarkup = cfgBool( doc, TidyShowMarkup );
|
Bool showMarkup = cfgBool( doc, TidyShowMarkup );
|
||||||
Bool forceOutput = cfgBool( doc, TidyForceOutput );
|
Bool forceOutput = cfgBool( doc, TidyForceOutput );
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
Bool outputBOM = ( cfgAutoBool(doc, TidyOutputBOM) == TidyYesState );
|
Bool outputBOM = ( cfgAutoBool(doc, TidyOutputBOM) == TidyYesState );
|
||||||
Bool smartBOM = ( cfgAutoBool(doc, TidyOutputBOM) == TidyAutoState );
|
Bool smartBOM = ( cfgAutoBool(doc, TidyOutputBOM) == TidyAutoState );
|
||||||
#endif
|
|
||||||
Bool xmlOut = cfgBool( doc, TidyXmlOut );
|
Bool xmlOut = cfgBool( doc, TidyXmlOut );
|
||||||
Bool xhtmlOut = cfgBool( doc, TidyXhtmlOut );
|
Bool xhtmlOut = cfgBool( doc, TidyXhtmlOut );
|
||||||
TidyTriState bodyOnly = cfgAutoBool( doc, TidyBodyOnly );
|
TidyTriState bodyOnly = cfgAutoBool( doc, TidyBodyOnly );
|
||||||
|
@ -2220,11 +2218,9 @@ int tidyDocSaveStream( TidyDocImpl* doc, StreamOut* out )
|
||||||
|
|
||||||
if ( showMarkup && (doc->errors == 0 || forceOutput) )
|
if ( showMarkup && (doc->errors == 0 || forceOutput) )
|
||||||
{
|
{
|
||||||
#if SUPPORT_UTF16_ENCODINGS
|
|
||||||
/* Output a Byte Order Mark if required */
|
/* Output a Byte Order Mark if required */
|
||||||
if ( outputBOM || (doc->inputHadBOM && smartBOM) )
|
if ( outputBOM || (doc->inputHadBOM && smartBOM) )
|
||||||
TY_(outBOM)( out );
|
TY_(outBOM)( out );
|
||||||
#endif
|
|
||||||
|
|
||||||
/* No longer necessary. No DOCTYPE == HTML 3.2,
|
/* No longer necessary. No DOCTYPE == HTML 3.2,
|
||||||
** which gives you only the basic character entities,
|
** which gives you only the basic character entities,
|
||||||
|
|
Loading…
Reference in a new issue