| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
""" |
| 11 |
Swedish language mappings for language-dependent features of reStructuredText. |
| 12 |
""" |
| 13 |
|
| 14 |
__docformat__ = 'reStructuredText' |
| 15 |
|
| 16 |
directives = { |
| 17 |
'observera': 'attention', |
| 18 |
'akta': 'caution', ' |
| 19 |
'kod': 'code', |
| 20 |
'fara': 'danger', |
| 21 |
'fel': 'error', |
| 22 |
'vink': 'hint', |
| 23 |
'viktigt': 'important', |
| 24 |
'notera': 'note', |
| 25 |
'tips': 'tip', |
| 26 |
'varning': 'warning', |
| 27 |
'anmärkning': 'admonition', |
| 28 |
'sidorad': 'sidebar', |
| 29 |
'ämne': 'topic', |
| 30 |
'tema': 'topic', |
| 31 |
'rad-block': 'line-block', |
| 32 |
|
| 33 |
'parsed-literal (translation required)': 'parsed-literal', |
| 34 |
'rubrik': 'rubric', |
| 35 |
'epigraf': 'epigraph', |
| 36 |
'höjdpunkter': 'highlights', |
| 37 |
'pull-quote (translation required)': 'pull-quote', |
| 38 |
'sammansatt': 'compound', |
| 39 |
'container': 'container', |
| 40 |
, |
| 41 |
|
| 42 |
, |
| 43 |
, |
| 44 |
'tabell': 'table', |
| 45 |
'csv-tabell': 'csv-table', |
| 46 |
'list-tabell': 'list-table', |
| 47 |
'meta': 'meta', |
| 48 |
'matematik': 'math', |
| 49 |
|
| 50 |
'bild': 'image', |
| 51 |
'figur': 'figure', |
| 52 |
'inkludera': 'include', |
| 53 |
'rå': 'raw', |
| 54 |
'ersätta': 'replace', |
| 55 |
'unicode': 'unicode', |
| 56 |
'datum': 'date', |
| 57 |
'klass': 'class', |
| 58 |
'roll': 'role', |
| 59 |
'standardroll': 'default-role', |
| 60 |
'titel': 'title', |
| 61 |
'innehåll': 'contents', |
| 62 |
'sektionsnumrering': 'sectnum', |
| 63 |
'target-notes (translation required)': 'target-notes', |
| 64 |
'sidhuvud': 'header', |
| 65 |
'sidfot': 'footer', |
| 66 |
|
| 67 |
|
| 68 |
} |
| 69 |
"""Swedish name to registered (in directives/__init__.py) directive name |
| 70 |
mapping.""" |
| 71 |
|
| 72 |
roles = { |
| 73 |
'förkortning': 'abbreviation', |
| 74 |
'akronym': 'acronym', |
| 75 |
'kod': 'code', |
| 76 |
'index': 'index', |
| 77 |
'nedsänkt': 'subscript', |
| 78 |
'upphöjd': 'superscript', |
| 79 |
'titel-referens': 'title-reference', |
| 80 |
'pep-referens': 'pep-reference', |
| 81 |
'rfc-referens': 'rfc-reference', |
| 82 |
'betoning': 'emphasis', |
| 83 |
'stark': 'strong', |
| 84 |
'bokstavlig': 'literal', |
| 85 |
'matematik': 'math', |
| 86 |
'namngiven-referens': 'named-reference', |
| 87 |
'anonym-referens': 'anonymous-reference', |
| 88 |
'fotnot-referens': 'footnote-reference', |
| 89 |
'citat-referens': 'citation-reference', |
| 90 |
'ersättnings-referens': 'substitution-reference', |
| 91 |
'mål': 'target', |
| 92 |
'uri-referens': 'uri-reference', |
| 93 |
'rå': 'raw', |
| 94 |
} |
| 95 |
"""Mapping of Swedish role names to canonical role names for interpreted text. |
| 96 |
""" |