~ubuntu-branches/ubuntu/jaunty/python-docutils/jaunty

« back to all changes in this revision

Viewing changes to docutils/parsers/rst/languages/es.py

  • Committer: Bazaar Package Importer
  • Author(s): martin f. krafft
  • Date: 2006-07-10 11:45:05 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060710114505-otkhqcslevewxmz5
Tags: 0.4-3
Added build dependency on python-central (closes: #377580).

Show diffs side-by-side

added added

removed removed

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