Mercurial > repos > guerler > springsuite
comparison planemo/lib/python3.7/site-packages/docutils/parsers/rst/languages/es.py @ 0:d30785e31577 draft
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author | guerler |
---|---|
date | Fri, 31 Jul 2020 00:18:57 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d30785e31577 |
---|---|
1 # -*- coding: utf-8 -*- | |
2 # $Id: es.py 7119 2011-09-02 13:00:23Z milde $ | |
3 # Author: Marcelo Huerta San MartÃn <richieadler@users.sourceforge.net> | |
4 # Copyright: This module has been placed in the public domain. | |
5 | |
6 # New language mappings are welcome. Before doing a new translation, please | |
7 # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be | |
8 # translated for each language: one in docutils/languages, the other in | |
9 # docutils/parsers/rst/languages. | |
10 | |
11 """ | |
12 Spanish-language mappings for language-dependent features of | |
13 reStructuredText. | |
14 """ | |
15 | |
16 __docformat__ = 'reStructuredText' | |
17 | |
18 | |
19 directives = { | |
20 u'atenci\u00f3n': 'attention', | |
21 u'atencion': 'attention', | |
22 u'precauci\u00f3n': 'caution', | |
23 u'code (translation required)': 'code', | |
24 u'precaucion': 'caution', | |
25 u'peligro': 'danger', | |
26 u'error': 'error', | |
27 u'sugerencia': 'hint', | |
28 u'importante': 'important', | |
29 u'nota': 'note', | |
30 u'consejo': 'tip', | |
31 u'advertencia': 'warning', | |
32 u'exhortacion': 'admonition', | |
33 u'exhortaci\u00f3n': 'admonition', | |
34 u'nota-al-margen': 'sidebar', | |
35 u'tema': 'topic', | |
36 u'bloque-de-lineas': 'line-block', | |
37 u'bloque-de-l\u00edneas': 'line-block', | |
38 u'literal-evaluado': 'parsed-literal', | |
39 u'firma': 'rubric', | |
40 u'ep\u00edgrafe': 'epigraph', | |
41 u'epigrafe': 'epigraph', | |
42 u'destacado': 'highlights', | |
43 u'cita-destacada': 'pull-quote', | |
44 u'combinacion': 'compound', | |
45 u'combinaci\u00f3n': 'compound', | |
46 u'contenedor': 'container', | |
47 #'questions': 'questions', | |
48 #'qa': 'questions', | |
49 #'faq': 'questions', | |
50 u'tabla': 'table', | |
51 u'tabla-vsc': 'csv-table', | |
52 u'tabla-csv': 'csv-table', | |
53 u'tabla-lista': 'list-table', | |
54 u'meta': 'meta', | |
55 'math (translation required)': 'math', | |
56 #'imagemap': 'imagemap', | |
57 u'imagen': 'image', | |
58 u'figura': 'figure', | |
59 u'incluir': 'include', | |
60 u'sin-analisis': 'raw', | |
61 u'sin-an\u00e1lisis': 'raw', | |
62 u'reemplazar': 'replace', | |
63 u'unicode': 'unicode', | |
64 u'fecha': 'date', | |
65 u'clase': 'class', | |
66 u'rol': 'role', | |
67 u'rol-por-omision': 'default-role', | |
68 u'rol-por-omisi\u00f3n': 'default-role', | |
69 u'titulo': 'title', | |
70 u't\u00edtulo': 'title', | |
71 u'contenido': 'contents', | |
72 u'numseccion': 'sectnum', | |
73 u'numsecci\u00f3n': 'sectnum', | |
74 u'numeracion-seccion': 'sectnum', | |
75 u'numeraci\u00f3n-secci\u00f3n': 'sectnum', | |
76 u'notas-destino': 'target-notes', | |
77 u'cabecera': 'header', | |
78 u'pie': 'footer', | |
79 #'footnotes': 'footnotes', | |
80 #'citations': 'citations', | |
81 u'restructuredtext-test-directive': 'restructuredtext-test-directive'} | |
82 """Spanish name to registered (in directives/__init__.py) directive name | |
83 mapping.""" | |
84 | |
85 roles = { | |
86 u'abreviatura': 'abbreviation', | |
87 u'ab': 'abbreviation', | |
88 u'acronimo': 'acronym', | |
89 u'acronimo': 'acronym', | |
90 u'ac': 'acronym', | |
91 u'code (translation required)': 'code', | |
92 u'indice': 'index', | |
93 u'i': 'index', | |
94 u'subindice': 'subscript', | |
95 u'sub\u00edndice': 'subscript', | |
96 u'superindice': 'superscript', | |
97 u'super\u00edndice': 'superscript', | |
98 u'referencia-titulo': 'title-reference', | |
99 u'titulo': 'title-reference', | |
100 u't': 'title-reference', | |
101 u'referencia-pep': 'pep-reference', | |
102 u'pep': 'pep-reference', | |
103 u'referencia-rfc': 'rfc-reference', | |
104 u'rfc': 'rfc-reference', | |
105 u'enfasis': 'emphasis', | |
106 u'\u00e9nfasis': 'emphasis', | |
107 u'destacado': 'strong', | |
108 u'literal': 'literal', # "literal" is also a word in Spanish :-) | |
109 u'math (translation required)': 'math', | |
110 u'referencia-con-nombre': 'named-reference', | |
111 u'referencia-anonima': 'anonymous-reference', | |
112 u'referencia-an\u00f3nima': 'anonymous-reference', | |
113 u'referencia-nota-al-pie': 'footnote-reference', | |
114 u'referencia-cita': 'citation-reference', | |
115 u'referencia-sustitucion': 'substitution-reference', | |
116 u'referencia-sustituci\u00f3n': 'substitution-reference', | |
117 u'destino': 'target', | |
118 u'referencia-uri': 'uri-reference', | |
119 u'uri': 'uri-reference', | |
120 u'url': 'uri-reference', | |
121 u'sin-analisis': 'raw', | |
122 u'sin-an\u00e1lisis': 'raw', | |
123 } | |
124 """Mapping of Spanish role names to canonical role names for interpreted text. | |
125 """ |