File indexing completed on 2024-12-22 05:36:19

0001 <?php
0002 
0003 $fallback = false;
0004 
0005 $messages = array(
0006 
0007     'HTMLPurifier' => 'HTML Purifier',
0008 // for unit testing purposes
0009     'LanguageFactoryTest: Pizza' => 'Pizza',
0010     'LanguageTest: List' => '$1',
0011     'LanguageTest: Hash' => '$1.Keys; $1.Values',
0012     'Item separator' => ', ',
0013     'Item separator last' => ' and ', // non-Harvard style
0014 
0015     'ErrorCollector: No errors' => 'No errors detected. However, because error reporting is still incomplete, there may have been errors that the error collector was not notified of; please inspect the output HTML carefully.',
0016     'ErrorCollector: At line' => ' at line $line',
0017     'ErrorCollector: Incidental errors' => 'Incidental errors',
0018     'Lexer: Unclosed comment' => 'Unclosed comment',
0019     'Lexer: Unescaped lt' => 'Unescaped less-than sign (<) should be &lt;',
0020     'Lexer: Missing gt' => 'Missing greater-than sign (>), previous less-than sign (<) should be escaped',
0021     'Lexer: Missing attribute key' => 'Attribute declaration has no key',
0022     'Lexer: Missing end quote' => 'Attribute declaration has no end quote',
0023     'Lexer: Extracted body' => 'Removed document metadata tags',
0024     'Strategy_RemoveForeignElements: Tag transform' => '<$1> element transformed into $CurrentToken.Serialized',
0025     'Strategy_RemoveForeignElements: Missing required attribute' => '$CurrentToken.Compact element missing required attribute $1',
0026     'Strategy_RemoveForeignElements: Foreign element to text' => 'Unrecognized $CurrentToken.Serialized tag converted to text',
0027     'Strategy_RemoveForeignElements: Foreign element removed' => 'Unrecognized $CurrentToken.Serialized tag removed',
0028     'Strategy_RemoveForeignElements: Comment removed' => 'Comment containing "$CurrentToken.Data" removed',
0029     'Strategy_RemoveForeignElements: Foreign meta element removed' => 'Unrecognized $CurrentToken.Serialized meta tag and all descendants removed',
0030     'Strategy_RemoveForeignElements: Token removed to end' => 'Tags and text starting from $1 element where removed to end',
0031     'Strategy_RemoveForeignElements: Trailing hyphen in comment removed' => 'Trailing hyphen(s) in comment removed',
0032     'Strategy_RemoveForeignElements: Hyphens in comment collapsed' => 'Double hyphens in comments are not allowed, and were collapsed into single hyphens',
0033     'Strategy_MakeWellFormed: Unnecessary end tag removed' => 'Unnecessary $CurrentToken.Serialized tag removed',
0034     'Strategy_MakeWellFormed: Unnecessary end tag to text' => 'Unnecessary $CurrentToken.Serialized tag converted to text',
0035     'Strategy_MakeWellFormed: Tag auto closed' => '$1.Compact started on line $1.Line auto-closed by $CurrentToken.Compact',
0036     'Strategy_MakeWellFormed: Tag carryover' => '$1.Compact started on line $1.Line auto-continued into $CurrentToken.Compact',
0037     'Strategy_MakeWellFormed: Stray end tag removed' => 'Stray $CurrentToken.Serialized tag removed',
0038     'Strategy_MakeWellFormed: Stray end tag to text' => 'Stray $CurrentToken.Serialized tag converted to text',
0039     'Strategy_MakeWellFormed: Tag closed by element end' => '$1.Compact tag started on line $1.Line closed by end of $CurrentToken.Serialized',
0040     'Strategy_MakeWellFormed: Tag closed by document end' => '$1.Compact tag started on line $1.Line closed by end of document',
0041     'Strategy_FixNesting: Node removed' => '$CurrentToken.Compact node removed',
0042     'Strategy_FixNesting: Node excluded' => '$CurrentToken.Compact node removed due to descendant exclusion by ancestor element',
0043     'Strategy_FixNesting: Node reorganized' => 'Contents of $CurrentToken.Compact node reorganized to enforce its content model',
0044     'Strategy_FixNesting: Node contents removed' => 'Contents of $CurrentToken.Compact node removed',
0045     'AttrValidator: Attributes transformed' => 'Attributes on $CurrentToken.Compact transformed from $1.Keys to $2.Keys',
0046     'AttrValidator: Attribute removed' => '$CurrentAttr.Name attribute on $CurrentToken.Compact removed',
0047 );
0048 
0049 $errorNames = array(
0050     E_ERROR => 'Error',
0051     E_WARNING => 'Warning',
0052     E_NOTICE => 'Notice'
0053 );
0054 
0055 // vim: et sw=4 sts=4