1
0

lt.py 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # $Id: lt.py 9030 2022-03-05 23:28:32Z milde $
  2. # Author: Dalius Dobravolskas <dalius.do...@gmail.com>
  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. Lithuanian language mappings for language-dependent features of Docutils.
  10. """
  11. __docformat__ = 'reStructuredText'
  12. labels = {
  13. # fixed: language-dependent
  14. 'author': 'Autorius',
  15. 'authors': 'Autoriai',
  16. 'organization': 'Organizacija',
  17. 'address': 'Adresas',
  18. 'contact': 'Kontaktas',
  19. 'version': 'Versija',
  20. 'revision': 'Revizija',
  21. 'status': 'Būsena',
  22. 'date': 'Data',
  23. 'copyright': 'Autoriaus teisės',
  24. 'dedication': 'Dedikacija',
  25. 'abstract': 'Santrauka',
  26. 'attention': 'Dėmesio!',
  27. 'caution': 'Atsargiai!',
  28. 'danger': '!PAVOJINGA!',
  29. 'error': 'Klaida',
  30. 'hint': 'Užuomina',
  31. 'important': 'Svarbu',
  32. 'note': 'Pastaba',
  33. 'tip': 'Patarimas',
  34. 'warning': 'Įspėjimas',
  35. 'contents': 'Turinys'}
  36. """Mapping of node class name to label text."""
  37. bibliographic_fields = {
  38. # language-dependent: fixed
  39. 'autorius': 'author',
  40. 'autoriai': 'authors',
  41. 'organizacija': 'organization',
  42. 'adresas': 'address',
  43. 'kontaktas': 'contact',
  44. 'versija': 'version',
  45. 'revizija': 'revision',
  46. 'būsena': 'status',
  47. 'data': 'date',
  48. 'autoriaus teisės': 'copyright',
  49. 'dedikacija': 'dedication',
  50. 'santrauka': 'abstract'}
  51. """Lithuanian (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."""