es.py 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # $Id: es.py 9030 2022-03-05 23:28:32Z milde $
  2. # Author: Marcelo Huerta San Martín <richieadler@users.sourceforge.net>
  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. Spanish-language mappings for language-dependent features of Docutils.
  10. """
  11. __docformat__ = 'reStructuredText'
  12. labels = {
  13. 'author': 'Autor',
  14. 'authors': 'Autores',
  15. 'organization': 'Organizaci\u00f3n',
  16. 'address': 'Direcci\u00f3n',
  17. 'contact': 'Contacto',
  18. 'version': 'Versi\u00f3n',
  19. 'revision': 'Revisi\u00f3n',
  20. 'status': 'Estado',
  21. 'date': 'Fecha',
  22. 'copyright': 'Copyright',
  23. 'dedication': 'Dedicatoria',
  24. 'abstract': 'Resumen',
  25. 'attention': '\u00a1Atenci\u00f3n!',
  26. 'caution': '\u00a1Precauci\u00f3n!',
  27. 'danger': '\u00a1PELIGRO!',
  28. 'error': 'Error',
  29. 'hint': 'Sugerencia',
  30. 'important': 'Importante',
  31. 'note': 'Nota',
  32. 'tip': 'Consejo',
  33. 'warning': 'Advertencia',
  34. 'contents': 'Contenido'}
  35. """Mapping of node class name to label text."""
  36. bibliographic_fields = {
  37. 'autor': 'author',
  38. 'autores': 'authors',
  39. 'organizaci\u00f3n': 'organization',
  40. 'direcci\u00f3n': 'address',
  41. 'contacto': 'contact',
  42. 'versi\u00f3n': 'version',
  43. 'revisi\u00f3n': 'revision',
  44. 'estado': 'status',
  45. 'fecha': 'date',
  46. 'copyright': 'copyright',
  47. 'dedicatoria': 'dedication',
  48. 'resumen': 'abstract'}
  49. """Spanish (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."""