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