| 1 |
|
| 2 |
|
| 3 |
> |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
""" |
| 16 |
Catalan-language mappings for language-dependent features of Docutils. |
| 17 |
""" |
| 18 |
|
| 19 |
__docformat__ = 'reStructuredText' |
| 20 |
|
| 21 |
labels = { |
| 22 |
|
| 23 |
'author': 'Autor', |
| 24 |
'authors': 'Autors', |
| 25 |
'organization': 'Organització', |
| 26 |
'address': 'Adreça', |
| 27 |
'contact': 'Contacte', |
| 28 |
'version': 'Versió', |
| 29 |
'revision': 'Revisió', |
| 30 |
'status': 'Estat', |
| 31 |
'date': 'Data', |
| 32 |
'copyright': 'Copyright', |
| 33 |
'dedication': 'Dedicatòria', |
| 34 |
'abstract': 'Resum', |
| 35 |
'attention': 'Atenció!', |
| 36 |
'caution': 'Compte!', |
| 37 |
'danger': 'PERILL!', |
| 38 |
'error': 'Error', |
| 39 |
'hint': 'Suggeriment', |
| 40 |
'important': 'Important', |
| 41 |
'note': 'Nota', |
| 42 |
'tip': 'Consell', |
| 43 |
'warning': 'Avís', |
| 44 |
'contents': 'Contingut'} |
| 45 |
"""Mapping of node class name to label text.""" |
| 46 |
|
| 47 |
bibliographic_fields = { |
| 48 |
|
| 49 |
'autor': 'author', |
| 50 |
'autors': 'authors', |
| 51 |
'organització': 'organization', |
| 52 |
'adreça': 'address', |
| 53 |
'contacte': 'contact', |
| 54 |
'versió': 'version', |
| 55 |
'revisió': 'revision', |
| 56 |
'estat': 'status', |
| 57 |
'data': 'date', |
| 58 |
'copyright': 'copyright', |
| 59 |
'dedicatòria': 'dedication', |
| 60 |
'resum': 'abstract'} |
| 61 |
"""Catalan (lowcased) to canonical name mapping for bibliographic fields.""" |
| 62 |
|
| 63 |
author_separators = [';', ','] |
| 64 |
"""List of separator strings for the 'Authors' bibliographic field. Tried in |
| 65 |
order.""" |