| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
""" |
| 13 |
Galician-language mappings for language-dependent features of |
| 14 |
reStructuredText. |
| 15 |
""" |
| 16 |
|
| 17 |
__docformat__ = 'reStructuredText' |
| 18 |
|
| 19 |
|
| 20 |
directives = { |
| 21 |
|
| 22 |
'admonition (translation required)': 'admonition', |
| 23 |
'atención': 'attention', |
| 24 |
'advertencia': 'caution', |
| 25 |
'code (translation required)': 'code', |
| 26 |
'perigo': 'danger', |
| 27 |
'erro': 'error', |
| 28 |
'pista': 'hint', |
| 29 |
'importante': 'important', |
| 30 |
'nota': 'note', |
| 31 |
'consello': 'tip', |
| 32 |
'aviso': 'warning', |
| 33 |
'barra lateral': 'sidebar', |
| 34 |
'tópico': 'topic', |
| 35 |
'bloque-liña': 'line-block', |
| 36 |
'literal-analizado': 'parsed-literal', |
| 37 |
'rúbrica': 'rubric', |
| 38 |
'epígrafe': 'epigraph', |
| 39 |
'realzados': 'highlights', |
| 40 |
'coller-citación': 'pull-quote', |
| 41 |
'compor': 'compound', |
| 42 |
'recipiente': 'container', |
| 43 |
'táboa': 'table', |
| 44 |
'táboa-csv': 'csv-table', |
| 45 |
'táboa-listaxe': 'list-table', |
| 46 |
'meta': 'meta', |
| 47 |
'math (translation required)': 'math', |
| 48 |
'imaxe': 'image', |
| 49 |
'figura': 'figure', |
| 50 |
'incluír': 'include', |
| 51 |
'cru': 'raw', |
| 52 |
'substituír': 'replace', |
| 53 |
'unicode': 'unicode', |
| 54 |
'data': 'date', |
| 55 |
'clase': 'class', |
| 56 |
'regra': 'role', |
| 57 |
'regra-predeterminada': 'default-role', |
| 58 |
'título': 'title', |
| 59 |
'contido': 'contents', |
| 60 |
'seccnum': 'sectnum', |
| 61 |
'sección-numerar': 'sectnum', |
| 62 |
'cabeceira': 'header', |
| 63 |
'pé de páxina': 'footer', |
| 64 |
'notas-destino': 'target-notes', |
| 65 |
'texto restruturado-proba-directiva': 'restructuredtext-test-directive', |
| 66 |
} |
| 67 |
"""Galician name to registered (in directives/__init__.py) directive name |
| 68 |
mapping.""" |
| 69 |
|
| 70 |
roles = { |
| 71 |
|
| 72 |
'abreviatura': 'abbreviation', |
| 73 |
'ab': 'abbreviation', |
| 74 |
'acrónimo': 'acronym', |
| 75 |
'ac': 'acronym', |
| 76 |
'code (translation required)': 'code', |
| 77 |
'índice': 'index', |
| 78 |
'i': 'index', |
| 79 |
'subíndice': 'subscript', |
| 80 |
'sub': 'subscript', |
| 81 |
'superíndice': 'superscript', |
| 82 |
'sup': 'superscript', |
| 83 |
'referencia título': 'title-reference', |
| 84 |
'título': 'title-reference', |
| 85 |
't': 'title-reference', |
| 86 |
'referencia-pep': 'pep-reference', |
| 87 |
'pep': 'pep-reference', |
| 88 |
'referencia-rfc': 'rfc-reference', |
| 89 |
'rfc': 'rfc-reference', |
| 90 |
'énfase': 'emphasis', |
| 91 |
'forte': 'strong', |
| 92 |
'literal': 'literal', |
| 93 |
'math (translation required)': 'math', |
| 94 |
'referencia-nome': 'named-reference', |
| 95 |
'referencia-anónimo': 'anonymous-reference', |
| 96 |
'referencia-nota ao pé': 'footnote-reference', |
| 97 |
'referencia-citación': 'citation-reference', |
| 98 |
'referencia-substitución': 'substitution-reference', |
| 99 |
'destino': 'target', |
| 100 |
'referencia-uri': 'uri-reference', |
| 101 |
'uri': 'uri-reference', |
| 102 |
'url': 'uri-reference', |
| 103 |
'cru': 'raw', |
| 104 |
} |
| 105 |
"""Mapping of Galician role names to canonical role names for interpreted text. |
| 106 |
""" |