[Zope-Checkins] CVS: Zope/lib/python/docutils/languages - af.py:1.1 es.py:1.1 ru.py:1.1 __init__.py:1.3 de.py:1.3 en.py:1.3 fr.py:1.3 it.py:1.3 sk.py:1.3 sv.py:1.3

Andreas Jung andreas@andreas-jung.com
Thu, 10 Jul 2003 11:50:13 -0400


Update of /cvs-repository/Zope/lib/python/docutils/languages
In directory cvs.zope.org:/tmp/cvs-serv8556/languages

Modified Files:
	__init__.py de.py en.py fr.py it.py sk.py sv.py 
Added Files:
	af.py es.py ru.py 
Log Message:
docutils update


=== Added File Zope/lib/python/docutils/languages/af.py ===
# Author: Jannie Hofmeyr
# Contact: jhsh@sun.ac.za
# Revision: $Revision: 1.1 $
# Date: $Date: 2003/07/10 15:49:34 $
# Copyright: This module has been placed in the public domain.

# New language mappings are welcome.  Before doing a new translation, please
# read <http://docutils.sf.net/spec/howto/i18n.html>.  Two files must be
# translated for each language: one in docutils/languages, the other in
# docutils/parsers/rst/languages.

"""
Afrikaans-language mappings for language-dependent features of Docutils.
"""

__docformat__ = 'reStructuredText'

labels = {
      'author': 'Auteur',
      'authors': 'Auteurs',
      'organization': 'Organisasie',
      'address': 'Adres',
      'contact': 'Kontak',
      'version': 'Weergawe',
      'revision': 'Revisie',
      'status': 'Status',
      'date': 'Datum',
      'copyright': 'Kopiereg',
      'dedication': 'Opdrag',
      'abstract': 'Opsomming',
      'attention': 'Aandag!',
      'caution': 'Wees versigtig!',
      'danger': '!GEVAAR!',
      'error': 'Fout',
      'hint': 'Wenk',
      'important': 'Belangrik',
      'note': 'Nota',
      'tip': 'Tip', # hint and tip both have the same translation: wenk
      'warning': 'Waarskuwing',
      'contents': 'Inhoud'}
"""Mapping of node class name to label text."""

bibliographic_fields = {
      'auteur': 'author',
      'auteurs': 'authors',
      'organisasie': 'organization',
      'adres': 'address',
      'kontak': 'contact',
      'weergawe': 'version',
      'revisie': 'revision',
      'status': 'status',
      'datum': 'date',
      'kopiereg': 'copyright',
      'opdrag': 'dedication',
      'opsomming': 'abstract'}
"""Afrikaans (lowcased) to canonical name mapping for bibliographic fields."""

author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""


=== Added File Zope/lib/python/docutils/languages/es.py ===
# Author: Marcelo Huerta San Martín
# Contact: mghsm@uol.com.ar
# Revision: $Revision: 1.1 $
# Date: $Date: 2003/07/10 15:49:34 $
# Copyright: This module has been placed in the public domain.

# New language mappings are welcome.  Before doing a new translation, please
# read <http://docutils.sf.net/spec/howto/i18n.html>.  Two files must be
# translated for each language: one in docutils/languages, the other in
# docutils/parsers/rst/languages.

"""
Spanish-language mappings for language-dependent features of Docutils.
"""

__docformat__ = 'reStructuredText'

labels = {
      'author': u'Autor',
      'authors': u'Autores',
      'organization': u'Organizaci\u00f3n',
      'address': u'Direcci\u00f3n',
      'contact': u'Contacto',
      'version': u'Versi\u00f3n',
      'revision': u'Revisi\u00f3n',
      'status': u'Estado',
      'date': u'Fecha',
      'copyright': u'Copyright',
      'dedication': u'Dedicatoria',
      'abstract': u'Resumen',
      'attention': u'\u00a1Atenci\u00f3n!',
      'caution': u'\u00a1Precauci\u00f3n!',
      'danger': u'\u00a1PELIGRO!',
      'error': u'Error',
      'hint': u'Sugerencia',
      'important': u'Importante',
      'note': u'Nota',
      'tip': u'Consejo',
      'warning': u'Advertencia',
      'contents': u'Contenido'}
"""Mapping of node class name to label text."""

bibliographic_fields = {
      u'autor': 'author',
      u'autores': 'authors',
      u'organizaci\u00f3n': 'organization',
      u'direcci\u00f3n': 'address',
      u'contacto': 'contact',
      u'versi\u00f3n': 'version',
      u'revisi\u00f3n': 'revision',
      u'estado': 'status',
      u'fecha': 'date',
      u'copyright': 'copyright',
      u'dedicatoria': 'dedication',
      u'resumen': 'abstract'}
