Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/docutils/parsers/rst/languages/eo.py @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author | shellac |
---|---|
date | Mon, 22 Mar 2021 18:12:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4f3585e2f14b |
---|---|
1 # $Id: eo.py 7119 2011-09-02 13:00:23Z milde $ | |
2 # Author: Marcelo Huerta San Martin <richieadler@users.sourceforge.net> | |
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 <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. | |
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 u'atentu': 'attention', | |
21 u'zorgu': 'caution', | |
22 u'code (translation required)': 'code', | |
23 u'dangxero': 'danger', | |
24 u'dan\u011dero': 'danger', | |
25 u'eraro': 'error', | |
26 u'spuro': 'hint', | |
27 u'grava': 'important', | |
28 u'noto': 'note', | |
29 u'helpeto': 'tip', | |
30 u'averto': 'warning', | |
31 u'admono': 'admonition', | |
32 u'flankteksto': 'sidebar', | |
33 u'temo': 'topic', | |
34 u'linea-bloko': 'line-block', | |
35 u'analizota-literalo': 'parsed-literal', | |
36 u'rubriko': 'rubric', | |
37 u'epigrafo': 'epigraph', | |
38 u'elstarajxoj': 'highlights', | |
39 u'elstara\u0135oj': 'highlights', | |
40 u'ekstera-citajxo': 'pull-quote', | |
41 u'ekstera-cita\u0135o': 'pull-quote', | |
42 u'kombinajxo': 'compound', | |
43 u'kombina\u0135o': 'compound', | |
44 u'tekstingo': 'container', | |
45 u'enhavilo': 'container', | |
46 #'questions': 'questions', | |
47 #'qa': 'questions', | |
48 #'faq': 'questions', | |
49 u'tabelo': 'table', | |
50 u'tabelo-vdk': 'csv-table', # "valoroj disigitaj per komoj" | |
51 u'tabelo-csv': 'csv-table', | |
52 u'tabelo-lista': 'list-table', | |
53 u'meta': 'meta', | |
54 'math (translation required)': 'math', | |
55 #'imagemap': 'imagemap', | |
56 u'bildo': 'image', | |
57 u'figuro': 'figure', | |
58 u'inkludi': 'include', | |
59 u'senanaliza': 'raw', | |
60 u'anstatauxi': 'replace', | |
61 u'anstata\u016di': 'replace', | |
62 u'unicode': 'unicode', | |
63 u'dato': 'date', | |
64 u'klaso': 'class', | |
65 u'rolo': 'role', | |
66 u'preterlasita-rolo': 'default-role', | |
67 u'titolo': 'title', | |
68 u'enhavo': 'contents', | |
69 u'seknum': 'sectnum', | |
70 u'sekcia-numerado': 'sectnum', | |
71 u'kapsekcio': 'header', | |
72 u'piedsekcio': 'footer', | |
73 #'footnotes': 'footnotes', | |
74 #'citations': 'citations', | |
75 u'celaj-notoj': 'target-notes', | |
76 u'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 u'mallongigo': 'abbreviation', | |
83 u'mall': 'abbreviation', | |
84 u'komenclitero': 'acronym', | |
85 u'kl': 'acronym', | |
86 u'code (translation required)': 'code', | |
87 u'indekso': 'index', | |
88 u'i': 'index', | |
89 u'subskribo': 'subscript', | |
90 u'sub': 'subscript', | |
91 u'supraskribo': 'superscript', | |
92 u'sup': 'superscript', | |
93 u'titola-referenco': 'title-reference', | |
94 u'titolo': 'title-reference', | |
95 u't': 'title-reference', | |
96 u'pep-referenco': 'pep-reference', | |
97 u'pep': 'pep-reference', | |
98 u'rfc-referenco': 'rfc-reference', | |
99 u'rfc': 'rfc-reference', | |
100 u'emfazo': 'emphasis', | |
101 u'forta': 'strong', | |
102 u'litera': 'literal', | |
103 'math (translation required)': 'math', | |
104 u'nomita-referenco': 'named-reference', | |
105 u'nenomita-referenco': 'anonymous-reference', | |
106 u'piednota-referenco': 'footnote-reference', | |
107 u'citajxo-referenco': 'citation-reference', | |
108 u'cita\u0135o-referenco': 'citation-reference', | |
109 u'anstatauxa-referenco': 'substitution-reference', | |
110 u'anstata\u016da-referenco': 'substitution-reference', | |
111 u'celo': 'target', | |
112 u'uri-referenco': 'uri-reference', | |
113 u'uri': 'uri-reference', | |
114 u'url': 'uri-reference', | |
115 u'senanaliza': 'raw', | |
116 } | |
117 """Mapping of Esperanto role names to canonical role names for interpreted text. | |
118 """ |