| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
""" |
| 11 |
Polish-language mappings for language-dependent features of |
| 12 |
reStructuredText. |
| 13 |
""" |
| 14 |
|
| 15 |
__docformat__ = 'reStructuredText' |
| 16 |
|
| 17 |
|
| 18 |
directives = { |
| 19 |
|
| 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', k |
| 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', |
| 38 |
'pull-quote': 'pull-quote', |
| 39 |
'złożony': 'compound', |
| 40 |
'kontener': 'container', |
| 41 |
|
| 42 |
'tabela': 'table', |
| 43 |
'tabela-csv': 'csv-table', |
| 44 |
'tabela-listowa': 'list-table', |
| 45 |
|
| 46 |
|
| 47 |
'meta': 'meta', |
| 48 |
'math (translation required)': 'math', |
| 49 |
|
| 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 |
|
| 67 |
|
| 68 |
'target-notes': 'target-notes', |
| 69 |
'restructuredtext-test-directive': 'restructuredtext-test-directive'} |
| 70 |
"""Polish name to registered (in directives/__init__.py) directive name |
| 71 |
mapping.""" |
| 72 |
|
| 73 |
roles = { |
| 74 |
|
| 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 |
""" |