fr.py 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # $Id: fr.py 9030 2022-03-05 23:28:32Z milde $
  2. # Author: Stefane Fermigier <sf@fermigier.com>
  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. French-language mappings for language-dependent features of Docutils.
  10. """
  11. __docformat__ = 'reStructuredText'
  12. labels = {
  13. 'author': 'Auteur',
  14. 'authors': 'Auteurs',
  15. 'organization': 'Organisation',
  16. 'address': 'Adresse',
  17. 'contact': 'Contact',
  18. 'version': 'Version',
  19. 'revision': 'R\u00e9vision',
  20. 'status': 'Statut',
  21. 'date': 'Date',
  22. 'copyright': 'Copyright',
  23. 'dedication': 'D\u00e9dicace',
  24. 'abstract': 'R\u00e9sum\u00e9',
  25. 'attention': 'Attention!',
  26. 'caution': 'Avertissement!',
  27. 'danger': '!DANGER!',
  28. 'error': 'Erreur',
  29. 'hint': 'Indication',
  30. 'important': 'Important',
  31. 'note': 'Note',
  32. 'tip': 'Astuce',
  33. 'warning': 'Avis',
  34. 'contents': 'Sommaire'}
  35. """Mapping of node class name to label text."""
  36. bibliographic_fields = {
  37. 'auteur': 'author',
  38. 'auteurs': 'authors',
  39. 'organisation': 'organization',
  40. 'adresse': 'address',
  41. 'contact': 'contact',
  42. 'version': 'version',
  43. 'r\u00e9vision': 'revision',
  44. 'statut': 'status',
  45. 'date': 'date',
  46. 'copyright': 'copyright',
  47. 'd\u00e9dicace': 'dedication',
  48. 'r\u00e9sum\u00e9': 'abstract'}
  49. """French (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."""