Debian Codegraph @

docutils/languages/ca.py

raw symbols SCIP
1 # $Id: ca.py 9457 2023-10-02 16:25:50Z milde $
2 # Authors: Ivan Vilata i Balaguer <[email protected]>;
3 # Antoni Bella Pérez <[email protected]>
4 # Copyright: This module has been placed in the public domain.
5
6 # New language mappings are welcome. Before doing a new translation,
7 # please read <https://docutils.sourceforge.io/docs/howto/i18n.html>.
8 # Two files must be translated for each language: one in docutils/languages,
9 # the other in docutils/parsers/rst/languages.
10
11 # These translations can be used without changes for
12 # Valencian variant of Catalan (use language tag "ca-valencia").
13 # Checked by a native speaker of Valentian.
14
15 """
16 Catalan-language mappings for language-dependent features of Docutils.
17 """
18
19 __docformat__ = 'reStructuredText'
20
21 labels = {
22 # fixed: language-dependent
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 # language-dependent: fixed
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."""