1 | # Author: Asko Soukka |
---|
2 | # Contact: asko.soukka@iki.fi |
---|
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 | Finnish-language mappings for language-dependent features of |
---|
14 | reStructuredText. |
---|
15 | """ |
---|
16 | |
---|
17 | __docformat__ = 'reStructuredText' |
---|
18 | |
---|
19 | |
---|
20 | directives = { |
---|
21 | # language-dependent: fixed |
---|
22 | u'huomio': u'attention', |
---|
23 | u'varo': u'caution', |
---|
24 | u'vaara': u'danger', |
---|
25 | u'virhe': u'error', |
---|
26 | u'vihje': u'hint', |
---|
27 | u't\u00e4rke\u00e4\u00e4': u'important', |
---|
28 | u'huomautus': u'note', |
---|
29 | u'neuvo': u'tip', |
---|
30 | u'varoitus': u'warning', |
---|
31 | u'kehotus': u'admonition', |
---|
32 | u'sivupalkki': u'sidebar', |
---|
33 | u'aihe': u'topic', |
---|
34 | u'rivi': u'line-block', |
---|
35 | u'tasalevyinen': u'parsed-literal', |
---|
36 | u'ohje': u'rubric', |
---|
37 | u'epigraafi': u'epigraph', |
---|
38 | u'kohokohdat': u'highlights', |
---|
39 | u'lainaus': u'pull-quote', |
---|
40 | u'taulukko': u'table', |
---|
41 | u'csv-taulukko': u'csv-table', |
---|
42 | u'list-table (translation required)': 'list-table', |
---|
43 | u'compound (translation required)': 'compound', |
---|
44 | u'container (translation required)': 'container', |
---|
45 | #u'kysymykset': u'questions', |
---|
46 | u'meta': u'meta', |
---|
47 | #u'kuvakartta': u'imagemap', |
---|
48 | u'kuva': u'image', |
---|
49 | u'kaavio': u'figure', |
---|
50 | u'sis\u00e4llyt\u00e4': u'include', |
---|
51 | u'raaka': u'raw', |
---|
52 | u'korvaa': u'replace', |
---|
53 | u'unicode': u'unicode', |
---|
54 | u'p\u00e4iv\u00e4ys': u'date', |
---|
55 | u'luokka': u'class', |
---|
56 | u'rooli': u'role', |
---|
57 | u'default-role (translation required)': 'default-role', |
---|
58 | u'title (translation required)': 'title', |
---|
59 | u'sis\u00e4llys': u'contents', |
---|
60 | u'kappale': u'sectnum', |
---|
61 | u'header (translation required)': 'header', |
---|
62 | u'footer (translation required)': 'footer', |
---|
63 | #u'alaviitteet': u'footnotes', |
---|
64 | #u'viitaukset': u'citations', |
---|
65 | u'target-notes (translation required)': u'target-notes'} |
---|
66 | """Finnish name to registered (in directives/__init__.py) directive name |
---|
67 | mapping.""" |
---|
68 | |
---|
69 | roles = { |
---|
70 | # language-dependent: fixed |
---|
71 | u'lyhennys': u'abbreviation', |
---|
72 | u'akronyymi': u'acronym', |
---|
73 | u'kirjainsana': u'acronym', |
---|
74 | u'hakemisto': u'index', |
---|
75 | u'luettelo': u'index', |
---|
76 | u'alaindeksi': u'subscript', |
---|
77 | u'indeksi': u'subscript', |
---|
78 | u'yl\u00e4indeksi': u'superscript', |
---|
79 | u'title-reference (translation required)': u'title-reference', |
---|
80 | u'title (translation required)': u'title-reference', |
---|
81 | u'pep-reference (translation required)': u'pep-reference', |
---|
82 | u'rfc-reference (translation required)': u'rfc-reference', |
---|
83 | u'korostus': u'emphasis', |
---|
84 | u'vahvistus': u'strong', |
---|
85 | u'tasalevyinen': u'literal', |
---|
86 | u'named-reference (translation required)': u'named-reference', |
---|
87 | u'anonymous-reference (translation required)': u'anonymous-reference', |
---|
88 | u'footnote-reference (translation required)': u'footnote-reference', |
---|
89 | u'citation-reference (translation required)': u'citation-reference', |
---|
90 | u'substitution-reference (translation required)': u'substitution-reference', |
---|
91 | u'kohde': u'target', |
---|
92 | u'uri-reference (translation required)': u'uri-reference', |
---|
93 | u'raw (translation required)': 'raw',} |
---|
94 | """Mapping of Finnish role names to canonical role names for interpreted text. |
---|
95 | """ |
---|