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