Initial commit
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# $Id: __init__.py 8239 2018-11-21 21:46:00Z milde $
|
||||
# Author: David Goodger <goodger@python.org>
|
||||
# Copyright: This module has been placed in the public domain.
|
||||
|
||||
# Internationalization details are documented in
|
||||
# <http://docutils.sf.net/docs/howto/i18n.html>.
|
||||
|
||||
"""
|
||||
This package contains modules for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
import sys
|
||||
|
||||
from docutils.utils import normalize_language_tag
|
||||
|
||||
|
||||
_languages = {}
|
||||
|
||||
def get_language(language_code):
|
||||
for tag in normalize_language_tag(language_code):
|
||||
tag = tag.replace('-','_') # '-' not valid in module names
|
||||
if tag in _languages:
|
||||
return _languages[tag]
|
||||
try:
|
||||
module = __import__(tag, globals(), locals(), level=1)
|
||||
except ImportError:
|
||||
try:
|
||||
module = __import__(tag, globals(), locals(), level=0)
|
||||
except ImportError:
|
||||
continue
|
||||
_languages[tag] = module
|
||||
return module
|
||||
return None
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,106 @@
|
||||
# $Id: af.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Author: Jannie Hofmeyr <jhsh@sun.ac.za>
|
||||
# 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/docs/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',
|
||||
'code (translation required)': 'code',
|
||||
'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',
|
||||
'math (translation required)': 'math',
|
||||
'parsed-literal (translation required)': 'parsed-literal',
|
||||
'rubriek': 'rubric',
|
||||
'epigraaf': 'epigraph',
|
||||
'hoogtepunte': 'highlights',
|
||||
'pull-quote (translation required)': 'pull-quote',
|
||||
'compound (translation required)': 'compound',
|
||||
'container (translation required)': 'container',
|
||||
#'vrae': 'questions',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'table (translation required)': 'table',
|
||||
'csv-table (translation required)': 'csv-table',
|
||||
'list-table (translation required)': 'list-table',
|
||||
'meta': 'meta',
|
||||
#'beeldkaart': 'imagemap',
|
||||
'beeld': 'image',
|
||||
'figuur': 'figure',
|
||||
'insluiting': 'include',
|
||||
'rou': 'raw',
|
||||
'vervang': 'replace',
|
||||
'unicode': 'unicode', # should this be translated? unikode
|
||||
'datum': 'date',
|
||||
'klas': 'class',
|
||||
'role (translation required)': 'role',
|
||||
'default-role (translation required)': 'default-role',
|
||||
'title (translation required)': 'title',
|
||||
'inhoud': 'contents',
|
||||
'sectnum': 'sectnum',
|
||||
'section-numbering': 'sectnum',
|
||||
'header (translation required)': 'header',
|
||||
'footer (translation required)': 'footer',
|
||||
#'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',
|
||||
'code (translation required)': 'code',
|
||||
'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',
|
||||
'math (translation required)': 'math',
|
||||
'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',
|
||||
'rou': 'raw',}
|
||||
"""Mapping of Afrikaans role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,125 @@
|
||||
# $Id: ca.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Author: Ivan Vilata i Balaguer <ivan@selidor.net>
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Catalan-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'atenci\u00F3': 'attention',
|
||||
'compte': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'perill': 'danger',
|
||||
'error': 'error',
|
||||
'suggeriment': 'hint',
|
||||
'important': 'important',
|
||||
'nota': 'note',
|
||||
'consell': 'tip',
|
||||
'av\u00EDs': 'warning',
|
||||
'advertiment': 'admonition',
|
||||
'nota-al-marge': 'sidebar',
|
||||
'nota-marge': 'sidebar',
|
||||
'tema': 'topic',
|
||||
'bloc-de-l\u00EDnies': 'line-block',
|
||||
'bloc-l\u00EDnies': 'line-block',
|
||||
'literal-analitzat': 'parsed-literal',
|
||||
'r\u00FAbrica': 'rubric',
|
||||
'ep\u00EDgraf': 'epigraph',
|
||||
'sumari': 'highlights',
|
||||
'cita-destacada': 'pull-quote',
|
||||
'compost': 'compound',
|
||||
'container (translation required)': 'container',
|
||||
#'questions': 'questions',
|
||||
'taula': 'table',
|
||||
'taula-csv': 'csv-table',
|
||||
'taula-llista': 'list-table',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'math (translation required)': 'math',
|
||||
'meta': 'meta',
|
||||
#'imagemap': 'imagemap',
|
||||
'imatge': 'image',
|
||||
'figura': 'figure',
|
||||
'inclou': 'include',
|
||||
'incloure': 'include',
|
||||
'cru': 'raw',
|
||||
'reempla\u00E7a': 'replace',
|
||||
'reempla\u00E7ar': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'data': 'date',
|
||||
'classe': 'class',
|
||||
'rol': 'role',
|
||||
'default-role (translation required)': 'default-role',
|
||||
'title (translation required)': 'title',
|
||||
'contingut': 'contents',
|
||||
'numsec': 'sectnum',
|
||||
'numeraci\u00F3-de-seccions': 'sectnum',
|
||||
'numeraci\u00F3-seccions': 'sectnum',
|
||||
'cap\u00E7alera': 'header',
|
||||
'peu-de-p\u00E0gina': 'footer',
|
||||
'peu-p\u00E0gina': 'footer',
|
||||
#'footnotes': 'footnotes',
|
||||
#'citations': 'citations',
|
||||
'notes-amb-destinacions': 'target-notes',
|
||||
'notes-destinacions': 'target-notes',
|
||||
'directiva-de-prova-de-restructuredtext': 'restructuredtext-test-directive'}
|
||||
"""Catalan name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'abreviatura': 'abbreviation',
|
||||
'abreviaci\u00F3': 'abbreviation',
|
||||
'abrev': 'abbreviation',
|
||||
'ab': 'abbreviation',
|
||||
'acr\u00F2nim': 'acronym',
|
||||
'ac': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'\u00EDndex': 'index',
|
||||
'i': 'index',
|
||||
'sub\u00EDndex': 'subscript',
|
||||
'sub': 'subscript',
|
||||
'super\u00EDndex': 'superscript',
|
||||
'sup': 'superscript',
|
||||
'refer\u00E8ncia-a-t\u00EDtol': 'title-reference',
|
||||
'refer\u00E8ncia-t\u00EDtol': 'title-reference',
|
||||
't\u00EDtol': 'title-reference',
|
||||
't': 'title-reference',
|
||||
'refer\u00E8ncia-a-pep': 'pep-reference',
|
||||
'refer\u00E8ncia-pep': 'pep-reference',
|
||||
'pep': 'pep-reference',
|
||||
'refer\u00E8ncia-a-rfc': 'rfc-reference',
|
||||
'refer\u00E8ncia-rfc': 'rfc-reference',
|
||||
'rfc': 'rfc-reference',
|
||||
'\u00E8mfasi': 'emphasis',
|
||||
'destacat': 'strong',
|
||||
'literal': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'refer\u00E8ncia-amb-nom': 'named-reference',
|
||||
'refer\u00E8ncia-nom': 'named-reference',
|
||||
'refer\u00E8ncia-an\u00F2nima': 'anonymous-reference',
|
||||
'refer\u00E8ncia-a-nota-al-peu': 'footnote-reference',
|
||||
'refer\u00E8ncia-nota-al-peu': 'footnote-reference',
|
||||
'refer\u00E8ncia-a-cita': 'citation-reference',
|
||||
'refer\u00E8ncia-cita': 'citation-reference',
|
||||
'refer\u00E8ncia-a-substituci\u00F3': 'substitution-reference',
|
||||
'refer\u00E8ncia-substituci\u00F3': 'substitution-reference',
|
||||
'destinaci\u00F3': 'target',
|
||||
'refer\u00E8ncia-a-uri': 'uri-reference',
|
||||
'refer\u00E8ncia-uri': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'cru': 'raw',}
|
||||
"""Mapping of Catalan role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,108 @@
|
||||
# $Id: cs.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Author: Marek Blaha <mb@dat.cz>
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Czech-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'pozor': 'attention',
|
||||
'caution (translation required)': 'caution', # jak rozlisit caution a warning?
|
||||
'code (translation required)': 'code',
|
||||
'nebezpe\u010D\u00ED': 'danger',
|
||||
'chyba': 'error',
|
||||
'rada': 'hint',
|
||||
'd\u016Fle\u017Eit\u00E9': 'important',
|
||||
'pozn\u00E1mka': 'note',
|
||||
'tip (translation required)': 'tip',
|
||||
'varov\u00E1n\u00ED': 'warning',
|
||||
'admonition (translation required)': 'admonition',
|
||||
'sidebar (translation required)': 'sidebar',
|
||||
't\u00E9ma': 'topic',
|
||||
'line-block (translation required)': 'line-block',
|
||||
'parsed-literal (translation required)': 'parsed-literal',
|
||||
'odd\u00EDl': 'rubric',
|
||||
'moto': 'epigraph',
|
||||
'highlights (translation required)': 'highlights',
|
||||
'pull-quote (translation required)': 'pull-quote',
|
||||
'compound (translation required)': 'compound',
|
||||
'container (translation required)': 'container',
|
||||
#'questions': 'questions',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'table (translation required)': 'table',
|
||||
'csv-table (translation required)': 'csv-table',
|
||||
'list-table (translation required)': 'list-table',
|
||||
'math (translation required)': 'math',
|
||||
'meta (translation required)': 'meta',
|
||||
#'imagemap': 'imagemap',
|
||||
'image (translation required)': 'image', # obrazek
|
||||
'figure (translation required)': 'figure', # a tady?
|
||||
'include (translation required)': 'include',
|
||||
'raw (translation required)': 'raw',
|
||||
'replace (translation required)': 'replace',
|
||||
'unicode (translation required)': 'unicode',
|
||||
'datum': 'date',
|
||||
't\u0159\u00EDda': 'class',
|
||||
'role (translation required)': 'role',
|
||||
'default-role (translation required)': 'default-role',
|
||||
'title (translation required)': 'title',
|
||||
'obsah': 'contents',
|
||||
'sectnum (translation required)': 'sectnum',
|
||||
'section-numbering (translation required)': 'sectnum',
|
||||
'header (translation required)': 'header',
|
||||
'footer (translation required)': 'footer',
|
||||
#'footnotes': 'footnotes',
|
||||
#'citations': 'citations',
|
||||
'target-notes (translation required)': 'target-notes',
|
||||
'restructuredtext-test-directive': 'restructuredtext-test-directive'}
|
||||
"""Czech name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'abbreviation (translation required)': 'abbreviation',
|
||||
'ab (translation required)': 'abbreviation',
|
||||
'acronym (translation required)': 'acronym',
|
||||
'ac (translation required)': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'index (translation required)': 'index',
|
||||
'i (translation required)': 'index',
|
||||
'subscript (translation required)': 'subscript',
|
||||
'sub (translation required)': 'subscript',
|
||||
'superscript (translation required)': 'superscript',
|
||||
'sup (translation required)': 'superscript',
|
||||
'title-reference (translation required)': 'title-reference',
|
||||
'title (translation required)': 'title-reference',
|
||||
't (translation required)': 'title-reference',
|
||||
'pep-reference (translation required)': 'pep-reference',
|
||||
'pep (translation required)': 'pep-reference',
|
||||
'rfc-reference (translation required)': 'rfc-reference',
|
||||
'rfc (translation required)': 'rfc-reference',
|
||||
'emphasis (translation required)': 'emphasis',
|
||||
'strong (translation required)': 'strong',
|
||||
'literal (translation required)': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'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',
|
||||
'uri (translation required)': 'uri-reference',
|
||||
'url (translation required)': 'uri-reference',
|
||||
'raw (translation required)': 'raw',}
|
||||
"""Mapping of Czech role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,113 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# $Id: da.py 7678 2013-07-03 09:57:36Z milde $
|
||||
# Author: E D
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Danish-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'giv agt': 'attention',
|
||||
'pas på': 'caution',
|
||||
'kode': 'code',
|
||||
'kode-blok': 'code',
|
||||
'kildekode': 'code',
|
||||
'fare': 'danger',
|
||||
'fejl': 'error',
|
||||
'vink': 'hint',
|
||||
'vigtigt': 'important',
|
||||
'bemærk': 'note',
|
||||
'tips': 'tip',
|
||||
'advarsel': 'warning',
|
||||
'formaning': 'admonition',
|
||||
'sidebjælke': 'sidebar',
|
||||
'emne': 'topic',
|
||||
'linje-blok': 'line-block',
|
||||
'linie-blok': 'line-block',
|
||||
'parset-literal': 'parsed-literal',
|
||||
'rubrik': 'rubric',
|
||||
'epigraf': 'epigraph',
|
||||
'fremhævninger': 'highlights',
|
||||
'pull-quote (translation required)': 'pull-quote',
|
||||
'compound (translation required)': 'compound',
|
||||
'container (translation required)': 'container',
|
||||
#'questions': 'questions',
|
||||
'tabel': 'table',
|
||||
'csv-tabel': 'csv-table',
|
||||
'liste-tabel': 'list-table',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'meta': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#'imagemap': 'imagemap',
|
||||
'billede': 'image',
|
||||
'figur': 'figure',
|
||||
'inkludér': 'include',
|
||||
'inkluder': 'include',
|
||||
'rå': 'raw',
|
||||
'erstat': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'dato': 'date',
|
||||
'klasse': 'class',
|
||||
'rolle': 'role',
|
||||
'forvalgt-rolle': 'default-role',
|
||||
'titel': 'title',
|
||||
'indhold': 'contents',
|
||||
'sektnum': 'sectnum',
|
||||
'sektions-nummerering': 'sectnum',
|
||||
'sidehovede': 'header',
|
||||
'sidefod': 'footer',
|
||||
#'footnotes': 'footnotes',
|
||||
#'citations': 'citations',
|
||||
'target-notes (translation required)': 'target-notes',
|
||||
'restructuredtext-test-direktiv': 'restructuredtext-test-directive'}
|
||||
"""Danish name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'forkortelse': 'abbreviation',
|
||||
'fork': 'abbreviation',
|
||||
'akronym': 'acronym',
|
||||
'ac (translation required)': 'acronym',
|
||||
'kode': 'code',
|
||||
'indeks': 'index',
|
||||
'i': 'index',
|
||||
'subscript (translation required)': 'subscript',
|
||||
'sub (translation required)': 'subscript',
|
||||
'superscript (translation required)': 'superscript',
|
||||
'sup (translation required)': 'superscript',
|
||||
'titel-reference': 'title-reference',
|
||||
'titel': 'title-reference',
|
||||
't': 'title-reference',
|
||||
'pep-reference': 'pep-reference',
|
||||
'pep': 'pep-reference',
|
||||
'rfc-reference': 'rfc-reference',
|
||||
'rfc': 'rfc-reference',
|
||||
'emfase': 'emphasis',
|
||||
'kraftig': 'strong',
|
||||
'literal': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'navngivet-reference': 'named-reference',
|
||||
'anonym-reference': 'anonymous-reference',
|
||||
'fodnote-reference': 'footnote-reference',
|
||||
'citation-reference (translation required)': 'citation-reference',
|
||||
'substitutions-reference': 'substitution-reference',
|
||||
'target (translation required)': 'target',
|
||||
'uri-reference': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'rå': 'raw',}
|
||||
"""Mapping of Danish role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,105 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# $Id: de.py 8006 2016-12-22 23:02:44Z milde $
|
||||
# Authors: Engelbert Gruber <grubert@users.sourceforge.net>;
|
||||
# Lea Wiemann <LeWiemann@gmail.com>
|
||||
# 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/docs/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.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
'achtung': 'attention',
|
||||
'vorsicht': 'caution',
|
||||
'code': 'code',
|
||||
'gefahr': 'danger',
|
||||
'fehler': 'error',
|
||||
'hinweis': 'hint',
|
||||
'wichtig': 'important',
|
||||
'notiz': 'note',
|
||||
'tipp': 'tip',
|
||||
'warnung': 'warning',
|
||||
'ermahnung': 'admonition',
|
||||
'kasten': 'sidebar',
|
||||
'seitenkasten': 'sidebar', # kept for backwards compatibiltity
|
||||
'seitenleiste': 'sidebar',
|
||||
'thema': 'topic',
|
||||
'zeilenblock': 'line-block',
|
||||
'parsed-literal (translation required)': 'parsed-literal',
|
||||
'rubrik': 'rubric',
|
||||
'epigraph': 'epigraph',
|
||||
'highlights': 'highlights',
|
||||
'pull-quote': 'pull-quote', # commonly used in German too
|
||||
'seitenansprache': 'pull-quote', # cf. http://www.typografie.info/2/wiki.php?title=Seitenansprache
|
||||
'zusammengesetzt': 'compound',
|
||||
'verbund': 'compound',
|
||||
'container': 'container',
|
||||
#'fragen': 'questions',
|
||||
'tabelle': 'table',
|
||||
'csv-tabelle': 'csv-table',
|
||||
'listentabelle': 'list-table',
|
||||
'mathe': 'math',
|
||||
'formel': 'math',
|
||||
'meta': 'meta',
|
||||
#'imagemap': 'imagemap',
|
||||
'bild': 'image',
|
||||
'abbildung': 'figure',
|
||||
'unverändert': 'raw',
|
||||
'roh': 'raw',
|
||||
'einfügen': 'include',
|
||||
'ersetzung': 'replace',
|
||||
'ersetzen': 'replace',
|
||||
'ersetze': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'datum': 'date',
|
||||
'klasse': 'class',
|
||||
'rolle': 'role',
|
||||
'standardrolle': 'default-role',
|
||||
'titel': 'title',
|
||||
'inhalt': 'contents',
|
||||
'kapitelnummerierung': 'sectnum',
|
||||
'abschnittsnummerierung': 'sectnum',
|
||||
'linkziel-fußnoten': 'target-notes',
|
||||
'kopfzeilen': 'header',
|
||||
'fußzeilen': 'footer',
|
||||
#u'fußfnoten': 'footnotes',
|
||||
#'zitate': 'citations',
|
||||
}
|
||||
"""German name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
'abkürzung': 'abbreviation',
|
||||
'akronym': 'acronym',
|
||||
'code': 'code',
|
||||
'index': 'index',
|
||||
'tiefgestellt': 'subscript',
|
||||
'hochgestellt': 'superscript',
|
||||
'titel-referenz': 'title-reference',
|
||||
'pep-referenz': 'pep-reference',
|
||||
'rfc-referenz': 'rfc-reference',
|
||||
'betonung': 'emphasis', # for backwards compatibility
|
||||
'betont': 'emphasis',
|
||||
'fett': 'strong',
|
||||
'wörtlich': 'literal',
|
||||
'mathe': 'math',
|
||||
'benannte-referenz': 'named-reference',
|
||||
'unbenannte-referenz': 'anonymous-reference',
|
||||
'fußfnoten-referenz': 'footnote-reference',
|
||||
'zitat-referenz': 'citation-reference',
|
||||
'ersetzungs-referenz': 'substitution-reference',
|
||||
'ziel': 'target',
|
||||
'uri-referenz': 'uri-reference',
|
||||
'unverändert': 'raw',
|
||||
'roh': 'raw',}
|
||||
"""Mapping of German role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,110 @@
|
||||
# $Id: en.py 7179 2011-10-15 22:06:45Z milde $
|
||||
# Author: David Goodger <goodger@python.org>
|
||||
# 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/docs/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.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'attention': 'attention',
|
||||
'caution': 'caution',
|
||||
'code': 'code',
|
||||
'code-block': 'code',
|
||||
'sourcecode': 'code',
|
||||
'danger': 'danger',
|
||||
'error': 'error',
|
||||
'hint': 'hint',
|
||||
'important': 'important',
|
||||
'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',
|
||||
'compound': 'compound',
|
||||
'container': 'container',
|
||||
#'questions': 'questions',
|
||||
'table': 'table',
|
||||
'csv-table': 'csv-table',
|
||||
'list-table': 'list-table',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'meta': 'meta',
|
||||
'math': 'math',
|
||||
#'imagemap': 'imagemap',
|
||||
'image': 'image',
|
||||
'figure': 'figure',
|
||||
'include': 'include',
|
||||
'raw': 'raw',
|
||||
'replace': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'date': 'date',
|
||||
'class': 'class',
|
||||
'role': 'role',
|
||||
'default-role': 'default-role',
|
||||
'title': 'title',
|
||||
'contents': 'contents',
|
||||
'sectnum': 'sectnum',
|
||||
'section-numbering': 'sectnum',
|
||||
'header': 'header',
|
||||
'footer': 'footer',
|
||||
#'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',
|
||||
'code': 'code',
|
||||
'index': 'index',
|
||||
'i': 'index',
|
||||
'subscript': 'subscript',
|
||||
'sub': 'subscript',
|
||||
'superscript': 'superscript',
|
||||
'sup': 'superscript',
|
||||
'title-reference': 'title-reference',
|
||||
'title': 'title-reference',
|
||||
't': 'title-reference',
|
||||
'pep-reference': 'pep-reference',
|
||||
'pep': 'pep-reference',
|
||||
'rfc-reference': 'rfc-reference',
|
||||
'rfc': 'rfc-reference',
|
||||
'emphasis': 'emphasis',
|
||||
'strong': 'strong',
|
||||
'literal': 'literal',
|
||||
'math': 'math',
|
||||
'named-reference': 'named-reference',
|
||||
'anonymous-reference': 'anonymous-reference',
|
||||
'footnote-reference': 'footnote-reference',
|
||||
'citation-reference': 'citation-reference',
|
||||
'substitution-reference': 'substitution-reference',
|
||||
'target': 'target',
|
||||
'uri-reference': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'raw': 'raw',}
|
||||
"""Mapping of English role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,118 @@
|
||||
# $Id: eo.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Author: Marcelo Huerta San Martin <richieadler@users.sourceforge.net>
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Esperanto-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'atentu': 'attention',
|
||||
'zorgu': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'dangxero': 'danger',
|
||||
'dan\u011dero': 'danger',
|
||||
'eraro': 'error',
|
||||
'spuro': 'hint',
|
||||
'grava': 'important',
|
||||
'noto': 'note',
|
||||
'helpeto': 'tip',
|
||||
'averto': 'warning',
|
||||
'admono': 'admonition',
|
||||
'flankteksto': 'sidebar',
|
||||
'temo': 'topic',
|
||||
'linea-bloko': 'line-block',
|
||||
'analizota-literalo': 'parsed-literal',
|
||||
'rubriko': 'rubric',
|
||||
'epigrafo': 'epigraph',
|
||||
'elstarajxoj': 'highlights',
|
||||
'elstara\u0135oj': 'highlights',
|
||||
'ekstera-citajxo': 'pull-quote',
|
||||
'ekstera-cita\u0135o': 'pull-quote',
|
||||
'kombinajxo': 'compound',
|
||||
'kombina\u0135o': 'compound',
|
||||
'tekstingo': 'container',
|
||||
'enhavilo': 'container',
|
||||
#'questions': 'questions',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'tabelo': 'table',
|
||||
'tabelo-vdk': 'csv-table', # "valoroj disigitaj per komoj"
|
||||
'tabelo-csv': 'csv-table',
|
||||
'tabelo-lista': 'list-table',
|
||||
'meta': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#'imagemap': 'imagemap',
|
||||
'bildo': 'image',
|
||||
'figuro': 'figure',
|
||||
'inkludi': 'include',
|
||||
'senanaliza': 'raw',
|
||||
'anstatauxi': 'replace',
|
||||
'anstata\u016di': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'dato': 'date',
|
||||
'klaso': 'class',
|
||||
'rolo': 'role',
|
||||
'preterlasita-rolo': 'default-role',
|
||||
'titolo': 'title',
|
||||
'enhavo': 'contents',
|
||||
'seknum': 'sectnum',
|
||||
'sekcia-numerado': 'sectnum',
|
||||
'kapsekcio': 'header',
|
||||
'piedsekcio': 'footer',
|
||||
#'footnotes': 'footnotes',
|
||||
#'citations': 'citations',
|
||||
'celaj-notoj': 'target-notes',
|
||||
'restructuredtext-test-directive': 'restructuredtext-test-directive'}
|
||||
"""Esperanto name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'mallongigo': 'abbreviation',
|
||||
'mall': 'abbreviation',
|
||||
'komenclitero': 'acronym',
|
||||
'kl': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'indekso': 'index',
|
||||
'i': 'index',
|
||||
'subskribo': 'subscript',
|
||||
'sub': 'subscript',
|
||||
'supraskribo': 'superscript',
|
||||
'sup': 'superscript',
|
||||
'titola-referenco': 'title-reference',
|
||||
'titolo': 'title-reference',
|
||||
't': 'title-reference',
|
||||
'pep-referenco': 'pep-reference',
|
||||
'pep': 'pep-reference',
|
||||
'rfc-referenco': 'rfc-reference',
|
||||
'rfc': 'rfc-reference',
|
||||
'emfazo': 'emphasis',
|
||||
'forta': 'strong',
|
||||
'litera': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'nomita-referenco': 'named-reference',
|
||||
'nenomita-referenco': 'anonymous-reference',
|
||||
'piednota-referenco': 'footnote-reference',
|
||||
'citajxo-referenco': 'citation-reference',
|
||||
'cita\u0135o-referenco': 'citation-reference',
|
||||
'anstatauxa-referenco': 'substitution-reference',
|
||||
'anstata\u016da-referenco': 'substitution-reference',
|
||||
'celo': 'target',
|
||||
'uri-referenco': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'senanaliza': 'raw',
|
||||
}
|
||||
"""Mapping of Esperanto role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,125 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# $Id: es.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Author: Marcelo Huerta San Martín <richieadler@users.sourceforge.net>
|
||||
# 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/docs/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 = {
|
||||
'atenci\u00f3n': 'attention',
|
||||
'atencion': 'attention',
|
||||
'precauci\u00f3n': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'precaucion': 'caution',
|
||||
'peligro': 'danger',
|
||||
'error': 'error',
|
||||
'sugerencia': 'hint',
|
||||
'importante': 'important',
|
||||
'nota': 'note',
|
||||
'consejo': 'tip',
|
||||
'advertencia': 'warning',
|
||||
'exhortacion': 'admonition',
|
||||
'exhortaci\u00f3n': 'admonition',
|
||||
'nota-al-margen': 'sidebar',
|
||||
'tema': 'topic',
|
||||
'bloque-de-lineas': 'line-block',
|
||||
'bloque-de-l\u00edneas': 'line-block',
|
||||
'literal-evaluado': 'parsed-literal',
|
||||
'firma': 'rubric',
|
||||
'ep\u00edgrafe': 'epigraph',
|
||||
'epigrafe': 'epigraph',
|
||||
'destacado': 'highlights',
|
||||
'cita-destacada': 'pull-quote',
|
||||
'combinacion': 'compound',
|
||||
'combinaci\u00f3n': 'compound',
|
||||
'contenedor': 'container',
|
||||
#'questions': 'questions',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'tabla': 'table',
|
||||
'tabla-vsc': 'csv-table',
|
||||
'tabla-csv': 'csv-table',
|
||||
'tabla-lista': 'list-table',
|
||||
'meta': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#'imagemap': 'imagemap',
|
||||
'imagen': 'image',
|
||||
'figura': 'figure',
|
||||
'incluir': 'include',
|
||||
'sin-analisis': 'raw',
|
||||
'sin-an\u00e1lisis': 'raw',
|
||||
'reemplazar': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'fecha': 'date',
|
||||
'clase': 'class',
|
||||
'rol': 'role',
|
||||
'rol-por-omision': 'default-role',
|
||||
'rol-por-omisi\u00f3n': 'default-role',
|
||||
'titulo': 'title',
|
||||
't\u00edtulo': 'title',
|
||||
'contenido': 'contents',
|
||||
'numseccion': 'sectnum',
|
||||
'numsecci\u00f3n': 'sectnum',
|
||||
'numeracion-seccion': 'sectnum',
|
||||
'numeraci\u00f3n-secci\u00f3n': 'sectnum',
|
||||
'notas-destino': 'target-notes',
|
||||
'cabecera': 'header',
|
||||
'pie': 'footer',
|
||||
#'footnotes': 'footnotes',
|
||||
#'citations': 'citations',
|
||||
'restructuredtext-test-directive': 'restructuredtext-test-directive'}
|
||||
"""Spanish name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
'abreviatura': 'abbreviation',
|
||||
'ab': 'abbreviation',
|
||||
'acronimo': 'acronym',
|
||||
'acronimo': 'acronym',
|
||||
'ac': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'indice': 'index',
|
||||
'i': 'index',
|
||||
'subindice': 'subscript',
|
||||
'sub\u00edndice': 'subscript',
|
||||
'superindice': 'superscript',
|
||||
'super\u00edndice': 'superscript',
|
||||
'referencia-titulo': 'title-reference',
|
||||
'titulo': 'title-reference',
|
||||
't': 'title-reference',
|
||||
'referencia-pep': 'pep-reference',
|
||||
'pep': 'pep-reference',
|
||||
'referencia-rfc': 'rfc-reference',
|
||||
'rfc': 'rfc-reference',
|
||||
'enfasis': 'emphasis',
|
||||
'\u00e9nfasis': 'emphasis',
|
||||
'destacado': 'strong',
|
||||
'literal': 'literal', # "literal" is also a word in Spanish :-)
|
||||
'math (translation required)': 'math',
|
||||
'referencia-con-nombre': 'named-reference',
|
||||
'referencia-anonima': 'anonymous-reference',
|
||||
'referencia-an\u00f3nima': 'anonymous-reference',
|
||||
'referencia-nota-al-pie': 'footnote-reference',
|
||||
'referencia-cita': 'citation-reference',
|
||||
'referencia-sustitucion': 'substitution-reference',
|
||||
'referencia-sustituci\u00f3n': 'substitution-reference',
|
||||
'destino': 'target',
|
||||
'referencia-uri': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'sin-analisis': 'raw',
|
||||
'sin-an\u00e1lisis': 'raw',
|
||||
}
|
||||
"""Mapping of Spanish role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,102 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# $Id: fa.py 4564 2016-08-10 11:48:42Z
|
||||
# Author: Shahin <me@5hah.in>
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Persian-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'توجه': 'attention',
|
||||
'احتیاط': 'caution',
|
||||
'کد': 'code',
|
||||
'بلوک-کد': 'code',
|
||||
'کد-منبع': 'code',
|
||||
'خطر': 'danger',
|
||||
'خطا': 'error',
|
||||
'راهنما': 'hint',
|
||||
'مهم': 'important',
|
||||
'یادداشت': 'note',
|
||||
'نکته': 'tip',
|
||||
'اخطار': 'warning',
|
||||
'تذکر': 'admonition',
|
||||
'نوار-کناری': 'sidebar',
|
||||
'موضوع': 'topic',
|
||||
'بلوک-خط': 'line-block',
|
||||
'تلفظ-پردازش-شده': 'parsed-literal',
|
||||
'سر-فصل': 'rubric',
|
||||
'کتیبه': 'epigraph',
|
||||
'نکات-برجسته': 'highlights',
|
||||
'نقل-قول': 'pull-quote',
|
||||
'ترکیب': 'compound',
|
||||
'ظرف': 'container',
|
||||
#'questions': u'questions',
|
||||
'جدول': 'table',
|
||||
'جدول-csv': 'csv-table',
|
||||
'جدول-لیست': 'list-table',
|
||||
#'qa': u'questions',
|
||||
#'faq': u'questions',
|
||||
'متا': 'meta',
|
||||
'ریاضی': 'math',
|
||||
#'imagemap': u'imagemap',
|
||||
'تصویر': 'image',
|
||||
'شکل': 'figure',
|
||||
'شامل': 'include',
|
||||
'خام': 'raw',
|
||||
'جایگزین': 'replace',
|
||||
'یونیکد': 'unicode',
|
||||
'تاریخ': 'date',
|
||||
'کلاس': 'class',
|
||||
'قانون': 'role',
|
||||
'قانون-پیشفرض': 'default-role',
|
||||
'عنوان': 'title',
|
||||
'محتوا': 'contents',
|
||||
'شماره-فصل': 'sectnum',
|
||||
'شمارهگذاری-فصل': 'sectnum',
|
||||
'سرآیند': 'header',
|
||||
'پاصفحه': 'footer',
|
||||
#'footnotes': u'footnotes',
|
||||
#'citations': u'citations',
|
||||
'یادداشت-هدف': 'target-notes',
|
||||
}
|
||||
"""Persian name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'مخفف': 'abbreviation',
|
||||
'سرنام': 'acronym',
|
||||
'کد': 'code',
|
||||
'شاخص': 'index',
|
||||
'زیرنویس': 'subscript',
|
||||
'بالانویس': 'superscript',
|
||||
'عنوان': 'title-reference',
|
||||
'نیرو': 'pep-reference',
|
||||
'rfc-reference (translation required)': 'rfc-reference',
|
||||
'تاکید': 'emphasis',
|
||||
'قوی': 'strong',
|
||||
'لفظی': 'literal',
|
||||
'ریاضی': 'math',
|
||||
'منبع-نامگذاری': 'named-reference',
|
||||
'منبع-ناشناس': 'anonymous-reference',
|
||||
'منبع-پانویس': 'footnote-reference',
|
||||
'منبع-نقلفول': 'citation-reference',
|
||||
'منبع-جایگزینی': 'substitution-reference',
|
||||
'هدف': 'target',
|
||||
'منبع-uri': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'خام': 'raw',}
|
||||
"""Mapping of Persian role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,98 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# $Id: fi.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Author: Asko Soukka <asko.soukka@iki.fi>
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Finnish-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'huomio': 'attention',
|
||||
'varo': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'vaara': 'danger',
|
||||
'virhe': 'error',
|
||||
'vihje': 'hint',
|
||||
't\u00e4rke\u00e4\u00e4': 'important',
|
||||
'huomautus': 'note',
|
||||
'neuvo': 'tip',
|
||||
'varoitus': 'warning',
|
||||
'kehotus': 'admonition',
|
||||
'sivupalkki': 'sidebar',
|
||||
'aihe': 'topic',
|
||||
'rivi': 'line-block',
|
||||
'tasalevyinen': 'parsed-literal',
|
||||
'ohje': 'rubric',
|
||||
'epigraafi': 'epigraph',
|
||||
'kohokohdat': 'highlights',
|
||||
'lainaus': 'pull-quote',
|
||||
'taulukko': 'table',
|
||||
'csv-taulukko': 'csv-table',
|
||||
'list-table (translation required)': 'list-table',
|
||||
'compound (translation required)': 'compound',
|
||||
'container (translation required)': 'container',
|
||||
#u'kysymykset': u'questions',
|
||||
'meta': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#u'kuvakartta': u'imagemap',
|
||||
'kuva': 'image',
|
||||
'kaavio': 'figure',
|
||||
'sis\u00e4llyt\u00e4': 'include',
|
||||
'raaka': 'raw',
|
||||
'korvaa': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'p\u00e4iv\u00e4ys': 'date',
|
||||
'luokka': 'class',
|
||||
'rooli': 'role',
|
||||
'default-role (translation required)': 'default-role',
|
||||
'title (translation required)': 'title',
|
||||
'sis\u00e4llys': 'contents',
|
||||
'kappale': 'sectnum',
|
||||
'header (translation required)': 'header',
|
||||
'footer (translation required)': 'footer',
|
||||
#u'alaviitteet': u'footnotes',
|
||||
#u'viitaukset': u'citations',
|
||||
'target-notes (translation required)': 'target-notes'}
|
||||
"""Finnish name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'lyhennys': 'abbreviation',
|
||||
'akronyymi': 'acronym',
|
||||
'kirjainsana': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'hakemisto': 'index',
|
||||
'luettelo': 'index',
|
||||
'alaindeksi': 'subscript',
|
||||
'indeksi': 'subscript',
|
||||
'yl\u00e4indeksi': 'superscript',
|
||||
'title-reference (translation required)': 'title-reference',
|
||||
'title (translation required)': 'title-reference',
|
||||
'pep-reference (translation required)': 'pep-reference',
|
||||
'rfc-reference (translation required)': 'rfc-reference',
|
||||
'korostus': 'emphasis',
|
||||
'vahvistus': 'strong',
|
||||
'tasalevyinen': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'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',
|
||||
'kohde': 'target',
|
||||
'uri-reference (translation required)': 'uri-reference',
|
||||
'raw (translation required)': 'raw',}
|
||||
"""Mapping of Finnish role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,103 @@
|
||||
# $Id: fr.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Authors: David Goodger <goodger@python.org>; William Dode
|
||||
# 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/docs/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.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
'attention': 'attention',
|
||||
'pr\u00E9caution': 'caution',
|
||||
'code': 'code',
|
||||
'danger': 'danger',
|
||||
'erreur': 'error',
|
||||
'conseil': 'hint',
|
||||
'important': 'important',
|
||||
'note': 'note',
|
||||
'astuce': 'tip',
|
||||
'avertissement': 'warning',
|
||||
'admonition': 'admonition',
|
||||
'encadr\u00E9': 'sidebar',
|
||||
'sujet': 'topic',
|
||||
'bloc-textuel': 'line-block',
|
||||
'bloc-interpr\u00E9t\u00E9': 'parsed-literal',
|
||||
'code-interpr\u00E9t\u00E9': 'parsed-literal',
|
||||
'intertitre': 'rubric',
|
||||
'exergue': 'epigraph',
|
||||
'\u00E9pigraphe': 'epigraph',
|
||||
'chapeau': 'highlights',
|
||||
'accroche': 'pull-quote',
|
||||
'compound (translation required)': 'compound',
|
||||
'container (translation required)': 'container',
|
||||
#u'questions': 'questions',
|
||||
#u'qr': 'questions',
|
||||
#u'faq': 'questions',
|
||||
'tableau': 'table',
|
||||
'csv-table (translation required)': 'csv-table',
|
||||
'list-table (translation required)': 'list-table',
|
||||
'm\u00E9ta': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#u'imagemap (translation required)': 'imagemap',
|
||||
'image': 'image',
|
||||
'figure': 'figure',
|
||||
'inclure': 'include',
|
||||
'brut': 'raw',
|
||||
'remplacer': 'replace',
|
||||
'remplace': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'date': 'date',
|
||||
'classe': 'class',
|
||||
'role (translation required)': 'role',
|
||||
'default-role (translation required)': 'default-role',
|
||||
'titre (translation required)': 'title',
|
||||
'sommaire': 'contents',
|
||||
'table-des-mati\u00E8res': 'contents',
|
||||
'sectnum': 'sectnum',
|
||||
'section-num\u00E9rot\u00E9e': 'sectnum',
|
||||
'liens': 'target-notes',
|
||||
'header (translation required)': 'header',
|
||||
'footer (translation required)': 'footer',
|
||||
#u'footnotes (translation required)': 'footnotes',
|
||||
#u'citations (translation required)': 'citations',
|
||||
}
|
||||
"""French name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
'abr\u00E9viation': 'abbreviation',
|
||||
'acronyme': 'acronym',
|
||||
'sigle': 'acronym',
|
||||
'code': 'code',
|
||||
'index': 'index',
|
||||
'indice': 'subscript',
|
||||
'ind': 'subscript',
|
||||
'exposant': 'superscript',
|
||||
'exp': 'superscript',
|
||||
'titre-r\u00E9f\u00E9rence': 'title-reference',
|
||||
'titre': 'title-reference',
|
||||
'pep-r\u00E9f\u00E9rence': 'pep-reference',
|
||||
'rfc-r\u00E9f\u00E9rence': 'rfc-reference',
|
||||
'emphase': 'emphasis',
|
||||
'fort': 'strong',
|
||||
'litt\u00E9ral': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'nomm\u00E9e-r\u00E9f\u00E9rence': 'named-reference',
|
||||
'anonyme-r\u00E9f\u00E9rence': 'anonymous-reference',
|
||||
'note-r\u00E9f\u00E9rence': 'footnote-reference',
|
||||
'citation-r\u00E9f\u00E9rence': 'citation-reference',
|
||||
'substitution-r\u00E9f\u00E9rence': 'substitution-reference',
|
||||
'lien': 'target',
|
||||
'uri-r\u00E9f\u00E9rence': 'uri-reference',
|
||||
'brut': 'raw',}
|
||||
"""Mapping of French role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,111 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Author: David Goodger
|
||||
# Contact: goodger@users.sourceforge.net
|
||||
# Revision: $Revision: 4229 $
|
||||
# Date: $Date: 2005-12-23 00:46:16 +0100 (Fri, 23 Dec 2005) $
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Galician-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'atenci\u00f3n': 'attention',
|
||||
'advertencia': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'perigo': 'danger',
|
||||
'erro': 'error',
|
||||
'pista': 'hint',
|
||||
'importante': 'important',
|
||||
'nota': 'note',
|
||||
'consello': 'tip',
|
||||
'aviso': 'warning',
|
||||
'admonici\u00f3n': 'admonition',
|
||||
'barra lateral': 'sidebar',
|
||||
't\u00f3pico': 'topic',
|
||||
'bloque-li\u00f1a': 'line-block',
|
||||
'literal-analizado': 'parsed-literal',
|
||||
'r\u00fabrica': 'rubric',
|
||||
'ep\u00edgrafe': 'epigraph',
|
||||
'realzados': 'highlights',
|
||||
'coller-citaci\u00f3n': 'pull-quote',
|
||||
'compor': 'compound',
|
||||
'recipiente': 'container',
|
||||
#'questions': 'questions',
|
||||
't\u00e1boa': 'table',
|
||||
't\u00e1boa-csv': 'csv-table',
|
||||
't\u00e1boa-listaxe': 'list-table',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'meta': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#'imagemap': 'imagemap',
|
||||
'imaxe': 'image',
|
||||
'figura': 'figure',
|
||||
'inclu\u00edr': 'include',
|
||||
'cru': 'raw',
|
||||
'substitu\u00edr': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'data': 'date',
|
||||
'clase': 'class',
|
||||
'regra': 'role',
|
||||
'regra-predeterminada': 'default-role',
|
||||
't\u00edtulo': 'title',
|
||||
'contido': 'contents',
|
||||
'seccnum': 'sectnum',
|
||||
'secci\u00f3n-numerar': 'sectnum',
|
||||
'cabeceira': 'header',
|
||||
'p\u00e9 de p\u00e1xina': 'footer',
|
||||
#'footnotes': 'footnotes',
|
||||
#'citations': 'citations',
|
||||
'notas-destino': 'target-notes',
|
||||
'texto restruturado-proba-directiva': 'restructuredtext-test-directive'}
|
||||
"""Galician name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'abreviatura': 'abbreviation',
|
||||
'ab': 'abbreviation',
|
||||
'acr\u00f3nimo': 'acronym',
|
||||
'ac': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'\u00edndice': 'index',
|
||||
'i': 'index',
|
||||
'sub\u00edndice': 'subscript',
|
||||
'sub': 'subscript',
|
||||
'super\u00edndice': 'superscript',
|
||||
'sup': 'superscript',
|
||||
'referencia t\u00edtulo': 'title-reference',
|
||||
't\u00edtulo': 'title-reference',
|
||||
't': 'title-reference',
|
||||
'referencia-pep': 'pep-reference',
|
||||
'pep': 'pep-reference',
|
||||
'referencia-rfc': 'rfc-reference',
|
||||
'rfc': 'rfc-reference',
|
||||
'\u00e9nfase': 'emphasis',
|
||||
'forte': 'strong',
|
||||
'literal': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'referencia-nome': 'named-reference',
|
||||
'referencia-an\u00f3nimo': 'anonymous-reference',
|
||||
'referencia-nota ao p\u00e9': 'footnote-reference',
|
||||
'referencia-citaci\u00f3n': 'citation-reference',
|
||||
'referencia-substituci\u00f3n': 'substitution-reference',
|
||||
'destino': 'target',
|
||||
'referencia-uri': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'cru': 'raw',}
|
||||
"""Mapping of Galician role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,108 @@
|
||||
# Author: Meir Kriheli
|
||||
# Id: $Id: he.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# 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/docs/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.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'\u05ea\u05e9\u05d5\u05de\u05ea \u05dc\u05d1': 'attention',
|
||||
'\u05d6\u05d4\u05d9\u05e8\u05d5\u05ea': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'\u05e1\u05db\u05e0\u05d4': 'danger',
|
||||
'\u05e9\u05d2\u05d9\u05d0\u05d4' : 'error',
|
||||
'\u05e8\u05de\u05d6': 'hint',
|
||||
'\u05d7\u05e9\u05d5\u05d1': 'important',
|
||||
'\u05d4\u05e2\u05e8\u05d4': 'note',
|
||||
'\u05d8\u05d9\u05e4': 'tip',
|
||||
'\u05d0\u05d6\u05d4\u05e8\u05d4': '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',
|
||||
'compound': 'compound',
|
||||
'container': 'container',
|
||||
#'questions': 'questions',
|
||||
'table': 'table',
|
||||
'csv-table': 'csv-table',
|
||||
'list-table': 'list-table',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'meta': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#'imagemap': 'imagemap',
|
||||
'\u05ea\u05de\u05d5\u05e0\u05d4': 'image',
|
||||
'figure': 'figure',
|
||||
'include': 'include',
|
||||
'raw': 'raw',
|
||||
'replace': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'date': 'date',
|
||||
'\u05e1\u05d2\u05e0\u05d5\u05df': 'class',
|
||||
'role': 'role',
|
||||
'default-role': 'default-role',
|
||||
'title': 'title',
|
||||
'\u05ea\u05d5\u05db\u05df': 'contents',
|
||||
'sectnum': 'sectnum',
|
||||
'section-numbering': 'sectnum',
|
||||
'header': 'header',
|
||||
'footer': 'footer',
|
||||
#'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',
|
||||
'code (translation required)': 'code',
|
||||
'index': 'index',
|
||||
'i': 'index',
|
||||
'\u05ea\u05d7\u05ea\u05d9': 'subscript',
|
||||
'sub': 'subscript',
|
||||
'\u05e2\u05d9\u05dc\u05d9': 'superscript',
|
||||
'sup': 'superscript',
|
||||
'title-reference': 'title-reference',
|
||||
'title': 'title-reference',
|
||||
't': 'title-reference',
|
||||
'pep-reference': 'pep-reference',
|
||||
'pep': 'pep-reference',
|
||||
'rfc-reference': 'rfc-reference',
|
||||
'rfc': 'rfc-reference',
|
||||
'emphasis': 'emphasis',
|
||||
'strong': 'strong',
|
||||
'literal': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'named-reference': 'named-reference',
|
||||
'anonymous-reference': 'anonymous-reference',
|
||||
'footnote-reference': 'footnote-reference',
|
||||
'citation-reference': 'citation-reference',
|
||||
'substitution-reference': 'substitution-reference',
|
||||
'target': 'target',
|
||||
'uri-reference': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'raw': 'raw',}
|
||||
"""Mapping of English role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,97 @@
|
||||
# $Id: it.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Authors: Nicola Larosa <docutils@tekNico.net>;
|
||||
# Lele Gaifax <lele@seldati.it>
|
||||
# Copyright: This module has been placed in the public domain.
|
||||
|
||||
# Beware: the italian translation of the reStructuredText documentation
|
||||
# at http://docit.bice.dyndns.org/static/ReST, in particular
|
||||
# http://docit.bice.dyndns.org/static/ReST/ref/rst/directives.html, needs
|
||||
# to be synced with the content of this file.
|
||||
|
||||
"""
|
||||
Italian-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
'attenzione': 'attention',
|
||||
'cautela': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'pericolo': 'danger',
|
||||
'errore': 'error',
|
||||
'suggerimento': 'hint',
|
||||
'importante': 'important',
|
||||
'nota': 'note',
|
||||
'consiglio': 'tip',
|
||||
'avvertenza': 'warning',
|
||||
'ammonizione': 'admonition',
|
||||
'riquadro': 'sidebar',
|
||||
'argomento': 'topic',
|
||||
'blocco-di-righe': 'line-block',
|
||||
'blocco-interpretato': 'parsed-literal',
|
||||
'rubrica': 'rubric',
|
||||
'epigrafe': 'epigraph',
|
||||
'punti-salienti': 'highlights',
|
||||
'estratto-evidenziato': 'pull-quote',
|
||||
'composito': 'compound',
|
||||
'container (translation required)': 'container',
|
||||
#'questions': 'questions',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'tabella': 'table',
|
||||
'tabella-csv': 'csv-table',
|
||||
'tabella-elenco': 'list-table',
|
||||
'meta': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#'imagemap': 'imagemap',
|
||||
'immagine': 'image',
|
||||
'figura': 'figure',
|
||||
'includi': 'include',
|
||||
'grezzo': 'raw',
|
||||
'sostituisci': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'data': 'date',
|
||||
'classe': 'class',
|
||||
'ruolo': 'role',
|
||||
'ruolo-predefinito': 'default-role',
|
||||
'titolo': 'title',
|
||||
'indice': 'contents',
|
||||
'contenuti': 'contents',
|
||||
'seznum': 'sectnum',
|
||||
'sezioni-autonumerate': 'sectnum',
|
||||
'annota-riferimenti-esterni': 'target-notes',
|
||||
'intestazione': 'header',
|
||||
'piede-pagina': 'footer',
|
||||
#'footnotes': 'footnotes',
|
||||
#'citations': 'citations',
|
||||
'restructuredtext-test-directive': 'restructuredtext-test-directive'}
|
||||
"""Italian name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
'abbreviazione': 'abbreviation',
|
||||
'acronimo': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'indice': 'index',
|
||||
'deponente': 'subscript',
|
||||
'esponente': 'superscript',
|
||||
'riferimento-titolo': 'title-reference',
|
||||
'riferimento-pep': 'pep-reference',
|
||||
'riferimento-rfc': 'rfc-reference',
|
||||
'enfasi': 'emphasis',
|
||||
'forte': 'strong',
|
||||
'letterale': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'riferimento-con-nome': 'named-reference',
|
||||
'riferimento-anonimo': 'anonymous-reference',
|
||||
'riferimento-nota': 'footnote-reference',
|
||||
'riferimento-citazione': 'citation-reference',
|
||||
'riferimento-sostituzione': 'substitution-reference',
|
||||
'destinazione': 'target',
|
||||
'riferimento-uri': 'uri-reference',
|
||||
'grezzo': 'raw',}
|
||||
"""Mapping of Italian role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,119 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# $Id: ja.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Author: David Goodger <goodger@python.org>
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Japanese-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
# Corrections to these translations are welcome!
|
||||
# 間違いがあれば、どうぞ正しい翻訳を教えて下さい。
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'注目': 'attention',
|
||||
'注意': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'危険': 'danger',
|
||||
'エラー': 'error',
|
||||
'ヒント': 'hint',
|
||||
'重要': 'important',
|
||||
'備考': 'note',
|
||||
'通報': 'tip',
|
||||
'警告': 'warning',
|
||||
'戒告': 'admonition',
|
||||
'サイドバー': 'sidebar',
|
||||
'トピック': 'topic',
|
||||
'ラインブロック': 'line-block',
|
||||
'パーズドリテラル': 'parsed-literal',
|
||||
'ルブリック': 'rubric',
|
||||
'エピグラフ': 'epigraph',
|
||||
'題言': 'epigraph',
|
||||
'ハイライト': 'highlights',
|
||||
'見所': 'highlights',
|
||||
'プルクオート': 'pull-quote',
|
||||
'合成': 'compound',
|
||||
'コンテナー': 'container',
|
||||
'容器': 'container',
|
||||
'表': 'table',
|
||||
'csv表': 'csv-table',
|
||||
'リスト表': 'list-table',
|
||||
#u'質問': 'questions',
|
||||
#u'問答': 'questions',
|
||||
#u'faq': 'questions',
|
||||
'math (translation required)': 'math',
|
||||
'メタ': 'meta',
|
||||
#u'イメージマプ': 'imagemap',
|
||||
'イメージ': 'image',
|
||||
'画像': 'image',
|
||||
'フィグア': 'figure',
|
||||
'図版': 'figure',
|
||||
'インクルード': 'include',
|
||||
'含む': 'include',
|
||||
'組み込み': 'include',
|
||||
'生': 'raw',
|
||||
'原': 'raw',
|
||||
'換える': 'replace',
|
||||
'取り換える': 'replace',
|
||||
'掛け替える': 'replace',
|
||||
'ユニコード': 'unicode',
|
||||
'日付': 'date',
|
||||
'クラス': 'class',
|
||||
'ロール': 'role',
|
||||
'役': 'role',
|
||||
'ディフォルトロール': 'default-role',
|
||||
'既定役': 'default-role',
|
||||
'タイトル': 'title',
|
||||
'題': 'title', # 題名 件名
|
||||
'目次': 'contents',
|
||||
'節数': 'sectnum',
|
||||
'ヘッダ': 'header',
|
||||
'フッタ': 'footer',
|
||||
#u'脚注': 'footnotes', # 脚註?
|
||||
#u'サイテーション': 'citations', # 出典 引証 引用
|
||||
'ターゲットノート': 'target-notes', # 的注 的脚注
|
||||
}
|
||||
"""Japanese name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'略': 'abbreviation',
|
||||
'頭字語': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'インデックス': 'index',
|
||||
'索引': 'index',
|
||||
'添字': 'subscript',
|
||||
'下付': 'subscript',
|
||||
'下': 'subscript',
|
||||
'上付': 'superscript',
|
||||
'上': 'superscript',
|
||||
'題参照': 'title-reference',
|
||||
'pep参照': 'pep-reference',
|
||||
'rfc参照': 'rfc-reference',
|
||||
'強調': 'emphasis',
|
||||
'強い': 'strong',
|
||||
'リテラル': 'literal',
|
||||
'整形済み': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'名付参照': 'named-reference',
|
||||
'無名参照': 'anonymous-reference',
|
||||
'脚注参照': 'footnote-reference',
|
||||
'出典参照': 'citation-reference',
|
||||
'代入参照': 'substitution-reference',
|
||||
'的': 'target',
|
||||
'uri参照': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'生': 'raw',}
|
||||
"""Mapping of Japanese role names to canonical role names for interpreted
|
||||
text."""
|
||||
@@ -0,0 +1,111 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# $Id: ko.py 8253 2019-04-15 10:01:10Z milde $
|
||||
# Author: Thomas SJ Kang <thomas.kangsj@ujuc.kr>
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Korean-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'집중': 'attention',
|
||||
'주의': 'caution',
|
||||
'코드': 'code',
|
||||
'코드-블록': 'code',
|
||||
'소스코드': 'code',
|
||||
'위험': 'danger',
|
||||
'오류': 'error',
|
||||
'실마리': 'hint',
|
||||
'중요한': 'important',
|
||||
'비고': 'note',
|
||||
'팁': 'tip',
|
||||
'경고': 'warning',
|
||||
'권고': 'admonition',
|
||||
'사이드바': 'sidebar',
|
||||
'주제': 'topic',
|
||||
'라인-블록': 'line-block',
|
||||
'파싱된-리터럴': 'parsed-literal',
|
||||
'지시문': 'rubric',
|
||||
'제명': 'epigraph',
|
||||
'하이라이': 'highlights',
|
||||
'발췌문': 'pull-quote',
|
||||
'합성어': 'compound',
|
||||
'컨테이너': 'container',
|
||||
#u'질문': 'questions',
|
||||
'표': 'table',
|
||||
'csv-표': 'csv-table',
|
||||
'list-표': 'list-table',
|
||||
#u'qa': 'questions',
|
||||
#u'faq': 'questions',
|
||||
'메타': 'meta',
|
||||
'수학': 'math',
|
||||
#u'이미지맵': 'imagemap',
|
||||
'이미지': 'image',
|
||||
'도표': 'figure',
|
||||
'포함': 'include',
|
||||
'raw': 'raw',
|
||||
'대신하다': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'날짜': 'date',
|
||||
'class': 'class',
|
||||
'역할': 'role',
|
||||
'기본-역할': 'default-role',
|
||||
'제목': 'title',
|
||||
'내용': 'contents',
|
||||
'sectnum': 'sectnum',
|
||||
'섹션-번호-매기기': 'sectnum',
|
||||
'머리말': 'header',
|
||||
'꼬리말': 'footer',
|
||||
#u'긱주': 'footnotes',
|
||||
#u'인용구': 'citations',
|
||||
'목표-노트': 'target-notes',
|
||||
'restructuredtext 테스트 지시어': 'restructuredtext-test-directive'}
|
||||
"""Korean name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'약어': 'abbreviation',
|
||||
'ab': 'abbreviation',
|
||||
'두음문자': 'acronym',
|
||||
'ac': 'acronym',
|
||||
'코드': 'code',
|
||||
'색인': 'index',
|
||||
'i': 'index',
|
||||
'다리-글자': 'subscript',
|
||||
'sub': 'subscript',
|
||||
'어깨-글자': 'superscript',
|
||||
'sup': 'superscript',
|
||||
'제목-참조': 'title-reference',
|
||||
'제목': 'title-reference',
|
||||
't': 'title-reference',
|
||||
'pep-참조': 'pep-reference',
|
||||
'pep': 'pep-reference',
|
||||
'rfc-참조': 'rfc-reference',
|
||||
'rfc': 'rfc-reference',
|
||||
'강조': 'emphasis',
|
||||
'굵게': 'strong',
|
||||
'기울기': 'literal',
|
||||
'수학': 'math',
|
||||
'명명된-참조': 'named-reference',
|
||||
'익명-참조': 'anonymous-reference',
|
||||
'각주-참조': 'footnote-reference',
|
||||
'인용-참조': 'citation-reference',
|
||||
'대리-참조': 'substitution-reference',
|
||||
'대상': 'target',
|
||||
'uri-참조': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'raw': 'raw',}
|
||||
"""Mapping of Korean role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,109 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# $Id: lt.py 7668 2013-06-04 12:46:30Z milde $
|
||||
# Author: Dalius Dobravolskas <dalius.do...@gmail.com>
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Lithuanian-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'dėmesio': 'attention',
|
||||
'atsargiai': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'pavojinga': 'danger',
|
||||
'klaida': 'error',
|
||||
'užuomina': 'hint',
|
||||
'svarbu': 'important',
|
||||
'pastaba': 'note',
|
||||
'patarimas': 'tip',
|
||||
'įspėjimas': 'warning',
|
||||
'perspėjimas': 'admonition',
|
||||
'šoninė-juosta': 'sidebar',
|
||||
'tema': 'topic',
|
||||
'linijinis-blokas': 'line-block',
|
||||
'išanalizuotas-literalas': 'parsed-literal',
|
||||
'rubrika': 'rubric',
|
||||
'epigrafas': 'epigraph',
|
||||
'pagridiniai-momentai': 'highlights',
|
||||
'atitraukta-citata': 'pull-quote',
|
||||
'sudėtinis-darinys': 'compound',
|
||||
'konteineris': 'container',
|
||||
#'questions': 'questions',
|
||||
'lentelė': 'table',
|
||||
'csv-lentelė': 'csv-table',
|
||||
'sąrašo-lentelė': 'list-table',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'meta': 'meta',
|
||||
'matematika': 'math',
|
||||
#'imagemap': 'imagemap',
|
||||
'paveiksliukas': 'image',
|
||||
'iliustracija': 'figure',
|
||||
'pridėti': 'include',
|
||||
'žalia': 'raw',
|
||||
'pakeisti': 'replace',
|
||||
'unikodas': 'unicode',
|
||||
'data': 'date',
|
||||
'klasė': 'class',
|
||||
'rolė': 'role',
|
||||
'numatytoji-rolė': 'default-role',
|
||||
'titulas': 'title',
|
||||
'turinys': 'contents',
|
||||
'seknum': 'sectnum',
|
||||
'sekcijos-numeravimas': 'sectnum',
|
||||
'antraštė': 'header',
|
||||
'poraštė': 'footer',
|
||||
#'footnotes': 'footnotes',
|
||||
#'citations': 'citations',
|
||||
'nutaikytos-pastaba': 'target-notes',
|
||||
'restructuredtext-testinė-direktyva': 'restructuredtext-test-directive'}
|
||||
"""Lithuanian name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'santrumpa': 'abbreviation',
|
||||
'sa': 'abbreviation',
|
||||
'akronimas': 'acronym',
|
||||
'ak': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'indeksas': 'index',
|
||||
'i': 'index',
|
||||
'apatinis-indeksas': 'subscript',
|
||||
'sub': 'subscript',
|
||||
'viršutinis-indeksas': 'superscript',
|
||||
'sup': 'superscript',
|
||||
'antrašės-nuoroda': 'title-reference',
|
||||
'antraštė': 'title-reference',
|
||||
'a': 'title-reference',
|
||||
'pep-nuoroda': 'pep-reference',
|
||||
'pep': 'pep-reference',
|
||||
'rfc-nuoroda': 'rfc-reference',
|
||||
'rfc': 'rfc-reference',
|
||||
'paryškinimas': 'emphasis',
|
||||
'sustiprintas': 'strong',
|
||||
'literalas': 'literal',
|
||||
'matematika': 'math',
|
||||
'vardinė-nuoroda': 'named-reference',
|
||||
'anoniminė-nuoroda': 'anonymous-reference',
|
||||
'išnašos-nuoroda': 'footnote-reference',
|
||||
'citatos-nuoroda': 'citation-reference',
|
||||
'pakeitimo-nuoroda': 'substitution-reference',
|
||||
'taikinys': 'target',
|
||||
'uri-nuoroda': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'žalia': 'raw',}
|
||||
"""Mapping of English role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,108 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# $Id: lv.py 7975 2016-10-20 20:00:19Z milde $
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Latvian-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'uzmanību': 'attention',
|
||||
'piesardzību': 'caution',
|
||||
'kods': 'code',
|
||||
'koda-bloks': 'code',
|
||||
'pirmkods': 'code',
|
||||
'bīstami': 'danger',
|
||||
'kļūda': 'error',
|
||||
'ieteikums': 'hint',
|
||||
'svarīgi': 'important',
|
||||
'piezīme': 'note',
|
||||
'padoms': 'tip',
|
||||
'brīdinājums': 'warning',
|
||||
'aizrādījums': 'admonition',
|
||||
'sānjosla': 'sidebar',
|
||||
'tēma': 'topic',
|
||||
'rindu-bloks': 'line-block',
|
||||
'parsēts-literālis': 'parsed-literal',
|
||||
'rubrika': 'rubric',
|
||||
'epigrāfs': 'epigraph',
|
||||
'apskats': 'highlights',
|
||||
'izvilkuma-citāts': 'pull-quote',
|
||||
'savienojums': 'compound',
|
||||
'konteiners': 'container',
|
||||
#'questions': 'questions',
|
||||
'tabula': 'table',
|
||||
'csv-tabula': 'csv-table',
|
||||
'sarakstveida-tabula': 'list-table',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'meta': 'meta',
|
||||
'matemātika': 'math',
|
||||
#'imagemap': 'imagemap',
|
||||
'attēls': 'image',
|
||||
'figūra': 'figure',
|
||||
'ietvert': 'include',
|
||||
'burtiski': 'raw',
|
||||
'aizvieto': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'datums': 'date',
|
||||
'klase': 'class',
|
||||
'role': 'role',
|
||||
'noklusējuma-role': 'default-role',
|
||||
'virsraksts': 'title',
|
||||
'saturs': 'contents',
|
||||
'numurēt-sekcijas': 'sectnum',
|
||||
'galvene': 'header',
|
||||
'kājene': 'footer',
|
||||
#'footnotes': 'footnotes',
|
||||
#'citations': 'citations',
|
||||
'atsauces-apakšā': 'target-notes',
|
||||
'restructuredtext-testa-direktīva': 'restructuredtext-test-directive'}
|
||||
"""English name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'saīsinājums': 'abbreviation',
|
||||
'īsi': 'abbreviation',
|
||||
'akronīms': 'acronym',
|
||||
'kods': 'code',
|
||||
'indekss': 'index',
|
||||
'i': 'index',
|
||||
'apakšraksts': 'subscript',
|
||||
'apakšā': 'subscript',
|
||||
'augšraksts': 'superscript',
|
||||
'augšā': 'superscript',
|
||||
'virsraksta-atsauce': 'title-reference',
|
||||
'virsraksts': 'title-reference',
|
||||
'v': 'title-reference',
|
||||
'atsauce-uz-pep': 'pep-reference',
|
||||
'pep': 'pep-reference',
|
||||
'atsauce-uz-rfc': 'rfc-reference',
|
||||
'rfc': 'rfc-reference',
|
||||
'izcēlums': 'emphasis',
|
||||
'blīvs': 'strong',
|
||||
'literālis': 'literal',
|
||||
'matemātika': 'math',
|
||||
'nosaukta-atsauce': 'named-reference',
|
||||
'nenosaukta-atsauce': 'anonymous-reference',
|
||||
'kājenes-atsauce': 'footnote-reference',
|
||||
'citātā-atsauce': 'citation-reference',
|
||||
'aizvietojuma-atsauce': 'substitution-reference',
|
||||
'mēr''kis': 'target',
|
||||
'atsauce-uz-uri': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'burtiski': 'raw',}
|
||||
"""Mapping of English role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,112 @@
|
||||
# $Id: nl.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Author: Martijn Pieters <mjpieters@users.sourceforge.net>
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Dutch-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'attentie': 'attention',
|
||||
'let-op': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'gevaar': 'danger',
|
||||
'fout': 'error',
|
||||
'hint': 'hint',
|
||||
'belangrijk': 'important',
|
||||
'opmerking': 'note',
|
||||
'tip': 'tip',
|
||||
'waarschuwing': 'warning',
|
||||
'aanmaning': 'admonition',
|
||||
'katern': 'sidebar',
|
||||
'onderwerp': 'topic',
|
||||
'lijn-blok': 'line-block',
|
||||
'letterlijk-ontleed': 'parsed-literal',
|
||||
'rubriek': 'rubric',
|
||||
'opschrift': 'epigraph',
|
||||
'hoogtepunten': 'highlights',
|
||||
'pull-quote': 'pull-quote', # Dutch printers use the english term
|
||||
'samenstelling': 'compound',
|
||||
'verbinding': 'compound',
|
||||
'container (translation required)': 'container',
|
||||
#'vragen': 'questions',
|
||||
'tabel': 'table',
|
||||
'csv-tabel': 'csv-table',
|
||||
'lijst-tabel': 'list-table',
|
||||
#'veelgestelde-vragen': 'questions',
|
||||
'meta': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#'imagemap': 'imagemap',
|
||||
'beeld': 'image',
|
||||
'figuur': 'figure',
|
||||
'opnemen': 'include',
|
||||
'onbewerkt': 'raw',
|
||||
'vervang': 'replace',
|
||||
'vervanging': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'datum': 'date',
|
||||
'klasse': 'class',
|
||||
'rol': 'role',
|
||||
'default-role (translation required)': 'default-role',
|
||||
'title (translation required)': 'title',
|
||||
'inhoud': 'contents',
|
||||
'sectnum': 'sectnum',
|
||||
'sectie-nummering': 'sectnum',
|
||||
'hoofdstuk-nummering': 'sectnum',
|
||||
'header (translation required)': 'header',
|
||||
'footer (translation required)': 'footer',
|
||||
#'voetnoten': 'footnotes',
|
||||
#'citaten': 'citations',
|
||||
'verwijzing-voetnoten': 'target-notes',
|
||||
'restructuredtext-test-instructie': 'restructuredtext-test-directive'}
|
||||
"""Dutch name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'afkorting': 'abbreviation',
|
||||
# 'ab': 'abbreviation',
|
||||
'acroniem': 'acronym',
|
||||
'ac': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'index': 'index',
|
||||
'i': 'index',
|
||||
'inferieur': 'subscript',
|
||||
'inf': 'subscript',
|
||||
'superieur': 'superscript',
|
||||
'sup': 'superscript',
|
||||
'titel-referentie': 'title-reference',
|
||||
'titel': 'title-reference',
|
||||
't': 'title-reference',
|
||||
'pep-referentie': 'pep-reference',
|
||||
'pep': 'pep-reference',
|
||||
'rfc-referentie': 'rfc-reference',
|
||||
'rfc': 'rfc-reference',
|
||||
'nadruk': 'emphasis',
|
||||
'extra': 'strong',
|
||||
'extra-nadruk': 'strong',
|
||||
'vet': 'strong',
|
||||
'letterlijk': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'benoemde-referentie': 'named-reference',
|
||||
'anonieme-referentie': 'anonymous-reference',
|
||||
'voetnoot-referentie': 'footnote-reference',
|
||||
'citaat-referentie': 'citation-reference',
|
||||
'substitie-reference': 'substitution-reference',
|
||||
'verwijzing': 'target',
|
||||
'uri-referentie': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'onbewerkt': 'raw',}
|
||||
"""Mapping of Dutch role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,102 @@
|
||||
# $Id$
|
||||
# Author: Robert Wojciechowicz <rw@smsnet.pl>
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Polish-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'uwaga': 'attention',
|
||||
'ostro\u017cnie': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'niebezpiecze\u0144stwo': 'danger',
|
||||
'b\u0142\u0105d': 'error',
|
||||
'wskaz\u00f3wka': 'hint',
|
||||
'wa\u017cne': 'important',
|
||||
'przypis': 'note',
|
||||
'rada': 'tip',
|
||||
'ostrze\u017cenie': 'warning',
|
||||
'upomnienie': 'admonition',
|
||||
'ramka': 'sidebar',
|
||||
'temat': 'topic',
|
||||
'blok-linii': 'line-block',
|
||||
'sparsowany-litera\u0142': 'parsed-literal',
|
||||
'rubryka': 'rubric',
|
||||
'epigraf': 'epigraph',
|
||||
'highlights': 'highlights', # FIXME no polish equivalent?
|
||||
'pull-quote': 'pull-quote', # FIXME no polish equivalent?
|
||||
'z\u0142o\u017cony': 'compound',
|
||||
'kontener': 'container',
|
||||
#'questions': 'questions',
|
||||
'tabela': 'table',
|
||||
'tabela-csv': 'csv-table',
|
||||
'tabela-listowa': 'list-table',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'meta': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#'imagemap': 'imagemap',
|
||||
'obraz': 'image',
|
||||
'rycina': 'figure',
|
||||
'do\u0142\u0105cz': 'include',
|
||||
'surowe': 'raw',
|
||||
'zast\u0105p': 'replace',
|
||||
'unikod': 'unicode',
|
||||
'data': 'date',
|
||||
'klasa': 'class',
|
||||
'rola': 'role',
|
||||
'rola-domy\u015blna': 'default-role',
|
||||
'tytu\u0142': 'title',
|
||||
'tre\u015b\u0107': 'contents',
|
||||
'sectnum': 'sectnum',
|
||||
'numeracja-sekcji': 'sectnum',
|
||||
'nag\u0142\u00f3wek': 'header',
|
||||
'stopka': 'footer',
|
||||
#'footnotes': 'footnotes',
|
||||
#'citations': 'citations',
|
||||
'target-notes': 'target-notes', # FIXME no polish equivalent?
|
||||
'restructuredtext-test-directive': 'restructuredtext-test-directive'}
|
||||
"""Polish name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'skr\u00f3t': 'abbreviation',
|
||||
'akronim': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'indeks': 'index',
|
||||
'indeks-dolny': 'subscript',
|
||||
'indeks-g\u00f3rny': 'superscript',
|
||||
'referencja-tytu\u0142': 'title-reference',
|
||||
'referencja-pep': 'pep-reference',
|
||||
'referencja-rfc': 'rfc-reference',
|
||||
'podkre\u015blenie': 'emphasis',
|
||||
'wyt\u0142uszczenie': 'strong',
|
||||
'dos\u0142ownie': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'referencja-nazwana': 'named-reference',
|
||||
'referencja-anonimowa': 'anonymous-reference',
|
||||
'referencja-przypis': 'footnote-reference',
|
||||
'referencja-cytat': 'citation-reference',
|
||||
'referencja-podstawienie': 'substitution-reference',
|
||||
'cel': 'target',
|
||||
'referencja-uri': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'surowe': 'raw',}
|
||||
"""Mapping of Polish role names to canonical role names for interpreted text.
|
||||
"""
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,108 @@
|
||||
# $Id: pt_br.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Author: David Goodger <goodger@python.org>
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Brazilian Portuguese-language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'aten\u00E7\u00E3o': 'attention',
|
||||
'cuidado': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'perigo': 'danger',
|
||||
'erro': 'error',
|
||||
'sugest\u00E3o': 'hint',
|
||||
'importante': 'important',
|
||||
'nota': 'note',
|
||||
'dica': 'tip',
|
||||
'aviso': 'warning',
|
||||
'exorta\u00E7\u00E3o': 'admonition',
|
||||
'barra-lateral': 'sidebar',
|
||||
't\u00F3pico': 'topic',
|
||||
'bloco-de-linhas': 'line-block',
|
||||
'literal-interpretado': 'parsed-literal',
|
||||
'rubrica': 'rubric',
|
||||
'ep\u00EDgrafo': 'epigraph',
|
||||
'destaques': 'highlights',
|
||||
'cita\u00E7\u00E3o-destacada': 'pull-quote',
|
||||
'compound (translation required)': 'compound',
|
||||
'container (translation required)': 'container',
|
||||
#'perguntas': 'questions',
|
||||
#'qa': 'questions',
|
||||
#'faq': 'questions',
|
||||
'table (translation required)': 'table',
|
||||
'csv-table (translation required)': 'csv-table',
|
||||
'list-table (translation required)': 'list-table',
|
||||
'meta': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#'imagemap': 'imagemap',
|
||||
'imagem': 'image',
|
||||
'figura': 'figure',
|
||||
'inclus\u00E3o': 'include',
|
||||
'cru': 'raw',
|
||||
'substitui\u00E7\u00E3o': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'data': 'date',
|
||||
'classe': 'class',
|
||||
'role (translation required)': 'role',
|
||||
'default-role (translation required)': 'default-role',
|
||||
'title (translation required)': 'title',
|
||||
'\u00EDndice': 'contents',
|
||||
'numsec': 'sectnum',
|
||||
'numera\u00E7\u00E3o-de-se\u00E7\u00F5es': 'sectnum',
|
||||
'header (translation required)': 'header',
|
||||
'footer (translation required)': 'footer',
|
||||
#u'notas-de-rorap\u00E9': 'footnotes',
|
||||
#u'cita\u00E7\u00F5es': 'citations',
|
||||
'links-no-rodap\u00E9': 'target-notes',
|
||||
'restructuredtext-test-directive': 'restructuredtext-test-directive'}
|
||||
"""Brazilian Portuguese name to registered (in directives/__init__.py)
|
||||
directive name mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'abbrevia\u00E7\u00E3o': 'abbreviation',
|
||||
'ab': 'abbreviation',
|
||||
'acr\u00F4nimo': 'acronym',
|
||||
'ac': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'\u00EDndice-remissivo': 'index',
|
||||
'i': 'index',
|
||||
'subscrito': 'subscript',
|
||||
'sub': 'subscript',
|
||||
'sobrescrito': 'superscript',
|
||||
'sob': 'superscript',
|
||||
'refer\u00EAncia-a-t\u00EDtulo': 'title-reference',
|
||||
't\u00EDtulo': 'title-reference',
|
||||
't': 'title-reference',
|
||||
'refer\u00EAncia-a-pep': 'pep-reference',
|
||||
'pep': 'pep-reference',
|
||||
'refer\u00EAncia-a-rfc': 'rfc-reference',
|
||||
'rfc': 'rfc-reference',
|
||||
'\u00EAnfase': 'emphasis',
|
||||
'forte': 'strong',
|
||||
'literal': 'literal',
|
||||
'math (translation required)': 'math', # translation required?
|
||||
'refer\u00EAncia-por-nome': 'named-reference',
|
||||
'refer\u00EAncia-an\u00F4nima': 'anonymous-reference',
|
||||
'refer\u00EAncia-a-nota-de-rodap\u00E9': 'footnote-reference',
|
||||
'refer\u00EAncia-a-cita\u00E7\u00E3o': 'citation-reference',
|
||||
'refer\u00EAncia-a-substitui\u00E7\u00E3o': 'substitution-reference',
|
||||
'alvo': 'target',
|
||||
'refer\u00EAncia-a-uri': 'uri-reference',
|
||||
'uri': 'uri-reference',
|
||||
'url': 'uri-reference',
|
||||
'cru': 'raw',}
|
||||
"""Mapping of Brazilian Portuguese role names to canonical role names
|
||||
for interpreted text."""
|
||||
@@ -0,0 +1,89 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# $Id: ru.py 7123 2011-09-12 08:28:31Z milde $
|
||||
# Author: Roman Suzi <rnd@onego.ru>
|
||||
# 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/docs/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 = {
|
||||
'блок-строк': 'line-block',
|
||||
'meta': 'meta',
|
||||
'математика': 'math',
|
||||
'обработанный-литерал': 'parsed-literal',
|
||||
'выделенная-цитата': 'pull-quote',
|
||||
'код': 'code',
|
||||
'compound (translation required)': 'compound',
|
||||
'контейнер': 'container',
|
||||
'таблица': 'table',
|
||||
'csv-table (translation required)': 'csv-table',
|
||||
'list-table (translation required)': 'list-table',
|
||||
'сырой': 'raw',
|
||||
'замена': 'replace',
|
||||
'тестовая-директива-restructuredtext': 'restructuredtext-test-directive',
|
||||
'целевые-сноски': 'target-notes',
|
||||
'unicode': 'unicode',
|
||||
'дата': 'date',
|
||||
'боковая-полоса': 'sidebar',
|
||||
'важно': 'important',
|
||||
'включать': 'include',
|
||||
'внимание': 'attention',
|
||||
'выделение': 'highlights',
|
||||
'замечание': 'admonition',
|
||||
'изображение': 'image',
|
||||
'класс': 'class',
|
||||
'роль': 'role',
|
||||
'default-role (translation required)': 'default-role',
|
||||
'титул': 'title',
|
||||
'номер-раздела': 'sectnum',
|
||||
'нумерация-разделов': 'sectnum',
|
||||
'опасно': 'danger',
|
||||
'осторожно': 'caution',
|
||||
'ошибка': 'error',
|
||||
'подсказка': 'tip',
|
||||
'предупреждение': 'warning',
|
||||
'примечание': 'note',
|
||||
'рисунок': 'figure',
|
||||
'рубрика': 'rubric',
|
||||
'совет': 'hint',
|
||||
'содержание': 'contents',
|
||||
'тема': 'topic',
|
||||
'эпиграф': 'epigraph',
|
||||
'header (translation required)': 'header',
|
||||
'footer (translation required)': 'footer',}
|
||||
"""Russian name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
'акроним': 'acronym',
|
||||
'код': 'code',
|
||||
'анонимная-ссылка': 'anonymous-reference',
|
||||
'буквально': 'literal',
|
||||
'математика': 'math',
|
||||
'верхний-индекс': 'superscript',
|
||||
'выделение': 'emphasis',
|
||||
'именованная-ссылка': 'named-reference',
|
||||
'индекс': 'index',
|
||||
'нижний-индекс': 'subscript',
|
||||
'сильное-выделение': 'strong',
|
||||
'сокращение': 'abbreviation',
|
||||
'ссылка-замена': 'substitution-reference',
|
||||
'ссылка-на-pep': 'pep-reference',
|
||||
'ссылка-на-rfc': 'rfc-reference',
|
||||
'ссылка-на-uri': 'uri-reference',
|
||||
'ссылка-на-заглавие': 'title-reference',
|
||||
'ссылка-на-сноску': 'footnote-reference',
|
||||
'цитатная-ссылка': 'citation-reference',
|
||||
'цель': 'target',
|
||||
'сырой': 'raw',}
|
||||
"""Mapping of Russian role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,95 @@
|
||||
# $Id: sk.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Author: Miroslav Vasko <zemiak@zoznam.sk>
|
||||
# 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/docs/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.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
'pozor': 'attention',
|
||||
'opatrne': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'nebezpe\xe8enstvo': 'danger',
|
||||
'chyba': 'error',
|
||||
'rada': 'hint',
|
||||
'd\xf4le\x9eit\xe9': 'important',
|
||||
'pozn\xe1mka': 'note',
|
||||
'tip (translation required)': 'tip',
|
||||
'varovanie': 'warning',
|
||||
'admonition (translation required)': 'admonition',
|
||||
'sidebar (translation required)': 'sidebar',
|
||||
't\xe9ma': 'topic',
|
||||
'blok-riadkov': 'line-block',
|
||||
'parsed-literal': 'parsed-literal',
|
||||
'rubric (translation required)': 'rubric',
|
||||
'epigraph (translation required)': 'epigraph',
|
||||
'highlights (translation required)': 'highlights',
|
||||
'pull-quote (translation required)': 'pull-quote',
|
||||
'compound (translation required)': 'compound',
|
||||
'container (translation required)': 'container',
|
||||
#u'questions': 'questions',
|
||||
#u'qa': 'questions',
|
||||
#u'faq': 'questions',
|
||||
'table (translation required)': 'table',
|
||||
'csv-table (translation required)': 'csv-table',
|
||||
'list-table (translation required)': 'list-table',
|
||||
'meta': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#u'imagemap': 'imagemap',
|
||||
'obr\xe1zok': 'image',
|
||||
'tvar': 'figure',
|
||||
'vlo\x9ei\x9d': 'include',
|
||||
'raw (translation required)': 'raw',
|
||||
'nahradi\x9d': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'd\u00E1tum': 'date',
|
||||
'class (translation required)': 'class',
|
||||
'role (translation required)': 'role',
|
||||
'default-role (translation required)': 'default-role',
|
||||
'title (translation required)': 'title',
|
||||
'obsah': 'contents',
|
||||
'\xe8as\x9d': 'sectnum',
|
||||
'\xe8as\x9d-\xe8\xedslovanie': 'sectnum',
|
||||
'cie\xbeov\xe9-pozn\xe1mky': 'target-notes',
|
||||
'header (translation required)': 'header',
|
||||
'footer (translation required)': 'footer',
|
||||
#u'footnotes': 'footnotes',
|
||||
#u'citations': 'citations',
|
||||
}
|
||||
"""Slovak name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
'abbreviation (translation required)': 'abbreviation',
|
||||
'acronym (translation required)': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'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',
|
||||
'math (translation required)': 'math',
|
||||
'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',
|
||||
'raw (translation required)': 'raw',}
|
||||
"""Mapping of Slovak role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,95 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# $Id: sv.py 8012 2017-01-03 23:08:19Z milde $
|
||||
# Author: Adam Chodorowski <chodorowski@users.sourceforge.net>
|
||||
# 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/docs/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.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
directives = {
|
||||
'observera': 'attention',
|
||||
'akta': 'caution', # also 'försiktigt'
|
||||
'kod': 'code',
|
||||
'fara': 'danger',
|
||||
'fel': 'error',
|
||||
'vink': 'hint', # also 'hint'
|
||||
'viktigt': 'important',
|
||||
'notera': 'note',
|
||||
'tips': 'tip',
|
||||
'varning': 'warning',
|
||||
'anmärkning': 'admonition', # literal 'tillrättavisning', 'förmaning'
|
||||
'sidorad': 'sidebar',
|
||||
'ämne': 'topic',
|
||||
'tema': 'topic',
|
||||
'rad-block': 'line-block',
|
||||
'parsed-literal (translation required)': 'parsed-literal', # 'tolkad-bokstavlig'?
|
||||
'rubrik': 'rubric',
|
||||
'epigraf': 'epigraph',
|
||||
'höjdpunkter': 'highlights',
|
||||
'pull-quote (translation required)': 'pull-quote',
|
||||
'sammansatt': 'compound',
|
||||
'container': 'container',
|
||||
# u'frågor': 'questions',
|
||||
# NOTE: A bit long, but recommended by http://www.nada.kth.se/dataterm/:
|
||||
# u'frågor-och-svar': 'questions',
|
||||
# u'vanliga-frågor': 'questions',
|
||||
'tabell': 'table',
|
||||
'csv-tabell': 'csv-table',
|
||||
'list-tabell': 'list-table',
|
||||
'meta': 'meta',
|
||||
'matematik': 'math',
|
||||
# u'bildkarta': 'imagemap', # FIXME: Translation might be too literal.
|
||||
'bild': 'image',
|
||||
'figur': 'figure',
|
||||
'inkludera': 'include',
|
||||
'rå': 'raw',
|
||||
'ersätta': 'replace',
|
||||
'unicode': 'unicode',
|
||||
'datum': 'date',
|
||||
'klass': 'class',
|
||||
'roll': 'role',
|
||||
'standardroll': 'default-role',
|
||||
'titel': 'title',
|
||||
'innehåll': 'contents',
|
||||
'sektionsnumrering': 'sectnum',
|
||||
'target-notes (translation required)': 'target-notes',
|
||||
'sidhuvud': 'header',
|
||||
'sidfot': 'footer',
|
||||
# u'fotnoter': 'footnotes',
|
||||
# u'citeringar': 'citations',
|
||||
}
|
||||
"""Swedish name to registered (in directives/__init__.py) directive name
|
||||
mapping."""
|
||||
|
||||
roles = {
|
||||
'förkortning': 'abbreviation',
|
||||
'akronym': 'acronym',
|
||||
'kod': 'code',
|
||||
'index': 'index',
|
||||
'nedsänkt': 'subscript',
|
||||
'upphöjd': 'superscript',
|
||||
'titel-referens': 'title-reference',
|
||||
'pep-referens': 'pep-reference',
|
||||
'rfc-referens': 'rfc-reference',
|
||||
'betoning': 'emphasis',
|
||||
'stark': 'strong',
|
||||
'bokstavlig': 'literal', # also 'ordagranna'
|
||||
'matematik': 'math',
|
||||
'namngiven-referens': 'named-reference',
|
||||
'anonym-referens': 'anonymous-reference',
|
||||
'fotnot-referens': 'footnote-reference',
|
||||
'citat-referens': 'citation-reference',
|
||||
'ersättnings-referens': 'substitution-reference',
|
||||
'mål': 'target',
|
||||
'uri-referens': 'uri-reference',
|
||||
'rå': 'raw',}
|
||||
"""Mapping of Swedish role names to canonical role names for interpreted text.
|
||||
"""
|
||||
@@ -0,0 +1,104 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# $Id: zh_cn.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Author: Panjunyong <panjy@zopechina.com>
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Simplified Chinese language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'注意': 'attention',
|
||||
'小心': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'危险': 'danger',
|
||||
'错误': 'error',
|
||||
'提示': 'hint',
|
||||
'重要': 'important',
|
||||
'注解': 'note',
|
||||
'技巧': 'tip',
|
||||
'警告': 'warning',
|
||||
'忠告': 'admonition',
|
||||
'侧框': 'sidebar',
|
||||
'主题': 'topic',
|
||||
'line-block (translation required)': 'line-block',
|
||||
'parsed-literal (translation required)': 'parsed-literal',
|
||||
'醒目': 'rubric',
|
||||
'铭文': 'epigraph',
|
||||
'要点': 'highlights',
|
||||
'pull-quote (translation required)': 'pull-quote',
|
||||
'复合': 'compound',
|
||||
'容器': 'container',
|
||||
#u'questions (translation required)': 'questions',
|
||||
'表格': 'table',
|
||||
'csv表格': 'csv-table',
|
||||
'列表表格': 'list-table',
|
||||
#u'qa (translation required)': 'questions',
|
||||
#u'faq (translation required)': 'questions',
|
||||
'元数据': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#u'imagemap (translation required)': 'imagemap',
|
||||
'图片': 'image',
|
||||
'图例': 'figure',
|
||||
'包含': 'include',
|
||||
'原文': 'raw',
|
||||
'代替': 'replace',
|
||||
'统一码': 'unicode',
|
||||
'日期': 'date',
|
||||
'类型': 'class',
|
||||
'角色': 'role',
|
||||
'默认角色': 'default-role',
|
||||
'标题': 'title',
|
||||
'目录': 'contents',
|
||||
'章节序号': 'sectnum',
|
||||
'题头': 'header',
|
||||
'页脚': 'footer',
|
||||
#u'footnotes (translation required)': 'footnotes',
|
||||
#u'citations (translation required)': 'citations',
|
||||
'target-notes (translation required)': 'target-notes',
|
||||
'restructuredtext-test-directive': 'restructuredtext-test-directive'}
|
||||
"""Simplified Chinese name to registered (in directives/__init__.py)
|
||||
directive name mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'缩写': 'abbreviation',
|
||||
'简称': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'index (translation required)': 'index',
|
||||
'i (translation required)': 'index',
|
||||
'下标': 'subscript',
|
||||
'上标': 'superscript',
|
||||
'title-reference (translation required)': 'title-reference',
|
||||
'title (translation required)': 'title-reference',
|
||||
't (translation required)': 'title-reference',
|
||||
'pep-reference (translation required)': 'pep-reference',
|
||||
'pep (translation required)': 'pep-reference',
|
||||
'rfc-reference (translation required)': 'rfc-reference',
|
||||
'rfc (translation required)': 'rfc-reference',
|
||||
'强调': 'emphasis',
|
||||
'加粗': 'strong',
|
||||
'字面': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'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',
|
||||
'uri (translation required)': 'uri-reference',
|
||||
'url (translation required)': 'uri-reference',
|
||||
'raw (translation required)': 'raw',}
|
||||
"""Mapping of Simplified Chinese role names to canonical role names
|
||||
for interpreted text."""
|
||||
@@ -0,0 +1,109 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# $Id: zh_tw.py 7119 2011-09-02 13:00:23Z milde $
|
||||
# Author: David Goodger <goodger@python.org>
|
||||
# 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/docs/howto/i18n.html>. Two files must be
|
||||
# translated for each language: one in docutils/languages, the other in
|
||||
# docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Traditional Chinese language mappings for language-dependent features of
|
||||
reStructuredText.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
|
||||
directives = {
|
||||
# language-dependent: fixed
|
||||
'attention (translation required)': 'attention',
|
||||
'caution (translation required)': 'caution',
|
||||
'code (translation required)': 'code',
|
||||
'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',
|
||||
'admonition (translation required)': 'admonition',
|
||||
'sidebar (translation required)': 'sidebar',
|
||||
'topic (translation required)': 'topic',
|
||||
'line-block (translation required)': 'line-block',
|
||||
'parsed-literal (translation required)': 'parsed-literal',
|
||||
'rubric (translation required)': 'rubric',
|
||||
'epigraph (translation required)': 'epigraph',
|
||||
'highlights (translation required)': 'highlights',
|
||||
'pull-quote (translation required)': 'pull-quote',
|
||||
'compound (translation required)': 'compound',
|
||||
'container (translation required)': 'container',
|
||||
#'questions (translation required)': 'questions',
|
||||
'table (translation required)': 'table',
|
||||
'csv-table (translation required)': 'csv-table',
|
||||
'list-table (translation required)': 'list-table',
|
||||
#'qa (translation required)': 'questions',
|
||||
#'faq (translation required)': 'questions',
|
||||
'meta (translation required)': 'meta',
|
||||
'math (translation required)': 'math',
|
||||
#'imagemap (translation required)': 'imagemap',
|
||||
'image (translation required)': 'image',
|
||||
'figure (translation required)': 'figure',
|
||||
'include (translation required)': 'include',
|
||||
'raw (translation required)': 'raw',
|
||||
'replace (translation required)': 'replace',
|
||||
'unicode (translation required)': 'unicode',
|
||||
'日期': 'date',
|
||||
'class (translation required)': 'class',
|
||||
'role (translation required)': 'role',
|
||||
'default-role (translation required)': 'default-role',
|
||||
'title (translation required)': 'title',
|
||||
'contents (translation required)': 'contents',
|
||||
'sectnum (translation required)': 'sectnum',
|
||||
'section-numbering (translation required)': 'sectnum',
|
||||
'header (translation required)': 'header',
|
||||
'footer (translation required)': 'footer',
|
||||
#'footnotes (translation required)': 'footnotes',
|
||||
#'citations (translation required)': 'citations',
|
||||
'target-notes (translation required)': 'target-notes',
|
||||
'restructuredtext-test-directive': 'restructuredtext-test-directive'}
|
||||
"""Traditional Chinese name to registered (in directives/__init__.py)
|
||||
directive name mapping."""
|
||||
|
||||
roles = {
|
||||
# language-dependent: fixed
|
||||
'abbreviation (translation required)': 'abbreviation',
|
||||
'ab (translation required)': 'abbreviation',
|
||||
'acronym (translation required)': 'acronym',
|
||||
'ac (translation required)': 'acronym',
|
||||
'code (translation required)': 'code',
|
||||
'index (translation required)': 'index',
|
||||
'i (translation required)': 'index',
|
||||
'subscript (translation required)': 'subscript',
|
||||
'sub (translation required)': 'subscript',
|
||||
'superscript (translation required)': 'superscript',
|
||||
'sup (translation required)': 'superscript',
|
||||
'title-reference (translation required)': 'title-reference',
|
||||
'title (translation required)': 'title-reference',
|
||||
't (translation required)': 'title-reference',
|
||||
'pep-reference (translation required)': 'pep-reference',
|
||||
'pep (translation required)': 'pep-reference',
|
||||
'rfc-reference (translation required)': 'rfc-reference',
|
||||
'rfc (translation required)': 'rfc-reference',
|
||||
'emphasis (translation required)': 'emphasis',
|
||||
'strong (translation required)': 'strong',
|
||||
'literal (translation required)': 'literal',
|
||||
'math (translation required)': 'math',
|
||||
'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',
|
||||
'uri (translation required)': 'uri-reference',
|
||||
'url (translation required)': 'uri-reference',
|
||||
'raw (translation required)': 'raw',}
|
||||
"""Mapping of Traditional Chinese role names to canonical role names for
|
||||
interpreted text."""
|
||||
Reference in New Issue
Block a user