<commit_before># This is the default MessageBundle.properties file

#Accessibility
ACC_001='img' or 'area' HTML element has no 'alt' attribute.
ACC_002='input' HTML element is not referenced by a corresponding label element.
ACC_003=Non-text html elements should include a 'title' attribute for accessibility.
ACC_004=Html 'a' element must have text.
ACC_005=Table heading cells should be identified by 'th' elements for accessibility.
ACC_006=Tables should include a 'thead' element for accessibility.
ACC_007=Content Documents do not use 'epub:type' attributes for semantic inflection.
ACC_008=Navigation Document has no 'landmarks nav' element.
ACC_009=MathML should either have an alt text attribute or annotation-xml child element.
ACC_010=Headings should not be used within blockquote and figure elements.
ACC_011=Link elements within SVG should include an xlink:title attribute.
ACC_012=Table elements should include a caption element.
ACC_013=Content file contains at least one inline style declaration.
ACC_013_SUG=Inline styles are not compatible with accessibility settings and display personalization. Use CSS Styles instead.
ACC_014=Value of CSS property 'font-size' does not use a relative size.
ACC_014_SUG=Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'.
ACC_015=Value of CSS property 'line-height' does not use a relative size.
ACC_015_SUG=Acceptable values include percentages, numeric multiples, em multiples, 'normal', or 'inherit'.
ACC_016=Value of CSS property 'font-size' should use a relative size.
ACC_016_SUG=Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'.
ACC_017=Value of CSS property 'line-height' does not use a relative size.
ACC_017_SUG=Acceptable values include percentages, numeric multiples, em multiples, 'normal', or 'inherit'.

#Checker Errors
CHK_001=The custom message overrides file was not found.
CHK_002=Unrecognized custom message id %1$s encountered in message overrides file '%2$s'.
CHK_003=Unrecognized custom message severity '%1$s' encountered in message overrides file '%2$s'.
CHK_004=The custom message contains too many parameters in message overrides file '%1$s'.
CHK_005=The custom suggestion contains too many parameters in message overrides file '%1$s'.
CHK_006=Unable to parse the custom format parameter in message overrides file '%1$s'.
CHK_007=Error encountered while processing custom message file '%1$s': "%2$s".

#CSS
CSS_001=The \'%1$s\' property must not be included in an EPUB Style Sheet.
CSS_002=Empty or NULL reference found.
CSS_003=Only UTF-8 and UTF-16 encodings are allowed, detected %1$s.
CSS_004=Only UTF-8 and UTF-16 encodings are allowed, detected %1$s BOM.
CSS_005=Conflicting alternate style attributes found: %1$s.
CSS_006=CSS position:fixed property should not be used in EPUBs.
CSS_007=Font-face reference %1$s refers to non-standard font type %2$s.
CSS_008=An error occurred while parsing the CSS: %1$s.
CSS_009=Use of certain CSS such as Columns, Transforms, Transitions, box-sizing or KeyFrames can cause pagination issues.
CSS_010=Stylesheet of type other than 'text/css' must have a fallback.
CSS_011=Excessive number of css files.
CSS_011_SUG=Consider merging CSS files to reduce the number of CSS files.
CSS_012=Document links to multiple CSS files.
CSS_013=CSS property is declared !Important.
CSS_015=Alternate Stylesheet has no title.
CSS_016=Alternate Stylesheet precedes primary stylesheet.
CSS_017=CSS selector specifies absolute position.
CSS_019=CSS font-face declaration has no attributes.
CSS_020=CSS font selector declaration uses unexpected font-size value '%1$s'.
CSS_020_SUG=Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'.
CSS_021=Shorthand CSS property 'font-family' specifies an invalid System Font.
CSS_021_SUG=Acceptable values include 'caption', 'icon', 'menu', 'message-box', 'small-caption',  'status-bar', or 'inherit'.
CSS_022=CSS selector specifies global margin setting.
CSS_023=CSS selector specifies media query.
CSS_024=CSS class Selector is not used.
CSS_024_SUG=Remove unused CSS selectors.
CSS_025=CSS class Selector could not be found.
CSS_025_SUG=Check for typos or define a class selector to document the use of the class.
CSS_027=CSS selector specifies absolute position.
CSS_028=Use of Font-face declaration.

