Debian Codegraph @

docutils/languages/eo.py

raw symbols SCIP
1 # $Id: eo.py 9452 2023-09-27 00:11:54Z milde $
2 # Author: Marcelo Huerta San Martin <[email protected]>
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 <https://docutils.sourceforge.io/docs/howto/i18n.html>.
7 # Two files must be translated for each language: one in docutils/languages,
8 # the other in docutils/parsers/rst/languages.
9
10 """
11 Esperanto-language mappings for language-dependent features of Docutils.
12 """
13
14 __docformat__ = 'reStructuredText'
15
16 labels = {
17 # fixed: language-dependent
18 'author': 'Aŭtoro',
19 'authors': 'Aŭtoroj',
20 'organization': 'Organizo',
21 'address': 'Adreso',
22 'contact': 'Kontakto',
23 'version': 'Versio',
24 'revision': 'Revido',
25 'status': 'Stato',
26 'date': 'Dato',
27 # 'copyright': 'Kopirajto',
28 'copyright': 'Aŭtorrajto',
29 'dedication': 'Dediĉo',
30 'abstract': 'Resumo',
31 'attention': 'Atentu!',
32 'caution': 'Zorgu!',
33 'danger': 'DANĜERO!',
34 'error': 'Eraro',
35 'hint': 'Spuro',
36 'important': 'Grava',
37 'note': 'Noto',
38 'tip': 'Helpeto',
39 'warning': 'Averto',
40 'contents': 'Enhavo'}
41 """Mapping of node class name to label text."""
42
43 bibliographic_fields = {
44 # language-dependent: fixed
45 'aŭtoro': 'author',
46 'aŭtoroj': 'authors',
47 'organizo': 'organization',
48 'adreso': 'address',
49 'kontakto': 'contact',
50 'versio': 'version',
51 'revido': 'revision',
52 'stato': 'status',
53 'dato': 'date',
54 'aŭtorrajto': 'copyright',
55 'dediĉo': 'dedication',
56 'resumo': 'abstract'}
57 """Esperanto (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."""