aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/htmlpurifier/HTMLPurifier/Language
diff options
context:
space:
mode:
Diffstat (limited to 'inc/3rdparty/htmlpurifier/HTMLPurifier/Language')
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/Language/classes/en-x-test.php9
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/Language/messages/en-x-test.php11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/Language/messages/en-x-testmini.php12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/Language/messages/en.php55
4 files changed, 87 insertions, 0 deletions
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/Language/classes/en-x-test.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/Language/classes/en-x-test.php
new file mode 100644
index 00000000..a6f8d163
--- /dev/null
+++ b/inc/3rdparty/htmlpurifier/HTMLPurifier/Language/classes/en-x-test.php
@@ -0,0 +1,9 @@
1<?php
2
3// private class for unit testing
4
5class HTMLPurifier_Language_en_x_test extends HTMLPurifier_Language
6{
7}
8
9// vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/Language/messages/en-x-test.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/Language/messages/en-x-test.php
new file mode 100644
index 00000000..e6a174a0
--- /dev/null
+++ b/inc/3rdparty/htmlpurifier/HTMLPurifier/Language/messages/en-x-test.php
@@ -0,0 +1,11 @@
1<?php
2
3// private language message file for unit testing purposes
4
5$fallback = 'en';
6
7$messages = array(
8 'HTMLPurifier' => 'HTML Purifier X'
9);
10
11// vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/Language/messages/en-x-testmini.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/Language/messages/en-x-testmini.php
new file mode 100644
index 00000000..ed8560fd
--- /dev/null
+++ b/inc/3rdparty/htmlpurifier/HTMLPurifier/Language/messages/en-x-testmini.php
@@ -0,0 +1,12 @@
1<?php
2
3// private language message file for unit testing purposes
4// this language file has no class associated with it
5
6$fallback = 'en';
7
8$messages = array(
9 'HTMLPurifier' => 'HTML Purifier XNone'
10);
11
12// vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/Language/messages/en.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/Language/messages/en.php
new file mode 100644
index 00000000..1fa30bdf
--- /dev/null
+++ b/inc/3rdparty/htmlpurifier/HTMLPurifier/Language/messages/en.php
@@ -0,0 +1,55 @@
1<?php
2
3$fallback = false;
4
5$messages = array(
6
7 'HTMLPurifier' => 'HTML Purifier',
8// for unit testing purposes
9 'LanguageFactoryTest: Pizza' => 'Pizza',
10 'LanguageTest: List' => '$1',
11 'LanguageTest: Hash' => '$1.Keys; $1.Values',
12 'Item separator' => ', ',
13 'Item separator last' => ' and ', // non-Harvard style
14
15 '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.',
16 'ErrorCollector: At line' => ' at line $line',
17 'ErrorCollector: Incidental errors' => 'Incidental errors',
18 'Lexer: Unclosed comment' => 'Unclosed comment',
19 'Lexer: Unescaped lt' => 'Unescaped less-than sign (<) should be &lt;',
20 'Lexer: Missing gt' => 'Missing greater-than sign (>), previous less-than sign (<) should be escaped',
21 'Lexer: Missing attribute key' => 'Attribute declaration has no key',
22 'Lexer: Missing end quote' => 'Attribute declaration has no end quote',
23 'Lexer: Extracted body' => 'Removed document metadata tags',
24 'Strategy_RemoveForeignElements: Tag transform' => '<$1> element transformed into $CurrentToken.Serialized',
25 'Strategy_RemoveForeignElements: Missing required attribute' => '$CurrentToken.Compact element missing required attribute $1',
26 'Strategy_RemoveForeignElements: Foreign element to text' => 'Unrecognized $CurrentToken.Serialized tag converted to text',
27 'Strategy_RemoveForeignElements: Foreign element removed' => 'Unrecognized $CurrentToken.Serialized tag removed',
28 'Strategy_RemoveForeignElements: Comment removed' => 'Comment containing "$CurrentToken.Data" removed',
29 'Strategy_RemoveForeignElements: Foreign meta element removed' => 'Unrecognized $CurrentToken.Serialized meta tag and all descendants removed',
30 'Strategy_RemoveForeignElements: Token removed to end' => 'Tags and text starting from $1 element where removed to end',
31 'Strategy_RemoveForeignElements: Trailing hyphen in comment removed' => 'Trailing hyphen(s) in comment removed',
32 'Strategy_RemoveForeignElements: Hyphens in comment collapsed' => 'Double hyphens in comments are not allowed, and were collapsed into single hyphens',
33 'Strategy_MakeWellFormed: Unnecessary end tag removed' => 'Unnecessary $CurrentToken.Serialized tag removed',
34 'Strategy_MakeWellFormed: Unnecessary end tag to text' => 'Unnecessary $CurrentToken.Serialized tag converted to text',
35 'Strategy_MakeWellFormed: Tag auto closed' => '$1.Compact started on line $1.Line auto-closed by $CurrentToken.Compact',
36 'Strategy_MakeWellFormed: Tag carryover' => '$1.Compact started on line $1.Line auto-continued into $CurrentToken.Compact',
37 'Strategy_MakeWellFormed: Stray end tag removed' => 'Stray $CurrentToken.Serialized tag removed',
38 'Strategy_MakeWellFormed: Stray end tag to text' => 'Stray $CurrentToken.Serialized tag converted to text',
39 'Strategy_MakeWellFormed: Tag closed by element end' => '$1.Compact tag started on line $1.Line closed by end of $CurrentToken.Serialized',
40 'Strategy_MakeWellFormed: Tag closed by document end' => '$1.Compact tag started on line $1.Line closed by end of document',
41 'Strategy_FixNesting: Node removed' => '$CurrentToken.Compact node removed',
42 'Strategy_FixNesting: Node excluded' => '$CurrentToken.Compact node removed due to descendant exclusion by ancestor element',
43 'Strategy_FixNesting: Node reorganized' => 'Contents of $CurrentToken.Compact node reorganized to enforce its content model',
44 'Strategy_FixNesting: Node contents removed' => 'Contents of $CurrentToken.Compact node removed',
45 'AttrValidator: Attributes transformed' => 'Attributes on $CurrentToken.Compact transformed from $1.Keys to $2.Keys',
46 'AttrValidator: Attribute removed' => '$CurrentAttr.Name attribute on $CurrentToken.Compact removed',
47);
48
49$errorNames = array(
50 E_ERROR => 'Error',
51 E_WARNING => 'Warning',
52 E_NOTICE => 'Notice'
53);
54
55// vim: et sw=4 sts=4