"""Spanish (lowcased) to canonical name mapping for bibliographic fields."""

author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""


=== Added File Zope/lib/python/docutils/languages/ru.py ===
# Author: Roman Suzi
# Contact: rnd@onego.ru
# Revision: $Revision: 1.1 $
# Date: $Date: 2003/07/10 15:49:34 $
# Copyright: This module has been placed in the public domain.

# New language mappings are welcome.  Before doing a new translation, please
# read <http://docutils.sf.net/spec/howto/i18n.html>.  Two files must be
# translated for each language: one in docutils/languages, the other in
# docutils/parsers/rst/languages.

"""
Russian-language mappings for language-dependent features of Docutils.
"""

__docformat__ = 'reStructuredText'

labels = {
      u'abstract': u'\u0410\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f',
      u'address': u'\u0410\u0434\u0440\u0435\u0441',
      u'attention': u'\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435!',
      u'author': u'\u0410\u0432\u0442\u043e\u0440',
      u'authors': u'\u0410\u0432\u0442\u043e\u0440\u044b',
      u'caution': u'\u041e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u043e!',
      u'contact': u'\u041a\u043e\u043d\u0442\u0430\u043a\u0442',
      u'contents':
      u'\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435',
      u'copyright': u'\u041f\u0440\u0430\u0432\u0430 '
      u'\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f',
      u'danger': u'\u041e\u041f\u0410\u0421\u041d\u041e!',
      u'date': u'\u0414\u0430\u0442\u0430',
      u'dedication':
      u'\u041f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u0438\u0435',
      u'error': u'\u041e\u0448\u0438\u0431\u043a\u0430',
      u'hint': u'\u0421\u043e\u0432\u0435\u0442',
      u'important': u'\u0412\u0430\u0436\u043d\u043e',
      u'note': u'\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435',
      u'organization':
      u'\u041e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f',
      u'revision': u'\u0420\u0435\u0434\u0430\u043a\u0446\u0438\u044f',
      u'status': u'\u0421\u0442\u0430\u0442\u0443\u0441',
      u'tip': u'\u041f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430',
      u'version': u'\u0412\u0435\u0440\u0441\u0438\u044f',
      u'warning': u'\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436'
      u'\u0434\u0435\u043d\u0438\u0435'}
"""Mapping of node class name to label text."""

bibliographic_fields = {
      u'\u0410\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f': u'abstract',
      u'\u0410\u0434\u0440\u0435\u0441': u'address',
      u'\u0410\u0432\u0442\u043e\u0440': u'author',
      u'\u0410\u0432\u0442\u043e\u0440\u044b': u'authors',
      u'\u041a\u043e\u043d\u0442\u0430\u043a\u0442': u'contact',
      u'\u041f\u0440\u0430\u0432\u0430 \u043a\u043e\u043f\u0438\u0440\u043e'
      u'\u0432\u0430\u043d\u0438\u044f': u'copyright',
      u'\u0414\u0430\u0442\u0430': u'date',
      u'\u041f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u0438\u0435':
      u'dedication',
      u'\u041e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f':
      u'organization',
      u'\u0420\u0435\u0434\u0430\u043a\u0446\u0438\u044f': u'revision',
      u'\u0421\u0442\u0430\u0442\u0443\u0441': u'status',
      u'\u0412\u0435\u0440\u0441\u0438\u044f': u'version'}
"""Russian (lowcased) to canonical name mapping for bibliographic fields."""

