1 | # Author: Marek Blaha |
---|
2 | # Contact: mb@dat.cz |
---|
3 | # Revision: $Revision: 4229 $ |
---|
4 | # Date: $Date: 2005-12-23 00:46:16 +0100 (Fri, 23 Dec 2005) $ |
---|
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 | Czech-language mappings for language-dependent features of |
---|
14 | reStructuredText. |
---|
15 | """ |
---|
16 | |
---|
17 | __docformat__ = 'reStructuredText' |
---|
18 | |
---|
19 | |
---|
20 | directives = { |
---|
21 | # language-dependent: fixed |
---|
22 | u'pozor': 'attention', |
---|
23 | u'caution (translation required)': 'caution', # jak rozlisit caution a warning? |
---|
24 | u'nebezpe\u010D\u00ED': 'danger', |
---|
25 | u'chyba': 'error', |
---|
26 | u'rada': 'hint', |
---|
27 | u'd\u016Fle\u017Eit\u00E9': 'important', |
---|
28 | u'pozn\u00E1mka': 'note', |
---|
29 | u'tip (translation required)': 'tip', |
---|
30 | u'varov\u00E1n\u00ED': 'warning', |
---|
31 | u'admonition (translation required)': 'admonition', |
---|
32 | u'sidebar (translation required)': 'sidebar', |
---|
33 | u't\u00E9ma': 'topic', |
---|
34 | u'line-block (translation required)': 'line-block', |
---|
35 | u'parsed-literal (translation required)': 'parsed-literal', |
---|
36 | u'odd\u00EDl': 'rubric', |
---|
37 | u'moto': 'epigraph', |
---|
38 | u'highlights (translation required)': 'highlights', |
---|
39 | u'pull-quote (translation required)': 'pull-quote', |
---|
40 | u'compound (translation required)': 'compound', |
---|
41 | u'container (translation required)': 'container', |
---|
42 | #'questions': 'questions', |
---|
43 | #'qa': 'questions', |
---|
44 | #'faq': 'questions', |
---|
45 | u'table (translation required)': 'table', |
---|
46 | u'csv-table (translation required)': 'csv-table', |
---|
47 | u'list-table (translation required)': 'list-table', |
---|
48 | u'meta (translation required)': 'meta', |
---|
49 | #'imagemap': 'imagemap', |
---|
50 | u'image (translation required)': 'image', # obrazek |
---|
51 | u'figure (translation required)': 'figure', # a tady? |
---|
52 | u'include (translation required)': 'include', |
---|
53 | u'raw (translation required)': 'raw', |
---|
54 | u'replace (translation required)': 'replace', |
---|
55 | u'unicode (translation required)': 'unicode', |
---|
56 | u'datum': 'date', |
---|
57 | u't\u0159\u00EDda': 'class', |
---|
58 | u'role (translation required)': 'role', |
---|
59 | u'default-role (translation required)': 'default-role', |
---|
60 | u'title (translation required)': 'title', |
---|
61 | u'obsah': 'contents', |
---|
62 | u'sectnum (translation required)': 'sectnum', |
---|
63 | u'section-numbering (translation required)': 'sectnum', |
---|
64 | u'header (translation required)': 'header', |
---|
65 | u'footer (translation required)': 'footer', |
---|
66 | #'footnotes': 'footnotes', |
---|
67 | #'citations': 'citations', |
---|
68 | u'target-notes (translation required)': 'target-notes', |
---|
69 | u'restructuredtext-test-directive': 'restructuredtext-test-directive'} |
---|
70 | """Czech name to registered (in directives/__init__.py) directive name |
---|
71 | mapping.""" |
---|
72 | |
---|
73 | roles = { |
---|
74 | # language-dependent: fixed |
---|
75 | u'abbreviation (translation required)': 'abbreviation', |
---|
76 | u'ab (translation required)': 'abbreviation', |
---|
77 | u'acronym (translation required)': 'acronym', |
---|
78 | u'ac (translation required)': 'acronym', |
---|
79 | u'index (translation required)': 'index', |
---|
80 | u'i (translation required)': 'index', |
---|
81 | u'subscript (translation required)': 'subscript', |
---|
82 | u'sub (translation required)': 'subscript', |
---|
83 | u'superscript (translation required)': 'superscript', |
---|
84 | u'sup (translation required)': 'superscript', |
---|
85 | u'title-reference (translation required)': 'title-reference', |
---|
86 | u'title (translation required)': 'title-reference', |
---|
87 | u't (translation required)': 'title-reference', |
---|
88 | u'pep-reference (translation required)': 'pep-reference', |
---|
89 | u'pep (translation required)': 'pep-reference', |
---|
90 | u'rfc-reference (translation required)': 'rfc-reference', |
---|
91 | u'rfc (translation required)': 'rfc-reference', |
---|
92 | u'emphasis (translation required)': 'emphasis', |
---|
93 | u'strong (translation required)': 'strong', |
---|
94 | u'literal (translation required)': 'literal', |
---|
95 | u'named-reference (translation required)': 'named-reference', |
---|
96 | u'anonymous-reference (translation required)': 'anonymous-reference', |
---|
97 | u'footnote-reference (translation required)': 'footnote-reference', |
---|
98 | u'citation-reference (translation required)': 'citation-reference', |
---|
99 | u'substitution-reference (translation required)': 'substitution-reference', |
---|
100 | u'target (translation required)': 'target', |
---|
101 | u'uri-reference (translation required)': 'uri-reference', |
---|
102 | u'uri (translation required)': 'uri-reference', |
---|
103 | u'url (translation required)': 'uri-reference', |
---|
104 | u'raw (translation required)': 'raw',} |
---|
105 | """Mapping of Czech role names to canonical role names for interpreted text. |
---|
106 | """ |
---|