[Zope-Checkins] CVS: Zope/lib/python/docutils/languages - __init__.py:1.2 de.py:1.2 en.py:1.2 fr.py:1.2 it.py:1.2 sk.py:1.2 sv.py:1.2
Andreas Jung
andreas@andreas-jung.com
Sat, 1 Feb 2003 04:26:37 -0500
Update of /cvs-repository/Zope/lib/python/docutils/languages
In directory cvs.zope.org:/tmp/cvs-serv18056/docutils/languages
Added Files:
__init__.py de.py en.py fr.py it.py sk.py sv.py
Log Message:
merge from ajung-restructuredtext-integration-branch
=== Zope/lib/python/docutils/languages/__init__.py 1.1 => 1.2 ===
--- /dev/null Sat Feb 1 04:26:36 2003
+++ Zope/lib/python/docutils/languages/__init__.py Sat Feb 1 04:26:02 2003
@@ -0,0 +1,20 @@
+# Author: David Goodger
+# Contact: goodger@users.sourceforge.net
+# Revision: $Revision$
+# Date: $Date$
+# Copyright: This module has been placed in the public domain.
+
+"""
+This package contains modules for language-dependent features of Docutils.
+"""
+
+__docformat__ = 'reStructuredText'
+
+_languages = {}
+
+def get_language(language_code):
+ if _languages.has_key(language_code):
+ return _languages[language_code]
+ module = __import__(language_code, globals(), locals())
+ _languages[language_code] = module
+ return module
=== Zope/lib/python/docutils/languages/de.py 1.1 => 1.2 ===
--- /dev/null Sat Feb 1 04:26:36 2003
+++ Zope/lib/python/docutils/languages/de.py Sat Feb 1 04:26:03 2003
@@ -0,0 +1,59 @@
+# Authors: David Goodger; Gunnar Schwant
+# Contact: goodger@users.sourceforge.net
+# Revision: $Revision$
+# Date: $Date$
+# Copyright: This module has been placed in the public domain.
+
+"""
+German language mappings for language-dependent features of Docutils.
+"""
+
+__docformat__ = 'reStructuredText'
+
+from docutils import nodes
+
+
+labels = {
+ 'author': 'Autor',
+ 'authors': 'Autoren',
+ 'organization': 'Organisation',
+ 'address': 'Adresse',
+ 'contact': 'Kontakt',
+ 'version': 'Version',
+ 'revision': 'Revision',
+ 'status': 'Status',
+ 'date': 'Datum',
+ 'dedication': 'Widmung',
+ 'copyright': 'Copyright',
+ 'abstract': 'Zusammenfassung',
+ 'attention': 'Achtung!',
+ 'caution': 'Vorsicht!',
+ 'danger': '!GEFAHR!',
+ 'error': 'Fehler',
+ 'hint': 'Hinweis',
+ 'important': 'Wichtig',
+ 'note': 'Bemerkung',
+ 'tip': 'Tipp',
+ 'warning': 'Warnung',
+ 'contents': 'Inhalt'}
+"""Mapping of node class name to label text."""
+
+bibliographic_fields = {
+ 'autor': nodes.author,
+ 'autoren': nodes.authors,
+ 'organisation': nodes.organization,
+ 'adresse': nodes.address,
+ 'kontakt': nodes.contact,
+ 'version': nodes.version,
+ 'revision': nodes.revision,
+ 'status': nodes.status,
+ 'datum': nodes.date,
+ 'copyright': nodes.copyright,
+ 'widmung': nodes.topic,
+ 'zusammenfassung': 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."""
=== Zope/lib/python/docutils/languages/en.py 1.1 => 1.2 ===
--- /dev/null Sat Feb 1 04:26:37 2003
+++ Zope/lib/python/docutils/languages/en.py Sat Feb 1 04:26:03 2003
@@ -0,0 +1,60 @@
+# Author: David Goodger
+# Contact: goodger@users.sourceforge.net
+# Revision: $Revision$
+# Date: $Date$
+# Copyright: This module has been placed in the public domain.
+
+"""
+English-language mappings for language-dependent features of Docutils.
+"""
+
+__docformat__ = 'reStructuredText'
+
+
+from docutils import nodes
+
+
+labels = {
+ 'author': 'Author',
+ 'authors': 'Authors',
+ 'organization': 'Organization',
+ 'address': 'Address',
+ 'contact': 'Contact',
+ 'version': 'Version',
+ 'revision': 'Revision',
+ 'status': 'Status',
+ 'date': 'Date',
+ 'copyright': 'Copyright',
+ 'dedication': 'Dedication',
+ 'abstract': 'Abstract',
+ 'attention': 'Attention!',
+ 'caution': 'Caution!',
+ 'danger': '!DANGER!',
+ 'error': 'Error',
+ 'hint': 'Hint',
+ 'important': 'Important',
+ 'note': 'Note',
+ 'tip': 'Tip',
+ 'warning': 'Warning',
+ 'contents': 'Contents'}
+"""Mapping of node class name to label text."""
+
+bibliographic_fields = {
+ 'author': nodes.author,
+ 'authors': nodes.authors,
+ 'organization': nodes.organization,
+ 'address': nodes.address,
+ 'contact': nodes.contact,
+ 'version': nodes.version,
+ 'revision': nodes.revision,
+ 'status': nodes.status,
+ 'date': nodes.date,
+ 'copyright': nodes.copyright,
+ 'dedication': nodes.topic,
+ 'abstract': 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."""
=== Zope/lib/python/docutils/languages/fr.py 1.1 => 1.2 ===
--- /dev/null Sat Feb 1 04:26:37 2003
+++ Zope/lib/python/docutils/languages/fr.py Sat Feb 1 04:26:03 2003
@@ -0,0 +1,60 @@
+# Author: Stefane Fermigier
+# Contact: sf@fermigier.com
+# Revision: $Revision$
+# Date: $Date$
+# Copyright: This module has been placed in the public domain.
+
+"""
+French-language mappings for language-dependent features of Docutils.
+"""
+
+__docformat__ = 'reStructuredText'
+
+
+from docutils import nodes
+
+
+labels = {
+ 'author': 'Auteur',
+ 'authors': 'Auteurs',
+ 'organization': 'Organisation',
+ 'address': 'Adresse',
+ 'contact': 'Contact',
+ 'version': 'Version',
+ 'revision': 'R\u00e9vision',
+ 'status': 'Statut',
+ 'date': 'Date',
+ 'copyright': 'Copyright',
+ 'dedication': 'D\u00e9dicace',
+ 'abstract': 'R\u00e9sum\u00e9',
+ 'attention': 'Attention!',
+ 'caution': 'Avertissement!',
+ 'danger': '!DANGER!',
+ 'error': 'Erreur',
+ 'hint': 'Indication',
+ 'important': 'Important',
+ 'note': 'Note',
+ 'tip': 'Astuce',
+ 'warning': 'Avertissement',
+ 'contents': 'Contenu'}
+"""Mapping of node class name to label text."""
+
+bibliographic_fields = {
+ 'auteur': nodes.author,
+ 'auteurs': nodes.authors,
+ 'organisation': nodes.organization,
+ 'adresse': nodes.address,
+ 'contact': nodes.contact,
+ 'version': nodes.version,
+ 'r\u00e9vision': nodes.revision,
+ 'status': nodes.status,
+ 'date': nodes.date,
+ 'copyright': nodes.copyright,
+ 'd\u00e9dicace': nodes.topic,
+ 'r\u00e9sum\u00e9': 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."""
=== Zope/lib/python/docutils/languages/it.py 1.1 => 1.2 ===
--- /dev/null Sat Feb 1 04:26:37 2003
+++ Zope/lib/python/docutils/languages/it.py Sat Feb 1 04:26:03 2003
@@ -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."""
=== Zope/lib/python/docutils/languages/sk.py 1.1 => 1.2 ===
--- /dev/null Sat Feb 1 04:26:37 2003
+++ Zope/lib/python/docutils/languages/sk.py Sat Feb 1 04:26:03 2003
@@ -0,0 +1,60 @@
+# :Author: Miroslav Vasko
+# :Contact: zemiak@zoznam.sk
+# :Revision: $Revision$
+# :Date: $Date$
+# :Copyright: This module has been placed in the public domain.
+
+"""
+Slovak-language mappings for language-dependent features of Docutils.
+"""
+
+__docformat__ = 'reStructuredText'
+
+
+from docutils import nodes
+
+
+labels = {
+ 'author': u'Autor',
+ 'authors': u'Autori',
+ 'organization': u'Organiz\u00E1cia',
+ 'address': u'Adresa',
+ 'contact': u'Kontakt',
+ 'version': u'Verzia',
+ 'revision': u'Rev\u00EDzia',
+ 'status': u'Stav',
+ 'date': u'D\u00E1tum',
+ 'copyright': u'Copyright',
+ 'dedication': u'Venovanie',
+ 'abstract': u'Abstraktne',
+ 'attention': u'Pozor!',
+ 'caution': u'Opatrne!',
+ 'danger': u'!NEBEZPE\u010cENSTVO!',
+ 'error': u'Chyba',
+ 'hint': u'Rada',
+ 'important': u'D\u00F4le\u017Eit\u00E9',
+ 'note': u'Pozn\u00E1mka',
+ 'tip': u'Tip',
+ 'warning': u'Varovanie',
+ 'contents': u'Obsah'}
+"""Mapping of node class name to label text."""
+
+bibliographic_fields = {
+ u'autor': nodes.author,
+ u'autori': nodes.authors,
+ u'organiz\u00E1cia': nodes.organization,
+ u'adresa': nodes.address,
+ u'kontakt': nodes.contact,
+ u'verzia': nodes.version,
+ u'rev\u00EDzia': nodes.revision,
+ u'stav': nodes.status,
+ u'D\u00E1tum': nodes.date,
+ u'copyright': nodes.copyright,
+ u'venovanie': nodes.topic,
+ u'abstraktne': 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."""
=== Zope/lib/python/docutils/languages/sv.py 1.1 => 1.2 ===
--- /dev/null Sat Feb 1 04:26:37 2003
+++ Zope/lib/python/docutils/languages/sv.py Sat Feb 1 04:26:03 2003
@@ -0,0 +1,60 @@
+# Author: Adam Chodorowski
+# Contact: chodorowski@users.sourceforge.net
+# Revision: $Revision$
+# Date: $Date$
+# Copyright: This module has been placed in the public domain.
+
+"""
+Swedish language mappings for language-dependent features of Docutils.
+"""
+
+__docformat__ = 'reStructuredText'
+
+
+from docutils import nodes
+
+
+labels = {
+ 'author': u'F\u00f6rfattare',
+ 'authors': u'F\u00f6rfattare',
+ 'organization': u'Organisation',
+ 'address': u'Adress',
+ 'contact': u'Kontakt',
+ 'version': u'Version',
+ 'revision': u'Revision',
+ 'status': u'Status',
+ 'date': u'Datum',
+ 'copyright': u'Copyright',
+ 'dedication': u'Dedikation',
+ 'abstract': u'Sammanfattning',
+ 'attention': u'Observera!',
+ 'caution': u'Varning!',
+ 'danger': u'FARA!',
+ 'error': u'Fel',
+ 'hint': u'V\u00e4gledning',
+ 'important': u'Viktigt',
+ 'note': u'Notera',
+ 'tip': u'Tips',
+ 'warning': u'Varning',
+ 'contents': u'Inneh\u00e5ll' }
+"""Mapping of node class name to label text."""
+
+bibliographic_fields = {
+ # 'Author' and 'Authors' identical in Swedish; assume the plural:
+ u'f\u00f6rfattare': nodes.authors,
+ u'organisation': nodes.organization,
+ u'adress': nodes.address,
+ u'kontakt': nodes.contact,
+ u'version': nodes.version,
+ u'revision': nodes.revision,
+ u'status': nodes.status,
+ u'datum': nodes.date,
+ u'copyright': nodes.copyright,
+ u'dedikation': nodes.topic,
+ u'sammanfattning': 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."""