1 # $Id: it.py 4564 2006-05-21 20:44:42Z wiemann $ |
|
2 # Authors: Nicola Larosa <docutils@tekNico.net>; |
|
3 # Lele Gaifax <lele@seldati.it> |
|
4 # Copyright: This module has been placed in the public domain. |
|
5 |
|
6 # Beware: the italian translation of the reStructuredText documentation |
|
7 # at http://docit.bice.dyndns.org/static/ReST, in particular |
|
8 # http://docit.bice.dyndns.org/static/ReST/ref/rst/directives.html, needs |
|
9 # to be synced with the content of this file. |
|
10 |
|
11 """ |
|
12 Italian-language mappings for language-dependent features of |
|
13 reStructuredText. |
|
14 """ |
|
15 |
|
16 __docformat__ = 'reStructuredText' |
|
17 |
|
18 |
|
19 directives = { |
|
20 'attenzione': 'attention', |
|
21 'cautela': 'caution', |
|
22 'pericolo': 'danger', |
|
23 'errore': 'error', |
|
24 'suggerimento': 'hint', |
|
25 'importante': 'important', |
|
26 'nota': 'note', |
|
27 'consiglio': 'tip', |
|
28 'avvertenza': 'warning', |
|
29 'ammonizione': 'admonition', |
|
30 'riquadro': 'sidebar', |
|
31 'argomento': 'topic', |
|
32 'blocco-di-righe': 'line-block', |
|
33 'blocco-interpretato': 'parsed-literal', |
|
34 'rubrica': 'rubric', |
|
35 'epigrafe': 'epigraph', |
|
36 'punti-salienti': 'highlights', |
|
37 'estratto-evidenziato': 'pull-quote', |
|
38 'composito': 'compound', |
|
39 u'container (translation required)': 'container', |
|
40 #'questions': 'questions', |
|
41 #'qa': 'questions', |
|
42 #'faq': 'questions', |
|
43 'tabella': 'table', |
|
44 'tabella-csv': 'csv-table', |
|
45 'tabella-elenco': 'list-table', |
|
46 'meta': 'meta', |
|
47 #'imagemap': 'imagemap', |
|
48 'immagine': 'image', |
|
49 'figura': 'figure', |
|
50 'includi': 'include', |
|
51 'grezzo': 'raw', |
|
52 'sostituisci': 'replace', |
|
53 'unicode': 'unicode', |
|
54 'data': 'date', |
|
55 'classe': 'class', |
|
56 'ruolo': 'role', |
|
57 'ruolo-predefinito': 'default-role', |
|
58 'titolo': 'title', |
|
59 'indice': 'contents', |
|
60 'contenuti': 'contents', |
|
61 'seznum': 'sectnum', |
|
62 'sezioni-autonumerate': 'sectnum', |
|
63 'annota-riferimenti-esterni': 'target-notes', |
|
64 'intestazione': 'header', |
|
65 'piede-pagina': 'footer', |
|
66 #'footnotes': 'footnotes', |
|
67 #'citations': 'citations', |
|
68 'restructuredtext-test-directive': 'restructuredtext-test-directive'} |
|
69 """Italian name to registered (in directives/__init__.py) directive name |
|
70 mapping.""" |
|
71 |
|
72 roles = { |
|
73 'abbreviazione': 'abbreviation', |
|
74 'acronimo': 'acronym', |
|
75 'indice': 'index', |
|
76 'deponente': 'subscript', |
|
77 'esponente': 'superscript', |
|
78 'riferimento-titolo': 'title-reference', |
|
79 'riferimento-pep': 'pep-reference', |
|
80 'riferimento-rfc': 'rfc-reference', |
|
81 'enfasi': 'emphasis', |
|
82 'forte': 'strong', |
|
83 'letterale': 'literal', |
|
84 'riferimento-con-nome': 'named-reference', |
|
85 'riferimento-anonimo': 'anonymous-reference', |
|
86 'riferimento-nota': 'footnote-reference', |
|
87 'riferimento-citazione': 'citation-reference', |
|
88 'riferimento-sostituzione': 'substitution-reference', |
|
89 'destinazione': 'target', |
|
90 'riferimento-uri': 'uri-reference', |
|
91 'grezzo': 'raw',} |
|
92 """Mapping of Italian role names to canonical role names for interpreted text. |
|
93 """ |
|