gl.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # Author: David Goodger
  2. # Contact: goodger@users.sourceforge.net
  3. # Revision: $Revision: 2224 $
  4. # Date: $Date: 2004-06-05 21:40:46 +0200 (Sat, 05 Jun 2004) $
  5. # Copyright: This module has been placed in the public domain.
  6. # New language mappings are welcome. Before doing a new translation, please
  7. # read <https://docutils.sourceforge.io/docs/howto/i18n.html>.
  8. # Two files must be translated for each language: one in docutils/languages,
  9. # the other in docutils/parsers/rst/languages.
  10. """
  11. Galician-language mappings for language-dependent features of Docutils.
  12. """
  13. __docformat__ = 'reStructuredText'
  14. labels = {
  15. # fixed: language-dependent
  16. 'author': 'Autor',
  17. 'authors': 'Autores',
  18. 'organization': 'Organizaci\u00f3n',
  19. 'address': 'Enderezo',
  20. 'contact': 'Contacto',
  21. 'version': 'Versi\u00f3n',
  22. 'revision': 'Revisi\u00f3n',
  23. 'status': 'Estado',
  24. 'date': 'Data',
  25. 'copyright': 'Dereitos de copia',
  26. 'dedication': 'Dedicatoria',
  27. 'abstract': 'Abstract',
  28. 'attention': 'Atenci\u00f3n!',
  29. 'caution': 'Advertencia!',
  30. 'danger': 'PERIGO!',
  31. 'error': 'Erro',
  32. 'hint': 'Consello',
  33. 'important': 'Importante',
  34. 'note': 'Nota',
  35. 'tip': 'Suxesti\u00f3n',
  36. 'warning': 'Aviso',
  37. 'contents': 'Contido'}
  38. """Mapping of node class name to label text."""
  39. bibliographic_fields = {
  40. # language-dependent: fixed
  41. 'autor': 'author',
  42. 'autores': 'authors',
  43. 'organizaci\u00f3n': 'organization',
  44. 'enderezo': 'address',
  45. 'contacto': 'contact',
  46. 'versi\u00f3n': 'version',
  47. 'revisi\u00f3n': 'revision',
  48. 'estado': 'status',
  49. 'data': 'date',
  50. 'dereitos de copia': 'copyright',
  51. 'dedicatoria': 'dedication',
  52. 'abstract': 'abstract'}
  53. """Galician (lowcased) to canonical name mapping for bibliographic fields."""
  54. author_separators = [';', ',']
  55. """List of separator strings for the 'Authors' bibliographic field. Tried in
  56. order."""