#HTM - XHTML related messages
HTM_001=Any publication resource that is an XML-based media type must be a valid XML 1.0 document. XML version found: %1$s.
HTM_002=The installed xml parser doesn't support xml version verification. Xml files must be a valid XML 1.0 document.
HTM_003=External entities are not allowed in EPUB v3 documents. External entity declaration found: %1$s.
HTM_004=Irregular DOCTYPE: found '%1$s', expected '%2$s'.
HTM_005=An external reference was found.
HTM_006=An XHTML Named Entity was found.
HTM_007=Empty or whitespace-only value of attribute ssml:ph.
HTM_008=The src attribute is required.
HTM_009=The DOCTYPE provided is obsolete or irregular and can be removed.
HTM_010=Namespace uri '%1$s' was found.
HTM_011=Entity is undeclared.
HTM_011_SUG=Define the entity or use the numbered entity instead.
HTM_012=Found a link to a CFI in an external book.
HTM_013=Intra-Publication CFIs found in document.
HTM_014=Invalid file extension for HTML file, expecting (html, htm or xhtml).
HTM_014a=XHTML Content Document file name '%1$s' should have the extension '.xhtml'.
HTM_015=HTML4 DOCTYPE definition within EPUB v3.
HTM_016=HTML5 DOCTYPE definition within EPUB v2.
HTM_017=Content file has different language value in attributes xml:lang and lang.
HTM_018=Content file has invalid language value at attribute xml:lang.
HTM_019=Content file has invalid language definition at attribute lang.
HTM_020=Content file doesn't contain xml:lang attribute.
HTM_021=Content file doesn't contain lang attribute.
HTM_022=Document may contain excessive DIV or SPAN tags.
HTM_022_SUG=Merge DIV or SPAN tags when they are consecutive and use the same style.
HTM_023=An invalid XHTML Named Entity was found: '%1$s'.
HTM_023_SUG=Check the spelling or use numbered entities instead.
HTM_024=An XHTML Named Entity was found. Only '&amp;' '&apos;' '&quote;' '&lt;' or '&gt;' are allowed.
HTM_024_SUG=Check the spelling or use numbered entities instead.
HTM_025=Non-registered URI scheme type found in href.
HTM_027=List contains less than 2 items.
HTM_027_SUG=Lists should have more than one item for accessibility.
HTM_028=Input html elements should include an id.
HTM_029=Label html elements should include a 'for' attribute referencing the id of an input element.
HTM_033=HTML 'head' element does not have a 'title' child element.
HTM_036=IFrames are highly discouraged.
HTM_038=Ensure b, i, em, and strong elements are used in compliance with W3C HTML5 directives.
HTM_038_SUG=CSS styles are usually more appropriate for italics or bold text.
HTM_043=SVG elements should include an xml:lang and lang attributes.
HTM_044=Namespace uri '%1$s' was included but not used.
HTM_044_SUG=Remove unused Namespace URIs.
HTM_045=Encountered empty href.
HTM_045_SUG=Empty hrefs are valid self-references.  These should be validated to ensure that this is the desired intent.
HTM_046=Fixed format item has no viewport defined.
HTM_046_SUG=A viewport declaration is required for fixed format items.
HTM_047=Html viewport is missing height and/or width.
HTM_047_SUG=The viewport declaration must declare both width and height.
HTM_048=SVG ViewBox is missing on fixed format document.
HTM_048_SUG=A viewBox declaration is required for fixed format documents.
HTM_049=Html element does not have an xmlns set to 'http://www.w3.org/1999/xhtml'.
HTM_049_SUG=Add xmlns="http://www.w3.org/1999/xhtml" to the html element.
HTM_050=Found epub:type="pagebreak" attribute in content document.
HTM_051=Found Microdata semantic enrichments but no RDFa. EDUPUB recommends using RDFa Lite.
HTM_052=The property 'region-based' is only allowed on nav elements in Data Navigation Documents.

#media
MED_001=Video poster must have core media image type.
MED_002=%1$s element doesn't provide fallback.
MED_003=Non-standard image resource of type %1$s found.
MED_004=Image file header may be corrupted.
MED_005=Media Overlay audio reference %1$s to non-standard audio type %2$s found.
MED_006=Some browsers do not support rendering SVG images which use a filename in the xlink:href property.

#NAV EPUB v3 Table of contents
NAV_001=The nav file is not supported for EPUB v2.
NAV_002=Found epub:type="page-list" in nav document
NAV_003=The Navigation Document must have a page list when content document(s) contain page breaks (epub:type="pagebreak").
NAV_004=The Navigation Document should contain the full document heading hierarchy in EDUPUB.
NAV_005=Content documents contain 'audio' elements but the Navigation Document does not have a listing of audio clips (epub:type="loa").
NAV_006=Content documents contain 'audio' elements but the Navigation Document does not have a listing of figures (epub:type="loi").
NAV_007=Content documents contain 'audio' elements but the Navigation Document does not have a listing of tables (epub:type="lot").
NAV_008=Content documents contain 'audio' elements but the Navigation Document does not have a listing of video clips (epub:type="lov").
NAV_009=Region-based navigation links must point to Fixed-Layout Documents.

