buildframework/helium/external/python/lib/2.5/docutils-0.5-py2.5.egg/docutils/parsers/rst/languages/es.py
changeset 179 d8ac696cc51f
parent 1 be27ed110b50
child 180 e02a83d4c571
child 592 3215c239276a
equal deleted inserted replaced
1:be27ed110b50 179:d8ac696cc51f
     1 # -*- coding: utf-8 -*-
       
     2 # $Id: es.py 4564 2006-05-21 20:44:42Z wiemann $
       
     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'precaucion': 'caution',
       
    24       u'peligro': 'danger',
       
    25       u'error': 'error',
       
    26       u'sugerencia': 'hint',
       
    27       u'importante': 'important',
       
    28       u'nota': 'note',
       
    29       u'consejo': 'tip',
       
    30       u'advertencia': 'warning',
       
    31       u'exhortacion': 'admonition',
       
    32       u'exhortaci\u00f3n': 'admonition',
       
    33       u'nota-al-margen': 'sidebar',
       
    34       u'tema': 'topic',
       
    35       u'bloque-de-lineas': 'line-block',
       
    36       u'bloque-de-l\u00edneas': 'line-block',
       
    37       u'literal-evaluado': 'parsed-literal',
       
    38       u'firma': 'rubric',
       
    39       u'ep\u00edgrafe': 'epigraph',
       
    40       u'epigrafe': 'epigraph',
       
    41       u'destacado': 'highlights',
       
    42       u'cita-destacada': 'pull-quote',
       
    43       u'combinacion': 'compound',
       
    44       u'combinaci\u00f3n': 'compound',
       
    45       u'contenedor': 'container',
       
    46       #'questions': 'questions',
       
    47       #'qa': 'questions',
       
    48       #'faq': 'questions',
       
    49       u'tabla': 'table',
       
    50       u'tabla-vsc': 'csv-table',
       
    51       u'tabla-csv': 'csv-table',
       
    52       u'tabla-lista': 'list-table',
       
    53       u'meta': 'meta',
       
    54       #'imagemap': 'imagemap',
       
    55       u'imagen': 'image',
       
    56       u'figura': 'figure',
       
    57       u'incluir': 'include',
       
    58       u'sin-analisis': 'raw',
       
    59       u'sin-an\u00e1lisis': 'raw',
       
    60       u'reemplazar': 'replace',
       
    61       u'unicode': 'unicode',
       
    62       u'fecha': 'date',
       
    63       u'clase': 'class',
       
    64       u'rol': 'role',
       
    65       u'rol-por-omision': 'default-role',
       
    66       u'rol-por-omisi\u00f3n': 'default-role',
       
    67       u'titulo': 'title',
       
    68       u't\u00edtulo': 'title',
       
    69       u'contenido': 'contents',
       
    70       u'numseccion': 'sectnum',
       
    71       u'numsecci\u00f3n': 'sectnum',
       
    72       u'numeracion-seccion': 'sectnum',
       
    73       u'numeraci\u00f3n-secci\u00f3n': 'sectnum',
       
    74       u'notas-destino': 'target-notes',
       
    75       u'cabecera': 'header',
       
    76       u'pie': 'footer',
       
    77       #'footnotes': 'footnotes',
       
    78       #'citations': 'citations',
       
    79       u'restructuredtext-test-directive': 'restructuredtext-test-directive'}
       
    80 """Spanish name to registered (in directives/__init__.py) directive name
       
    81 mapping."""
       
    82 
       
    83 roles = {
       
    84     u'abreviatura': 'abbreviation',
       
    85     u'ab': 'abbreviation',
       
    86     u'acronimo': 'acronym',
       
    87     u'acronimo': 'acronym',
       
    88     u'ac': 'acronym',
       
    89     u'indice': 'index',
       
    90     u'i': 'index',
       
    91     u'subindice': 'subscript',
       
    92     u'sub\u00edndice': 'subscript',
       
    93     u'superindice': 'superscript',
       
    94     u'super\u00edndice': 'superscript',
       
    95     u'referencia-titulo': 'title-reference',
       
    96     u'titulo': 'title-reference',
       
    97     u't': 'title-reference',
       
    98     u'referencia-pep': 'pep-reference',
       
    99     u'pep': 'pep-reference',
       
   100     u'referencia-rfc': 'rfc-reference',
       
   101     u'rfc': 'rfc-reference',
       
   102     u'enfasis': 'emphasis',
       
   103     u'\u00e9nfasis': 'emphasis',
       
   104     u'destacado': 'strong',
       
   105     u'literal': 'literal',              # "literal" is also a word in Spanish :-)
       
   106     u'referencia-con-nombre': 'named-reference',
       
   107     u'referencia-anonima': 'anonymous-reference',
       
   108     u'referencia-an\u00f3nima': 'anonymous-reference',
       
   109     u'referencia-nota-al-pie': 'footnote-reference',
       
   110     u'referencia-cita': 'citation-reference',
       
   111     u'referencia-sustitucion': 'substitution-reference',
       
   112     u'referencia-sustituci\u00f3n': 'substitution-reference',
       
   113     u'destino': 'target',
       
   114     u'referencia-uri': 'uri-reference',
       
   115     u'uri': 'uri-reference',
       
   116     u'url': 'uri-reference',
       
   117     u'sin-analisis': 'raw',
       
   118     u'sin-an\u00e1lisis': 'raw',
       
   119 }
       
   120 """Mapping of Spanish role names to canonical role names for interpreted text.
       
   121 """