1 | # Author: Adam Chodorowski |
---|
2 | # Contact: chodorowski@users.sourceforge.net |
---|
3 | # Revision: $Revision: 2224 $ |
---|
4 | # Date: $Date: 2004-06-05 21:40:46 +0200 (Sat, 05 Jun 2004) $ |
---|
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 Docutils. |
---|
14 | """ |
---|
15 | |
---|
16 | __docformat__ = 'reStructuredText' |
---|
17 | |
---|
18 | labels = { |
---|
19 | 'author': u'F\u00f6rfattare', |
---|
20 | 'authors': u'F\u00f6rfattare', |
---|
21 | 'organization': u'Organisation', |
---|
22 | 'address': u'Adress', |
---|
23 | 'contact': u'Kontakt', |
---|
24 | 'version': u'Version', |
---|
25 | 'revision': u'Revision', |
---|
26 | 'status': u'Status', |
---|
27 | 'date': u'Datum', |
---|
28 | 'copyright': u'Copyright', |
---|
29 | 'dedication': u'Dedikation', |
---|
30 | 'abstract': u'Sammanfattning', |
---|
31 | 'attention': u'Observera!', |
---|
32 | 'caution': u'Varning!', |
---|
33 | 'danger': u'FARA!', |
---|
34 | 'error': u'Fel', |
---|
35 | 'hint': u'V\u00e4gledning', |
---|
36 | 'important': u'Viktigt', |
---|
37 | 'note': u'Notera', |
---|
38 | 'tip': u'Tips', |
---|
39 | 'warning': u'Varning', |
---|
40 | 'contents': u'Inneh\u00e5ll' } |
---|
41 | """Mapping of node class name to label text.""" |
---|
42 | |
---|
43 | bibliographic_fields = { |
---|
44 | # 'Author' and 'Authors' identical in Swedish; assume the plural: |
---|
45 | u'f\u00f6rfattare': 'authors', |
---|
46 | u' n/a': 'author', |
---|
47 | u'organisation': 'organization', |
---|
48 | u'adress': 'address', |
---|
49 | u'kontakt': 'contact', |
---|
50 | u'version': 'version', |
---|
51 | u'revision': 'revision', |
---|
52 | u'status': 'status', |
---|
53 | u'datum': 'date', |
---|
54 | u'copyright': 'copyright', |
---|
55 | u'dedikation': 'dedication', |
---|
56 | u'sammanfattning': 'abstract' } |
---|
57 | """Swedish (lowcased) to canonical name mapping for bibliographic fields.""" |
---|
58 | |
---|
59 | author_separators = [';', ','] |
---|
60 | """List of separator strings for the 'Authors' bibliographic field. Tried in |
---|
61 | order.""" |
---|