~ubuntu-branches/ubuntu/hardy/python-docutils/hardy

« back to all changes in this revision

Viewing changes to docutils/parsers/rst/languages/pt_br.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
1
# Author: David Goodger
3
2
# Contact: goodger@users.sourceforge.net
4
 
# Revision: $Revision: 1.2 $
5
 
# Date: $Date: 2004/04/17 22:50:37 $
 
3
# Revision: $Revision: 4229 $
 
4
# Date: $Date: 2005-12-23 00:46:16 +0100 (Fri, 23 Dec 2005) $
6
5
# Copyright: This module has been placed in the public domain.
7
6
 
8
7
# 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
 
8
# read <http://docutils.sf.net/docs/howto/i18n.html>.  Two files must be
10
9
# translated for each language: one in docutils/languages, the other in
11
10
# docutils/parsers/rst/languages.
12
11
 
20
19
 
21
20
directives = {
22
21
      # language-dependent: fixed
23
 
      u'aten��o': 'attention',
 
22
      u'aten\u00E7\u00E3o': 'attention',
24
23
      'cuidado': 'caution',
25
24
      'perigo': 'danger',
26
25
      'erro': 'error',
27
 
      u'sugest�o': 'hint',
 
26
      u'sugest\u00E3o': 'hint',
28
27
      'importante': 'important',
29
28
      'nota': 'note',
30
29
      'dica': 'tip',
31
30
      'aviso': 'warning',
32
 
      u'exorta��o': 'admonition',
 
31
      u'exorta\u00E7\u00E3o': 'admonition',
33
32
      'barra-lateral': 'sidebar',
34
 
      u't�pico': 'topic',
 
33
      u't\u00F3pico': 'topic',
35
34
      'bloco-de-linhas': 'line-block',
36
35
      'literal-interpretado': 'parsed-literal',
37
36
      'rubrica': 'rubric',
38
 
      u'ep�grafo': 'epigraph',
 
37
      u'ep\u00EDgrafo': 'epigraph',
39
38
      'destaques': 'highlights',
40
 
      u'cita��o-destacada': 'pull-quote',
41
 
      u'table (translation required)': 'table',
 
39
      u'cita\u00E7\u00E3o-destacada': 'pull-quote',
 
40
      u'compound (translation required)': 'compound',
 
41
      u'container (translation required)': 'container',
42
42
      #'perguntas': 'questions',
43
43
      #'qa': 'questions',
44
44
      #'faq': 'questions',
 
45
      u'table (translation required)': 'table',
 
46
      u'csv-table (translation required)': 'csv-table',
 
47
      u'list-table (translation required)': 'list-table',
45
48
      'meta': 'meta',
46
49
      #'imagemap': 'imagemap',
47
50
      'imagem': 'image',
48
51
      'figura': 'figure',
49
 
      u'inclus�o': 'include',
 
52
      u'inclus\u00E3o': 'include',
50
53
      'cru': 'raw',
51
 
      u'substitui��o': 'replace',
 
54
      u'substitui\u00E7\u00E3o': 'replace',
52
55
      'unicode': 'unicode',
 
56
      'data': 'date',
53
57
      'classe': 'class',
54
58
      'role (translation required)': 'role',
55
 
      u'�ndice': 'contents',
 
59
      u'default-role (translation required)': 'default-role',
 
60
      u'title (translation required)': 'title',
 
61
      u'\u00EDndice': 'contents',
56
62
      'numsec': 'sectnum',
57
 
      u'numera��o-de-se��es': 'sectnum',
58
 
      #u'notas-de-rorap�': 'footnotes',
59
 
      #u'cita��es': 'citations',
60
 
      u'links-no-rodap�': 'target-notes',
 
63
      u'numera\u00E7\u00E3o-de-se\u00E7\u00F5es': 'sectnum',
 
64
      u'header (translation required)': 'header',
 
65
      u'footer (translation required)': 'footer',
 
66
      #u'notas-de-rorap\u00E9': 'footnotes',
 
67
      #u'cita\u00E7\u00F5es': 'citations',
 
68
      u'links-no-rodap\u00E9': 'target-notes',
61
69
      'restructuredtext-test-directive': 'restructuredtext-test-directive'}
62
 
"""English name to registered (in directives/__init__.py) directive name
63
 
mapping."""
 
70
"""Brazilian Portuguese name to registered (in directives/__init__.py)
 
71
directive name mapping."""
64
72
 
65
73
roles = {
66
74
    # language-dependent: fixed
67
 
    u'abbrevia��o': 'abbreviation',
 
75
    u'abbrevia\u00E7\u00E3o': 'abbreviation',
68
76
    'ab': 'abbreviation',
69
 
    u'acr�nimo': 'acronym',
 
77
    u'acr\u00F4nimo': 'acronym',
70
78
    'ac': 'acronym',
71
 
    u'�ndice-remissivo': 'index',
 
79
    u'\u00EDndice-remissivo': 'index',
72
80
    'i': 'index',
73
81
    'subscrito': 'subscript',
74
82
    'sub': 'subscript',
75
83
    'sobrescrito': 'superscript',
76
84
    'sob': 'superscript',
77
 
    u'refer�ncia-a-t�tulo': 'title-reference',
78
 
    u't�tulo': 'title-reference',
 
85
    u'refer\u00EAncia-a-t\u00EDtulo': 'title-reference',
 
86
    u't\u00EDtulo': 'title-reference',
79
87
    't': 'title-reference',
80
 
    u'refer�ncia-a-pep': 'pep-reference',
 
88
    u'refer\u00EAncia-a-pep': 'pep-reference',
81
89
    'pep': 'pep-reference',
82
 
    u'refer�ncia-a-rfc': 'rfc-reference',
 
90
    u'refer\u00EAncia-a-rfc': 'rfc-reference',
83
91
    'rfc': 'rfc-reference',
84
 
    u'�nfase': 'emphasis',
 
92
    u'\u00EAnfase': 'emphasis',
85
93
    'forte': 'strong',
86
 
    'literal': 'literal',
87
 
    u'refer�ncia-por-nome': 'named-reference',
88
 
    u'refer�ncia-an�nima': 'anonymous-reference',
89
 
    u'refer�ncia-a-nota-de-rodap�': 'footnote-reference',
90
 
    u'refer�ncia-a-cita��o': 'citation-reference',
91
 
    u'refer�ncia-a-substitui��o': 'substitution-reference',
 
94
    'literal': 'literal',               # translation required?
 
95
    u'refer\u00EAncia-por-nome': 'named-reference',
 
96
    u'refer\u00EAncia-an\u00F4nima': 'anonymous-reference',
 
97
    u'refer\u00EAncia-a-nota-de-rodap\u00E9': 'footnote-reference',
 
98
    u'refer\u00EAncia-a-cita\u00E7\u00E3o': 'citation-reference',
 
99
    u'refer\u00EAncia-a-substitui\u00E7\u00E3o': 'substitution-reference',
92
100
    'alvo': 'target',
93
 
    u'refer�ncia-a-uri': 'uri-reference',
 
101
    u'refer\u00EAncia-a-uri': 'uri-reference',
94
102
    'uri': 'uri-reference',
95
 
    'url': 'uri-reference',}
96
 
"""Mapping of English role names to canonical role names for interpreted text.
97
 
"""
 
103
    'url': 'uri-reference',
 
104
    'cru': 'raw',}
 
105
"""Mapping of Brazilian Portuguese role names to canonical role names
 
106
for interpreted text."""