en.php 4.0 KB

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