2 # Author: David Goodger <goodger@python.org>
3 # Copyright: This module has been placed in the public domain.
5 # New language mappings are welcome. Before doing a new translation, please
6 # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be
7 # translated for each language: one in docutils/languages, the other in
8 # docutils/parsers/rst/languages.
11 English-language mappings for language-dependent features of Docutils.
14 __docformat__
= 'reStructuredText'
17 # fixed: language-dependent
18 'author': 'dummy Author',
19 'authors': 'dummy Authors',
20 'organization': 'dummy Organization',
21 'address': 'dummy Address',
22 'contact': 'dummy Contact',
23 'version': 'dummy Version',
24 'revision': 'dummy Revision',
25 'status': 'dummy Status',
27 'copyright': 'dummy Copyright',
28 'dedication': 'dummy Dedication',
29 'abstract': 'dummy Abstract',
30 'attention': 'dummy Attention!',
31 'caution': 'dummy Caution!',
32 'danger': 'dummy !DANGER!',
33 'error': 'dummy Error',
35 'important': 'dummy Important',
38 'warning': 'dummy Warning',
39 'contents': 'dummy Contents'}
40 """Mapping of node class name to label text."""
42 bibliographic_fields
= {
43 # language-dependent: fixed
44 'dummy author': 'author',
45 'dummy authors': 'authors',
46 'dummy organization': 'organization',
47 'dummy address': 'address',
48 'dummy contact': 'contact',
49 'dummy version': 'version',
50 'dummy revision': 'revision',
51 'dummy status': 'status',
53 'dummy copyright': 'copyright',
54 'dummy dedication': 'dedication',
55 'dummy abstract': 'abstract'}
56 """English (lowcased) to canonical name mapping for bibliographic fields."""
58 author_separators
= [';', ',']
59 """List of separator strings for the 'Authors' bibliographic field. Tried in
63 # language-dependent: fixed
64 'dummy-attention': 'attention',
65 'dummy-caution': 'caution',
67 'dummy-code-block': 'code',
68 'dummy-sourcecode': 'code',
69 'dummy-danger': 'danger',
70 'dummy-error': 'error',
72 'dummy-important': 'important',
75 'dummy-warning': 'warning',
76 'dummy-admonition': 'admonition',
77 'dummy-sidebar': 'sidebar',
78 'dummy-topic': 'topic',
79 'dummy-line-block': 'line-block',
80 'dummy-parsed-literal': 'parsed-literal',
81 'dummy-rubric': 'rubric',
82 'dummy-epigraph': 'epigraph',
83 'dummy-highlights': 'highlights',
84 'dummy-pull-quote': 'pull-quote',
85 'dummy-compound': 'compound',
86 'dummy-container': 'container',
87 #'dummy-questions': 'questions',
88 'dummy-table': 'table',
89 'dummy-csv-table': 'csv-table',
90 'dummy-list-table': 'list-table',
91 #'dummy-qa': 'questions',
92 #'dummy-faq': 'questions',
95 #'dummy-imagemap': 'imagemap',
96 'dummy-image': 'image',
97 'dummy-figure': 'figure',
98 'dummy-include': 'include',
100 'dummy-replace': 'replace',
101 'dummy-unicode': 'unicode',
102 'dummy-date': 'date',
103 'dummy-class': 'class',
104 'dummy-role': 'role',
105 'dummy-default-role': 'default-role',
106 'dummy-title': 'title',
107 'dummy-contents': 'contents',
108 'dummy-sectnum': 'sectnum',
109 'dummy-section-numbering': 'sectnum',
110 'dummy-header': 'header',
111 'dummy-footer': 'footer',
112 #'dummy-footnotes': 'footnotes',
113 #'dummy-citations': 'citations',
114 'dummy-target-notes': 'target-notes',
115 'dummy-restructuredtext-test-directive': 'restructuredtext-test-directive'}
116 """English name to registered (in directives/__init__.py) directive name
120 # language-dependent: fixed
121 'dummy abbreviation': 'abbreviation',
122 'dummy ab': 'abbreviation',
123 'dummy acronym': 'acronym',
124 'dummy ac': 'acronym',
125 'dummy code': 'code',
126 'dummy index': 'index',
128 'dummy subscript': 'subscript',
129 'dummy sub': 'subscript',
130 'dummy superscript': 'superscript',
131 'dummy sup': 'superscript',
132 'dummy title-reference': 'title-reference',
133 'dummy title': 'title-reference',
134 'dummy t': 'title-reference',
135 'dummy pep-reference': 'pep-reference',
136 'dummy pep': 'pep-reference',
137 'dummy rfc-reference': 'rfc-reference',
138 'dummy rfc': 'rfc-reference',
139 'dummy emphasis': 'emphasis',
140 'dummy strong': 'strong',
141 'dummy literal': 'literal',
142 'dummy math': 'math',
143 'dummy named-reference': 'named-reference',
144 'dummy anonymous-reference': 'anonymous-reference',
145 'dummy footnote-reference': 'footnote-reference',
146 'dummy citation-reference': 'citation-reference',
147 'dummy substitution-reference': 'substitution-reference',
148 'dummy target': 'target',
149 'dummy uri-reference': 'uri-reference',
150 'dummy uri': 'uri-reference',
151 'dummy url': 'uri-reference',
153 """Mapping of English role names to canonical role names for interpreted text.