diff options
| author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2002-12-29 16:18:41 +0000 |
|---|---|---|
| committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2002-12-29 16:18:41 +0000 |
| commit | f611c402a80b5a839cd1db6d008c0e893c84606e (patch) | |
| tree | 38c32849122a4437200fa6e5c740f3b2c8f6f30b /docutils/languages | |
| parent | 6c7003a050d919f5b10d85b28c0dcafc45f4686f (diff) | |
| download | docutils-f611c402a80b5a839cd1db6d008c0e893c84606e.tar.gz | |
Italian language support by Nicola Larosa
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1044 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/languages')
| -rw-r--r-- | docutils/languages/it.py | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/docutils/languages/it.py b/docutils/languages/it.py new file mode 100644 index 000000000..101abeb96 --- /dev/null +++ b/docutils/languages/it.py @@ -0,0 +1,60 @@ +# Author: Nicola Larosa +# Contact: docutils@tekNico.net +# Revision: $Revision$ +# Date: $Date$ +# Copyright: This module has been placed in the public domain. + +""" +Italian-language mappings for language-dependent features of Docutils. +""" + +__docformat__ = 'reStructuredText' + + +from docutils import nodes + + +labels = { + 'author': 'Autore', + 'authors': 'Autori', + 'organization': 'Organizzazione', + 'address': 'Indirizzo', + 'contact': 'Contatti', + 'version': 'Versione', + 'revision': 'Revisione', + 'status': 'Status', + 'date': 'Data', + 'copyright': 'Copyright', + 'dedication': 'Dedica', + 'abstract': 'Riassunto', + 'attention': 'Attenzione!', + 'caution': 'Cautela!', + 'danger': '!PERICOLO!', + 'error': 'Errore', + 'hint': 'Suggerimento', + 'important': 'Importante', + 'note': 'Nota', + 'tip': 'Consiglio', + 'warning': 'Avvertenza', + 'contents': 'Indice'} +"""Mapping of node class name to label text.""" + +bibliographic_fields = { + 'autore': nodes.author, + 'autori': nodes.authors, + 'organizzazione': nodes.organization, + 'indirizzo': nodes.address, + 'contatti': nodes.contact, + 'versione': nodes.version, + 'revisione': nodes.revision, + 'status': nodes.status, + 'data': nodes.date, + 'copyright': nodes.copyright, + 'dedica': nodes.topic, + 'riassunto': nodes.topic} +"""Field name (lowcased) to node class name mapping for bibliographic fields +(field_list).""" + +author_separators = [';', ','] +"""List of separator strings for the 'Authors' bibliographic field. Tried in +order.""" |
