fi.py 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # $Id: fi.py 9030 2022-03-05 23:28:32Z milde $
  2. # Author: Asko Soukka <asko.soukka@iki.fi>
  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. Finnish-language mappings for language-dependent features of Docutils.
  10. """
  11. __docformat__ = 'reStructuredText'
  12. labels = {
  13. # fixed: language-dependent
  14. 'author': 'Tekij\u00e4',
  15. 'authors': 'Tekij\u00e4t',
  16. 'organization': 'Yhteis\u00f6',
  17. 'address': 'Osoite',
  18. 'contact': 'Yhteystiedot',
  19. 'version': 'Versio',
  20. 'revision': 'Vedos',
  21. 'status': 'Tila',
  22. 'date': 'P\u00e4iv\u00e4ys',
  23. 'copyright': 'Tekij\u00e4noikeudet',
  24. 'dedication': 'Omistuskirjoitus',
  25. 'abstract': 'Tiivistelm\u00e4',
  26. 'attention': 'Huomio!',
  27. 'caution': 'Varo!',
  28. 'danger': '!VAARA!',
  29. 'error': 'Virhe',
  30. 'hint': 'Vihje',
  31. 'important': 'T\u00e4rke\u00e4\u00e4',
  32. 'note': 'Huomautus',
  33. 'tip': 'Neuvo',
  34. 'warning': 'Varoitus',
  35. 'contents': 'Sis\u00e4llys'}
  36. """Mapping of node class name to label text."""
  37. bibliographic_fields = {
  38. # language-dependent: fixed
  39. 'tekij\u00e4': 'author',
  40. 'tekij\u00e4t': 'authors',
  41. 'yhteis\u00f6': 'organization',
  42. 'osoite': 'address',
  43. 'yhteystiedot': 'contact',
  44. 'versio': 'version',
  45. 'vedos': 'revision',
  46. 'tila': 'status',
  47. 'p\u00e4iv\u00e4ys': 'date',
  48. 'tekij\u00e4noikeudet': 'copyright',
  49. 'omistuskirjoitus': 'dedication',
  50. 'tiivistelm\u00e4': 'abstract'}
  51. """Finnish (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."""