#NCX EPUB v2 Table of Contents
NCX_001=NCX identifier ('%1$s') does not match OPF identifier ('%2$s'). 
NCX_002=toc attribute was not found on the spine element.
NCX_003=An .NCX file is required for TOC navigation on EPUB v2 readers.
NCX_004=NCX identifier ('dtb:uid' metadata) should not contain leading or trailing whitespace.
NCX_005=Found ncx "page-list" in .ncx file
NCX_006=Empty "text" label in the NCX document

#OPF
OPF_001=There was an error when parsing the EPUB version: %1$s.
OPF_002=The OPF file '%1$s' was not found in the EPUB.
OPF_003=Item '%1$s' exists in the EPUB, but is not declared in the OPF manifest.
OPF_004=Invalid prefix declaration: leading or trailing whitespace is not allowed.
OPF_004a=Invalid prefix declaration: found empty prefix.
OPF_004b=Invalid prefix '%1$s': must be a valid non-colonized name (aka 'NCName').
OPF_004c=Invalid prefix declaration: prefix '%1$s' must be immediately followed by a colon character (':').
OPF_004d=Invalid prefix declaration: prefix '%1$s' must be separated by its URI with a space.
OPF_004e=Invalid prefix declaration: found illegal whitespace between prefix and URI.
OPF_004f=Invalid prefix declaration: found illegal whitespace between prefix mappings.
OPF_005=Invalid prefix declaration: URI for prefix '%1$s' doesn't exist.
OPF_006=Invalid prefix declaration: URI '%1$s' is not a valid URI.
OPF_007=Re-declaration of reserved prefix '%1$s'.
OPF_007a=Invalid prefix mapping: prefix '_' must not be declared.<commit_msg>Fix typo of error messages for listings<commit_after># This is the default MessageBundle.properties file

#Accessibility
ACC_001='img' or 'area' HTML element has no 'alt' attribute.
ACC_002='input' HTML element is not referenced by a corresponding label element.
ACC_003=Non-text html elements should include a 'title' attribute for accessibility.
ACC_004=Html 'a' element must have text.
ACC_005=Table heading cells should be identified by 'th' elements for accessibility.
ACC_006=Tables should include a 'thead' element for accessibility.
ACC_007=Content Documents do not use 'epub:type' attributes for semantic inflection.
ACC_008=Navigation Document has no 'landmarks nav' element.
ACC_009=MathML should either have an alt text attribute or annotation-xml child element.
ACC_010=Headings should not be used within blockquote and figure elements.
ACC_011=Link elements within SVG should include an xlink:title attribute.
ACC_012=Table elements should include a caption element.
ACC_013=Content file contains at least one inline style declaration.
ACC_013_SUG=Inline styles are not compatible with accessibility settings and display personalization. Use CSS Styles instead.
ACC_014=Value of CSS property 'font-size' does not use a relative size.
ACC_014_SUG=Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'.
ACC_015=Value of CSS property 'line-height' does not use a relative size.
ACC_015_SUG=Acceptable values include percentages, numeric multiples, em multiples, 'normal', or 'inherit'.
ACC_016=Value of CSS property 'font-size' should use a relative size.
ACC_016_SUG=Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'.
ACC_017=Value of CSS property 'line-height' does not use a relative size.
ACC_017_SUG=Acceptable values include percentages, numeric multiples, em multiples, 'normal', or 'inherit'.

#Checker Errors
CHK_001=The custom message overrides file was not found.
CHK_002=Unrecognized custom message id %1$s encountered in message overrides file '%2$s'.
CHK_003=Unrecognized custom message severity '%1$s' encountered in message overrides file '%2$s'.
CHK_004=The custom message contains too many parameters in message overrides file '%1$s'.
CHK_005=The custom suggestion contains too many parameters in message overrides file '%1$s'.
CHK_006=Unable to parse the custom format parameter in message overrides file '%1$s'.
CHK_007=Error encountered while processing custom message file '%1$s': "%2$s".

