comparison env/lib/python3.9/site-packages/docutils/parsers/rst/languages/pl.py @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 # $Id$
2 # Author: Robert Wojciechowicz <rw@smsnet.pl>
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 Polish-language mappings for language-dependent features of
12 reStructuredText.
13 """
14
15 __docformat__ = 'reStructuredText'
16
17
18 directives = {
19 # language-dependent: fixed
20 u'uwaga': 'attention',
21 u'ostro\u017cnie': 'caution',
22 u'code (translation required)': 'code',
23 u'niebezpiecze\u0144stwo': 'danger',
24 u'b\u0142\u0105d': 'error',
25 u'wskaz\u00f3wka': 'hint',
26 u'wa\u017cne': 'important',
27 u'przypis': 'note',
28 u'rada': 'tip',
29 u'ostrze\u017cenie': 'warning',
30 u'upomnienie': 'admonition',
31 u'ramka': 'sidebar',
32 u'temat': 'topic',
33 u'blok-linii': 'line-block',
34 u'sparsowany-litera\u0142': 'parsed-literal',
35 u'rubryka': 'rubric',
36 u'epigraf': 'epigraph',
37 u'highlights': 'highlights', # FIXME no polish equivalent?
38 u'pull-quote': 'pull-quote', # FIXME no polish equivalent?
39 u'z\u0142o\u017cony': 'compound',
40 u'kontener': 'container',
41 #'questions': 'questions',
42 u'tabela': 'table',
43 u'tabela-csv': 'csv-table',
44 u'tabela-listowa': 'list-table',
45 #'qa': 'questions',
46 #'faq': 'questions',
47 u'meta': 'meta',
48 'math (translation required)': 'math',
49 #'imagemap': 'imagemap',
50 u'obraz': 'image',
51 u'rycina': 'figure',
52 u'do\u0142\u0105cz': 'include',
53 u'surowe': 'raw',
54 u'zast\u0105p': 'replace',
55 u'unikod': 'unicode',
56 u'data': 'date',
57 u'klasa': 'class',
58 u'rola': 'role',
59 u'rola-domy\u015blna': 'default-role',
60 u'tytu\u0142': 'title',
61 u'tre\u015b\u0107': 'contents',
62 u'sectnum': 'sectnum',
63 u'numeracja-sekcji': 'sectnum',
64 u'nag\u0142\u00f3wek': 'header',
65 u'stopka': 'footer',
66 #'footnotes': 'footnotes',
67 #'citations': 'citations',
68 u'target-notes': 'target-notes', # FIXME no polish equivalent?
69 u'restructuredtext-test-directive': 'restructuredtext-test-directive'}
70 """Polish name to registered (in directives/__init__.py) directive name
71 mapping."""
72
73 roles = {
74 # language-dependent: fixed
75 u'skr\u00f3t': 'abbreviation',
76 u'akronim': 'acronym',
77 u'code (translation required)': 'code',
78 u'indeks': 'index',
79 u'indeks-dolny': 'subscript',
80 u'indeks-g\u00f3rny': 'superscript',
81 u'referencja-tytu\u0142': 'title-reference',
82 u'referencja-pep': 'pep-reference',
83 u'referencja-rfc': 'rfc-reference',
84 u'podkre\u015blenie': 'emphasis',
85 u'wyt\u0142uszczenie': 'strong',
86 u'dos\u0142ownie': 'literal',
87 'math (translation required)': 'math',
88 u'referencja-nazwana': 'named-reference',
89 u'referencja-anonimowa': 'anonymous-reference',
90 u'referencja-przypis': 'footnote-reference',
91 u'referencja-cytat': 'citation-reference',
92 u'referencja-podstawienie': 'substitution-reference',
93 u'cel': 'target',
94 u'referencja-uri': 'uri-reference',
95 u'uri': 'uri-reference',
96 u'url': 'uri-reference',
97 u'surowe': 'raw',}
98 """Mapping of Polish role names to canonical role names for interpreted text.
99 """
100
101
102