1
0

cs.py 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # $Id: cs.py 9030 2022-03-05 23:28:32Z milde $
  2. # Author: Marek Blaha <mb@dat.cz>
  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. Czech-language mappings for language-dependent features of Docutils.
  10. """
  11. __docformat__ = 'reStructuredText'
  12. labels = {
  13. # fixed: language-dependent
  14. 'author': 'Autor',
  15. 'authors': 'Auto\u0159i',
  16. 'organization': 'Organizace',
  17. 'address': 'Adresa',
  18. 'contact': 'Kontakt',
  19. 'version': 'Verze',
  20. 'revision': 'Revize',
  21. 'status': 'Stav',
  22. 'date': 'Datum',
  23. 'copyright': 'Copyright',
  24. 'dedication': 'V\u011Bnov\u00E1n\u00ED',
  25. 'abstract': 'Abstrakt',
  26. 'attention': 'Pozor!',
  27. 'caution': 'Opatrn\u011B!',
  28. 'danger': '!NEBEZPE\u010C\u00CD!',
  29. 'error': 'Chyba',
  30. 'hint': 'Rada',
  31. 'important': 'D\u016Fle\u017Eit\u00E9',
  32. 'note': 'Pozn\u00E1mka',
  33. 'tip': 'Tip',
  34. 'warning': 'Varov\u00E1n\u00ED',
  35. 'contents': 'Obsah'}
  36. """Mapping of node class name to label text."""
  37. bibliographic_fields = {
  38. # language-dependent: fixed
  39. 'autor': 'author',
  40. 'auto\u0159i': 'authors',
  41. 'organizace': 'organization',
  42. 'adresa': 'address',
  43. 'kontakt': 'contact',
  44. 'verze': 'version',
  45. 'revize': 'revision',
  46. 'stav': 'status',
  47. 'datum': 'date',
  48. 'copyright': 'copyright',
  49. 'v\u011Bnov\u00E1n\u00ED': 'dedication',
  50. 'abstrakt': 'abstract'}
  51. """Czech (lowcased) to canonical name mapping for bibliographic fields."""
  52. author_separators = [';', ',']
  53. """List of separator strings for the 'Authors' bibliographic field. Tried in
  54. order."""