#CSS
CSS_001=The \'%1$s\' property must not be included in an EPUB Style Sheet.
CSS_002=Empty or NULL reference found.
CSS_003=Only UTF-8 and UTF-16 encodings are allowed, detected %1$s.
CSS_004=Only UTF-8 and UTF-16 encodings are allowed, detected %1$s BOM.
CSS_005=Conflicting alternate style attributes found: %1$s.
CSS_006=CSS position:fixed property should not be used in EPUBs.
CSS_007=Font-face reference %1$s refers to non-standard font type %2$s.
CSS_008=An error occurred while parsing the CSS: %1$s.
CSS_009=Use of certain CSS such as Columns, Transforms, Transitions, box-sizing or KeyFrames can cause pagination issues.
CSS_010=Stylesheet of type other than 'text/css' must have a fallback.
CSS_011=Excessive number of css files.
CSS_011_SUG=Consider merging CSS files to reduce the number of CSS files.
CSS_012=Document links to multiple CSS files.
CSS_013=CSS property is declared !Important.
CSS_015=Alternate Stylesheet has no title.
CSS_016=Alternate Stylesheet precedes primary stylesheet.
CSS_017=CSS selector specifies absolute position.
CSS_019=CSS font-face declaration has no attributes.
CSS_020=CSS font selector declaration uses unexpected font-size value '%1$s'.
CSS_020_SUG=Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'.
CSS_021=Shorthand CSS property 'font-family' specifies an invalid System Font.
CSS_021_SUG=Acceptable values include 'caption', 'icon', 'menu', 'message-box', 'small-caption',  'status-bar', or 'inherit'.
CSS_022=CSS selector specifies global margin setting.
CSS_023=CSS selector specifies media query.
CSS_024=CSS class Selector is not used.
CSS_024_SUG=Remove unused CSS selectors.
CSS_025=CSS class Selector could not be found.
CSS_025_SUG=Check for typos or define a class selector to document the use of the class.
CSS_027=CSS selector specifies absolute position.
CSS_028=Use of Font-face declaration.

#HTM - XHTML related messages
HTM_001=Any publication resource that is an XML-based media type must be a valid XML 1.0 document. XML version found: %1$s.
HTM_002=The installed xml parser doesn't support xml version verification. Xml files must be a valid XML 1.0 document.
HTM_003=External entities are not allowed in EPUB v3 documents. External entity declaration found: %1$s.
HTM_004=Irregular DOCTYPE: found '%1$s', expected '%2$s'.
HTM_005=An external reference was found.
HTM_006=An XHTML Named Entity was found.
HTM_007=Empty or whitespace-only value of attribute ssml:ph.
HTM_008=The src attribute is required.
HTM_009=The DOCTYPE provided is obsolete or irregular and can be removed.
HTM_010=Namespace uri '%1$s' was found.
HTM_011=Entity is undeclared.
HTM_011_SUG=Define the entity or use the numbered entity instead.
HTM_012=Found a link to a CFI in an external book.
HTM_013=Intra-Publication CFIs found in document.
HTM_014=Invalid file extension for HTML file, expecting (html, htm or xhtml).
HTM_014a=XHTML Content Document file name '%1$s' should have the extension '.xhtml'.
HTM_015=HTML4 DOCTYPE definition within EPUB v3.
HTM_016=HTML5 DOCTYPE definition within EPUB v2.
HTM_017=Content file has different language value in attributes xml:lang and lang.
HTM_018=Content file has invalid language value at attribute xml:lang.
HTM_019=Content file has invalid language definition at attribute lang.
HTM_020=Content file doesn't contain xml:lang attribute.
HTM_021=Content file doesn't contain lang attribute.
HTM_022=Document may contain excessive DIV or SPAN tags.
HTM_022_SUG=Merge DIV or SPAN tags when they are consecutive and use the same style.
HTM_023=An invalid XHTML Named Entity was found: '%1$s'.
HTM_023_SUG=Check the spelling or use numbered entities instead.
HTM_024=An XHTML Named Entity was found. Only '&amp;' '&apos;' '&quote;' '&lt;' or '&gt;' are allowed.
HTM_024_SUG=Check the spelling or use numbered entities instead.
HTM_025=Non-registered URI scheme type found in href.
HTM_027=List contains less than 2 items.
HTM_027_SUG=Lists should have more than one item for accessibility.
HTM_028=Input html elements should include an id.
HTM_029=Label html elements should include a 'for' attribute referencing the id of an input element.
HTM_033=HTML 'head' element does not have a 'title' child element.
HTM_036=IFrames are highly discouraged.
HTM_038=Ensure b, i, em, and strong elements are used in compliance with W3C HTML5 directives.
HTM_038_SUG=CSS styles are usually more appropriate for italics or bold text.
HTM_043=SVG elements should include an xml:lang and lang attributes.
HTM_044=Namespace uri '%1$s' was included but not used.
HTM_044_SUG=Remove unused Namespace URIs.
HTM_045=Encountered empty href.
HTM_045_SUG=Empty hrefs are valid self-references.  These should be validated to ensure that this is the desired intent.
HTM_046=Fixed format item has no viewport defined.
HTM_046_SUG=A viewport declaration is required for fixed format items.
HTM_047=Html viewport is missing height and/or width.
HTM_047_SUG=The viewport declaration must declare both width and height.
HTM_048=SVG ViewBox is missing on fixed format document.
HTM_048_SUG=A viewBox declaration is required for fixed format documents.
HTM_049=Html element does not have an xmlns set to 'http://www.w3.org/1999/xhtml'.
HTM_049_SUG=Add xmlns="http://www.w3.org/1999/xhtml" to the html element.
HTM_050=Found epub:type="pagebreak" attribute in content document.
HTM_051=Found Microdata semantic enrichments but no RDFa. EDUPUB recommends using RDFa Lite.
HTM_052=The property 'region-based' is only allowed on nav elements in Data Navigation Documents.

