| 1 |
|
| 2 |
> |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
""" |
| 11 |
Spanish-language mappings for language-dependent features of |
| 12 |
reStructuredText. |
| 13 |
""" |
| 14 |
|
| 15 |
__docformat__ = 'reStructuredText' |
| 16 |
|
| 17 |
directives = { |
| 18 |
'atención': 'attention', |
| 19 |
'atencion': 'attention', |
| 20 |
'precaución': 'caution', |
| 21 |
'code (translation required)': 'code', |
| 22 |
'precaucion': 'caution', |
| 23 |
'peligro': 'danger', |
| 24 |
'error': 'error', |
| 25 |
'sugerencia': 'hint', |
| 26 |
'importante': 'important', |
| 27 |
'nota': 'note', |
| 28 |
'consejo': 'tip', |
| 29 |
'advertencia': 'warning', |
| 30 |
'aviso': 'admonition', |
| 31 |
'nota-al-margen': 'sidebar', |
| 32 |
'tema': 'topic', |
| 33 |
'bloque-de-lineas': 'line-block', |
| 34 |
'bloque-de-líneas': 'line-block', |
| 35 |
'literal-evaluado': 'parsed-literal', |
| 36 |
'firma': 'rubric', |
| 37 |
'epígrafe': 'epigraph', |
| 38 |
'epigrafe': 'epigraph', |
| 39 |
'destacado': 'highlights', |
| 40 |
'cita-destacada': 'pull-quote', |
| 41 |
'combinacion': 'compound', |
| 42 |
'combinación': 'compound', |
| 43 |
'contenedor': 'container', |
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
'tabla': 'table', |
| 48 |
'tabla-vsc': 'csv-table', |
| 49 |
'tabla-csv': 'csv-table', |
| 50 |
'tabla-lista': 'list-table', |
| 51 |
'meta': 'meta', |
| 52 |
'math (translation required)': 'math', |
| 53 |
|
| 54 |
'imagen': 'image', |
| 55 |
'figura': 'figure', |
| 56 |
'incluir': 'include', |
| 57 |
'sin-analisis': 'raw', |
| 58 |
'sin-análisis': 'raw', |
| 59 |
'reemplazar': 'replace', |
| 60 |
'unicode': 'unicode', |
| 61 |
'fecha': 'date', |
| 62 |
'clase': 'class', |
| 63 |
'rol': 'role', |
| 64 |
'rol-por-omision': 'default-role', |
| 65 |
'rol-por-omisión': 'default-role', |
| 66 |
'titulo': 'title', |
| 67 |
'título': 'title', |
| 68 |
'contenido': 'contents', |
| 69 |
'numseccion': 'sectnum', |
| 70 |
'numsección': 'sectnum', |
| 71 |
'numeracion-seccion': 'sectnum', |
| 72 |
'numeración-sección': 'sectnum', |
| 73 |
'notas-destino': 'target-notes', |
| 74 |
'cabecera': 'header', |
| 75 |
'pie': 'footer', |
| 76 |
|
| 77 |
|
| 78 |
'restructuredtext-test-directive': 'restructuredtext-test-directive'} |
| 79 |
"""Spanish name to registered (in directives/__init__.py) directive name |
| 80 |
mapping.""" |
| 81 |
|
| 82 |
roles = { |
| 83 |
'abreviatura': 'abbreviation', |
| 84 |
'ab': 'abbreviation', |
| 85 |
'acronimo': 'acronym', |
| 86 |
'ac': 'acronym', |
| 87 |
'code (translation required)': 'code', |
| 88 |
'indice': 'index', |
| 89 |
'i': 'index', |
| 90 |
'subindice': 'subscript', |
| 91 |
'subíndice': 'subscript', |
| 92 |
'superindice': 'superscript', |
| 93 |
'superíndice': 'superscript', |
| 94 |
'referencia-titulo': 'title-reference', |
| 95 |
'titulo': 'title-reference', |
| 96 |
't': 'title-reference', |
| 97 |
'referencia-pep': 'pep-reference', |
| 98 |
'pep': 'pep-reference', |
| 99 |
'referencia-rfc': 'rfc-reference', |
| 100 |
'rfc': 'rfc-reference', |
| 101 |
'enfasis': 'emphasis', |
| 102 |
'énfasis': 'emphasis', |
| 103 |
'destacado': 'strong', |
| 104 |
'literal': 'literal', |
| 105 |
'math (translation required)': 'math', |
| 106 |
'referencia-con-nombre': 'named-reference', |
| 107 |
'referencia-anonima': 'anonymous-reference', |
| 108 |
'referencia-anónima': 'anonymous-reference', |
| 109 |
'referencia-nota-al-pie': 'footnote-reference', |
| 110 |
'referencia-cita': 'citation-reference', |
| 111 |
'referencia-sustitucion': 'substitution-reference', |
| 112 |
'referencia-sustitución': 'substitution-reference', |
| 113 |
'destino': 'target', |
| 114 |
'referencia-uri': 'uri-reference', |
| 115 |
'uri': 'uri-reference', |
| 116 |
'url': 'uri-reference', |
| 117 |
'sin-analisis': 'raw', |
| 118 |
'sin-análisis': 'raw', |
| 119 |
} |
| 120 |
"""Mapping of Spanish role names to canonical role names for interpreted text. |
| 121 |
""" |