Stop generating invalid doctree if "use_latex_toc" setting is True.
[docutils.git] / docutils / docutils / languages / ru.py
blobf4176455a05e63fbb353e19dd39204e552a61c45
1 # $Id$
2 # Author: Roman Suzi <rnd@onego.ru>
3 # Copyright: This module has been placed in the public domain.
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.
10 """
11 Russian-language mappings for language-dependent features of Docutils.
12 """
14 __docformat__ = 'reStructuredText'
16 labels = {
17 'abstract': 'Аннотация',
18 'address': 'Адрес',
19 'attention': 'Внимание!',
20 'author': 'Автор',
21 'authors': 'Авторы',
22 'caution': 'Осторожно!',
23 'contact': 'Контакт',
24 'contents': 'Содержание',
25 'copyright': 'Права копирования',
26 'danger': 'ОПАСНО!',
27 'date': 'Дата',
28 'dedication': 'Посвящение',
29 'error': 'Ошибка',
30 'hint': 'Совет',
31 'important': 'Важно',
32 'note': 'Примечание',
33 'organization': 'Организация',
34 'revision': 'Редакция',
35 'status': 'Статус',
36 'tip': 'Подсказка',
37 'version': 'Версия',
38 'warning': 'Предупреждение'}
39 """Mapping of node class name to label text."""
41 bibliographic_fields = {
42 'аннотация': 'abstract',
43 'адрес': 'address',
44 'автор': 'author',
45 'авторы': 'authors',
46 'контакт': 'contact',
47 'права копирования': 'copyright',
48 'дата': 'date',
49 'посвящение': 'dedication',
50 'организация': 'organization',
51 'редакция': 'revision',
52 'статус': 'status',
53 'версия': 'version'}
54 """Russian (lowcased) to canonical name mapping for bibliographic fields."""
56 author_separators = [';', ',']
57 """List of separator strings for the 'Authors' bibliographic field. Tried in
58 order."""