[Zope-Checkins] CVS: Zope/lib/python/docutils/parsers/rst/languages - af.py:1.1.2.1 es.py:1.1.2.1 ru.py:1.1.2.1 __init__.py:1.2.10.1 de.py:1.2.10.1 en.py:1.2.10.1 fr.py:1.2.10.1 it.py:1.2.10.1 sk.py:1.2.10.1 sv.py:1.2.10.1
Chris McDonough
chrism@zope.com
Mon, 21 Jul 2003 12:38:55 -0400
Update of /cvs-repository/Zope/lib/python/docutils/parsers/rst/languages
In directory cvs.zope.org:/tmp/cvs-serv17213/lib/python/docutils/parsers/rst/languages
Modified Files:
Tag: Zope-2_7-branch
__init__.py de.py en.py fr.py it.py sk.py sv.py
Added Files:
Tag: Zope-2_7-branch
af.py es.py ru.py
Log Message:
Merge changes from HEAD since the release of Zope 2.7a1 into the Zope-2_7-branch in preparation for release of Zope 2.7b1.
=== Added File Zope/lib/python/docutils/parsers/rst/languages/af.py ===
# Author: Jannie Hofmeyr
# Contact: jhsh@sun.ac.za
# Revision: $Revision: 1.1.2.1 $
# Date: $Date: 2003/07/21 16:38:15 $
# 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
reStructuredText.
"""
__docformat__ = 'reStructuredText'
directives = {
'aandag': 'attention',
'versigtig': 'caution',
'gevaar': 'danger',
'fout': 'error',
'wenk': 'hint',
'belangrik': 'important',
'nota': 'note',
'tip': 'tip', # hint and tip both have the same translation: wenk
'waarskuwing': 'warning',
'vermaning': 'admonition',
'kantstreep': 'sidebar',
'onderwerp': 'topic',
'lynblok': 'line-block',
'parsed-literal (translation required)': 'parsed-literal',
'rubriek': 'rubric',
'epigraaf': 'epigraph',
'hoogtepunte': 'highlights',
'pull-quote (translation required)': 'pull-quote',
#'vrae': 'questions',
#'qa': 'questions',
#'faq': 'questions',
'meta': 'meta',
#'beeldkaart': 'imagemap',
'beeld': 'image',
'figuur': 'figure',
'insluiting': 'include',
'rou': 'raw',
'vervang': 'replace',
'unicode': 'unicode', # should this be translated? unikode
'klas': 'class',
'inhoud': 'contents',
'sectnum': 'sectnum',
'section-numbering': 'sectnum',
#'voetnote': 'footnotes',
#'aanhalings': 'citations',
'teikennotas': 'target-notes',
'restructuredtext-test-directive': 'restructuredtext-test-directive'}
"""Afrikaans name to registered (in directives/__init__.py) directive name
mapping."""
roles = {
'afkorting': 'abbreviation',
'ab': 'abbreviation',
'akroniem': 'acronym',
'ac': 'acronym',
'indeks': 'index',
'i': 'index',
'voetskrif': 'subscript',
'sub': 'subscript',
'boskrif': 'superscript',
'sup': 'superscript',
'titelverwysing': 'title-reference',
'titel': 'title-reference',
't': 'title-reference',
'pep-verwysing': 'pep-reference',
'pep': 'pep-reference',
'rfc-verwysing': 'rfc-reference',
'rfc': 'rfc-reference',
'nadruk': 'emphasis',
'sterk': 'strong',
'literal (translation required)': 'literal',
'benoemde verwysing': 'named-reference',
'anonieme verwysing': 'anonymous-reference',
'voetnootverwysing': 'footnote-reference',
'aanhalingverwysing': 'citation-reference',
'vervangingsverwysing': 'substitution-reference',
'teiken': 'target',
'uri-verwysing': 'uri-reference',
'uri': 'uri-reference',
'url': 'uri-reference',}
"""Mapping of Afrikaans role names to canonical role names for interpreted text.
"""
=== Added File Zope/lib/python/docutils/parsers/rst/languages/es.py ===
# Author: Marcelo Huerta San Martín
# Contact: mghsm@uol.com.ar
# Revision: $Revision: 1.1.2.1 $
# Date: $Date: 2003/07/21 16:38:15 $
# 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
reStructuredText.
"""
__docformat__ = 'reStructuredText'
directives = {
u'atenci\u00f3n': 'attention',
u'atencion': 'attention',
u'precauci\u00f3n': 'caution',
u'precaucion': 'caution',
u'peligro': 'danger',
u'error': 'error',
u'sugerencia': 'hint',
u'importante': 'important',
u'nota': 'note',
u'consejo': 'tip',
u'advertencia': 'warning',
u'exhortacion': 'admonition',
u'exhortaci\u00f3n': 'admonition',
u'nota-al-margen': 'sidebar',
u'tema': 'topic',
u'bloque-de-lineas': 'line-block',
u'bloque-de-l\u00edneas': 'line-block',
u'literal-evaluado': 'parsed-literal',
u'firma': 'rubric',
u'ep\u00edgrafe': 'epigraph',
u'epigrafe': 'epigraph',
u'destacado': 'highlights',
u'cita-destacada': 'pull-quote',
#'questions': 'questions',
#'qa': 'questions',
#'faq': 'questions',
u'meta': 'meta',
#'imagemap': 'imagemap',
u'imagen': 'image',
u'figura': 'figure',
u'incluir': 'include',
u'raw': 'raw',
u'reemplazar': 'replace',
u'unicode': 'unicode',
u'clase': 'class',
u'contenido': 'contents',
u'numseccion': 'sectnum',
u'numsecci\u00f3n': 'sectnum',
u'numeracion-seccion': 'sectnum',
u'numeraci\u00f3n-secci\u00f3n': 'sectnum',
u'notas-destino': 'target-notes',
#'footnotes': 'footnotes',
#'citations': 'citations',
u'restructuredtext-test-directive': 'restructuredtext-test-directive'}
"""Spanish name to registered (in directives/__init__.py) directive name
mapping."""
roles = {
u'abreviatura': 'abbreviation',
u'ab': 'abbreviation',
u'acronimo': 'acronym',
u'acronimo': 'acronym',
u'ac': 'acronym',
u'indice': 'index',
u'i': 'index',
u'subscript (translation required)': 'subscript',
u'superscript (translation required)': 'superscript',
u'referencia-titulo': 'title-reference',
u'titulo': 'title-reference',
u't': 'title-reference',
u'referencia-pep': 'pep-reference',
u'pep': 'pep-reference',
u'referencia-rfc': 'rfc-reference',
u'rfc': 'rfc-reference',
u'enfasis': 'emphasis',
u'\u00e9nfasis': 'emphasis',
u'destacado': 'strong',
u'literal': 'literal',
u'referencia-con-nombre': 'named-reference',
u'referencia-anonima': 'anonymous-reference',
u'referencia-an\u00f3nima': 'anonymous-reference',
u'referencia-nota-al-pie': 'footnote-reference',
u'referencia-cita': 'citation-reference',
u'referencia-sustitucion': 'substitution-reference',
u'referencia-sustituci\u00f3n': 'substitution-reference',
u'destino': 'target',
u'referencia-uri': 'uri-reference',
u'uri': 'uri-reference',
u'url': 'uri-reference',
}
"""Mapping of Spanish role names to canonical role names for interpreted text.
"""
=== Added File Zope/lib/python/docutils/parsers/rst/languages/ru.py ===
# Author: Roman Suzi
# Contact: rnd@onego.ru
# Revision: $Revision: 1.1.2.1 $
# Date: $Date: 2003/07/21 16:38:15 $
# 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
reStructuredText.
"""
__docformat__ = 'reStructuredText'
directives = {
u'\u0431\u043b\u043e\u043a-\u0441\u0442\u0440\u043e\u043a': u'line-block',
u'meta': u'meta',
u'\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439-\u043b\u0438\u0442\u0435\u0440\u0430\u043b':
u'parsed-literal',
u'\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0430\u044f-\u0446\u0438\u0442\u0430\u0442\u0430':
u'pull-quote',
u'\u0441\u044b\u0440\u043e\u0439': u'raw',
u'\u0437\u0430\u043c\u0435\u043d\u0430': u'replace',
u'\u0442\u0435\u0441\u0442\u043e\u0432\u0430\u044f-\u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0430-restructuredtext':
u'restructuredtext-test-directive',
u'\u0446\u0435\u043b\u0435\u0432\u044b\u0435-\u0441\u043d\u043e\u0441\u043a\u0438':
u'target-notes',
u'unicode': u'unicode',
u'\u0431\u043e\u043a\u043e\u0432\u0430\u044f-\u043f\u043e\u043b\u043e\u0441\u0430':
u'sidebar',
u'\u0432\u0430\u0436\u043d\u043e': u'important',
u'\u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c': u'include',
u'\u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435': u'attention',
u'\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435': u'highlights',
u'\u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435': u'admonition',
u'\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435':
u'image',
u'\u043a\u043b\u0430\u0441\u0441': u'class',
u'\u043d\u043e\u043c\u0435\u0440-\u0440\u0430\u0437\u0434\u0435\u043b\u0430':
u'sectnum',
u'\u043d\u0443\u043c\u0435\u0440\u0430\u0446\u0438\u044f-\u0440\u0430\u0437'
u'\u0434\u0435\u043b\u043e\u0432': u'sectnum',
u'\u043e\u043f\u0430\u0441\u043d\u043e': u'danger',
u'\u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u043e': u'caution',
u'\u043e\u0448\u0438\u0431\u043a\u0430': u'error',
u'\u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430': u'tip',
u'\u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d'
u'\u0438\u0435': u'warning',
u'\u043f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435': u'note',
u'\u0440\u0438\u0441\u0443\u043d\u043e\u043a': u'figure',
u'\u0440\u0443\u0431\u0440\u0438\u043a\u0430': u'rubric',
u'\u0441\u043e\u0432\u0435\u0442': u'hint',
u'\u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435': u'contents',
u'\u0442\u0435\u043c\u0430': u'topic',
u'\u044d\u043f\u0438\u0433\u0440\u0430\u0444': u'epigraph'}
"""Russian name to registered (in directives/__init__.py) directive name
mapping."""
roles = {
u'\u0430\u043a\u0440\u043e\u043d\u0438\u043c': 'acronym',
u'\u0430\u043d\u043e\u043d\u0438\u043c\u043d\u0430\u044f-\u0441\u0441\u044b\u043b\u043a\u0430':
'anonymous-reference',
u'\u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e': 'literal',
u'\u0432\u0435\u0440\u0445\u043d\u0438\u0439-\u0438\u043d\u0434\u0435\u043a\u0441':
'superscript',
u'\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435': 'emphasis',
u'\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u0430\u044f-\u0441\u0441\u044b\u043b\u043a\u0430':
'named-reference',
u'\u0438\u043d\u0434\u0435\u043a\u0441': 'index',
u'\u043d\u0438\u0436\u043d\u0438\u0439-\u0438\u043d\u0434\u0435\u043a\u0441':
'subscript',
u'\u0441\u0438\u043b\u044c\u043d\u043e\u0435-\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435':
'strong',
u'\u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0435':
'abbreviation',
u'\u0441\u0441\u044b\u043b\u043a\u0430-\u0437\u0430\u043c\u0435\u043d\u0430':
'substitution-reference',
u'\u0441\u0441\u044b\u043b\u043a\u0430-\u043d\u0430-pep': 'pep-reference',
u'\u0441\u0441\u044b\u043b\u043a\u0430-\u043d\u0430-rfc': 'rfc-reference',
u'\u0441\u0441\u044b\u043b\u043a\u0430-\u043d\u0430-uri': 'uri-reference',
u'\u0441\u0441\u044b\u043b\u043a\u0430-\u043d\u0430-\u0437\u0430\u0433\u043b\u0430\u0432\u0438\u0435':
'title-reference',
u'\u0441\u0441\u044b\u043b\u043a\u0430-\u043d\u0430-\u0441\u043d\u043e\u0441\u043a\u0443':
'footnote-reference',
u'\u0446\u0438\u0442\u0430\u0442\u043d\u0430\u044f-\u0441\u0441\u044b\u043b\u043a\u0430':
'citation-reference',
u'\u0446\u0435\u043b\u044c': 'target'}
"""Mapping of Russian role names to canonical role names for interpreted text.
"""
=== Zope/lib/python/docutils/parsers/rst/languages/__init__.py 1.2 => 1.2.10.1 ===
--- Zope/lib/python/docutils/parsers/rst/languages/__init__.py:1.2 Sat Feb 1 04:26:13 2003
+++ Zope/lib/python/docutils/parsers/rst/languages/__init__.py Mon Jul 21 12:38:15 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
reStructuredText.
=== Zope/lib/python/docutils/parsers/rst/languages/de.py 1.2 => 1.2.10.1 ===
--- Zope/lib/python/docutils/parsers/rst/languages/de.py:1.2 Sat Feb 1 04:26:13 2003
+++ Zope/lib/python/docutils/parsers/rst/languages/de.py Mon Jul 21 12:38:15 2003
@@ -1,9 +1,15 @@
+# -*- coding: iso-8859-1 -*-
# Author: Engelbert Gruber
# Contact: grubert@users.sourceforge.net
# Revision: $Revision$
# 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
reStructuredText.
@@ -22,9 +28,15 @@
'notiz': 'note',
'tip': 'tip',
'warnung': 'warning',
- 'topic': 'topic', # Überbegriff
+ 'ermahnung': 'admonition',
+ 'kasten': 'sidebar', # seitenkasten ?
+ 'thema': 'topic',
'line-block': 'line-block',
'parsed-literal': 'parsed-literal',
+ 'rubrik': 'rubric',
+ 'epigraph (translation required)': 'epigraph',
+ 'highlights (translation required)': 'highlights',
+ 'pull-quote (translation required)': 'pull-quote', # kasten too ?
#'questions': 'questions',
#'qa': 'questions',
#'faq': 'questions',
@@ -35,7 +47,9 @@
'raw': 'raw', # unbearbeitet
'include': 'include', # einfügen, "füge ein" would be more like a command.
# einfügung would be the noun.
- 'replace': 'replace', # ersetzen, ersetze
+ 'ersetzung': 'replace', # ersetzen, ersetze
+ 'unicode': 'unicode',
+ 'klasse': 'class', # offer class too ?
'inhalt': 'contents',
'sectnum': 'sectnum',
'section-numbering': 'sectnum',
@@ -43,5 +57,27 @@
#'footnotes': 'footnotes',
#'citations': 'citations',
'restructuredtext-test-directive': 'restructuredtext-test-directive'}
-"""English name to registered (in directives/__init__.py) directive name
+"""German name to registered (in directives/__init__.py) directive name
mapping."""
+
+roles = {
+ 'abbreviation (translation required)': 'abbreviation',
+ 'acronym (translation required)': 'acronym',
+ 'index (translation required)': 'index',
+ 'subscript (translation required)': 'subscript',
+ 'superscript (translation required)': 'superscript',
+ 'title-reference (translation required)': 'title-reference',
+ 'pep-reference (translation required)': 'pep-reference',
+ 'rfc-reference (translation required)': 'rfc-reference',
+ 'emphasis (translation required)': 'emphasis',
+ 'strong (translation required)': 'strong',
+ 'literal (translation required)': 'literal',
+ 'named-reference (translation required)': 'named-reference',
+ 'anonymous-reference (translation required)': 'anonymous-reference',
+ 'footnote-reference (translation required)': 'footnote-reference',
+ 'citation-reference (translation required)': 'citation-reference',
+ 'substitution-reference (translation required)': 'substitution-reference',
+ 'target (translation required)': 'target',
+ 'uri-reference (translation required)': 'uri-reference',}
+"""Mapping of German role names to canonical role names for interpreted text.
+"""
=== Zope/lib/python/docutils/parsers/rst/languages/en.py 1.2 => 1.2.10.1 ===
--- Zope/lib/python/docutils/parsers/rst/languages/en.py:1.2 Sat Feb 1 04:26:13 2003
+++ Zope/lib/python/docutils/parsers/rst/languages/en.py Mon Jul 21 12:38:15 2003
@@ -4,6 +4,11 @@
# 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
reStructuredText.
@@ -13,6 +18,7 @@
directives = {
+ # language-dependent: fixed
'attention': 'attention',
'caution': 'caution',
'danger': 'danger',
@@ -22,9 +28,15 @@
'note': 'note',
'tip': 'tip',
'warning': 'warning',
+ 'admonition': 'admonition',
+ 'sidebar': 'sidebar',
'topic': 'topic',
'line-block': 'line-block',
'parsed-literal': 'parsed-literal',
+ 'rubric': 'rubric',
+ 'epigraph': 'epigraph',
+ 'highlights': 'highlights',
+ 'pull-quote': 'pull-quote',
#'questions': 'questions',
#'qa': 'questions',
#'faq': 'questions',
@@ -35,23 +47,30 @@
'include': 'include',
'raw': 'raw',
'replace': 'replace',
+ 'unicode': 'unicode',
+ 'class': 'class',
'contents': 'contents',
'sectnum': 'sectnum',
'section-numbering': 'sectnum',
- 'target-notes': 'target-notes',
#'footnotes': 'footnotes',
#'citations': 'citations',
+ 'target-notes': 'target-notes',
'restructuredtext-test-directive': 'restructuredtext-test-directive'}
"""English name to registered (in directives/__init__.py) directive name
mapping."""
roles = {
+ # language-dependent: fixed
'abbreviation': 'abbreviation',
'ab': 'abbreviation',
'acronym': 'acronym',
'ac': 'acronym',
'index': 'index',
'i': 'index',
+ 'subscript': 'subscript',
+ 'sub': 'subscript',
+ 'superscript': 'superscript',
+ 'sup': 'superscript',
'title-reference': 'title-reference',
'title': 'title-reference',
't': 'title-reference',
@@ -70,7 +89,6 @@
'target': 'target',
'uri-reference': 'uri-reference',
'uri': 'uri-reference',
- 'url': 'uri-reference',
- }
+ 'url': 'uri-reference',}
"""Mapping of English role names to canonical role names for interpreted text.
"""
=== Zope/lib/python/docutils/parsers/rst/languages/fr.py 1.2 => 1.2.10.1 ===
--- Zope/lib/python/docutils/parsers/rst/languages/fr.py:1.2 Sat Feb 1 04:26:13 2003
+++ Zope/lib/python/docutils/parsers/rst/languages/fr.py Mon Jul 21 12:38:15 2003
@@ -1,9 +1,14 @@
-# Author: your name here!
+# Authors: David Goodger; William Dode
# Contact: goodger@users.sourceforge.net
# Revision: $Revision$
# 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
reStructuredText.
@@ -13,34 +18,72 @@
directives = {
- 'attention (translation required)': 'attention',
- 'caution (translation required)': 'caution',
- 'danger (translation required)': 'danger',
- 'error (translation required)': 'error',
- 'hint (translation required)': 'hint',
- 'important (translation required)': 'important',
- 'note (translation required)': 'note',
- 'tip (translation required)': 'tip',
- 'warning (translation required)': 'warning',
- 'topic (translation required)': 'topic',
- 'line-block (translation required)': 'line-block',
- 'parsed-literal (translation required)': 'parsed-literal',
- #'questions (translation required)': 'questions',
- #'qa (translation required)': 'questions',
- #'faq (translation required)': 'questions',
- 'meta (translation required)': 'meta',
- #'imagemap (translation required)': 'imagemap',
- 'image (translation required)': 'image',
- 'figure (translation required)': 'figure',
- 'include (translation required)': 'include',
- 'raw (translation required)': 'raw',
- 'replace (translation required)': 'replace',
- 'contents (translation required)': 'contents',
- 'sectnum (translation required)': 'sectnum',
- 'section-numbering (translation required)': 'sectnum',
- 'target-notes (translation required)': 'target-notes',
- #'footnotes (translation required)': 'footnotes',
- #'citations (translation required)': 'citations',
+ u'attention': 'attention',
+ u'pr\u00E9caution': 'caution',
+ u'danger': 'danger',
+ u'erreur': 'error',
+ u'conseil': 'hint',
+ u'important': 'important',
+ u'note': 'note',
+ u'astuce': 'tip',
+ u'avertissement': 'warning',
+ u'admonition': 'admonition',
+ u'encadr\u00E9': 'sidebar',
+ u'sujet': 'topic',
+ u'bloc-textuel': 'line-block',
+ u'bloc-interpr\u00E9t\u00E9': 'parsed-literal',
+ u'code-interpr\u00E9t\u00E9': 'parsed-literal',
+ u'intertitre': 'rubric',
+ u'exergue': 'epigraph',
+ u'\u00E9pigraphe': 'epigraph',
+ u'chapeau': 'highlights',
+ u'accroche': 'pull-quote',
+ #u'questions': 'questions',
+ #u'qr': 'questions',
+ #u'faq': 'questions',
+ u'm\u00E9ta': 'meta',
+ #u'imagemap (translation required)': 'imagemap',
+ u'image': 'image',
+ u'figure': 'figure',
+ u'inclure': 'include',
+ u'brut': 'raw',
+ u'remplacer': 'replace',
+ u'remplace': 'replace',
+ u'unicode': 'unicode',
+ u'classe': 'class',
+ u'sommaire': 'contents',
+ u'table-des-mati\u00E8res': 'contents',
+ u'sectnum': 'sectnum',
+ u'section-num\u00E9rot\u00E9e': 'sectnum',
+ u'liens': 'target-notes',
+ #u'footnotes (translation required)': 'footnotes',
+ #u'citations (translation required)': 'citations',
}
"""French name to registered (in directives/__init__.py) directive name
mapping."""
+
+roles = {
+ u'abr\u00E9viation': 'abbreviation',
+ u'acronyme': 'acronym',
+ u'sigle': 'acronym',
+ u'index': 'index',
+ u'indice': 'subscript',
+ u'ind': 'subscript',
+ u'exposant': 'superscript',
+ u'exp': 'superscript',
+ u'titre-r\u00E9f\u00E9rence': 'title-reference',
+ u'titre': 'title-reference',
+ u'pep-r\u00E9f\u00E9rence': 'pep-reference',
+ u'rfc-r\u00E9f\u00E9rence': 'rfc-reference',
+ u'emphase': 'emphasis',
+ u'fort': 'strong',
+ u'litt\u00E9ral': 'literal',
+ u'nomm\u00E9e-r\u00E9f\u00E9rence': 'named-reference',
+ u'anonyme-r\u00E9f\u00E9rence': 'anonymous-reference',
+ u'note-r\u00E9f\u00E9rence': 'footnote-reference',
+ u'citation-r\u00E9f\u00E9rence': 'citation-reference',
+ u'substitution-r\u00E9f\u00E9rence': 'substitution-reference',
+ u'lien': 'target',
+ u'uri-r\u00E9f\u00E9rence': 'uri-reference',}
+"""Mapping of French role names to canonical role names for interpreted text.
+"""
=== Zope/lib/python/docutils/parsers/rst/languages/it.py 1.2 => 1.2.10.1 ===
--- Zope/lib/python/docutils/parsers/rst/languages/it.py:1.2 Sat Feb 1 04:26:13 2003
+++ Zope/lib/python/docutils/parsers/rst/languages/it.py Mon Jul 21 12:38:15 2003
@@ -4,6 +4,11 @@
# 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
reStructuredText.
@@ -22,9 +27,15 @@
'nota': 'note',
'consiglio': 'tip',
'avvertenza': 'warning',
+ 'admonition (translation required)': 'admonition',
+ 'sidebar (translation required)': 'sidebar',
'argomento': 'topic',
'blocco di linee': 'line-block',
'parsed-literal': 'parsed-literal',
+ 'rubric (translation required)': 'rubric',
+ 'epigraph (translation required)': 'epigraph',
+ 'highlights (translation required)': 'highlights',
+ 'pull-quote (translation required)': 'pull-quote',
#'questions': 'questions',
#'qa': 'questions',
#'faq': 'questions',
@@ -35,6 +46,8 @@
'includi': 'include',
'grezzo': 'raw',
'sostituisci': 'replace',
+ 'unicode': 'unicode',
+ 'class (translation required)': 'class',
'indice': 'contents',
'seznum': 'sectnum',
'section-numbering': 'sectnum',
@@ -42,5 +55,27 @@
#'footnotes': 'footnotes',
#'citations': 'citations',
'restructuredtext-test-directive': 'restructuredtext-test-directive'}
-"""English name to registered (in directives/__init__.py) directive name
+"""Italian name to registered (in directives/__init__.py) directive name
mapping."""
+
+roles = {
+ 'abbreviation (translation required)': 'abbreviation',
+ 'acronym (translation required)': 'acronym',
+ 'index (translation required)': 'index',
+ 'subscript (translation required)': 'subscript',
+ 'superscript (translation required)': 'superscript',
+ 'title-reference (translation required)': 'title-reference',
+ 'pep-reference (translation required)': 'pep-reference',
+ 'rfc-reference (translation required)': 'rfc-reference',
+ 'emphasis (translation required)': 'emphasis',
+ 'strong (translation required)': 'strong',
+ 'literal (translation required)': 'literal',
+ 'named-reference (translation required)': 'named-reference',
+ 'anonymous-reference (translation required)': 'anonymous-reference',
+ 'footnote-reference (translation required)': 'footnote-reference',
+ 'citation-reference (translation required)': 'citation-reference',
+ 'substitution-reference (translation required)': 'substitution-reference',
+ 'target (translation required)': 'target',
+ 'uri-reference (translation required)': 'uri-reference',}
+"""Mapping of Italian role names to canonical role names for interpreted text.
+"""
=== Zope/lib/python/docutils/parsers/rst/languages/sk.py 1.2 => 1.2.10.1 ===
--- Zope/lib/python/docutils/parsers/rst/languages/sk.py:1.2 Sat Feb 1 04:26:13 2003
+++ Zope/lib/python/docutils/parsers/rst/languages/sk.py Mon Jul 21 12:38:15 2003
@@ -4,6 +4,11 @@
# 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
reStructuredText.
@@ -22,9 +27,15 @@
u'pozn\xe1mka': 'note',
u'tip': 'tip',
u'varovanie': 'warning',
+ u'admonition (translation required)': 'admonition',
+ u'sidebar (translation required)': 'sidebar',
u't\xe9ma': 'topic',
u'blok-riadkov': 'line-block',
u'parsed-literal': 'parsed-literal',
+ u'rubric (translation required)': 'rubric',
+ u'epigraph (translation required)': 'epigraph',
+ u'highlights (translation required)': 'highlights',
+ u'pull-quote (translation required)': 'pull-quote',
#u'questions': 'questions',
#u'qa': 'questions',
#u'faq': 'questions',
@@ -35,6 +46,8 @@
u'vlo\x9ei\x9d': 'include',
u'raw': 'raw',
u'nahradi\x9d': 'replace',
+ u'unicode': 'unicode',
+ u'class (translation required)': 'class',
u'obsah': 'contents',
u'\xe8as\x9d': 'sectnum',
u'\xe8as\x9d-\xe8\xedslovanie': 'sectnum',
@@ -44,3 +57,25 @@
}
"""Slovak name to registered (in directives/__init__.py) directive name
mapping."""
+
+roles = {
+ u'abbreviation (translation required)': 'abbreviation',
+ u'acronym (translation required)': 'acronym',
+ u'index (translation required)': 'index',
+ u'subscript (translation required)': 'subscript',
+ u'superscript (translation required)': 'superscript',
+ u'title-reference (translation required)': 'title-reference',
+ u'pep-reference (translation required)': 'pep-reference',
+ u'rfc-reference (translation required)': 'rfc-reference',
+ u'emphasis (translation required)': 'emphasis',
+ u'strong (translation required)': 'strong',
+ u'literal (translation required)': 'literal',
+ u'named-reference (translation required)': 'named-reference',
+ u'anonymous-reference (translation required)': 'anonymous-reference',
+ u'footnote-reference (translation required)': 'footnote-reference',
+ u'citation-reference (translation required)': 'citation-reference',
+ u'substitution-reference (translation required)': 'substitution-reference',
+ u'target (translation required)': 'target',
+ u'uri-reference (translation required)': 'uri-reference',}
+"""Mapping of Slovak role names to canonical role names for interpreted text.
+"""
=== Zope/lib/python/docutils/parsers/rst/languages/sv.py 1.2 => 1.2.10.1 ===
--- Zope/lib/python/docutils/parsers/rst/languages/sv.py:1.2 Sat Feb 1 04:26:13 2003
+++ Zope/lib/python/docutils/parsers/rst/languages/sv.py Mon Jul 21 12:38:15 2003
@@ -4,6 +4,11 @@
# 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 reStructuredText.
"""
@@ -21,9 +26,15 @@
u'notera': 'note',
u'tips': 'tip',
u'varning': 'warning',
+ u'admonition (translation required)': 'admonition',
+ u'sidebar (translation required)': 'sidebar',
u'\u00e4mne': 'topic',
- 'line-block (translation required)': 'line-block',
- 'parsed-literal (translation required)': 'parsed-literal',
+ u'line-block (translation required)': 'line-block',
+ u'parsed-literal (translation required)': 'parsed-literal',
+ u'mellanrubrik': 'rubric',
+ u'epigraph (translation required)': 'epigraph',
+ u'highlights (translation required)': 'highlights',
+ u'pull-quote (translation required)': 'pull-quote',
# u'fr\u00e5gor': 'questions',
# NOTE: A bit long, but recommended by http://www.nada.kth.se/dataterm/:
# u'fr\u00e5gor-och-svar': 'questions',
@@ -32,15 +43,38 @@
# u'bildkarta': 'imagemap', # FIXME: Translation might be too literal.
u'bild': 'image',
u'figur': 'figure',
- 'include (translation required)': 'include',
+ u'inkludera': 'include',
u'r\u00e5': 'raw', # FIXME: Translation might be too literal.
- 'replace (translation required)': 'replace',
+ u'ers\u00e4tt': 'replace',
+ u'unicode': 'unicode',
+ u'class (translation required)': 'class',
u'inneh\u00e5ll': 'contents',
- 'sectnum (translation required)': 'sectnum',
- 'section-numbering (translation required)': 'sectnum',
- 'target-notes (translation required)': 'target-notes',
+ u'sektionsnumrering': 'sectnum',
+ u'target-notes (translation required)': 'target-notes',
# u'fotnoter': 'footnotes',
# u'citeringar': 'citations',
}
"""Swedish name to registered (in directives/__init__.py) directive name
mapping."""
+
+roles = {
+ u'abbreviation (translation required)': 'abbreviation',
+ u'acronym (translation required)': 'acronym',
+ u'index (translation required)': 'index',
+ u'subscript (translation required)': 'subscript',
+ u'superscript (translation required)': 'superscript',
+ u'title-reference (translation required)': 'title-reference',
+ u'pep-reference (translation required)': 'pep-reference',
+ u'rfc-reference (translation required)': 'rfc-reference',
+ u'emphasis (translation required)': 'emphasis',
+ u'strong (translation required)': 'strong',
+ u'literal (translation required)': 'literal',
+ u'named-reference (translation required)': 'named-reference',
+ u'anonymous-reference (translation required)': 'anonymous-reference',
+ u'footnote-reference (translation required)': 'footnote-reference',
+ u'citation-reference (translation required)': 'citation-reference',
+ u'substitution-reference (translation required)': 'substitution-reference',
+ u'target (translation required)': 'target',
+ u'uri-reference (translation required)': 'uri-reference',}
+"""Mapping of Swedish role names to canonical role names for interpreted text.
+"""