it.py 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # $Id: it.py 9022 2022-03-04 15:54:56Z milde $
  2. # Authors: Nicola Larosa <docutils@tekNico.net>;
  3. # Lele Gaifax <lele@seldati.it>
  4. # Copyright: This module has been placed in the public domain.
  5. # Beware: the italian translation of the reStructuredText documentation
  6. # at http://docit.bice.dyndns.org/static/ReST, in particular
  7. # http://docit.bice.dyndns.org/static/ReST/ref/rst/directives.html, needs
  8. # to be synced with the content of this file.
  9. """
  10. Italian-language mappings for language-dependent features of
  11. reStructuredText.
  12. """
  13. __docformat__ = 'reStructuredText'
  14. directives = {
  15. 'attenzione': 'attention',
  16. 'cautela': 'caution',
  17. 'code (translation required)': 'code',
  18. 'pericolo': 'danger',
  19. 'errore': 'error',
  20. 'suggerimento': 'hint',
  21. 'importante': 'important',
  22. 'nota': 'note',
  23. 'consiglio': 'tip',
  24. 'avvertenza': 'warning',
  25. 'ammonizione': 'admonition',
  26. 'riquadro': 'sidebar',
  27. 'argomento': 'topic',
  28. 'blocco-di-righe': 'line-block',
  29. 'blocco-interpretato': 'parsed-literal',
  30. 'rubrica': 'rubric',
  31. 'epigrafe': 'epigraph',
  32. 'punti-salienti': 'highlights',
  33. 'estratto-evidenziato': 'pull-quote',
  34. 'composito': 'compound',
  35. 'container (translation required)': 'container',
  36. # 'questions': 'questions',
  37. # 'qa': 'questions',
  38. # 'faq': 'questions',
  39. 'tabella': 'table',
  40. 'tabella-csv': 'csv-table',
  41. 'tabella-elenco': 'list-table',
  42. 'meta': 'meta',
  43. 'math (translation required)': 'math',
  44. # 'imagemap': 'imagemap',
  45. 'immagine': 'image',
  46. 'figura': 'figure',
  47. 'includi': 'include',
  48. 'grezzo': 'raw',
  49. 'sostituisci': 'replace',
  50. 'unicode': 'unicode',
  51. 'data': 'date',
  52. 'classe': 'class',
  53. 'ruolo': 'role',
  54. 'ruolo-predefinito': 'default-role',
  55. 'titolo': 'title',
  56. 'indice': 'contents',
  57. 'contenuti': 'contents',
  58. 'seznum': 'sectnum',
  59. 'sezioni-autonumerate': 'sectnum',
  60. 'annota-riferimenti-esterni': 'target-notes',
  61. 'intestazione': 'header',
  62. 'piede-pagina': 'footer',
  63. # 'footnotes': 'footnotes',
  64. # 'citations': 'citations',
  65. 'restructuredtext-test-directive': 'restructuredtext-test-directive'}
  66. """Italian name to registered (in directives/__init__.py) directive name
  67. mapping."""
  68. roles = {
  69. 'abbreviazione': 'abbreviation',
  70. 'acronimo': 'acronym',
  71. 'code (translation required)': 'code',
  72. 'indice': 'index',
  73. 'deponente': 'subscript',
  74. 'esponente': 'superscript',
  75. 'riferimento-titolo': 'title-reference',
  76. 'riferimento-pep': 'pep-reference',
  77. 'riferimento-rfc': 'rfc-reference',
  78. 'enfasi': 'emphasis',
  79. 'forte': 'strong',
  80. 'letterale': 'literal',
  81. 'math (translation required)': 'math',
  82. 'riferimento-con-nome': 'named-reference',
  83. 'riferimento-anonimo': 'anonymous-reference',
  84. 'riferimento-nota': 'footnote-reference',
  85. 'riferimento-citazione': 'citation-reference',
  86. 'riferimento-sostituzione': 'substitution-reference',
  87. 'destinazione': 'target',
  88. 'riferimento-uri': 'uri-reference',
  89. 'grezzo': 'raw',
  90. }
  91. """Mapping of Italian role names to canonical role names for interpreted text.
  92. """