author_separators =  [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""


=== Zope/lib/python/docutils/languages/__init__.py 1.2 => 1.3 ===
--- Zope/lib/python/docutils/languages/__init__.py:1.2	Sat Feb  1 04:26:02 2003
+++ Zope/lib/python/docutils/languages/__init__.py	Thu Jul 10 11:49:34 2003
@@ -4,6 +4,9 @@
 # Date: $Date$
 # Copyright: This module has been placed in the public domain.
 
+# Internationalization details are documented in
+# <http://docutils.sf.net/spec/howto/i18n.html>.
+
 """
 This package contains modules for language-dependent features of Docutils.
 """


=== Zope/lib/python/docutils/languages/de.py 1.2 => 1.3 ===
--- Zope/lib/python/docutils/languages/de.py:1.2	Sat Feb  1 04:26:03 2003
+++ Zope/lib/python/docutils/languages/de.py	Thu Jul 10 11:49:34 2003
@@ -4,15 +4,17 @@
 # Date:      $Date$
 # Copyright: This module has been placed in the public domain.
 
+# New language mappings are welcome.  Before doing a new translation, please
+# read <http://docutils.sf.net/spec/howto/i18n.html>.  Two files must be
+# translated for each language: one in docutils/languages, the other in
+# docutils/parsers/rst/languages.
+
 """
 German language mappings for language-dependent features of Docutils.
 """
 
 __docformat__ = 'reStructuredText'
 
-from docutils import nodes
-
-
 labels = {
     'author': 'Autor',
     'authors': 'Autoren',
@@ -39,20 +41,19 @@
 """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)."""
+    'autor': 'author',
+    'autoren': 'authors',
+    'organisation': 'organization',
+    'adresse': 'address',
+    'kontakt': 'contact',
+    'version': 'version',
+    'revision': 'revision',
+    'status': 'status',
+    'datum': 'date',
+    'copyright': 'copyright',
+    'widmung': 'dedication',
+    'zusammenfassung': 'abstract'}
+"""German (lowcased) to canonical name mapping for bibliographic fields."""
 
 author_separators = [';', ',']
 """List of separator strings for the 'Authors' bibliographic field. Tried in


=== Zope/lib/python/docutils/languages/en.py 1.2 => 1.3 ===
--- Zope/lib/python/docutils/languages/en.py:1.2	Sat Feb  1 04:26:03 2003
+++ Zope/lib/python/docutils/languages/en.py	Thu Jul 10 11:49:34 2003
@@ -4,17 +4,19 @@
 # Date: $Date$
 # Copyright: This module has been placed in the public domain.
 
+# New language mappings are welcome.  Before doing a new translation, please
+# read <http://docutils.sf.net/spec/howto/i18n.html>.  Two files must be
+# translated for each language: one in docutils/languages, the other in
+# docutils/parsers/rst/languages.
+
 """
 English-language mappings for language-dependent features of Docutils.
 """
 
 __docformat__ = 'reStructuredText'
 
-
-from docutils import nodes
-
-
 labels = {
+      # fixed: language-dependent
       'author': 'Author',
       'authors': 'Authors',
       'organization': 'Organization',
@@ -40,20 +42,20 @@
 """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)."""
+      # language-dependent: fixed
+      'author': 'author',
+      'authors': 'authors',
+      'organization': 'organization',
+      'address': 'address',
+      'contact': 'contact',
+      'version': 'version',
+      'revision': 'revision',
+      'status': 'status',
+      'date': 'date',
+      'copyright': 'copyright',
+      'dedication': 'dedication',
+      'abstract': 'abstract'}
+"""English (lowcased) to canonical name mapping for bibliographic fields."""
 
 author_separators = [';', ',']
 """List of separator strings for the 'Authors' bibliographic field. Tried in


=== Zope/lib/python/docutils/languages/fr.py 1.2 => 1.3 ===
--- Zope/lib/python/docutils/languages/fr.py:1.2	Sat Feb  1 04:26:03 2003
+++ Zope/lib/python/docutils/languages/fr.py	Thu Jul 10 11:49:34 2003
@@ -4,56 +4,56 @@
 # Date: $Date$
 # Copyright: This module has been placed in the public domain.
 
+# New language mappings are welcome.  Before doing a new translation, please
+# read <http://docutils.sf.net/spec/howto/i18n.html>.  Two files must be
+# translated for each language: one in docutils/languages, the other in
+# docutils/parsers/rst/languages.
+
 """
 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'}
+      u'author': u'Auteur',
+      u'authors': u'Auteurs',
+      u'organization': u'Organisation',
+      u'address': u'Adresse',
+      u'contact': u'Contact',
+      u'version': u'Version',
+      u'revision': u'R\u00e9vision',
+      u'status': u'Statut',
+      u'date': u'Date',
+      u'copyright': u'Copyright',
+      u'dedication': u'D\u00e9dicace',
+      u'abstract': u'R\u00e9sum\u00e9',
+      u'attention': u'Attention!',
+      u'caution': u'Avertissement!',
+      u'danger': u'!DANGER!',
+      u'error': u'Erreur',
+      u'hint': u'Indication',
+      u'important': u'Important',
+      u'note': u'Note',
+      u'tip': u'Astuce',
+      u'warning': u'Avis',
+      u'contents': u'Sommaire'}
 """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)."""
+      u'auteur': u'author',
+      u'auteurs': u'authors',
+      u'organisation': u'organization',
+      u'adresse': u'address',
+      u'contact': u'contact',
+      u'version': u'version',
+      u'r\u00e9vision': u'revision',
+      u'statut': u'status',
+      u'date': u'date',
+      u'copyright': u'copyright',
+      u'd\u00e9dicace': u'dedication',
+      u'r\u00e9sum\u00e9': u'abstract'}
+"""French (lowcased) to canonical name mapping for bibliographic fields."""
 
 author_separators = [';', ',']
 """List of separator strings for the 'Authors' bibliographic field. Tried in


