179
|
1 |
# $Id: ru.py 4564 2006-05-21 20:44:42Z wiemann $
|
|
2 |
# Author: Roman Suzi <rnd@onego.ru>
|
|
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 |
Russian-language mappings for language-dependent features of
|
|
12 |
reStructuredText.
|
|
13 |
"""
|
|
14 |
|
|
15 |
__docformat__ = 'reStructuredText'
|
|
16 |
|
|
17 |
directives = {
|
|
18 |
u'\u0431\u043b\u043e\u043a-\u0441\u0442\u0440\u043e\u043a': u'line-block',
|
|
19 |
u'meta': u'meta',
|
|
20 |
u'\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439-\u043b\u0438\u0442\u0435\u0440\u0430\u043b':
|
|
21 |
u'parsed-literal',
|
|
22 |
u'\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0430\u044f-\u0446\u0438\u0442\u0430\u0442\u0430':
|
|
23 |
u'pull-quote',
|
|
24 |
u'compound (translation required)': 'compound',
|
|
25 |
u'container (translation required)': 'container',
|
|
26 |
u'table (translation required)': 'table',
|
|
27 |
u'csv-table (translation required)': 'csv-table',
|
|
28 |
u'list-table (translation required)': 'list-table',
|
|
29 |
u'\u0441\u044b\u0440\u043e\u0439': u'raw',
|
|
30 |
u'\u0437\u0430\u043c\u0435\u043d\u0430': u'replace',
|
|
31 |
u'\u0442\u0435\u0441\u0442\u043e\u0432\u0430\u044f-\u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0430-restructuredtext':
|
|
32 |
u'restructuredtext-test-directive',
|
|
33 |
u'\u0446\u0435\u043b\u0435\u0432\u044b\u0435-\u0441\u043d\u043e\u0441\u043a\u0438':
|
|
34 |
u'target-notes',
|
|
35 |
u'unicode': u'unicode',
|
|
36 |
u'\u0434\u0430\u0442\u0430': u'date',
|
|
37 |
u'\u0431\u043e\u043a\u043e\u0432\u0430\u044f-\u043f\u043e\u043b\u043e\u0441\u0430':
|
|
38 |
u'sidebar',
|
|
39 |
u'\u0432\u0430\u0436\u043d\u043e': u'important',
|
|
40 |
u'\u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c': u'include',
|
|
41 |
u'\u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435': u'attention',
|
|
42 |
u'\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435': u'highlights',
|
|
43 |
u'\u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435': u'admonition',
|
|
44 |
u'\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435':
|
|
45 |
u'image',
|
|
46 |
u'\u043a\u043b\u0430\u0441\u0441': u'class',
|
|
47 |
u'role (translation required)': 'role',
|
|
48 |
u'default-role (translation required)': 'default-role',
|
|
49 |
u'title (translation required)': 'title',
|
|
50 |
u'\u043d\u043e\u043c\u0435\u0440-\u0440\u0430\u0437\u0434\u0435\u043b\u0430':
|
|
51 |
u'sectnum',
|
|
52 |
u'\u043d\u0443\u043c\u0435\u0440\u0430\u0446\u0438\u044f-\u0440\u0430\u0437'
|
|
53 |
u'\u0434\u0435\u043b\u043e\u0432': u'sectnum',
|
|
54 |
u'\u043e\u043f\u0430\u0441\u043d\u043e': u'danger',
|
|
55 |
u'\u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u043e': u'caution',
|
|
56 |
u'\u043e\u0448\u0438\u0431\u043a\u0430': u'error',
|
|
57 |
u'\u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430': u'tip',
|
|
58 |
u'\u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d'
|
|
59 |
u'\u0438\u0435': u'warning',
|
|
60 |
u'\u043f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435': u'note',
|
|
61 |
u'\u0440\u0438\u0441\u0443\u043d\u043e\u043a': u'figure',
|
|
62 |
u'\u0440\u0443\u0431\u0440\u0438\u043a\u0430': u'rubric',
|
|
63 |
u'\u0441\u043e\u0432\u0435\u0442': u'hint',
|
|
64 |
u'\u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435': u'contents',
|
|
65 |
u'\u0442\u0435\u043c\u0430': u'topic',
|
|
66 |
u'\u044d\u043f\u0438\u0433\u0440\u0430\u0444': u'epigraph',
|
|
67 |
u'header (translation required)': 'header',
|
|
68 |
u'footer (translation required)': 'footer',}
|
|
69 |
"""Russian name to registered (in directives/__init__.py) directive name
|
|
70 |
mapping."""
|
|
71 |
|
|
72 |
roles = {
|
|
73 |
u'\u0430\u043a\u0440\u043e\u043d\u0438\u043c': 'acronym',
|
|
74 |
u'\u0430\u043d\u043e\u043d\u0438\u043c\u043d\u0430\u044f-\u0441\u0441\u044b\u043b\u043a\u0430':
|
|
75 |
'anonymous-reference',
|
|
76 |
u'\u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e': 'literal',
|
|
77 |
u'\u0432\u0435\u0440\u0445\u043d\u0438\u0439-\u0438\u043d\u0434\u0435\u043a\u0441':
|
|
78 |
'superscript',
|
|
79 |
u'\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435': 'emphasis',
|
|
80 |
u'\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u0430\u044f-\u0441\u0441\u044b\u043b\u043a\u0430':
|
|
81 |
'named-reference',
|
|
82 |
u'\u0438\u043d\u0434\u0435\u043a\u0441': 'index',
|
|
83 |
u'\u043d\u0438\u0436\u043d\u0438\u0439-\u0438\u043d\u0434\u0435\u043a\u0441':
|
|
84 |
'subscript',
|
|
85 |
u'\u0441\u0438\u043b\u044c\u043d\u043e\u0435-\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435':
|
|
86 |
'strong',
|
|
87 |
u'\u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0435':
|
|
88 |
'abbreviation',
|
|
89 |
u'\u0441\u0441\u044b\u043b\u043a\u0430-\u0437\u0430\u043c\u0435\u043d\u0430':
|
|
90 |
'substitution-reference',
|
|
91 |
u'\u0441\u0441\u044b\u043b\u043a\u0430-\u043d\u0430-pep': 'pep-reference',
|
|
92 |
u'\u0441\u0441\u044b\u043b\u043a\u0430-\u043d\u0430-rfc': 'rfc-reference',
|
|
93 |
u'\u0441\u0441\u044b\u043b\u043a\u0430-\u043d\u0430-uri': 'uri-reference',
|
|
94 |
u'\u0441\u0441\u044b\u043b\u043a\u0430-\u043d\u0430-\u0437\u0430\u0433\u043b\u0430\u0432\u0438\u0435':
|
|
95 |
'title-reference',
|
|
96 |
u'\u0441\u0441\u044b\u043b\u043a\u0430-\u043d\u0430-\u0441\u043d\u043e\u0441\u043a\u0443':
|
|
97 |
'footnote-reference',
|
|
98 |
u'\u0446\u0438\u0442\u0430\u0442\u043d\u0430\u044f-\u0441\u0441\u044b\u043b\u043a\u0430':
|
|
99 |
'citation-reference',
|
|
100 |
u'\u0446\u0435\u043b\u044c': 'target',
|
|
101 |
u'raw (translation required)': 'raw',}
|
|
102 |
"""Mapping of Russian role names to canonical role names for interpreted text.
|
|
103 |
"""
|