af.py 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # $Id: af.py 9030 2022-03-05 23:28:32Z milde $
  2. # Author: Jannie Hofmeyr <jhsh@sun.ac.za>
  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. Afrikaans-language mappings for language-dependent features of Docutils.
  10. """
  11. __docformat__ = 'reStructuredText'
  12. labels = {
  13. 'author': 'Auteur',
  14. 'authors': 'Auteurs',
  15. 'organization': 'Organisasie',
  16. 'address': 'Adres',
  17. 'contact': 'Kontak',
  18. 'version': 'Weergawe',
  19. 'revision': 'Revisie',
  20. 'status': 'Status',
  21. 'date': 'Datum',
  22. 'copyright': 'Kopiereg',
  23. 'dedication': 'Opdrag',
  24. 'abstract': 'Opsomming',
  25. 'attention': 'Aandag!',
  26. 'caution': 'Wees versigtig!',
  27. 'danger': '!GEVAAR!',
  28. 'error': 'Fout',
  29. 'hint': 'Wenk',
  30. 'important': 'Belangrik',
  31. 'note': 'Nota',
  32. 'tip': 'Tip', # hint and tip both have the same translation: wenk
  33. 'warning': 'Waarskuwing',
  34. 'contents': 'Inhoud'}
  35. """Mapping of node class name to label text."""
  36. bibliographic_fields = {
  37. 'auteur': 'author',
  38. 'auteurs': 'authors',
  39. 'organisasie': 'organization',
  40. 'adres': 'address',
  41. 'kontak': 'contact',
  42. 'weergawe': 'version',
  43. 'revisie': 'revision',
  44. 'status': 'status',
  45. 'datum': 'date',
  46. 'kopiereg': 'copyright',
  47. 'opdrag': 'dedication',
  48. 'opsomming': 'abstract'}
  49. """Afrikaans (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."""