=== Zope/lib/python/docutils/languages/it.py 1.2 => 1.3 ===
--- Zope/lib/python/docutils/languages/it.py:1.2	Sat Feb  1 04:26:03 2003
+++ Zope/lib/python/docutils/languages/it.py	Thu Jul 10 11:49:34 2003
@@ -4,16 +4,17 @@
 # Date: $Date$
 # Copyright: This module has been placed in the public domain.
 
+# New language mappings are welcome.  Before doing a new translation, please
+# read <http://docutils.sf.net/spec/howto/i18n.html>.  Two files must be
+# translated for each language: one in docutils/languages, the other in
+# docutils/parsers/rst/languages.
+
 """
 Italian-language mappings for language-dependent features of Docutils.
 """
 
 __docformat__ = 'reStructuredText'
 
-
-from docutils import nodes
-
-
 labels = {
       'author': 'Autore',
       'authors': 'Autori',
@@ -40,20 +41,19 @@
 """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)."""
+      'autore': 'author',
+      'autori': 'authors',
+      'organizzazione': 'organization',
+      'indirizzo': 'address',
+      'contatti': 'contact',
+      'versione': 'version',
+      'revisione': 'revision',
+      'status': 'status',
+      'data': 'date',
+      'copyright': 'copyright',
+      'dedica': 'dedication',
+      'riassunto': 'abstract'}
+"""Italian (lowcased) to canonical name mapping for bibliographic fields."""
 
 author_separators = [';', ',']
 """List of separator strings for the 'Authors' bibliographic field. Tried in


=== Zope/lib/python/docutils/languages/sk.py 1.2 => 1.3 ===
--- Zope/lib/python/docutils/languages/sk.py:1.2	Sat Feb  1 04:26:03 2003
+++ Zope/lib/python/docutils/languages/sk.py	Thu Jul 10 11:49:34 2003
@@ -4,16 +4,17 @@
 # :Date: $Date$
 # :Copyright: This module has been placed in the public domain.
 
+# New language mappings are welcome.  Before doing a new translation, please
+# read <http://docutils.sf.net/spec/howto/i18n.html>.  Two files must be
+# translated for each language: one in docutils/languages, the other in
+# docutils/parsers/rst/languages.
+
 """
 Slovak-language mappings for language-dependent features of Docutils.
 """
 
 __docformat__ = 'reStructuredText'
 
-
-from docutils import nodes
-
-
 labels = {
       'author': u'Autor',
       'authors': u'Autori',
@@ -40,20 +41,19 @@
 """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)."""
+      u'autor': 'author',
+      u'autori': 'authors',
+      u'organiz\u00E1cia': 'organization',
+      u'adresa': 'address',
+      u'kontakt': 'contact',
+      u'verzia': 'version',
+      u'rev\u00EDzia': 'revision',
+      u'stav': 'status',
+      u'd\u00E1tum': 'date',
+      u'copyright': 'copyright',
+      u'venovanie': 'dedication',
+      u'abstraktne': 'abstract'}
+"""Slovak (lowcased) to canonical name mapping for bibliographic fields."""
 
 author_separators = [';', ',']
 """List of separator strings for the 'Authors' bibliographic field. Tried in


=== Zope/lib/python/docutils/languages/sv.py 1.2 => 1.3 ===
--- Zope/lib/python/docutils/languages/sv.py:1.2	Sat Feb  1 04:26:03 2003
+++ Zope/lib/python/docutils/languages/sv.py	Thu Jul 10 11:49:34 2003
@@ -4,16 +4,17 @@
 # Date:      $Date$
 # Copyright: This module has been placed in the public domain.
 
+# New language mappings are welcome.  Before doing a new translation, please
+# read <http://docutils.sf.net/spec/howto/i18n.html>.  Two files must be
+# translated for each language: one in docutils/languages, the other in
+# docutils/parsers/rst/languages.
+
 """
 Swedish language mappings for language-dependent features of Docutils.
 """
 
 __docformat__ = 'reStructuredText'
 
-
-from docutils import nodes
-
-
 labels = {
     'author':       u'F\u00f6rfattare',
     'authors':      u'F\u00f6rfattare',
@@ -41,19 +42,19 @@
 
 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)."""
+    u'f\u00f6rfattare': 'authors',
+    u' n/a':            'author',
+    u'organisation':    'organization',
+    u'adress':          'address',
+    u'kontakt':         'contact',
+    u'version':         'version',
+    u'revision':        'revision',
+    u'status':          'status',
+    u'datum':           'date',
+    u'copyright':       'copyright',
+    u'dedikation':      'dedication', 
+    u'sammanfattning':  'abstract' }
+"""Swedish (lowcased) to canonical name mapping for bibliographic fields."""
 
 author_separators = [';', ',']
 """List of separator strings for the 'Authors' bibliographic field. Tried in