From 0f1e625324fae174540bb00ccfab03895abe8cb0 Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Sat, 13 May 2017 20:46:48 -0400 Subject: [PATCH 1/4] Address #378 Addresses issue #378 by NOT emitting warnings if `fix-uri` is `no`, for HTML5 documents. This preserves existing behavior for legacy document types. --- src/attrs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/attrs.c b/src/attrs.c index 4f1c449..3eccbe6 100644 --- a/src/attrs.c +++ b/src/attrs.c @@ -1617,7 +1617,7 @@ void TY_(CheckUrl)( TidyDocImpl* doc, Node *node, AttVal *attval) { if ( cfgBool(doc, TidyFixUri) ) TY_(ReportAttrError)( doc, node, attval, ESCAPED_ILLEGAL_URI); - else + else if ( !(TY_(HTMLVersion)(doc) & VERS_HTML5) ) TY_(ReportAttrError)( doc, node, attval, ILLEGAL_URI_REFERENCE); doc->badChars |= BC_INVALID_URI; From 5791c55081e7f62648ef4f594a88284e2a567daf Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Sat, 13 May 2017 21:07:02 -0400 Subject: [PATCH 2/4] Update languages against current English. --- localize/translations/language_en_gb.po | 80 +++++++-------------- localize/translations/language_es.po | 80 +++++++-------------- localize/translations/language_es_mx.po | 80 +++++++-------------- localize/translations/language_fr.po | 95 ++++++++----------------- localize/translations/language_zh_cn.po | 80 +++++++-------------- src/language_en_gb.h | 2 +- src/language_es.h | 2 +- src/language_es_mx.h | 2 +- src/language_fr.h | 11 +-- src/language_zh_cn.h | 2 +- 10 files changed, 144 insertions(+), 290 deletions(-) diff --git a/localize/translations/language_en_gb.po b/localize/translations/language_en_gb.po index 5484a44..097b349 100644 --- a/localize/translations/language_en_gb.po +++ b/localize/translations/language_en_gb.po @@ -5,7 +5,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: HTML Tidy poconvert.rb\n" "Project-Id-Version: \n" -"PO-Revision-Date: 2017-03-22 15:54:52\n" +"PO-Revision-Date: 2017-05-13 21:04:45\n" "Last-Translator: jderry\n" "Language-Team: \n" @@ -299,32 +299,6 @@ msgctxt "TidyDropEmptyParas" msgid "This option specifies if Tidy should discard empty paragraphs. " msgstr "" -#. Important notes for translators: -#. - Use only , , , , and -#.
. -#. - Entities, tags, attributes, etc., should be enclosed in . -#. - Option values should be enclosed in . -#. - It's very important that
be self-closing! -#. - The strings "Tidy" and "HTML Tidy" are the program name and must not -#. be translated. -msgctxt "TidyDropFontTags" -msgid "" -"Deprecated; do not use. This option is destructive to " -"<font> tags, and it will be removed from future " -"versions of Tidy. Use the clean option instead. " -"
" -"If you do set this option despite the warning it will perform " -"as clean except styles will be inline instead of put into " -"a CSS class. <font> tags will be dropped completely " -"and their styles will not be preserved. " -"
" -"If both clean and this option are enabled, " -"<font> tags will still be dropped completely, and " -"other styles will be preserved in a CSS class instead of inline. " -"
" -"See clean for more information. " -msgstr "" - #. Important notes for translators: #. - Use only , , , , and #.
. @@ -557,18 +531,6 @@ msgctxt "TidyHideComments" msgid "This option specifies if Tidy should print out comments. " msgstr "" -#. Important notes for translators: -#. - Use only , , , , and -#.
. -#. - Entities, tags, attributes, etc., should be enclosed in . -#. - Option values should be enclosed in . -#. - It's very important that
be self-closing! -#. - The strings "Tidy" and "HTML Tidy" are the program name and must not -#. be translated. -msgctxt "TidyHideEndTags" -msgid "This option is an alias for omit-optional-tags. " -msgstr "" - #. Important notes for translators: #. - Use only , , , , and #.
. @@ -1301,10 +1263,10 @@ msgstr "" msgctxt "TidyStrictTagsAttr" msgid "" "This options ensures that tags and attributes are applicable for the " -"version of HTML that Tidy outputs. When set to yes (the " -"default) and the output document type is a strict doctype, then Tidy " -"will report errors. If the output document type is a loose or " -"transitional doctype, then Tidy will report warnings. " +"version of HTML that Tidy outputs. When set to yes and the " +"output document type is a strict doctype, then Tidy will report " +"errors. If the output document type is a loose or transitional " +"doctype, then Tidy will report warnings. " "
" "Additionally if drop-proprietary-attributes is enabled, " "then not applicable attributes will be dropped, too. " @@ -1406,6 +1368,18 @@ msgid "" "characters." msgstr "" +#. Important notes for translators: +#. - Use only , , , , and +#.
. +#. - Entities, tags, attributes, etc., should be enclosed in . +#. - Option values should be enclosed in . +#. - It's very important that
be self-closing! +#. - The strings "Tidy" and "HTML Tidy" are the program name and must not +#. be translated. +msgctxt "TidyWarnPropAttrs" +msgid "This option specifies if Tidy should warn on proprietary attributes." +msgstr "" + #. Important notes for translators: #. - Use only , , , , and #.
. @@ -1745,6 +1719,11 @@ msgctxt "FILE_CANT_OPEN" msgid "Can't open \"%s\"\n" msgstr "" +#, c-format +msgctxt "FILE_NOT_FILE" +msgid "\"%s\" is not a file!\n" +msgstr "" + #, c-format msgctxt "LINE_COLUMN_STRING" msgid "line %d column %d - " @@ -1880,16 +1859,6 @@ msgid "" " TD cells that set the axis attribute are also treated as header cells.\n" msgstr "" -#. This console output should be limited to 78 characters per line. -msgctxt "TEXT_WINDOWS_CHARS" -msgid "" -"Characters codes for the Microsoft Windows fonts in the range\n" -"128 - 159 may not be recognized on other platforms. You are\n" -"instead recommended to use named entities, e.g. ™ rather\n" -"than Windows character code 153 (0x2122 in Unicode). Note that\n" -"as of February 1998 few browsers support the new entities.\n" -msgstr "" - #. This console output should be limited to 78 characters per line. #. - %s represents a string-encoding name which may be localized in your language. #, c-format @@ -2145,6 +2114,11 @@ msgctxt "ID_NAME_MISMATCH" msgid "%s id and name attribute value mismatch" msgstr "" +#, c-format +msgctxt "ILLEGAL_URI_CODEPOINT" +msgid "%s illegal characters found in URI" +msgstr "" + #, c-format msgctxt "ILLEGAL_URI_REFERENCE" msgid "%s improperly escaped URI reference" diff --git a/localize/translations/language_es.po b/localize/translations/language_es.po index fc16ce2..2d9d0c0 100644 --- a/localize/translations/language_es.po +++ b/localize/translations/language_es.po @@ -5,7 +5,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: HTML Tidy poconvert.rb\n" "Project-Id-Version: \n" -"PO-Revision-Date: 2017-03-22 15:54:52\n" +"PO-Revision-Date: 2017-05-13 21:04:45\n" "Last-Translator: jderry\n" "Language-Team: \n" @@ -299,32 +299,6 @@ msgctxt "TidyDropEmptyParas" msgid "This option specifies if Tidy should discard empty paragraphs. " msgstr "" -#. Important notes for translators: -#. - Use only , , , , and -#.
. -#. - Entities, tags, attributes, etc., should be enclosed in . -#. - Option values should be enclosed in . -#. - It's very important that
be self-closing! -#. - The strings "Tidy" and "HTML Tidy" are the program name and must not -#. be translated. -msgctxt "TidyDropFontTags" -msgid "" -"Deprecated; do not use. This option is destructive to " -"<font> tags, and it will be removed from future " -"versions of Tidy. Use the clean option instead. " -"
" -"If you do set this option despite the warning it will perform " -"as clean except styles will be inline instead of put into " -"a CSS class. <font> tags will be dropped completely " -"and their styles will not be preserved. " -"
" -"If both clean and this option are enabled, " -"<font> tags will still be dropped completely, and " -"other styles will be preserved in a CSS class instead of inline. " -"
" -"See clean for more information. " -msgstr "" - #. Important notes for translators: #. - Use only , , , , and #.
. @@ -557,18 +531,6 @@ msgctxt "TidyHideComments" msgid "This option specifies if Tidy should print out comments. " msgstr "" -#. Important notes for translators: -#. - Use only , , , , and -#.
. -#. - Entities, tags, attributes, etc., should be enclosed in . -#. - Option values should be enclosed in . -#. - It's very important that
be self-closing! -#. - The strings "Tidy" and "HTML Tidy" are the program name and must not -#. be translated. -msgctxt "TidyHideEndTags" -msgid "This option is an alias for omit-optional-tags. " -msgstr "" - #. Important notes for translators: #. - Use only , , , , and #.
. @@ -1282,10 +1244,10 @@ msgstr "" msgctxt "TidyStrictTagsAttr" msgid "" "This options ensures that tags and attributes are applicable for the " -"version of HTML that Tidy outputs. When set to yes (the " -"default) and the output document type is a strict doctype, then Tidy " -"will report errors. If the output document type is a loose or " -"transitional doctype, then Tidy will report warnings. " +"version of HTML that Tidy outputs. When set to yes and the " +"output document type is a strict doctype, then Tidy will report " +"errors. If the output document type is a loose or transitional " +"doctype, then Tidy will report warnings. " "
" "Additionally if drop-proprietary-attributes is enabled, " "then not applicable attributes will be dropped, too. " @@ -1387,6 +1349,18 @@ msgid "" "characters." msgstr "" +#. Important notes for translators: +#. - Use only , , , , and +#.
. +#. - Entities, tags, attributes, etc., should be enclosed in . +#. - Option values should be enclosed in . +#. - It's very important that
be self-closing! +#. - The strings "Tidy" and "HTML Tidy" are the program name and must not +#. be translated. +msgctxt "TidyWarnPropAttrs" +msgid "This option specifies if Tidy should warn on proprietary attributes." +msgstr "" + #. Important notes for translators: #. - Use only , , , , and #.
. @@ -1726,6 +1700,11 @@ msgctxt "FILE_CANT_OPEN" msgid "Can't open \"%s\"\n" msgstr "" +#, c-format +msgctxt "FILE_NOT_FILE" +msgid "\"%s\" is not a file!\n" +msgstr "" + #, c-format msgctxt "LINE_COLUMN_STRING" msgid "line %d column %d - " @@ -1861,16 +1840,6 @@ msgid "" " TD cells that set the axis attribute are also treated as header cells.\n" msgstr "" -#. This console output should be limited to 78 characters per line. -msgctxt "TEXT_WINDOWS_CHARS" -msgid "" -"Characters codes for the Microsoft Windows fonts in the range\n" -"128 - 159 may not be recognized on other platforms. You are\n" -"instead recommended to use named entities, e.g. ™ rather\n" -"than Windows character code 153 (0x2122 in Unicode). Note that\n" -"as of February 1998 few browsers support the new entities.\n" -msgstr "" - #. This console output should be limited to 78 characters per line. #. - %s represents a string-encoding name which may be localized in your language. #, c-format @@ -2122,6 +2091,11 @@ msgctxt "ID_NAME_MISMATCH" msgid "%s id and name attribute value mismatch" msgstr "" +#, c-format +msgctxt "ILLEGAL_URI_CODEPOINT" +msgid "%s illegal characters found in URI" +msgstr "" + #, c-format msgctxt "ILLEGAL_URI_REFERENCE" msgid "%s improperly escaped URI reference" diff --git a/localize/translations/language_es_mx.po b/localize/translations/language_es_mx.po index 8ced84c..7a37041 100644 --- a/localize/translations/language_es_mx.po +++ b/localize/translations/language_es_mx.po @@ -5,7 +5,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: HTML Tidy poconvert.rb\n" "Project-Id-Version: \n" -"PO-Revision-Date: 2017-03-22 15:54:52\n" +"PO-Revision-Date: 2017-05-13 21:04:45\n" "Last-Translator: jderry\n" "Language-Team: \n" @@ -299,32 +299,6 @@ msgctxt "TidyDropEmptyParas" msgid "This option specifies if Tidy should discard empty paragraphs. " msgstr "" -#. Important notes for translators: -#. - Use only , , , , and -#.
. -#. - Entities, tags, attributes, etc., should be enclosed in . -#. - Option values should be enclosed in . -#. - It's very important that
be self-closing! -#. - The strings "Tidy" and "HTML Tidy" are the program name and must not -#. be translated. -msgctxt "TidyDropFontTags" -msgid "" -"Deprecated; do not use. This option is destructive to " -"<font> tags, and it will be removed from future " -"versions of Tidy. Use the clean option instead. " -"
" -"If you do set this option despite the warning it will perform " -"as clean except styles will be inline instead of put into " -"a CSS class. <font> tags will be dropped completely " -"and their styles will not be preserved. " -"
" -"If both clean and this option are enabled, " -"<font> tags will still be dropped completely, and " -"other styles will be preserved in a CSS class instead of inline. " -"
" -"See clean for more information. " -msgstr "" - #. Important notes for translators: #. - Use only , , , , and #.
. @@ -557,18 +531,6 @@ msgctxt "TidyHideComments" msgid "This option specifies if Tidy should print out comments. " msgstr "" -#. Important notes for translators: -#. - Use only , , , , and -#.
. -#. - Entities, tags, attributes, etc., should be enclosed in . -#. - Option values should be enclosed in . -#. - It's very important that
be self-closing! -#. - The strings "Tidy" and "HTML Tidy" are the program name and must not -#. be translated. -msgctxt "TidyHideEndTags" -msgid "This option is an alias for omit-optional-tags. " -msgstr "" - #. Important notes for translators: #. - Use only , , , , and #.
. @@ -1277,10 +1239,10 @@ msgstr "" msgctxt "TidyStrictTagsAttr" msgid "" "This options ensures that tags and attributes are applicable for the " -"version of HTML that Tidy outputs. When set to yes (the " -"default) and the output document type is a strict doctype, then Tidy " -"will report errors. If the output document type is a loose or " -"transitional doctype, then Tidy will report warnings. " +"version of HTML that Tidy outputs. When set to yes and the " +"output document type is a strict doctype, then Tidy will report " +"errors. If the output document type is a loose or transitional " +"doctype, then Tidy will report warnings. " "
" "Additionally if drop-proprietary-attributes is enabled, " "then not applicable attributes will be dropped, too. " @@ -1382,6 +1344,18 @@ msgid "" "characters." msgstr "" +#. Important notes for translators: +#. - Use only , , , , and +#.
. +#. - Entities, tags, attributes, etc., should be enclosed in . +#. - Option values should be enclosed in . +#. - It's very important that
be self-closing! +#. - The strings "Tidy" and "HTML Tidy" are the program name and must not +#. be translated. +msgctxt "TidyWarnPropAttrs" +msgid "This option specifies if Tidy should warn on proprietary attributes." +msgstr "" + #. Important notes for translators: #. - Use only , , , , and #.
. @@ -1721,6 +1695,11 @@ msgctxt "FILE_CANT_OPEN" msgid "Can't open \"%s\"\n" msgstr "" +#, c-format +msgctxt "FILE_NOT_FILE" +msgid "\"%s\" is not a file!\n" +msgstr "" + #, c-format msgctxt "LINE_COLUMN_STRING" msgid "line %d column %d - " @@ -1856,16 +1835,6 @@ msgid "" " TD cells that set the axis attribute are also treated as header cells.\n" msgstr "" -#. This console output should be limited to 78 characters per line. -msgctxt "TEXT_WINDOWS_CHARS" -msgid "" -"Characters codes for the Microsoft Windows fonts in the range\n" -"128 - 159 may not be recognized on other platforms. You are\n" -"instead recommended to use named entities, e.g. ™ rather\n" -"than Windows character code 153 (0x2122 in Unicode). Note that\n" -"as of February 1998 few browsers support the new entities.\n" -msgstr "" - #. This console output should be limited to 78 characters per line. #. - %s represents a string-encoding name which may be localized in your language. #, c-format @@ -2117,6 +2086,11 @@ msgctxt "ID_NAME_MISMATCH" msgid "%s id and name attribute value mismatch" msgstr "" +#, c-format +msgctxt "ILLEGAL_URI_CODEPOINT" +msgid "%s illegal characters found in URI" +msgstr "" + #, c-format msgctxt "ILLEGAL_URI_REFERENCE" msgid "%s improperly escaped URI reference" diff --git a/localize/translations/language_fr.po b/localize/translations/language_fr.po index 9bd29c7..b835a55 100644 --- a/localize/translations/language_fr.po +++ b/localize/translations/language_fr.po @@ -5,7 +5,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: HTML Tidy poconvert.rb\n" "Project-Id-Version: \n" -"PO-Revision-Date: 2017-03-22 15:54:52\n" +"PO-Revision-Date: 2017-05-13 21:04:45\n" "Last-Translator: jderry\n" "Language-Team: \n" @@ -320,32 +320,6 @@ msgctxt "TidyDropEmptyParas" msgid "This option specifies if Tidy should discard empty paragraphs. " msgstr "Cette option spécifie si Tidy doit jeter des paragraphes vides." -#. Important notes for translators: -#. - Use only , , , , and -#.
. -#. - Entities, tags, attributes, etc., should be enclosed in . -#. - Option values should be enclosed in . -#. - It's very important that
be self-closing! -#. - The strings "Tidy" and "HTML Tidy" are the program name and must not -#. be translated. -msgctxt "TidyDropFontTags" -msgid "" -"Deprecated; do not use. This option is destructive to " -"<font> tags, and it will be removed from future " -"versions of Tidy. Use the clean option instead. " -"
" -"If you do set this option despite the warning it will perform " -"as clean except styles will be inline instead of put into " -"a CSS class. <font> tags will be dropped completely " -"and their styles will not be preserved. " -"
" -"If both clean and this option are enabled, " -"<font> tags will still be dropped completely, and " -"other styles will be preserved in a CSS class instead of inline. " -"
" -"See clean for more information. " -msgstr "" - #. Important notes for translators: #. - Use only , , , , and #.
. @@ -583,18 +557,6 @@ msgctxt "TidyHideComments" msgid "This option specifies if Tidy should print out comments. " msgstr "" -#. Important notes for translators: -#. - Use only , , , , and -#.
. -#. - Entities, tags, attributes, etc., should be enclosed in . -#. - Option values should be enclosed in . -#. - It's very important that
be self-closing! -#. - The strings "Tidy" and "HTML Tidy" are the program name and must not -#. be translated. -msgctxt "TidyHideEndTags" -msgid "This option is an alias for omit-optional-tags. " -msgstr "" - #. Important notes for translators: #. - Use only , , , , and #.
. @@ -1322,10 +1284,10 @@ msgstr "" msgctxt "TidyStrictTagsAttr" msgid "" "This options ensures that tags and attributes are applicable for the " -"version of HTML that Tidy outputs. When set to yes (the " -"default) and the output document type is a strict doctype, then Tidy " -"will report errors. If the output document type is a loose or " -"transitional doctype, then Tidy will report warnings. " +"version of HTML that Tidy outputs. When set to yes and the " +"output document type is a strict doctype, then Tidy will report " +"errors. If the output document type is a loose or transitional " +"doctype, then Tidy will report warnings. " "
" "Additionally if drop-proprietary-attributes is enabled, " "then not applicable attributes will be dropped, too. " @@ -1427,6 +1389,18 @@ msgid "" "characters." msgstr "" +#. Important notes for translators: +#. - Use only , , , , and +#.
. +#. - Entities, tags, attributes, etc., should be enclosed in . +#. - Option values should be enclosed in . +#. - It's very important that
be self-closing! +#. - The strings "Tidy" and "HTML Tidy" are the program name and must not +#. be translated. +msgctxt "TidyWarnPropAttrs" +msgid "This option specifies if Tidy should warn on proprietary attributes." +msgstr "" + #. Important notes for translators: #. - Use only , , , , and #.
. @@ -1712,11 +1686,11 @@ msgstr "" msgctxt "TidyDiagnostics" msgid "diagnostics" -msgstr "diagnostics" +msgstr "" msgctxt "TidyEncoding" msgid "encoding" -msgstr "encoding" +msgstr "" msgctxt "TidyInternalCategory" msgid "internal (private)" @@ -1724,11 +1698,11 @@ msgstr "" msgctxt "TidyMarkup" msgid "markup" -msgstr "markup" +msgstr "" msgctxt "TidyMiscellaneous" msgid "misc" -msgstr "misc" +msgstr "" msgctxt "TidyPrettyPrint" msgid "print" @@ -1779,6 +1753,11 @@ msgctxt "FILE_CANT_OPEN" msgid "Can't open \"%s\"\n" msgstr "Impossible d'ouvrir « %s »\n" +#, c-format +msgctxt "FILE_NOT_FILE" +msgid "\"%s\" is not a file!\n" +msgstr "" + #, c-format msgctxt "LINE_COLUMN_STRING" msgid "line %d column %d - " @@ -1937,23 +1916,6 @@ msgstr "" " traités comme des cellules d'en-tête.\n" "\n" -#. This console output should be limited to 78 characters per line. -msgctxt "TEXT_WINDOWS_CHARS" -msgid "" -"Characters codes for the Microsoft Windows fonts in the range\n" -"128 - 159 may not be recognized on other platforms. You are\n" -"instead recommended to use named entities, e.g. ™ rather\n" -"than Windows character code 153 (0x2122 in Unicode). Note that\n" -"as of February 1998 few browsers support the new entities.\n" -msgstr "" -"Personnages codes pour les polices Microsoft Windows dans la gamme\n" -"128-159 ne pas être reconnus sur d'autres plateformes. Vous êtes\n" -"au lieu recommandé d'utiliser les entités nommées, par exemple ™ \n" -"plutôt code que Windows de caractères 153 (0x2122 en Unicode). Notez que\n" -"à partir de Février 1998 quelques navigateurs supportent les nouvelles \n" -"entités.\n" -"\n" - #. This console output should be limited to 78 characters per line. #. - %s represents a string-encoding name which may be localized in your language. #, c-format @@ -2312,6 +2274,11 @@ msgctxt "ID_NAME_MISMATCH" msgid "%s id and name attribute value mismatch" msgstr "%s id et le nom valeur d'attribut mismatch" +#, c-format +msgctxt "ILLEGAL_URI_CODEPOINT" +msgid "%s illegal characters found in URI" +msgstr "" + #, c-format msgctxt "ILLEGAL_URI_REFERENCE" msgid "%s improperly escaped URI reference" diff --git a/localize/translations/language_zh_cn.po b/localize/translations/language_zh_cn.po index 8ba55e5..12c5939 100644 --- a/localize/translations/language_zh_cn.po +++ b/localize/translations/language_zh_cn.po @@ -5,7 +5,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: HTML Tidy poconvert.rb\n" "Project-Id-Version: \n" -"PO-Revision-Date: 2017-03-22 15:54:52\n" +"PO-Revision-Date: 2017-05-13 21:04:45\n" "Last-Translator: jderry\n" "Language-Team: \n" @@ -299,32 +299,6 @@ msgctxt "TidyDropEmptyParas" msgid "This option specifies if Tidy should discard empty paragraphs. " msgstr "" -#. Important notes for translators: -#. - Use only , , , , and -#.
. -#. - Entities, tags, attributes, etc., should be enclosed in . -#. - Option values should be enclosed in . -#. - It's very important that
be self-closing! -#. - The strings "Tidy" and "HTML Tidy" are the program name and must not -#. be translated. -msgctxt "TidyDropFontTags" -msgid "" -"Deprecated; do not use. This option is destructive to " -"<font> tags, and it will be removed from future " -"versions of Tidy. Use the clean option instead. " -"
" -"If you do set this option despite the warning it will perform " -"as clean except styles will be inline instead of put into " -"a CSS class. <font> tags will be dropped completely " -"and their styles will not be preserved. " -"
" -"If both clean and this option are enabled, " -"<font> tags will still be dropped completely, and " -"other styles will be preserved in a CSS class instead of inline. " -"
" -"See clean for more information. " -msgstr "" - #. Important notes for translators: #. - Use only , , , , and #.
. @@ -557,18 +531,6 @@ msgctxt "TidyHideComments" msgid "This option specifies if Tidy should print out comments. " msgstr "" -#. Important notes for translators: -#. - Use only , , , , and -#.
. -#. - Entities, tags, attributes, etc., should be enclosed in . -#. - Option values should be enclosed in . -#. - It's very important that
be self-closing! -#. - The strings "Tidy" and "HTML Tidy" are the program name and must not -#. be translated. -msgctxt "TidyHideEndTags" -msgid "This option is an alias for omit-optional-tags. " -msgstr "" - #. Important notes for translators: #. - Use only , , , , and #.
. @@ -1277,10 +1239,10 @@ msgstr "" msgctxt "TidyStrictTagsAttr" msgid "" "This options ensures that tags and attributes are applicable for the " -"version of HTML that Tidy outputs. When set to yes (the " -"default) and the output document type is a strict doctype, then Tidy " -"will report errors. If the output document type is a loose or " -"transitional doctype, then Tidy will report warnings. " +"version of HTML that Tidy outputs. When set to yes and the " +"output document type is a strict doctype, then Tidy will report " +"errors. If the output document type is a loose or transitional " +"doctype, then Tidy will report warnings. " "
" "Additionally if drop-proprietary-attributes is enabled, " "then not applicable attributes will be dropped, too. " @@ -1382,6 +1344,18 @@ msgid "" "characters." msgstr "" +#. Important notes for translators: +#. - Use only , , , , and +#.
. +#. - Entities, tags, attributes, etc., should be enclosed in . +#. - Option values should be enclosed in . +#. - It's very important that
be self-closing! +#. - The strings "Tidy" and "HTML Tidy" are the program name and must not +#. be translated. +msgctxt "TidyWarnPropAttrs" +msgid "This option specifies if Tidy should warn on proprietary attributes." +msgstr "" + #. Important notes for translators: #. - Use only , , , , and #.
. @@ -1721,6 +1695,11 @@ msgctxt "FILE_CANT_OPEN" msgid "Can't open \"%s\"\n" msgstr "无法打开”%s”\n" +#, c-format +msgctxt "FILE_NOT_FILE" +msgid "\"%s\" is not a file!\n" +msgstr "" + #, c-format msgctxt "LINE_COLUMN_STRING" msgid "line %d column %d - " @@ -1854,16 +1833,6 @@ msgid "" " TD cells that set the axis attribute are also treated as header cells.\n" msgstr "" -#. This console output should be limited to 78 characters per line. -msgctxt "TEXT_WINDOWS_CHARS" -msgid "" -"Characters codes for the Microsoft Windows fonts in the range\n" -"128 - 159 may not be recognized on other platforms. You are\n" -"instead recommended to use named entities, e.g. ™ rather\n" -"than Windows character code 153 (0x2122 in Unicode). Note that\n" -"as of February 1998 few browsers support the new entities.\n" -msgstr "" - #. This console output should be limited to 78 characters per line. #. - %s represents a string-encoding name which may be localized in your language. #, c-format @@ -2111,6 +2080,11 @@ msgctxt "ID_NAME_MISMATCH" msgid "%s id and name attribute value mismatch" msgstr "" +#, c-format +msgctxt "ILLEGAL_URI_CODEPOINT" +msgid "%s illegal characters found in URI" +msgstr "" + #, c-format msgctxt "ILLEGAL_URI_REFERENCE" msgid "%s improperly escaped URI reference" diff --git a/src/language_en_gb.h b/src/language_en_gb.h index 944b2f7..c6d5f63 100644 --- a/src/language_en_gb.h +++ b/src/language_en_gb.h @@ -28,7 +28,7 @@ * * Orginating PO file metadata: * PO_LAST_TRANSLATOR=jderry - * PO_REVISION_DATE=2017-03-22 15:54:52 + * PO_REVISION_DATE=2017-05-13 21:04:45 */ #ifdef _MSC_VER diff --git a/src/language_es.h b/src/language_es.h index 17afc77..a467212 100644 --- a/src/language_es.h +++ b/src/language_es.h @@ -28,7 +28,7 @@ * * Orginating PO file metadata: * PO_LAST_TRANSLATOR=jderry - * PO_REVISION_DATE=2017-03-22 15:54:52 + * PO_REVISION_DATE=2017-05-13 21:04:45 */ #ifdef _MSC_VER diff --git a/src/language_es_mx.h b/src/language_es_mx.h index c8b461b..df444b6 100644 --- a/src/language_es_mx.h +++ b/src/language_es_mx.h @@ -28,7 +28,7 @@ * * Orginating PO file metadata: * PO_LAST_TRANSLATOR=jderry - * PO_REVISION_DATE=2017-03-22 15:54:52 + * PO_REVISION_DATE=2017-05-13 21:04:45 */ #ifdef _MSC_VER diff --git a/src/language_fr.h b/src/language_fr.h index 74467a1..4aadd40 100644 --- a/src/language_fr.h +++ b/src/language_fr.h @@ -28,7 +28,7 @@ * * Orginating PO file metadata: * PO_LAST_TRANSLATOR=jderry - * PO_REVISION_DATE=2017-03-22 15:54:52 + * PO_REVISION_DATE=2017-05-13 21:04:45 */ #ifdef _MSC_VER @@ -200,15 +200,6 @@ static languageDefinition language_fr = { whichPluralForm_fr, { " traités comme des cellules d'en-tête.\n" "\n" }, - { TEXT_WINDOWS_CHARS, 0, - "Personnages codes pour les polices Microsoft Windows dans la gamme\n" - "128-159 ne pas être reconnus sur d'autres plateformes. Vous êtes\n" - "au lieu recommandé d'utiliser les entités nommées, par exemple ™ \n" - "plutôt code que Windows de caractères 153 (0x2122 en Unicode). Notez que\n" - "à partir de Février 1998 quelques navigateurs supportent les nouvelles \n" - "entités.\n" - "\n" - }, { TEXT_VENDOR_CHARS, 0, "Il est peu probable que fournisseur spécifique, encodages qui dépendent du système\n" "travailler assez largement sur le World Wide Web; vous devriez éviter d'utiliser le " diff --git a/src/language_zh_cn.h b/src/language_zh_cn.h index 5f12a29..d6e7f8e 100644 --- a/src/language_zh_cn.h +++ b/src/language_zh_cn.h @@ -28,7 +28,7 @@ * * Orginating PO file metadata: * PO_LAST_TRANSLATOR=jderry - * PO_REVISION_DATE=2017-03-22 15:54:52 + * PO_REVISION_DATE=2017-05-13 21:04:45 */ #ifdef _MSC_VER From 5fad2252d236a0932cda3a8faa6bf2aeb12680df Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Sat, 13 May 2017 22:20:36 -0400 Subject: [PATCH 3/4] Bumped to 5.5.23 for #378. --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 45b1d41..c7cde63 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.5.22 +5.5.23 2017.05.13 From 8a639bf91bb3143a4c7f60f3d040db80ca5f16bc Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Sat, 13 May 2017 22:25:12 -0400 Subject: [PATCH 4/4] Bumped to 5.5.24 for language updates. --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index c7cde63..2461c48 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.5.23 +5.5.24 2017.05.13