2007-01-29 20:11:00 +00:00
< ? php
$fallback = false ;
$messages = array (
2007-06-25 01:11:56 +00:00
'HTMLPurifier' => 'HTML Purifier' ,
2007-06-27 02:03:15 +00:00
// for unit testing purposes
'LanguageFactoryTest: Pizza' => 'Pizza' ,
'LanguageTest: List' => '$1' ,
'LanguageTest: Hash' => '$1.Keys; $1.Values' ,
'Item separator' => ', ' ,
'Item separator last' => ' and ' , // non-Harvard style
2007-01-29 20:11:00 +00:00
2007-06-26 19:54:33 +00:00
'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.' ,
2008-08-16 04:41:34 +00:00
'ErrorCollector: At line' => ' at line $line' ,
'ErrorCollector: Incidental errors' => 'Incidental errors' ,
2007-06-25 00:48:26 +00:00
2007-06-26 23:43:28 +00:00
'Lexer: Unclosed comment' => 'Unclosed comment' ,
'Lexer: Unescaped lt' => 'Unescaped less-than sign (<) should be <' ,
'Lexer: Missing gt' => 'Missing greater-than sign (>), previous less-than sign (<) should be escaped' ,
2007-06-25 00:48:26 +00:00
'Lexer: Missing attribute key' => 'Attribute declaration has no key' ,
2007-06-26 23:43:28 +00:00
'Lexer: Missing end quote' => 'Attribute declaration has no end quote' ,
2007-06-18 03:05:18 +00:00
2007-06-26 23:43:28 +00:00
'Strategy_RemoveForeignElements: Tag transform' => '<$1> element transformed into $CurrentToken.Serialized' ,
2007-06-26 19:33:37 +00:00
'Strategy_RemoveForeignElements: Missing required attribute' => '$CurrentToken.Compact element missing required attribute $1' ,
2007-06-26 23:43:28 +00:00
'Strategy_RemoveForeignElements: Foreign element to text' => 'Unrecognized $CurrentToken.Serialized tag converted to text' ,
'Strategy_RemoveForeignElements: Foreign element removed' => 'Unrecognized $CurrentToken.Serialized tag removed' ,
'Strategy_RemoveForeignElements: Comment removed' => 'Comment containing "$CurrentToken.Data" removed' ,
2007-07-11 20:42:58 +00:00
'Strategy_RemoveForeignElements: Foreign meta element removed' => 'Unrecognized $CurrentToken.Serialized meta tag and all descendants removed' ,
2007-06-26 23:43:28 +00:00
'Strategy_RemoveForeignElements: Token removed to end' => 'Tags and text starting from $1 element where removed to end' ,
2008-06-26 03:12:19 +00:00
'Strategy_RemoveForeignElements: Trailing hyphen in comment removed' => 'Trailing hyphen(s) in comment removed' ,
'Strategy_RemoveForeignElements: Hyphens in comment collapsed' => 'Double hyphens in comments are not allowed, and were collapsed into single hyphens' ,
2007-06-26 02:49:21 +00:00
2007-06-26 19:33:37 +00:00
'Strategy_MakeWellFormed: Unnecessary end tag removed' => 'Unnecessary $CurrentToken.Serialized tag removed' ,
'Strategy_MakeWellFormed: Unnecessary end tag to text' => 'Unnecessary $CurrentToken.Serialized tag converted to text' ,
2007-06-26 23:43:28 +00:00
'Strategy_MakeWellFormed: Tag auto closed' => '$1.Compact started on line $1.Line auto-closed by $CurrentToken.Compact' ,
2008-12-20 18:06:00 +00:00
'Strategy_MakeWellFormed: Tag carryover' => '$1.Compact started on line $1.Line auto-continued into $CurrentToken.Compact' ,
2007-06-26 23:43:28 +00:00
'Strategy_MakeWellFormed: Stray end tag removed' => 'Stray $CurrentToken.Serialized tag removed' ,
'Strategy_MakeWellFormed: Stray end tag to text' => 'Stray $CurrentToken.Serialized tag converted to text' ,
'Strategy_MakeWellFormed: Tag closed by element end' => '$1.Compact tag started on line $1.Line closed by end of $CurrentToken.Serialized' ,
'Strategy_MakeWellFormed: Tag closed by document end' => '$1.Compact tag started on line $1.Line closed by end of document' ,
'Strategy_FixNesting: Node removed' => '$CurrentToken.Compact node removed' ,
'Strategy_FixNesting: Node excluded' => '$CurrentToken.Compact node removed due to descendant exclusion by ancestor element' ,
'Strategy_FixNesting: Node reorganized' => 'Contents of $CurrentToken.Compact node reorganized to enforce its content model' ,
'Strategy_FixNesting: Node contents removed' => 'Contents of $CurrentToken.Compact node removed' ,
2007-06-26 02:49:21 +00:00
2007-06-27 02:03:15 +00:00
'AttrValidator: Attributes transformed' => 'Attributes on $CurrentToken.Compact transformed from $1.Keys to $2.Keys' ,
'AttrValidator: Attribute removed' => '$CurrentAttr.Name attribute on $CurrentToken.Compact removed' ,
2007-06-24 23:20:35 +00:00
);
$errorNames = array (
2008-08-16 04:41:34 +00:00
E_ERROR => 'Error' ,
2007-06-24 23:20:35 +00:00
E_WARNING => 'Warning' ,
2008-08-16 04:41:34 +00:00
E_NOTICE => 'Notice'
2007-01-29 20:11:00 +00:00
);
2008-12-06 09:24:59 +00:00
// vim: et sw=4 sts=4