|
1 # $Id: eo.py 4564 2006-05-21 20:44:42Z wiemann $ |
|
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'dangxero': 'danger', |
|
23 u'dan\u011dero': 'danger', |
|
24 u'eraro': 'error', |
|
25 u'spuro': 'hint', |
|
26 u'grava': 'important', |
|
27 u'noto': 'note', |
|
28 u'helpeto': 'tip', |
|
29 u'averto': 'warning', |
|
30 u'admono': 'admonition', |
|
31 u'flankteksto': 'sidebar', |
|
32 u'temo': 'topic', |
|
33 u'linea-bloko': 'line-block', |
|
34 u'analizota-literalo': 'parsed-literal', |
|
35 u'rubriko': 'rubric', |
|
36 u'epigrafo': 'epigraph', |
|
37 u'elstarajxoj': 'highlights', |
|
38 u'elstara\u0135oj': 'highlights', |
|
39 u'ekstera-citajxo': 'pull-quote', |
|
40 u'ekstera-cita\u0135o': 'pull-quote', |
|
41 u'kombinajxo': 'compound', |
|
42 u'kombina\u0135o': 'compound', |
|
43 u'tekstingo': 'container', |
|
44 u'enhavilo': 'container', |
|
45 #'questions': 'questions', |
|
46 #'qa': 'questions', |
|
47 #'faq': 'questions', |
|
48 u'tabelo': 'table', |
|
49 u'tabelo-vdk': 'csv-table', # "valoroj disigitaj per komoj" |
|
50 u'tabelo-csv': 'csv-table', |
|
51 u'tabelo-lista': 'list-table', |
|
52 u'meta': 'meta', |
|
53 #'imagemap': 'imagemap', |
|
54 u'bildo': 'image', |
|
55 u'figuro': 'figure', |
|
56 u'inkludi': 'include', |
|
57 u'senanaliza': 'raw', |
|
58 u'anstatauxi': 'replace', |
|
59 u'anstata\u016di': 'replace', |
|
60 u'unicode': 'unicode', |
|
61 u'dato': 'date', |
|
62 u'klaso': 'class', |
|
63 u'rolo': 'role', |
|
64 u'preterlasita-rolo': 'default-role', |
|
65 u'titolo': 'title', |
|
66 u'enhavo': 'contents', |
|
67 u'seknum': 'sectnum', |
|
68 u'sekcia-numerado': 'sectnum', |
|
69 u'kapsekcio': 'header', |
|
70 u'piedsekcio': 'footer', |
|
71 #'footnotes': 'footnotes', |
|
72 #'citations': 'citations', |
|
73 u'celaj-notoj': 'target-notes', |
|
74 u'restructuredtext-test-directive': 'restructuredtext-test-directive'} |
|
75 """Esperanto name to registered (in directives/__init__.py) directive name |
|
76 mapping.""" |
|
77 |
|
78 roles = { |
|
79 # language-dependent: fixed |
|
80 u'mallongigo': 'abbreviation', |
|
81 u'mall': 'abbreviation', |
|
82 u'komenclitero': 'acronym', |
|
83 u'kl': 'acronym', |
|
84 u'indekso': 'index', |
|
85 u'i': 'index', |
|
86 u'subskribo': 'subscript', |
|
87 u'sub': 'subscript', |
|
88 u'supraskribo': 'superscript', |
|
89 u'sup': 'superscript', |
|
90 u'titola-referenco': 'title-reference', |
|
91 u'titolo': 'title-reference', |
|
92 u't': 'title-reference', |
|
93 u'pep-referenco': 'pep-reference', |
|
94 u'pep': 'pep-reference', |
|
95 u'rfc-referenco': 'rfc-reference', |
|
96 u'rfc': 'rfc-reference', |
|
97 u'emfazo': 'emphasis', |
|
98 u'forta': 'strong', |
|
99 u'litera': 'literal', |
|
100 u'nomita-referenco': 'named-reference', |
|
101 u'nenomita-referenco': 'anonymous-reference', |
|
102 u'piednota-referenco': 'footnote-reference', |
|
103 u'citajxo-referenco': 'citation-reference', |
|
104 u'cita\u0135o-referenco': 'citation-reference', |
|
105 u'anstatauxa-referenco': 'substitution-reference', |
|
106 u'anstata\u016da-referenco': 'substitution-reference', |
|
107 u'celo': 'target', |
|
108 u'uri-referenco': 'uri-reference', |
|
109 u'uri': 'uri-reference', |
|
110 u'url': 'uri-reference', |
|
111 u'senanaliza': 'raw', |
|
112 } |
|
113 """Mapping of Esperanto role names to canonical role names for interpreted text. |
|
114 """ |