[3] | 1 | # Author: Marcelo Huerta San Martin |
---|
| 2 | # Contact: richieadler@users.sourceforge.net |
---|
| 3 | # Revision: $Revision: 4231 $ |
---|
| 4 | # Date: $Date: 2005-12-23 03:10:41 +0100 (Fri, 23 Dec 2005) $ |
---|
| 5 | # Copyright: This module has been placed in the public domain. |
---|
| 6 | |
---|
| 7 | # New language mappings are welcome. Before doing a new translation, please |
---|
| 8 | # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be |
---|
| 9 | # translated for each language: one in docutils/languages, the other in |
---|
| 10 | # docutils/parsers/rst/languages. |
---|
| 11 | |
---|
| 12 | """ |
---|
| 13 | Esperanto-language mappings for language-dependent features of |
---|
| 14 | reStructuredText. |
---|
| 15 | """ |
---|
| 16 | |
---|
| 17 | __docformat__ = 'reStructuredText' |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | directives = { |
---|
| 21 | # language-dependent: fixed |
---|
| 22 | u'atentu': 'attention', |
---|
| 23 | u'zorgu': 'caution', |
---|
| 24 | u'dangxero': 'danger', |
---|
| 25 | u'dan\u011dero': 'danger', |
---|
| 26 | u'eraro': 'error', |
---|
| 27 | u'spuro': 'hint', |
---|
| 28 | u'grava': 'important', |
---|
| 29 | u'noto': 'note', |
---|
| 30 | u'helpeto': 'tip', |
---|
| 31 | u'averto': 'warning', |
---|
| 32 | u'admono': 'admonition', |
---|
| 33 | u'flankteksto': 'sidebar', |
---|
| 34 | u'temo': 'topic', |
---|
| 35 | u'linea-bloko': 'line-block', |
---|
| 36 | u'analizota-literalo': 'parsed-literal', |
---|
| 37 | u'rubriko': 'rubric', |
---|
| 38 | u'epigrafo': 'epigraph', |
---|
| 39 | u'elstarajxoj': 'highlights', |
---|
| 40 | u'elstara\u0135oj': 'highlights', |
---|
| 41 | u'ekstera-citajxo': 'pull-quote', |
---|
| 42 | u'ekstera-cita\u0135o': 'pull-quote', |
---|
| 43 | u'kombinajxo': 'compound', |
---|
| 44 | u'kombina\u0135o': 'compound', |
---|
| 45 | u'tekstingo': 'container', |
---|
| 46 | u'enhavilo': 'container', |
---|
| 47 | #'questions': 'questions', |
---|
| 48 | #'qa': 'questions', |
---|
| 49 | #'faq': 'questions', |
---|
| 50 | u'tabelo': 'table', |
---|
| 51 | u'tabelo-vdk': 'csv-table', # "valoroj disigitaj per komoj" |
---|
| 52 | u'tabelo-csv': 'csv-table', |
---|
| 53 | u'tabelo-lista': 'list-table', |
---|
| 54 | u'meta': 'meta', |
---|
| 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'indekso': 'index', |
---|
| 87 | u'i': 'index', |
---|
| 88 | u'subskribo': 'subscript', |
---|
| 89 | u'sub': 'subscript', |
---|
| 90 | u'supraskribo': 'superscript', |
---|
| 91 | u'sup': 'superscript', |
---|
| 92 | u'titola-referenco': 'title-reference', |
---|
| 93 | u'titolo': 'title-reference', |
---|
| 94 | u't': 'title-reference', |
---|
| 95 | u'pep-referenco': 'pep-reference', |
---|
| 96 | u'pep': 'pep-reference', |
---|
| 97 | u'rfc-referenco': 'rfc-reference', |
---|
| 98 | u'rfc': 'rfc-reference', |
---|
| 99 | u'emfazo': 'emphasis', |
---|
| 100 | u'forta': 'strong', |
---|
| 101 | u'litera': 'literal', |
---|
| 102 | u'nomita-referenco': 'named-reference', |
---|
| 103 | u'nenomita-referenco': 'anonymous-reference', |
---|
| 104 | u'piednota-referenco': 'footnote-reference', |
---|
| 105 | u'citajxo-referenco': 'citation-reference', |
---|
| 106 | u'cita\u0135o-referenco': 'citation-reference', |
---|
| 107 | u'anstatauxa-referenco': 'substitution-reference', |
---|
| 108 | u'anstata\u016da-referenco': 'substitution-reference', |
---|
| 109 | u'celo': 'target', |
---|
| 110 | u'uri-referenco': 'uri-reference', |
---|
| 111 | u'uri': 'uri-reference', |
---|
| 112 | u'url': 'uri-reference', |
---|
| 113 | u'senanaliza': 'raw', |
---|
| 114 | } |
---|
| 115 | """Mapping of Esperanto role names to canonical role names for interpreted text. |
---|
| 116 | """ |
---|