Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/docutils/languages/sv.py @ 0:26e78fe6e8c4 draft
"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
| author | shellac |
|---|---|
| date | Sat, 02 May 2020 07:14:21 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:26e78fe6e8c4 |
|---|---|
| 1 # -*- coding: utf-8 -*- | |
| 2 # $Id: sv.py 8006 2016-12-22 23:02:44Z milde $ | |
| 3 # Author: Adam Chodorowski <chodorowski@users.sourceforge.net> | |
| 4 # Copyright: This module has been placed in the public domain. | |
| 5 | |
| 6 # New language mappings are welcome. Before doing a new translation, please | |
| 7 # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be | |
| 8 # translated for each language: one in docutils/languages, the other in | |
| 9 # docutils/parsers/rst/languages. | |
| 10 | |
| 11 """ | |
| 12 Swedish language mappings for language-dependent features of Docutils. | |
| 13 """ | |
| 14 | |
| 15 __docformat__ = 'reStructuredText' | |
| 16 | |
| 17 labels = { | |
| 18 'author': u'Författare', | |
| 19 'authors': u'Författare', | |
| 20 'organization': u'Organisation', | |
| 21 'address': u'Adress', | |
| 22 'contact': u'Kontakt', | |
| 23 'version': u'Version', | |
| 24 'revision': u'Revision', | |
| 25 'status': u'Status', | |
| 26 'date': u'Datum', | |
| 27 'copyright': u'Copyright', | |
| 28 'dedication': u'Dedikation', | |
| 29 'abstract': u'Sammanfattning', | |
| 30 'attention': u'Observera!', | |
| 31 'caution': u'Akta!', # 'Varning' already used for 'warning' | |
| 32 'danger': u'FARA!', | |
| 33 'error': u'Fel', | |
| 34 'hint': u'Vink', | |
| 35 'important': u'Viktigt', | |
| 36 'note': u'Notera', | |
| 37 'tip': u'Tips', | |
| 38 'warning': u'Varning', | |
| 39 'contents': u'Innehåll' } | |
| 40 """Mapping of node class name to label text.""" | |
| 41 | |
| 42 bibliographic_fields = { | |
| 43 # 'Author' and 'Authors' identical in Swedish; assume the plural: | |
| 44 u'författare': 'authors', | |
| 45 u' n/a': 'author', | |
| 46 u'organisation': 'organization', | |
| 47 u'adress': 'address', | |
| 48 u'kontakt': 'contact', | |
| 49 u'version': 'version', | |
| 50 u'revision': 'revision', | |
| 51 u'status': 'status', | |
| 52 u'datum': 'date', | |
| 53 u'copyright': 'copyright', | |
| 54 u'dedikation': 'dedication', | |
| 55 u'sammanfattning': 'abstract' } | |
| 56 """Swedish (lowcased) to canonical name mapping for bibliographic fields.""" | |
| 57 | |
| 58 author_separators = [';', ','] | |
| 59 """List of separator strings for the 'Authors' bibliographic field. Tried in | |
| 60 order.""" |
