Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/docutils/parsers/rst/languages/pt_br.py @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author | shellac |
---|---|
date | Mon, 22 Mar 2021 18:12:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4f3585e2f14b |
---|---|
1 # $Id: pt_br.py 7119 2011-09-02 13:00:23Z milde $ | |
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 u'code (translation required)': 'code', | |
23 'perigo': 'danger', | |
24 'erro': 'error', | |
25 u'sugest\u00E3o': 'hint', | |
26 'importante': 'important', | |
27 'nota': 'note', | |
28 'dica': 'tip', | |
29 'aviso': 'warning', | |
30 u'exorta\u00E7\u00E3o': 'admonition', | |
31 'barra-lateral': 'sidebar', | |
32 u't\u00F3pico': 'topic', | |
33 'bloco-de-linhas': 'line-block', | |
34 'literal-interpretado': 'parsed-literal', | |
35 'rubrica': 'rubric', | |
36 u'ep\u00EDgrafo': 'epigraph', | |
37 'destaques': 'highlights', | |
38 u'cita\u00E7\u00E3o-destacada': 'pull-quote', | |
39 u'compound (translation required)': 'compound', | |
40 u'container (translation required)': 'container', | |
41 #'perguntas': 'questions', | |
42 #'qa': 'questions', | |
43 #'faq': 'questions', | |
44 u'table (translation required)': 'table', | |
45 u'csv-table (translation required)': 'csv-table', | |
46 u'list-table (translation required)': 'list-table', | |
47 'meta': 'meta', | |
48 'math (translation required)': 'math', | |
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'code (translation required)': 'code', | |
80 u'\u00EDndice-remissivo': 'index', | |
81 'i': 'index', | |
82 'subscrito': 'subscript', | |
83 'sub': 'subscript', | |
84 'sobrescrito': 'superscript', | |
85 'sob': 'superscript', | |
86 u'refer\u00EAncia-a-t\u00EDtulo': 'title-reference', | |
87 u't\u00EDtulo': 'title-reference', | |
88 't': 'title-reference', | |
89 u'refer\u00EAncia-a-pep': 'pep-reference', | |
90 'pep': 'pep-reference', | |
91 u'refer\u00EAncia-a-rfc': 'rfc-reference', | |
92 'rfc': 'rfc-reference', | |
93 u'\u00EAnfase': 'emphasis', | |
94 'forte': 'strong', | |
95 'literal': 'literal', | |
96 'math (translation required)': 'math', # translation required? | |
97 u'refer\u00EAncia-por-nome': 'named-reference', | |
98 u'refer\u00EAncia-an\u00F4nima': 'anonymous-reference', | |
99 u'refer\u00EAncia-a-nota-de-rodap\u00E9': 'footnote-reference', | |
100 u'refer\u00EAncia-a-cita\u00E7\u00E3o': 'citation-reference', | |
101 u'refer\u00EAncia-a-substitui\u00E7\u00E3o': 'substitution-reference', | |
102 'alvo': 'target', | |
103 u'refer\u00EAncia-a-uri': 'uri-reference', | |
104 'uri': 'uri-reference', | |
105 'url': 'uri-reference', | |
106 'cru': 'raw',} | |
107 """Mapping of Brazilian Portuguese role names to canonical role names | |
108 for interpreted text.""" |