1
0

sk.py 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # $Id: sk.py 9030 2022-03-05 23:28:32Z milde $
  2. # Author: Miroslav Vasko <zemiak@zoznam.sk>
  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. Slovak-language mappings for language-dependent features of Docutils.
  10. """
  11. __docformat__ = 'reStructuredText'
  12. labels = {
  13. 'author': 'Autor',
  14. 'authors': 'Autori',
  15. 'organization': 'Organiz\u00E1cia',
  16. 'address': 'Adresa',
  17. 'contact': 'Kontakt',
  18. 'version': 'Verzia',
  19. 'revision': 'Rev\u00EDzia',
  20. 'status': 'Stav',
  21. 'date': 'D\u00E1tum',
  22. 'copyright': 'Copyright',
  23. 'dedication': 'Venovanie',
  24. 'abstract': 'Abstraktne',
  25. 'attention': 'Pozor!',
  26. 'caution': 'Opatrne!',
  27. 'danger': '!NEBEZPE\u010cENSTVO!',
  28. 'error': 'Chyba',
  29. 'hint': 'Rada',
  30. 'important': 'D\u00F4le\u017Eit\u00E9',
  31. 'note': 'Pozn\u00E1mka',
  32. 'tip': 'Tip',
  33. 'warning': 'Varovanie',
  34. 'contents': 'Obsah'}
  35. """Mapping of node class name to label text."""
  36. bibliographic_fields = {
  37. 'autor': 'author',
  38. 'autori': 'authors',
  39. 'organiz\u00E1cia': 'organization',
  40. 'adresa': 'address',
  41. 'kontakt': 'contact',
  42. 'verzia': 'version',
  43. 'rev\u00EDzia': 'revision',
  44. 'stav': 'status',
  45. 'd\u00E1tum': 'date',
  46. 'copyright': 'copyright',
  47. 'venovanie': 'dedication',
  48. 'abstraktne': 'abstract'}
  49. """Slovak (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."""