#media
MED_001=Video poster must have core media image type.
MED_002=%1$s element doesn't provide fallback.
MED_003=Non-standard image resource of type %1$s found.
MED_004=Image file header may be corrupted.
MED_005=Media Overlay audio reference %1$s to non-standard audio type %2$s found.
MED_006=Some browsers do not support rendering SVG images which use a filename in the xlink:href property.

#NAV EPUB v3 Table of contents
NAV_001=The nav file is not supported for EPUB v2.
NAV_002=Found epub:type="page-list" in nav document
NAV_003=The Navigation Document must have a page list when content document(s) contain page breaks (epub:type="pagebreak").
NAV_004=The Navigation Document should contain the full document heading hierarchy in EDUPUB.
NAV_005=Content documents contain 'audio' elements but the Navigation Document does not have a listing of audio clips (epub:type="loa").
NAV_006=Content documents contain 'figure' elements but the Navigation Document does not have a listing of figures (epub:type="loi").
NAV_007=Content documents contain 'table' elements but the Navigation Document does not have a listing of tables (epub:type="lot").
NAV_008=Content documents contain 'video' elements but the Navigation Document does not have a listing of video clips (epub:type="lov").
NAV_009=Region-based navigation links must point to Fixed-Layout Documents.

#NCX EPUB v2 Table of Contents
NCX_001=NCX identifier ('%1$s') does not match OPF identifier ('%2$s'). 
NCX_002=toc attribute was not found on the spine element.
NCX_003=An .NCX file is required for TOC navigation on EPUB v2 readers.
NCX_004=NCX identifier ('dtb:uid' metadata) should not contain leading or trailing whitespace.
NCX_005=Found ncx "page-list" in .ncx file
NCX_006=Empty "text" label in the NCX document

#OPF
OPF_001=There was an error when parsing the EPUB version: %1$s.
OPF_002=The OPF file '%1$s' was not found in the EPUB.
OPF_003=Item '%1$s' exists in the EPUB, but is not declared in the OPF manifest.
OPF_004=Invalid prefix declaration: leading or trailing whitespace is not allowed.
OPF_004a=Invalid prefix declaration: found empty prefix.
OPF_004b=Invalid prefix '%1$s': must be a valid non-colonized name (aka 'NCName').
OPF_004c=Invalid prefix declaration: prefix '%1$s' must be immediately followed by a colon character (':').
OPF_004d=Invalid prefix declaration: prefix '%1$s' must be separated by its URI with a space.
OPF_004e=Invalid prefix declaration: found illegal whitespace between prefix and URI.
OPF_004f=Invalid prefix declaration: found illegal whitespace between prefix mappings.
OPF_005=Invalid prefix declaration: URI for prefix '%1$s' doesn't exist.
OPF_006=Invalid prefix declaration: URI '%1$s' is not a valid URI.
OPF_007=Re-declaration of reserved prefix '%1$s'.
OPF_007a=Invalid prefix mapping: prefix '_' must not be declared.
{'fraction_non_alphanumeric': 0.06969821861977378, 'fraction_numerical': 0.04725923890644319, 'mean_word_length': 5.69671879791475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 18}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5013946', 'n_tokens_mistral': 7114, 'n_tokens_neox': 6348, 'n_words': 2815}