1 # $Id: sv.py 4564 2006-05-21 20:44:42Z wiemann $ |
|
2 # Author: Adam Chodorowski <chodorowski@users.sourceforge.net> |
|
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 <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be |
|
7 # translated for each language: one in docutils/languages, the other in |
|
8 # docutils/parsers/rst/languages. |
|
9 |
|
10 """ |
|
11 Swedish language mappings for language-dependent features of Docutils. |
|
12 """ |
|
13 |
|
14 __docformat__ = 'reStructuredText' |
|
15 |
|
16 labels = { |
|
17 'author': u'F\u00f6rfattare', |
|
18 'authors': u'F\u00f6rfattare', |
|
19 'organization': u'Organisation', |
|
20 'address': u'Adress', |
|
21 'contact': u'Kontakt', |
|
22 'version': u'Version', |
|
23 'revision': u'Revision', |
|
24 'status': u'Status', |
|
25 'date': u'Datum', |
|
26 'copyright': u'Copyright', |
|
27 'dedication': u'Dedikation', |
|
28 'abstract': u'Sammanfattning', |
|
29 'attention': u'Observera!', |
|
30 'caution': u'Varning!', |
|
31 'danger': u'FARA!', |
|
32 'error': u'Fel', |
|
33 'hint': u'V\u00e4gledning', |
|
34 'important': u'Viktigt', |
|
35 'note': u'Notera', |
|
36 'tip': u'Tips', |
|
37 'warning': u'Varning', |
|
38 'contents': u'Inneh\u00e5ll' } |
|
39 """Mapping of node class name to label text.""" |
|
40 |
|
41 bibliographic_fields = { |
|
42 # 'Author' and 'Authors' identical in Swedish; assume the plural: |
|
43 u'f\u00f6rfattare': 'authors', |
|
44 u' n/a': 'author', |
|
45 u'organisation': 'organization', |
|
46 u'adress': 'address', |
|
47 u'kontakt': 'contact', |
|
48 u'version': 'version', |
|
49 u'revision': 'revision', |
|
50 u'status': 'status', |
|
51 u'datum': 'date', |
|
52 u'copyright': 'copyright', |
|
53 u'dedikation': 'dedication', |
|
54 u'sammanfattning': 'abstract' } |
|
55 """Swedish (lowcased) to canonical name mapping for bibliographic fields.""" |
|
56 |
|
57 author_separators = [';', ','] |
|
58 """List of separator strings for the 'Authors' bibliographic field. Tried in |
|
59 order.""" |
|