Debian Codegraph @

docutils/languages/da.py

raw symbols SCIP
1 # $Id: da.py 9030 2022-03-05 23:28:32Z milde $
2 # Author: E D
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 <https://docutils.sourceforge.io/docs/howto/i18n.html>.
7 # Two files must be translated for each language: one in docutils/languages,
8 # the other in docutils/parsers/rst/languages.
9
10 """
11 Danish-language mappings for language-dependent features of Docutils.
12 """
13
14 __docformat__ = 'reStructuredText'
15
16 labels = {
17 # fixed: language-dependent
18 'author': 'Forfatter',
19 'authors': 'Forfattere',
20 'organization': 'Organisation',
21 'address': 'Adresse',
22 'contact': 'Kontakt',
23 'version': 'Version',
24 'revision': 'Revision',
25 'status': 'Status',
26 'date': 'Dato',
27 'copyright': 'Copyright',
28 'dedication': 'Dedikation',
29 'abstract': 'Resumé',
30 'attention': 'Giv agt!',
31 'caution': 'Pas på!',
32 'danger': '!FARE!',
33 'error': 'Fejl',
34 'hint': 'Vink',
35 'important': 'Vigtigt',
36 'note': 'Bemærk',
37 'tip': 'Tips',
38 'warning': 'Advarsel',
39 'contents': 'Indhold'}
40 """Mapping of node class name to label text."""
41
42 bibliographic_fields = {
43 # language-dependent: fixed
44 'forfatter': 'author',
45 'forfattere': 'authors',
46 'organisation': 'organization',
47 'adresse': 'address',
48 'kontakt': 'contact',
49 'version': 'version',
50 'revision': 'revision',
51 'status': 'status',
52 'dato': 'date',
53 'copyright': 'copyright',
54 'dedikation': 'dedication',
55 'resume': 'abstract',
56 'resumé': 'abstract'}
57 """Danish (lowcased) to canonical name mapping for bibliographic fields."""
58
59 author_separators = [';', ',']
60 """List of separator strings for the 'Authors' bibliographic field. Tried in
61 order."""