1 | # Author: Ivan Vilata i Balaguer |
---|
2 | # Contact: ivan@selidor.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 | Catalan-language mappings for language-dependent features of |
---|
14 | reStructuredText. |
---|
15 | """ |
---|
16 | |
---|
17 | __docformat__ = 'reStructuredText' |
---|
18 | |
---|
19 | |
---|
20 | directives = { |
---|
21 | # language-dependent: fixed |
---|
22 | u'atenci\u00F3': 'attention', |
---|
23 | u'compte': 'caution', |
---|
24 | u'perill': 'danger', |
---|
25 | u'error': 'error', |
---|
26 | u'suggeriment': 'hint', |
---|
27 | u'important': 'important', |
---|
28 | u'nota': 'note', |
---|
29 | u'consell': 'tip', |
---|
30 | u'av\u00EDs': 'warning', |
---|
31 | u'advertiment': 'admonition', |
---|
32 | u'nota-al-marge': 'sidebar', |
---|
33 | u'nota-marge': 'sidebar', |
---|
34 | u'tema': 'topic', |
---|
35 | u'bloc-de-l\u00EDnies': 'line-block', |
---|
36 | u'bloc-l\u00EDnies': 'line-block', |
---|
37 | u'literal-analitzat': 'parsed-literal', |
---|
38 | u'r\u00FAbrica': 'rubric', |
---|
39 | u'ep\u00EDgraf': 'epigraph', |
---|
40 | u'sumari': 'highlights', |
---|
41 | u'cita-destacada': 'pull-quote', |
---|
42 | u'compost': 'compound', |
---|
43 | u'container (translation required)': 'container', |
---|
44 | #'questions': 'questions', |
---|
45 | u'taula': 'table', |
---|
46 | u'taula-csv': 'csv-table', |
---|
47 | u'taula-llista': 'list-table', |
---|
48 | #'qa': 'questions', |
---|
49 | #'faq': 'questions', |
---|
50 | u'meta': 'meta', |
---|
51 | #'imagemap': 'imagemap', |
---|
52 | u'imatge': 'image', |
---|
53 | u'figura': 'figure', |
---|
54 | u'inclou': 'include', |
---|
55 | u'incloure': 'include', |
---|
56 | u'cru': 'raw', |
---|
57 | u'reempla\u00E7a': 'replace', |
---|
58 | u'reempla\u00E7ar': 'replace', |
---|
59 | u'unicode': 'unicode', |
---|
60 | u'data': 'date', |
---|
61 | u'classe': 'class', |
---|
62 | u'rol': 'role', |
---|
63 | u'default-role (translation required)': 'default-role', |
---|
64 | u'title (translation required)': 'title', |
---|
65 | u'contingut': 'contents', |
---|
66 | u'numsec': 'sectnum', |
---|
67 | u'numeraci\u00F3-de-seccions': 'sectnum', |
---|
68 | u'numeraci\u00F3-seccions': 'sectnum', |
---|
69 | u'cap\u00E7alera': 'header', |
---|
70 | u'peu-de-p\u00E0gina': 'footer', |
---|
71 | u'peu-p\u00E0gina': 'footer', |
---|
72 | #'footnotes': 'footnotes', |
---|
73 | #'citations': 'citations', |
---|
74 | u'notes-amb-destinacions': 'target-notes', |
---|
75 | u'notes-destinacions': 'target-notes', |
---|
76 | u'directiva-de-prova-de-restructuredtext': 'restructuredtext-test-directive'} |
---|
77 | """Catalan name to registered (in directives/__init__.py) directive name |
---|
78 | mapping.""" |
---|
79 | |
---|
80 | roles = { |
---|
81 | # language-dependent: fixed |
---|
82 | u'abreviatura': 'abbreviation', |
---|
83 | u'abreviaci\u00F3': 'abbreviation', |
---|
84 | u'abrev': 'abbreviation', |
---|
85 | u'ab': 'abbreviation', |
---|
86 | u'acr\u00F2nim': 'acronym', |
---|
87 | u'ac': 'acronym', |
---|
88 | u'\u00EDndex': 'index', |
---|
89 | u'i': 'index', |
---|
90 | u'sub\u00EDndex': 'subscript', |
---|
91 | u'sub': 'subscript', |
---|
92 | u'super\u00EDndex': 'superscript', |
---|
93 | u'sup': 'superscript', |
---|
94 | u'refer\u00E8ncia-a-t\u00EDtol': 'title-reference', |
---|
95 | u'refer\u00E8ncia-t\u00EDtol': 'title-reference', |
---|
96 | u't\u00EDtol': 'title-reference', |
---|
97 | u't': 'title-reference', |
---|
98 | u'refer\u00E8ncia-a-pep': 'pep-reference', |
---|
99 | u'refer\u00E8ncia-pep': 'pep-reference', |
---|
100 | u'pep': 'pep-reference', |
---|
101 | u'refer\u00E8ncia-a-rfc': 'rfc-reference', |
---|
102 | u'refer\u00E8ncia-rfc': 'rfc-reference', |
---|
103 | u'rfc': 'rfc-reference', |
---|
104 | u'\u00E8mfasi': 'emphasis', |
---|
105 | u'destacat': 'strong', |
---|
106 | u'literal': 'literal', |
---|
107 | u'refer\u00E8ncia-amb-nom': 'named-reference', |
---|
108 | u'refer\u00E8ncia-nom': 'named-reference', |
---|
109 | u'refer\u00E8ncia-an\u00F2nima': 'anonymous-reference', |
---|
110 | u'refer\u00E8ncia-a-nota-al-peu': 'footnote-reference', |
---|
111 | u'refer\u00E8ncia-nota-al-peu': 'footnote-reference', |
---|
112 | u'refer\u00E8ncia-a-cita': 'citation-reference', |
---|
113 | u'refer\u00E8ncia-cita': 'citation-reference', |
---|
114 | u'refer\u00E8ncia-a-substituci\u00F3': 'substitution-reference', |
---|
115 | u'refer\u00E8ncia-substituci\u00F3': 'substitution-reference', |
---|
116 | u'destinaci\u00F3': 'target', |
---|
117 | u'refer\u00E8ncia-a-uri': 'uri-reference', |
---|
118 | u'refer\u00E8ncia-uri': 'uri-reference', |
---|
119 | u'uri': 'uri-reference', |
---|
120 | u'url': 'uri-reference', |
---|
121 | u'cru': 'raw',} |
---|
122 | """Mapping of Catalan role names to canonical role names for interpreted text. |
---|
123 | """ |
---|