Debian Codegraph @

docutils/parsers/rst/languages/eo.py

raw symbols SCIP
1 # $Id: eo.py 9782 2024-07-29 12:37:02Z milde $
2 # Author: Marcelo Huerta San Martin <[email protected]>
3 # Copyright: This module has been placed in the public domain.
4
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.
9
10 """
11 Esperanto-language mappings for language-dependent features of
12 reStructuredText.
13 """
14
15 __docformat__ = 'reStructuredText'
16
17
18 directives = {
19 # language-dependent: fixed
20 'atentu': 'attention',
21 'zorgu': 'caution',
22 'code (translation required)': 'code',
23 'dangxero': 'danger',
24 'danĝero': 'danger',
25 'eraro': 'error',
26 'spuro': 'hint',
27 'grava': 'important',
28 'noto': 'note',
29 'helpeto': 'tip',
30 'averto': 'warning',
31 'sciigo': 'admonition',
32 'flankteksto': 'sidebar',
33 'temo': 'topic',
34 'linea-bloko': 'line-block',
35 'analizota-literalo': 'parsed-literal',
36 'rubriko': 'rubric',
37 'epigrafo': 'epigraph',
38 'elstarajxoj': 'highlights',
39 'elstaraĵoj': 'highlights',
40 'ekstera-citajxo': 'pull-quote',
41 'ekstera-citaĵo': 'pull-quote',
42 'kombinajxo': 'compound',
43 'kombinaĵo': 'compound',
44 'tekstingo': 'container',
45 'enhavilo': 'container',
46 # 'questions': 'questions',
47 # 'qa': 'questions',
48 # 'faq': 'questions',
49 'tabelo': 'table',
50 'tabelo-vdk': 'csv-table', # "valoroj disigitaj per komoj"
51 'tabelo-csv': 'csv-table',
52 'tabelo-lista': 'list-table',
53 'meta': 'meta',
54 'math (translation required)': 'math',
55 # 'imagemap': 'imagemap',
56 'bildo': 'image',
57 'figuro': 'figure',
58 'inkludi': 'include',
59 'senanaliza': 'raw',
60 'anstatauxi': 'replace',
61 'anstataŭi': 'replace',
62 'unicode': 'unicode',
63 'dato': 'date',
64 'klaso': 'class',
65 'rolo': 'role',
66 'preterlasita-rolo': 'default-role',
67 'titolo': 'title',
68 'enhavo': 'contents',
69 'seknum': 'sectnum',
70 'sekcia-numerado': 'sectnum',
71 'kapsekcio': 'header',
72 'piedsekcio': 'footer',
73 # 'footnotes': 'footnotes',
74 # 'citations': 'citations',
75 'celaj-notoj': 'target-notes',
76 'restructuredtext-test-directive': 'restructuredtext-test-directive'}
77 """Esperanto name to registered (in directives/__init__.py) directive name
78 mapping."""
79
80 roles = {
81 # language-dependent: fixed
82 'mallongigo': 'abbreviation',
83 'mall': 'abbreviation',
84 'komenclitero': 'acronym',
85 'kl': 'acronym',
86 'code (translation required)': 'code',
87 'indekso': 'index',
88 'i': 'index',
89 'subskribo': 'subscript',
90 'sub': 'subscript',
91 'supraskribo': 'superscript',
92 'sup': 'superscript',
93 'titola-referenco': 'title-reference',
94 'titolo': 'title-reference',
95 't': 'title-reference',
96 'pep-referenco': 'pep-reference',
97 'pep': 'pep-reference',
98 'rfc-referenco': 'rfc-reference',
99 'rfc': 'rfc-reference',
100 'emfazo': 'emphasis',
101 'forta': 'strong',
102 'litera': 'literal',
103 'math (translation required)': 'math',
104 'nomita-referenco': 'named-reference',
105 'nenomita-referenco': 'anonymous-reference',
106 'piednota-referenco': 'footnote-reference',
107 'citajxo-referenco': 'citation-reference',
108 'citaĵo-referenco': 'citation-reference',
109 'anstatauxa-referenco': 'substitution-reference',
110 'anstataŭa-referenco': 'substitution-reference',
111 'celo': 'target',
112 'uri-referenco': 'uri-reference',
113 'uri': 'uri-reference',
114 'url': 'uri-reference',
115 'senanaliza': 'raw',
116 }
117 """Mapping of Esperanto role names to canonical names for interpreted text.
118 """