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 <https://docutils.sourceforge.io/docs/howto/i18n.html>.
7 # Two files must be translated for each language: one in docutils/languages,
8 # the other in docutils/parsers/rst/languages.
11 English-language mappings for language-dependent features of
15 __docformat__
= 'reStructuredText'
19 # language-dependent: fixed
20 'attention': 'attention',
25 'important': 'important',
29 'admonition': 'admonition', # advice/advisory/remark, not reprimand
32 'line-block': 'line-block',
33 'parsed-literal': 'parsed-literal',
39 'epigraph': 'epigraph',
40 'highlights': 'highlights',
41 'pull-quote': 'pull-quote',
42 'compound': 'compound',
43 'container': 'container',
45 'csv-table': 'csv-table',
46 'list-table': 'list-table',
48 # 'imagemap': 'imagemap',
58 'default-role': 'default-role',
60 'contents': 'contents',
62 'section-numbering': 'sectnum',
65 # 'footnotes': 'footnotes',
66 # 'citations': 'citations',
67 'target-notes': 'target-notes',
68 'restructuredtext-test-directive': 'restructuredtext-test-directive'}
69 """Mapping of English directive name to registered directive names
71 Cf. https://docutils.sourceforge.io/docs/ref/rst/directives.html
72 and `_directive_registry` in ``directives/__init__.py``.
76 # language-dependent: fixed
77 'abbreviation': 'abbreviation',
82 'emphasis': 'emphasis',
85 'pep-reference': 'pep-reference',
86 'pep': 'pep-reference',
87 'rfc-reference': 'rfc-reference',
88 'rfc': 'rfc-reference',
90 'subscript': 'subscript',
92 'superscript': 'superscript',
94 'title-reference': 'title-reference',
95 'title': 'title-reference',
96 't': 'title-reference',
98 # the following roles are not implemented in Docutils
101 'anonymous-reference': 'anonymous-reference',
102 'citation-reference': 'citation-reference',
103 'footnote-reference': 'footnote-reference',
104 'named-reference': 'named-reference',
105 'substitution-reference': 'substitution-reference',
106 'uri-reference': 'uri-reference',
107 'uri': 'uri-reference',
108 'url': 'uri-reference',
111 """Mapping of English role names to canonical role names for interpreted text.
113 Cf. https://docutils.sourceforge.io/docs/ref/rst/roles.html