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