Debian Codegraph @

docutils/parsers/rst/languages/pl.py

raw symbols SCIP
1 # $Id$
2 # Author: Robert Wojciechowicz <[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 Polish-language mappings for language-dependent features of
12 reStructuredText.
13 """
14
15 __docformat__ = 'reStructuredText'
16
17
18 directives = {
19 # language-dependent: fixed
20 'uwaga': 'attention',
21 'ostrożnie': 'caution',
22 'code (translation required)': 'code',
23 'niebezpieczeństwo': 'danger',
24 'błąd': 'error',
25 'wskazówka': 'hint',
26 'ważne': 'important',
27 'przypis': 'note',
28 'rada': 'tip',
29 'ostrzeżenie': 'warning',
30 'zauważenie': 'admonition', # remark
31 'ramka': 'sidebar',
32 'temat': 'topic',
33 'blok-linii': 'line-block',
34 'sparsowany-literał': 'parsed-literal',
35 'rubryka': 'rubric',
36 'epigraf': 'epigraph',
37 'highlights': 'highlights', # FIXME no polish equivalent?
38 'pull-quote': 'pull-quote', # FIXME no polish equivalent?
39 'złożony': 'compound',
40 'kontener': 'container',
41 # 'questions': 'questions',
42 'tabela': 'table',
43 'tabela-csv': 'csv-table',
44 'tabela-listowa': 'list-table',
45 # 'qa': 'questions',
46 # 'faq': 'questions',
47 'meta': 'meta',
48 'math (translation required)': 'math',
49 # 'imagemap': 'imagemap',
50 'obraz': 'image',
51 'rycina': 'figure',
52 'dołącz': 'include',
53 'surowe': 'raw',
54 'zastąp': 'replace',
55 'unikod': 'unicode',
56 'data': 'date',
57 'klasa': 'class',
58 'rola': 'role',
59 'rola-domyślna': 'default-role',
60 'tytuł': 'title',
61 'treść': 'contents',
62 'sectnum': 'sectnum',
63 'numeracja-sekcji': 'sectnum',
64 'nagłówek': 'header',
65 'stopka': 'footer',
66 # 'footnotes': 'footnotes',
67 # 'citations': 'citations',
68 'target-notes': 'target-notes', # FIXME no polish equivalent?
69 '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 'skrót': 'abbreviation',
76 'akronim': 'acronym',
77 'code (translation required)': 'code',
78 'indeks': 'index',
79 'indeks-dolny': 'subscript',
80 'indeks-górny': 'superscript',
81 'referencja-tytuł': 'title-reference',
82 'referencja-pep': 'pep-reference',
83 'referencja-rfc': 'rfc-reference',
84 'podkreślenie': 'emphasis',
85 'wytłuszczenie': 'strong',
86 'dosłownie': 'literal',
87 'math (translation required)': 'math',
88 'referencja-nazwana': 'named-reference',
89 'referencja-anonimowa': 'anonymous-reference',
90 'referencja-przypis': 'footnote-reference',
91 'referencja-cytat': 'citation-reference',
92 'referencja-podstawienie': 'substitution-reference',
93 'cel': 'target',
94 'referencja-uri': 'uri-reference',
95 'uri': 'uri-reference',
96 'url': 'uri-reference',
97 'surowe': 'raw',
98 }
99 """Mapping of Polish role names to canonical role names for interpreted text.
100 """