comparison env/lib/python3.9/site-packages/docutils/parsers/rst/languages/nl.py @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 # $Id: nl.py 7119 2011-09-02 13:00:23Z milde $
2 # Author: Martijn Pieters <mjpieters@users.sourceforge.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 Dutch-language mappings for language-dependent features of
12 reStructuredText.
13 """
14
15 __docformat__ = 'reStructuredText'
16
17
18 directives = {
19 # language-dependent: fixed
20 'attentie': 'attention',
21 'let-op': 'caution',
22 'code (translation required)': 'code',
23 'gevaar': 'danger',
24 'fout': 'error',
25 'hint': 'hint',
26 'belangrijk': 'important',
27 'opmerking': 'note',
28 'tip': 'tip',
29 'waarschuwing': 'warning',
30 'aanmaning': 'admonition',
31 'katern': 'sidebar',
32 'onderwerp': 'topic',
33 'lijn-blok': 'line-block',
34 'letterlijk-ontleed': 'parsed-literal',
35 'rubriek': 'rubric',
36 'opschrift': 'epigraph',
37 'hoogtepunten': 'highlights',
38 'pull-quote': 'pull-quote', # Dutch printers use the english term
39 'samenstelling': 'compound',
40 'verbinding': 'compound',
41 u'container (translation required)': 'container',
42 #'vragen': 'questions',
43 'tabel': 'table',
44 'csv-tabel': 'csv-table',
45 'lijst-tabel': 'list-table',
46 #'veelgestelde-vragen': 'questions',
47 'meta': 'meta',
48 'math (translation required)': 'math',
49 #'imagemap': 'imagemap',
50 'beeld': 'image',
51 'figuur': 'figure',
52 'opnemen': 'include',
53 'onbewerkt': 'raw',
54 'vervang': 'replace',
55 'vervanging': 'replace',
56 'unicode': 'unicode',
57 'datum': 'date',
58 'klasse': 'class',
59 'rol': 'role',
60 u'default-role (translation required)': 'default-role',
61 'title (translation required)': 'title',
62 'inhoud': 'contents',
63 'sectnum': 'sectnum',
64 'sectie-nummering': 'sectnum',
65 'hoofdstuk-nummering': 'sectnum',
66 u'header (translation required)': 'header',
67 u'footer (translation required)': 'footer',
68 #'voetnoten': 'footnotes',
69 #'citaten': 'citations',
70 'verwijzing-voetnoten': 'target-notes',
71 'restructuredtext-test-instructie': 'restructuredtext-test-directive'}
72 """Dutch name to registered (in directives/__init__.py) directive name
73 mapping."""
74
75 roles = {
76 # language-dependent: fixed
77 'afkorting': 'abbreviation',
78 # 'ab': 'abbreviation',
79 'acroniem': 'acronym',
80 'ac': 'acronym',
81 u'code (translation required)': 'code',
82 'index': 'index',
83 'i': 'index',
84 'inferieur': 'subscript',
85 'inf': 'subscript',
86 'superieur': 'superscript',
87 'sup': 'superscript',
88 'titel-referentie': 'title-reference',
89 'titel': 'title-reference',
90 't': 'title-reference',
91 'pep-referentie': 'pep-reference',
92 'pep': 'pep-reference',
93 'rfc-referentie': 'rfc-reference',
94 'rfc': 'rfc-reference',
95 'nadruk': 'emphasis',
96 'extra': 'strong',
97 'extra-nadruk': 'strong',
98 'vet': 'strong',
99 'letterlijk': 'literal',
100 'math (translation required)': 'math',
101 'benoemde-referentie': 'named-reference',
102 'anonieme-referentie': 'anonymous-reference',
103 'voetnoot-referentie': 'footnote-reference',
104 'citaat-referentie': 'citation-reference',
105 'substitie-reference': 'substitution-reference',
106 'verwijzing': 'target',
107 'uri-referentie': 'uri-reference',
108 'uri': 'uri-reference',
109 'url': 'uri-reference',
110 'onbewerkt': 'raw',}
111 """Mapping of Dutch role names to canonical role names for interpreted text.
112 """