1 | # Author: Martijn Pieters |
---|
2 | # Contact: mjpieters@users.sourceforge.net |
---|
3 | # Revision: $Revision: 4229 $ |
---|
4 | # Date: $Date: 2005-12-23 00:46:16 +0100 (Fri, 23 Dec 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 | Dutch-language mappings for language-dependent features of |
---|
14 | reStructuredText. |
---|
15 | """ |
---|
16 | |
---|
17 | __docformat__ = 'reStructuredText' |
---|
18 | |
---|
19 | |
---|
20 | directives = { |
---|
21 | # language-dependent: fixed |
---|
22 | 'attentie': 'attention', |
---|
23 | 'let-op': 'caution', |
---|
24 | 'gevaar': 'danger', |
---|
25 | 'fout': 'error', |
---|
26 | 'hint': 'hint', |
---|
27 | 'belangrijk': 'important', |
---|
28 | 'opmerking': 'note', |
---|
29 | 'tip': 'tip', |
---|
30 | 'waarschuwing': 'warning', |
---|
31 | 'aanmaning': 'admonition', |
---|
32 | 'katern': 'sidebar', |
---|
33 | 'onderwerp': 'topic', |
---|
34 | 'lijn-blok': 'line-block', |
---|
35 | 'letterlijk-ontleed': 'parsed-literal', |
---|
36 | 'rubriek': 'rubric', |
---|
37 | 'opschrift': 'epigraph', |
---|
38 | 'hoogtepunten': 'highlights', |
---|
39 | 'pull-quote': 'pull-quote', # Dutch printers use the english term |
---|
40 | 'samenstelling': 'compound', |
---|
41 | 'verbinding': 'compound', |
---|
42 | u'container (translation required)': 'container', |
---|
43 | #'vragen': 'questions', |
---|
44 | 'tabel': 'table', |
---|
45 | 'csv-tabel': 'csv-table', |
---|
46 | 'lijst-tabel': 'list-table', |
---|
47 | #'veelgestelde-vragen': 'questions', |
---|
48 | 'meta': 'meta', |
---|
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 | 'index': 'index', |
---|
82 | 'i': 'index', |
---|
83 | 'inferieur': 'subscript', |
---|
84 | 'inf': 'subscript', |
---|
85 | 'superieur': 'superscript', |
---|
86 | 'sup': 'superscript', |
---|
87 | 'titel-referentie': 'title-reference', |
---|
88 | 'titel': 'title-reference', |
---|
89 | 't': 'title-reference', |
---|
90 | 'pep-referentie': 'pep-reference', |
---|
91 | 'pep': 'pep-reference', |
---|
92 | 'rfc-referentie': 'rfc-reference', |
---|
93 | 'rfc': 'rfc-reference', |
---|
94 | 'nadruk': 'emphasis', |
---|
95 | 'extra': 'strong', |
---|
96 | 'extra-nadruk': 'strong', |
---|
97 | 'vet': 'strong', |
---|
98 | 'letterlijk': 'literal', |
---|
99 | 'benoemde-referentie': 'named-reference', |
---|
100 | 'anonieme-referentie': 'anonymous-reference', |
---|
101 | 'voetnoot-referentie': 'footnote-reference', |
---|
102 | 'citaat-referentie': 'citation-reference', |
---|
103 | 'substitie-reference': 'substitution-reference', |
---|
104 | 'verwijzing': 'target', |
---|
105 | 'uri-referentie': 'uri-reference', |
---|
106 | 'uri': 'uri-reference', |
---|
107 | 'url': 'uri-reference', |
---|
108 | 'onbewerkt': 'raw',} |
---|
109 | """Mapping of Dutch role names to canonical role names for interpreted text. |
---|
110 | """ |
---|