lv.py 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # $Id: lv.py 9030 2022-03-05 23:28:32Z milde $
  2. # Copyright: This module has been placed in the public domain.
  3. # New language mappings are welcome. Before doing a new translation, please
  4. # read <https://docutils.sourceforge.io/docs/howto/i18n.html>.
  5. # Two files must be translated for each language: one in docutils/languages,
  6. # the other in docutils/parsers/rst/languages.
  7. """
  8. Latvian-language mappings for language-dependent features of Docutils.
  9. """
  10. __docformat__ = 'reStructuredText'
  11. labels = {
  12. # fixed: language-dependent
  13. 'author': 'Autors',
  14. 'authors': 'Autori',
  15. 'organization': 'Organizācija',
  16. 'address': 'Adrese',
  17. 'contact': 'Kontakti',
  18. 'version': 'Versija',
  19. 'revision': 'Revīzija',
  20. 'status': 'Statuss',
  21. 'date': 'Datums',
  22. 'copyright': 'Copyright',
  23. 'dedication': 'Veltījums',
  24. 'abstract': 'Atreferējums',
  25. 'attention': 'Uzmanību!',
  26. 'caution': 'Piesardzību!',
  27. 'danger': '!BĪSTAMI!',
  28. 'error': 'Kļūda',
  29. 'hint': 'Ieteikums',
  30. 'important': 'Svarīgi',
  31. 'note': 'Piezīme',
  32. 'tip': 'Padoms',
  33. 'warning': 'Brīdinājums',
  34. 'contents': 'Saturs'}
  35. """Mapping of node class name to label text."""
  36. bibliographic_fields = {
  37. # language-dependent: fixed
  38. 'autors': 'author',
  39. 'autori': 'authors',
  40. 'organizācija': 'organization',
  41. 'adrese': 'address',
  42. 'kontakti': 'contact',
  43. 'versija': 'version',
  44. 'revīzija': 'revision',
  45. 'statuss': 'status',
  46. 'datums': 'date',
  47. 'copyright': 'copyright',
  48. 'veltījums': 'dedication',
  49. 'atreferējums': 'abstract'}
  50. """English (lowcased) to canonical name mapping for bibliographic fields."""
  51. author_separators = [';', ',']
  52. """List of separator strings for the 'Authors' bibliographic field. Tried in
  53. order."""