ru.py 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # $Id: ru.py 9030 2022-03-05 23:28:32Z milde $
  2. # Author: Roman Suzi <rnd@onego.ru>
  3. # Copyright: This module has been placed in the public domain.
  4. # New language mappings are welcome. Before doing a new translation, please
  5. # read <https://docutils.sourceforge.io/docs/howto/i18n.html>.
  6. # Two files must be translated for each language: one in docutils/languages,
  7. # the other in docutils/parsers/rst/languages.
  8. """
  9. Russian-language mappings for language-dependent features of Docutils.
  10. """
  11. __docformat__ = 'reStructuredText'
  12. labels = {
  13. 'abstract': 'Аннотация',
  14. 'address': 'Адрес',
  15. 'attention': 'Внимание!',
  16. 'author': 'Автор',
  17. 'authors': 'Авторы',
  18. 'caution': 'Осторожно!',
  19. 'contact': 'Контакт',
  20. 'contents': 'Содержание',
  21. 'copyright': 'Права копирования',
  22. 'danger': 'ОПАСНО!',
  23. 'date': 'Дата',
  24. 'dedication': 'Посвящение',
  25. 'error': 'Ошибка',
  26. 'hint': 'Совет',
  27. 'important': 'Важно',
  28. 'note': 'Примечание',
  29. 'organization': 'Организация',
  30. 'revision': 'Редакция',
  31. 'status': 'Статус',
  32. 'tip': 'Подсказка',
  33. 'version': 'Версия',
  34. 'warning': 'Предупреждение'}
  35. """Mapping of node class name to label text."""
  36. bibliographic_fields = {
  37. 'аннотация': 'abstract',
  38. 'адрес': 'address',
  39. 'автор': 'author',
  40. 'авторы': 'authors',
  41. 'контакт': 'contact',
  42. 'права копирования': 'copyright',
  43. 'дата': 'date',
  44. 'посвящение': 'dedication',
  45. 'организация': 'organization',
  46. 'редакция': 'revision',
  47. 'статус': 'status',
  48. 'версия': 'version'}
  49. """Russian (lowcased) to canonical name mapping for bibliographic fields."""
  50. author_separators = [';', ',']
  51. """List of separator strings for the 'Authors' bibliographic field. Tried in
  52. order."""