comparison env/lib/python3.9/site-packages/docutils/parsers/rst/languages/af.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: af.py 7119 2011-09-02 13:00:23Z milde $
2 # Author: Jannie Hofmeyr <jhsh@sun.ac.za>
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 Afrikaans-language mappings for language-dependent features of
12 reStructuredText.
13 """
14
15 __docformat__ = 'reStructuredText'
16
17
18 directives = {
19 'aandag': 'attention',
20 'versigtig': 'caution',
21 'code (translation required)': 'code',
22 'gevaar': 'danger',
23 'fout': 'error',
24 'wenk': 'hint',
25 'belangrik': 'important',
26 'nota': 'note',
27 'tip': 'tip', # hint and tip both have the same translation: wenk
28 'waarskuwing': 'warning',
29 'vermaning': 'admonition',
30 'kantstreep': 'sidebar',
31 'onderwerp': 'topic',
32 'lynblok': 'line-block',
33 'math (translation required)': 'math',
34 'parsed-literal (translation required)': 'parsed-literal',
35 'rubriek': 'rubric',
36 'epigraaf': 'epigraph',
37 'hoogtepunte': 'highlights',
38 'pull-quote (translation required)': 'pull-quote',
39 u'compound (translation required)': 'compound',
40 u'container (translation required)': 'container',
41 #'vrae': 'questions',
42 #'qa': 'questions',
43 #'faq': 'questions',
44 'table (translation required)': 'table',
45 'csv-table (translation required)': 'csv-table',
46 'list-table (translation required)': 'list-table',
47 'meta': 'meta',
48 #'beeldkaart': 'imagemap',
49 'beeld': 'image',
50 'figuur': 'figure',
51 'insluiting': 'include',
52 'rou': 'raw',
53 'vervang': 'replace',
54 'unicode': 'unicode', # should this be translated? unikode
55 'datum': 'date',
56 'klas': 'class',
57 'role (translation required)': 'role',
58 'default-role (translation required)': 'default-role',
59 'title (translation required)': 'title',
60 'inhoud': 'contents',
61 'sectnum': 'sectnum',
62 'section-numbering': 'sectnum',
63 u'header (translation required)': 'header',
64 u'footer (translation required)': 'footer',
65 #'voetnote': 'footnotes',
66 #'aanhalings': 'citations',
67 'teikennotas': 'target-notes',
68 'restructuredtext-test-directive': 'restructuredtext-test-directive'}
69 """Afrikaans name to registered (in directives/__init__.py) directive name
70 mapping."""
71
72 roles = {
73 'afkorting': 'abbreviation',
74 'ab': 'abbreviation',
75 'akroniem': 'acronym',
76 'ac': 'acronym',
77 u'code (translation required)': 'code',
78 'indeks': 'index',
79 'i': 'index',
80 'voetskrif': 'subscript',
81 'sub': 'subscript',
82 'boskrif': 'superscript',
83 'sup': 'superscript',
84 'titelverwysing': 'title-reference',
85 'titel': 'title-reference',
86 't': 'title-reference',
87 'pep-verwysing': 'pep-reference',
88 'pep': 'pep-reference',
89 'rfc-verwysing': 'rfc-reference',
90 'rfc': 'rfc-reference',
91 'nadruk': 'emphasis',
92 'sterk': 'strong',
93 'literal (translation required)': 'literal',
94 'math (translation required)': 'math',
95 'benoemde verwysing': 'named-reference',
96 'anonieme verwysing': 'anonymous-reference',
97 'voetnootverwysing': 'footnote-reference',
98 'aanhalingverwysing': 'citation-reference',
99 'vervangingsverwysing': 'substitution-reference',
100 'teiken': 'target',
101 'uri-verwysing': 'uri-reference',
102 'uri': 'uri-reference',
103 'url': 'uri-reference',
104 'rou': 'raw',}
105 """Mapping of Afrikaans role names to canonical role names for interpreted text.
106 """