1 | # Author: Ivan Vilata i Balaguer |
---|
2 | # Contact: ivan@selidor.net |
---|
3 | # Revision: $Revision: 3276 $ |
---|
4 | # Date: $Date: 2005-04-30 13:34:52 +0200 (Sat, 30 Apr 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 Docutils. |
---|
14 | """ |
---|
15 | |
---|
16 | __docformat__ = 'reStructuredText' |
---|
17 | |
---|
18 | labels = { |
---|
19 | # fixed: language-dependent |
---|
20 | 'author': u'Autor', |
---|
21 | 'authors': u'Autors', |
---|
22 | 'organization': u'Organitzaci\u00F3', |
---|
23 | 'address': u'Adre\u00E7a', |
---|
24 | 'contact': u'Contacte', |
---|
25 | 'version': u'Versi\u00F3', |
---|
26 | 'revision': u'Revisi\u00F3', |
---|
27 | 'status': u'Estat', |
---|
28 | 'date': u'Data', |
---|
29 | 'copyright': u'Copyright', |
---|
30 | 'dedication': u'Dedicat\u00F2ria', |
---|
31 | 'abstract': u'Resum', |
---|
32 | 'attention': u'Atenci\u00F3!', |
---|
33 | 'caution': u'Compte!', |
---|
34 | 'danger': u'PERILL!', |
---|
35 | 'error': u'Error', |
---|
36 | 'hint': u'Suggeriment', |
---|
37 | 'important': u'Important', |
---|
38 | 'note': u'Nota', |
---|
39 | 'tip': u'Consell', |
---|
40 | 'warning': u'Av\u00EDs', |
---|
41 | 'contents': u'Contingut'} |
---|
42 | """Mapping of node class name to label text.""" |
---|
43 | |
---|
44 | bibliographic_fields = { |
---|
45 | # language-dependent: fixed |
---|
46 | u'autor': 'author', |
---|
47 | u'autors': 'authors', |
---|
48 | u'organitzaci\u00F3': 'organization', |
---|
49 | u'adre\u00E7a': 'address', |
---|
50 | u'contacte': 'contact', |
---|
51 | u'versi\u00F3': 'version', |
---|
52 | u'revisi\u00F3': 'revision', |
---|
53 | u'estat': 'status', |
---|
54 | u'data': 'date', |
---|
55 | u'copyright': 'copyright', |
---|
56 | u'dedicat\u00F2ria': 'dedication', |
---|
57 | u'resum': 'abstract'} |
---|
58 | """Catalan (lowcased) to canonical name mapping for bibliographic fields.""" |
---|
59 | |
---|
60 | author_separators = [';', ','] |
---|
61 | """List of separator strings for the 'Authors' bibliographic field. Tried in |
---|
62 | order.""" |
---|