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