1 | # Author: Adam Chodorowski |
---|
2 | # Contact: chodorowski@users.sourceforge.net |
---|
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 | Swedish language mappings for language-dependent features of reStructuredText. |
---|
14 | """ |
---|
15 | |
---|
16 | __docformat__ = 'reStructuredText' |
---|
17 | |
---|
18 | |
---|
19 | directives = { |
---|
20 | u'observera': 'attention', |
---|
21 | u'caution (translation required)': 'caution', |
---|
22 | u'fara': 'danger', |
---|
23 | u'fel': 'error', |
---|
24 | u'v\u00e4gledning': 'hint', |
---|
25 | u'viktigt': 'important', |
---|
26 | u'notera': 'note', |
---|
27 | u'tips': 'tip', |
---|
28 | u'varning': 'warning', |
---|
29 | u'admonition (translation required)': 'admonition', |
---|
30 | u'sidebar (translation required)': 'sidebar', |
---|
31 | u'\u00e4mne': 'topic', |
---|
32 | u'line-block (translation required)': 'line-block', |
---|
33 | u'parsed-literal (translation required)': 'parsed-literal', |
---|
34 | u'mellanrubrik': 'rubric', |
---|
35 | u'epigraph (translation required)': 'epigraph', |
---|
36 | u'highlights (translation required)': 'highlights', |
---|
37 | u'pull-quote (translation required)': 'pull-quote', |
---|
38 | u'compound (translation required)': 'compound', |
---|
39 | u'container (translation required)': 'container', |
---|
40 | # u'fr\u00e5gor': 'questions', |
---|
41 | # NOTE: A bit long, but recommended by http://www.nada.kth.se/dataterm/: |
---|
42 | # u'fr\u00e5gor-och-svar': 'questions', |
---|
43 | # u'vanliga-fr\u00e5gor': 'questions', |
---|
44 | u'table (translation required)': 'table', |
---|
45 | u'csv-table (translation required)': 'csv-table', |
---|
46 | u'list-table (translation required)': 'list-table', |
---|
47 | u'meta': 'meta', |
---|
48 | # u'bildkarta': 'imagemap', # FIXME: Translation might be too literal. |
---|
49 | u'bild': 'image', |
---|
50 | u'figur': 'figure', |
---|
51 | u'inkludera': 'include', |
---|
52 | u'r\u00e5': 'raw', # FIXME: Translation might be too literal. |
---|
53 | u'ers\u00e4tt': 'replace', |
---|
54 | u'unicode': 'unicode', |
---|
55 | u'datum': 'date', |
---|
56 | u'class (translation required)': 'class', |
---|
57 | u'role (translation required)': 'role', |
---|
58 | u'default-role (translation required)': 'default-role', |
---|
59 | u'title (translation required)': 'title', |
---|
60 | u'inneh\u00e5ll': 'contents', |
---|
61 | u'sektionsnumrering': 'sectnum', |
---|
62 | u'target-notes (translation required)': 'target-notes', |
---|
63 | u'header (translation required)': 'header', |
---|
64 | u'footer (translation required)': 'footer', |
---|
65 | # u'fotnoter': 'footnotes', |
---|
66 | # u'citeringar': 'citations', |
---|
67 | } |
---|
68 | """Swedish name to registered (in directives/__init__.py) directive name |
---|
69 | mapping.""" |
---|
70 | |
---|
71 | roles = { |
---|
72 | u'abbreviation (translation required)': 'abbreviation', |
---|
73 | u'acronym (translation required)': 'acronym', |
---|
74 | u'index (translation required)': 'index', |
---|
75 | u'subscript (translation required)': 'subscript', |
---|
76 | u'superscript (translation required)': 'superscript', |
---|
77 | u'title-reference (translation required)': 'title-reference', |
---|
78 | u'pep-reference (translation required)': 'pep-reference', |
---|
79 | u'rfc-reference (translation required)': 'rfc-reference', |
---|
80 | u'emphasis (translation required)': 'emphasis', |
---|
81 | u'strong (translation required)': 'strong', |
---|
82 | u'literal (translation required)': 'literal', |
---|
83 | u'named-reference (translation required)': 'named-reference', |
---|
84 | u'anonymous-reference (translation required)': 'anonymous-reference', |
---|
85 | u'footnote-reference (translation required)': 'footnote-reference', |
---|
86 | u'citation-reference (translation required)': 'citation-reference', |
---|
87 | u'substitution-reference (translation required)': 'substitution-reference', |
---|
88 | u'target (translation required)': 'target', |
---|
89 | u'uri-reference (translation required)': 'uri-reference', |
---|
90 | u'r\u00e5': 'raw',} |
---|
91 | """Mapping of Swedish role names to canonical role names for interpreted text. |
---|
92 | """ |
---|