eo.py 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # $Id: eo.py 9030 2022-03-05 23:28:32Z milde $
  2. # Author: Marcelo Huerta San Martin <richieadler@users.sourceforge.net>
  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. Esperanto-language mappings for language-dependent features of Docutils.
  10. """
  11. __docformat__ = 'reStructuredText'
  12. labels = {
  13. # fixed: language-dependent
  14. 'author': 'A\u016dtoro',
  15. 'authors': 'A\u016dtoroj',
  16. 'organization': 'Organizo',
  17. 'address': 'Adreso',
  18. 'contact': 'Kontakto',
  19. 'version': 'Versio',
  20. 'revision': 'Revido',
  21. 'status': 'Stato',
  22. 'date': 'Dato',
  23. # 'copyright': 'Kopirajto',
  24. 'copyright': 'A\u016dtorrajto',
  25. 'dedication': 'Dedi\u0109o',
  26. 'abstract': 'Resumo',
  27. 'attention': 'Atentu!',
  28. 'caution': 'Zorgu!',
  29. 'danger': 'DAN\u011cERO!',
  30. 'error': 'Eraro',
  31. 'hint': 'Spuro',
  32. 'important': 'Grava',
  33. 'note': 'Noto',
  34. 'tip': 'Helpeto',
  35. 'warning': 'Averto',
  36. 'contents': 'Enhavo'}
  37. """Mapping of node class name to label text."""
  38. bibliographic_fields = {
  39. # language-dependent: fixed
  40. 'a\u016dtoro': 'author',
  41. 'a\u016dtoroj': 'authors',
  42. 'organizo': 'organization',
  43. 'adreso': 'address',
  44. 'kontakto': 'contact',
  45. 'versio': 'version',
  46. 'revido': 'revision',
  47. 'stato': 'status',
  48. 'dato': 'date',
  49. 'a\u016dtorrajto': 'copyright',
  50. 'dedi\u0109o': 'dedication',
  51. 'resumo': 'abstract'}
  52. """Esperanto (lowcased) to canonical name mapping for bibliographic fields."""
  53. author_separators = [';', ',']
  54. """List of separator strings for the 'Authors' bibliographic field. Tried in
  55. order."""