1
0

he.py 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # Author: Meir Kriheli
  2. # Id: $Id: he.py 9030 2022-03-05 23:28:32Z milde $
  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. Hebrew-language mappings for language-dependent features of Docutils.
  10. """
  11. __docformat__ = 'reStructuredText'
  12. labels = {
  13. # fixed: language-dependent
  14. 'author': '\u05de\u05d7\u05d1\u05e8',
  15. 'authors': '\u05de\u05d7\u05d1\u05e8\u05d9',
  16. 'organization': '\u05d0\u05e8\u05d2\u05d5\u05df',
  17. 'address': '\u05db\u05ea\u05d5\u05d1\u05ea',
  18. 'contact': '\u05d0\u05d9\u05e9 \u05e7\u05e9\u05e8',
  19. 'version': '\u05d2\u05e8\u05e1\u05d4',
  20. 'revision': '\u05de\u05d4\u05d3\u05d5\u05e8\u05d4',
  21. 'status': '\u05e1\u05d8\u05d8\u05d5\u05e1',
  22. 'date': '\u05ea\u05d0\u05e8\u05d9\u05da',
  23. 'copyright': ('\u05d6\u05db\u05d5\u05d9\u05d5\u05ea '
  24. '\u05e9\u05de\u05d5\u05e8\u05d5\u05ea'),
  25. 'dedication': '\u05d4\u05e7\u05d3\u05e9\u05d4',
  26. 'abstract': '\u05ea\u05e7\u05e6\u05d9\u05e8',
  27. 'attention': '\u05ea\u05e9\u05d5\u05de\u05ea \u05dc\u05d1',
  28. 'caution': '\u05d6\u05d4\u05d9\u05e8\u05d5\u05ea',
  29. 'danger': '\u05e1\u05db\u05e0\u05d4',
  30. 'error': '\u05e9\u05d2\u05d9\u05d0\u05d4',
  31. 'hint': '\u05e8\u05de\u05d6',
  32. 'important': '\u05d7\u05e9\u05d5\u05d1',
  33. 'note': '\u05d4\u05e2\u05e8\u05d4',
  34. 'tip': '\u05d8\u05d9\u05e4',
  35. 'warning': '\u05d0\u05d6\u05d4\u05e8\u05d4',
  36. 'contents': '\u05ea\u05d5\u05db\u05df'}
  37. """Mapping of node class name to label text."""
  38. bibliographic_fields = {
  39. # language-dependent: fixed
  40. '\u05de\u05d7\u05d1\u05e8': 'author',
  41. '\u05de\u05d7\u05d1\u05e8\u05d9': 'authors',
  42. '\u05d0\u05e8\u05d2\u05d5\u05df': 'organization',
  43. '\u05db\u05ea\u05d5\u05d1\u05ea': 'address',
  44. '\u05d0\u05d9\u05e9 \u05e7\u05e9\u05e8': 'contact',
  45. '\u05d2\u05e8\u05e1\u05d4': 'version',
  46. '\u05de\u05d4\u05d3\u05d5\u05e8\u05d4': 'revision',
  47. '\u05e1\u05d8\u05d8\u05d5\u05e1': 'status',
  48. '\u05ea\u05d0\u05e8\u05d9\u05da': 'date',
  49. '\u05d6\u05db\u05d5\u05d9\u05d5\u05ea \u05e9\u05de\u05d5\u05e8\u05d5\u05ea': 'copyright', # noqa:E501
  50. '\u05d4\u05e7\u05d3\u05e9\u05d4': 'dedication',
  51. '\u05ea\u05e7\u05e6\u05d9\u05e8': 'abstract'}
  52. """Hebrew to canonical name mapping for bibliographic fields."""
  53. author_separators = [';', ',']
  54. """List of separator strings for the 'Authors' bibliographic field. Tried in
  55. order."""