Debian Codegraph @

docutils/parsers/rst/languages/fi.py

raw symbols SCIP
1 # $Id: fi.py 9782 2024-07-29 12:37:02Z milde $
2 # Author: Asko Soukka <[email protected]>
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 <https://docutils.sourceforge.io/docs/howto/i18n.html>.
7 # Two files must be translated for each language: one in docutils/languages,
8 # the other in docutils/parsers/rst/languages.
9
10 """
11 Finnish-language mappings for language-dependent features of
12 reStructuredText.
13 """
14
15 __docformat__ = 'reStructuredText'
16
17
18 directives = {
19 # language-dependent: fixed
20 'admonition (translation required)': 'admonition',
21 'huomio': 'attention',
22 'varo': 'caution',
23 'code (translation required)': 'code',
24 'vaara': 'danger',
25 'virhe': 'error',
26 'vihje': 'hint',
27 'tärkeää': 'important',
28 'huomautus': 'note',
29 'neuvo': 'tip',
30 'varoitus': 'warning',
31 'sivupalkki': 'sidebar',
32 'aihe': 'topic',
33 'rivi': 'line-block',
34 'tasalevyinen': 'parsed-literal',
35 'ohje': 'rubric',
36 'epigraafi': 'epigraph',
37 'kohokohdat': 'highlights',
38 'lainaus': 'pull-quote',
39 'taulukko': 'table',
40 'csv-taulukko': 'csv-table',
41 'list-table (translation required)': 'list-table',
42 'compound (translation required)': 'compound',
43 'container (translation required)': 'container',
44 # 'kysymykset': 'questions',
45 'meta': 'meta',
46 'math (translation required)': 'math',
47 # 'kuvakartta': 'imagemap',
48 'kuva': 'image',
49 'kaavio': 'figure',
50 'sisällytä': 'include',
51 'raaka': 'raw',
52 'korvaa': 'replace',
53 'unicode': 'unicode',
54 'päiväys': 'date',
55 'luokka': 'class',
56 'rooli': 'role',
57 'default-role (translation required)': 'default-role',
58 'title (translation required)': 'title',
59 'sisällys': 'contents',
60 'kappale': 'sectnum',
61 'header (translation required)': 'header',
62 'footer (translation required)': 'footer',
63 # 'alaviitteet': 'footnotes',
64 # 'viitaukset': 'citations',
65 'target-notes (translation required)': 'target-notes'}
66 """Finnish name to registered (in directives/__init__.py) directive name
67 mapping."""
68
69 roles = {
70 # language-dependent: fixed
71 'lyhennys': 'abbreviation',
72 'akronyymi': 'acronym',
73 'kirjainsana': 'acronym',
74 'code (translation required)': 'code',
75 'hakemisto': 'index',
76 'luettelo': 'index',
77 'alaindeksi': 'subscript',
78 'indeksi': 'subscript',
79 'yläindeksi': 'superscript',
80 'title-reference (translation required)': 'title-reference',
81 'title (translation required)': 'title-reference',
82 'pep-reference (translation required)': 'pep-reference',
83 'rfc-reference (translation required)': 'rfc-reference',
84 'korostus': 'emphasis',
85 'vahvistus': 'strong',
86 'tasalevyinen': 'literal',
87 'math (translation required)': 'math',
88 'named-reference (translation required)': 'named-reference',
89 'anonymous-reference (translation required)': 'anonymous-reference',
90 'footnote-reference (translation required)': 'footnote-reference',
91 'citation-reference (translation required)': 'citation-reference',
92 'substitution-reference (translation required)': 'substitution-reference',
93 'kohde': 'target',
94 'uri-reference (translation required)': 'uri-reference',
95 'raw (translation required)': 'raw',
96 }
97 """Mapping of Finnish role names to canonical role names for interpreted text.
98 """