Server IP : 66.29.132.122 / Your IP : 18.119.132.236 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/opt/imunify360/venv/lib/python3.11/site-packages/docutils/parsers/rst/languages/ |
Upload File : |
# $Id: sv.py 9030 2022-03-05 23:28:32Z milde $ # Author: Adam Chodorowski <chodorowski@users.sourceforge.net> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for each language: one in docutils/languages, # the other in docutils/parsers/rst/languages. """ Swedish language mappings for language-dependent features of reStructuredText. """ __docformat__ = 'reStructuredText' directives = { 'observera': 'attention', 'akta': 'caution', # also 'försiktigt' 'kod': 'code', 'fara': 'danger', 'fel': 'error', 'vink': 'hint', # also 'hint' 'viktigt': 'important', 'notera': 'note', 'tips': 'tip', 'varning': 'warning', 'anmärkning': 'admonition', # literal 'tillrättavisning', 'förmaning' 'sidorad': 'sidebar', 'ämne': 'topic', 'tema': 'topic', 'rad-block': 'line-block', # 'tolkad-bokstavlig'? 'parsed-literal (translation required)': 'parsed-literal', 'rubrik': 'rubric', 'epigraf': 'epigraph', 'höjdpunkter': 'highlights', 'pull-quote (translation required)': 'pull-quote', 'sammansatt': 'compound', 'container': 'container', # 'frågor': 'questions', # NOTE: A bit long, but recommended by http://www.nada.kth.se/dataterm/: # 'frågor-och-svar': 'questions', # 'vanliga-frågor': 'questions', 'tabell': 'table', 'csv-tabell': 'csv-table', 'list-tabell': 'list-table', 'meta': 'meta', 'matematik': 'math', # 'bildkarta': 'imagemap', # FIXME: Translation might be too literal. 'bild': 'image', 'figur': 'figure', 'inkludera': 'include', 'rå': 'raw', 'ersätta': 'replace', 'unicode': 'unicode', 'datum': 'date', 'klass': 'class', 'roll': 'role', 'standardroll': 'default-role', 'titel': 'title', 'innehåll': 'contents', 'sektionsnumrering': 'sectnum', 'target-notes (translation required)': 'target-notes', 'sidhuvud': 'header', 'sidfot': 'footer', # 'fotnoter': 'footnotes', # 'citeringar': 'citations', } """Swedish name to registered (in directives/__init__.py) directive name mapping.""" roles = { 'förkortning': 'abbreviation', 'akronym': 'acronym', 'kod': 'code', 'index': 'index', 'nedsänkt': 'subscript', 'upphöjd': 'superscript', 'titel-referens': 'title-reference', 'pep-referens': 'pep-reference', 'rfc-referens': 'rfc-reference', 'betoning': 'emphasis', 'stark': 'strong', 'bokstavlig': 'literal', # also 'ordagranna' 'matematik': 'math', 'namngiven-referens': 'named-reference', 'anonym-referens': 'anonymous-reference', 'fotnot-referens': 'footnote-reference', 'citat-referens': 'citation-reference', 'ersättnings-referens': 'substitution-reference', 'mål': 'target', 'uri-referens': 'uri-reference', 'rå': 'raw', } """Mapping of Swedish role names to canonical role names for interpreted text. """