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