Initial commit

This commit is contained in:
Senad Uka
2019-11-17 12:44:16 +01:00
parent e41eae7301
commit a3ef27c7a0
4894 changed files with 1771218 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
# $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 Docutils.
"""
__docformat__ = 'reStructuredText'
import sys
from docutils.utils import normalize_language_tag
_languages = {}
def get_language(language_code, reporter=None):
"""Return module with language localizations.
`language_code` is a "BCP 47" language tag.
If there is no matching module, warn and fall back to English.
"""
# TODO: use a dummy module returning emtpy strings?, configurable?
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
if reporter is not None:
reporter.warning(
'language "%s" not supported: ' % language_code +
'Docutils-generated text will be in English.')
module = __import__('en', globals(), locals(), level=1)
_languages[tag] = module # warn only one time!
return module

View File

@@ -0,0 +1,58 @@
# $Id: af.py 4564 2006-05-21 20:44:42Z wiemann $
# 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
'author': 'Auteur',
'authors': 'Auteurs',
'organization': 'Organisasie',
'address': 'Adres',
'contact': 'Kontak',
'version': 'Weergawe',
'revision': 'Revisie',
'status': 'Status',
'date': 'Datum',
'copyright': 'Kopiereg',
'dedication': 'Opdrag',
'abstract': 'Opsomming',
'attention': 'Aandag!',
'caution': 'Wees versigtig!',
'danger': '!GEVAAR!',
'error': 'Fout',
'hint': 'Wenk',
'important': 'Belangrik',
'note': 'Nota',
'tip': 'Tip', # hint and tip both have the same translation: wenk
'warning': 'Waarskuwing',
'contents': 'Inhoud'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
'auteur': 'author',
'auteurs': 'authors',
'organisasie': 'organization',
'adres': 'address',
'kontak': 'contact',
'weergawe': 'version',
'revisie': 'revision',
'status': 'status',
'datum': 'date',
'kopiereg': 'copyright',
'opdrag': 'dedication',
'opsomming': 'abstract'}
"""Afrikaans (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,60 @@
# $Id: ca.py 4564 2006-05-21 20:44:42Z wiemann $
# 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'Autor',
'authors': 'Autors',
'organization': 'Organitzaci\u00F3',
'address': 'Adre\u00E7a',
'contact': 'Contacte',
'version': 'Versi\u00F3',
'revision': 'Revisi\u00F3',
'status': 'Estat',
'date': 'Data',
'copyright': 'Copyright',
'dedication': 'Dedicat\u00F2ria',
'abstract': 'Resum',
'attention': 'Atenci\u00F3!',
'caution': 'Compte!',
'danger': 'PERILL!',
'error': 'Error',
'hint': 'Suggeriment',
'important': 'Important',
'note': 'Nota',
'tip': 'Consell',
'warning': 'Av\u00EDs',
'contents': 'Contingut'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'autor': 'author',
'autors': 'authors',
'organitzaci\u00F3': 'organization',
'adre\u00E7a': 'address',
'contacte': 'contact',
'versi\u00F3': 'version',
'revisi\u00F3': 'revision',
'estat': 'status',
'data': 'date',
'copyright': 'copyright',
'dedicat\u00F2ria': 'dedication',
'resum': 'abstract'}
"""Catalan (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,60 @@
# $Id: cs.py 4564 2006-05-21 20:44:42Z wiemann $
# 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'Autor',
'authors': 'Auto\u0159i',
'organization': 'Organizace',
'address': 'Adresa',
'contact': 'Kontakt',
'version': 'Verze',
'revision': 'Revize',
'status': 'Stav',
'date': 'Datum',
'copyright': 'Copyright',
'dedication': 'V\u011Bnov\u00E1n\u00ED',
'abstract': 'Abstrakt',
'attention': 'Pozor!',
'caution': 'Opatrn\u011B!',
'danger': '!NEBEZPE\u010C\u00CD!',
'error': 'Chyba',
'hint': 'Rada',
'important': 'D\u016Fle\u017Eit\u00E9',
'note': 'Pozn\u00E1mka',
'tip': 'Tip',
'warning': 'Varov\u00E1n\u00ED',
'contents': 'Obsah'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'autor': 'author',
'auto\u0159i': 'authors',
'organizace': 'organization',
'adresa': 'address',
'kontakt': 'contact',
'verze': 'version',
'revize': 'revision',
'stav': 'status',
'datum': 'date',
'copyright': 'copyright',
'v\u011Bnov\u00E1n\u00ED': 'dedication',
'abstrakt': 'abstract'}
"""Czech (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,62 @@
# -*- 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'Forfatter',
'authors': 'Forfattere',
'organization': 'Organisation',
'address': 'Adresse',
'contact': 'Kontakt',
'version': 'Version',
'revision': 'Revision',
'status': 'Status',
'date': 'Dato',
'copyright': 'Copyright',
'dedication': 'Dedikation',
'abstract': 'Resumé',
'attention': 'Giv agt!',
'caution': 'Pas på!',
'danger': '!FARE!',
'error': 'Fejl',
'hint': 'Vink',
'important': 'Vigtigt',
'note': 'Bemærk',
'tip': 'Tips',
'warning': 'Advarsel',
'contents': 'Indhold'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'forfatter': 'author',
'forfattere': 'authors',
'organisation': 'organization',
'adresse': 'address',
'kontakt': 'contact',
'version': 'version',
'revision': 'revision',
'status': 'status',
'dato': 'date',
'copyright': 'copyright',
'dedikation': 'dedication',
'resume': 'abstract',
'resumé': 'abstract'}
"""Danish (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,58 @@
# $Id: de.py 4564 2006-05-21 20:44:42Z wiemann $
# Author: Gunnar Schwant <g.schwant@gmx.de>
# 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
'author': 'Autor',
'authors': 'Autoren',
'organization': 'Organisation',
'address': 'Adresse',
'contact': 'Kontakt',
'version': 'Version',
'revision': 'Revision',
'status': 'Status',
'date': 'Datum',
'dedication': 'Widmung',
'copyright': 'Copyright',
'abstract': 'Zusammenfassung',
'attention': 'Achtung!',
'caution': 'Vorsicht!',
'danger': '!GEFAHR!',
'error': 'Fehler',
'hint': 'Hinweis',
'important': 'Wichtig',
'note': 'Bemerkung',
'tip': 'Tipp',
'warning': 'Warnung',
'contents': 'Inhalt'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
'autor': 'author',
'autoren': 'authors',
'organisation': 'organization',
'adresse': 'address',
'kontakt': 'contact',
'version': 'version',
'revision': 'revision',
'status': 'status',
'datum': 'date',
'copyright': 'copyright',
'widmung': 'dedication',
'zusammenfassung': 'abstract'}
"""German (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,60 @@
# $Id: en.py 4564 2006-05-21 20:44:42Z wiemann $
# 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'Author',
'authors': 'Authors',
'organization': 'Organization',
'address': 'Address',
'contact': 'Contact',
'version': 'Version',
'revision': 'Revision',
'status': 'Status',
'date': 'Date',
'copyright': 'Copyright',
'dedication': 'Dedication',
'abstract': 'Abstract',
'attention': 'Attention!',
'caution': 'Caution!',
'danger': '!DANGER!',
'error': 'Error',
'hint': 'Hint',
'important': 'Important',
'note': 'Note',
'tip': 'Tip',
'warning': 'Warning',
'contents': 'Contents'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'author': 'author',
'authors': 'authors',
'organization': 'organization',
'address': 'address',
'contact': 'contact',
'version': 'version',
'revision': 'revision',
'status': 'status',
'date': 'date',
'copyright': 'copyright',
'dedication': 'dedication',
'abstract': 'abstract'}
"""English (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,61 @@
# $Id: eo.py 4564 2006-05-21 20:44:42Z wiemann $
# 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'A\u016dtoro',
'authors': 'A\u016dtoroj',
'organization': 'Organizo',
'address': 'Adreso',
'contact': 'Kontakto',
'version': 'Versio',
'revision': 'Revido',
'status': 'Stato',
'date': 'Dato',
# 'copyright': u'Kopirajto',
'copyright': 'A\u016dtorrajto',
'dedication': 'Dedi\u0109o',
'abstract': 'Resumo',
'attention': 'Atentu!',
'caution': 'Zorgu!',
'danger': 'DAN\u011cERO!',
'error': 'Eraro',
'hint': 'Spuro',
'important': 'Grava',
'note': 'Noto',
'tip': 'Helpeto',
'warning': 'Averto',
'contents': 'Enhavo'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'a\\u016dtoro': 'author',
'a\\u016dtoroj': 'authors',
'organizo': 'organization',
'adreso': 'address',
'kontakto': 'contact',
'versio': 'version',
'revido': 'revision',
'stato': 'status',
'dato': 'date',
'a\\u016dtorrajto': 'copyright',
'dedi\\u0109o': 'dedication',
'resumo': 'abstract'}
"""Esperanto (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,59 @@
# -*- coding: utf-8 -*-
# $Id: es.py 4572 2006-05-25 20:48:37Z richieadler $
# 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
'author': 'Autor',
'authors': 'Autores',
'organization': 'Organizaci\u00f3n',
'address': 'Direcci\u00f3n',
'contact': 'Contacto',
'version': 'Versi\u00f3n',
'revision': 'Revisi\u00f3n',
'status': 'Estado',
'date': 'Fecha',
'copyright': 'Copyright',
'dedication': 'Dedicatoria',
'abstract': 'Resumen',
'attention': '\u00a1Atenci\u00f3n!',
'caution': '\u00a1Precauci\u00f3n!',
'danger': '\u00a1PELIGRO!',
'error': 'Error',
'hint': 'Sugerencia',
'important': 'Importante',
'note': 'Nota',
'tip': 'Consejo',
'warning': 'Advertencia',
'contents': 'Contenido'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
'autor': 'author',
'autores': 'authors',
'organizaci\u00f3n': 'organization',
'direcci\u00f3n': 'address',
'contacto': 'contact',
'versi\u00f3n': 'version',
'revisi\u00f3n': 'revision',
'estado': 'status',
'fecha': 'date',
'copyright': 'copyright',
'dedicatoria': 'dedication',
'resumen': 'abstract'}
"""Spanish (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,61 @@
# -*- 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'نویسنده',
'authors': 'نویسندگان',
'organization': 'سازمان',
'address': 'آدرس',
'contact': 'تماس',
'version': 'نسخه',
'revision': 'بازبینی',
'status': 'وضعیت',
'date': 'تاریخ',
'copyright': 'کپی‌رایت',
'dedication': 'تخصیص',
'abstract': 'چکیده',
'attention': 'توجه!',
'caution': 'احتیاط!',
'danger': 'خطر!',
'error': 'خطا',
'hint': 'راهنما',
'important': 'مهم',
'note': 'یادداشت',
'tip': 'نکته',
'warning': 'اخطار',
'contents': 'محتوا'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'نویسنده': 'author',
'نویسندگان': 'authors',
'سازمان': 'organization',
'آدرس': 'address',
'تماس': 'contact',
'نسخه': 'version',
'بازبینی': 'revision',
'وضعیت': 'status',
'تاریخ': 'date',
'کپی‌رایت': 'copyright',
'تخصیص': 'dedication',
'چکیده': 'abstract'}
"""Persian (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = ['؛', '،']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,60 @@
# $Id: fi.py 4564 2006-05-21 20:44:42Z wiemann $
# 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'Tekij\u00e4',
'authors': 'Tekij\u00e4t',
'organization': 'Yhteis\u00f6',
'address': 'Osoite',
'contact': 'Yhteystiedot',
'version': 'Versio',
'revision': 'Vedos',
'status': 'Tila',
'date': 'P\u00e4iv\u00e4ys',
'copyright': 'Tekij\u00e4noikeudet',
'dedication': 'Omistuskirjoitus',
'abstract': 'Tiivistelm\u00e4',
'attention': 'Huomio!',
'caution': 'Varo!',
'danger': '!VAARA!',
'error': 'Virhe',
'hint': 'Vihje',
'important': 'T\u00e4rke\u00e4\u00e4',
'note': 'Huomautus',
'tip': 'Neuvo',
'warning': 'Varoitus',
'contents': 'Sis\u00e4llys'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'tekij\u00e4': 'author',
'tekij\u00e4t': 'authors',
'yhteis\u00f6': 'organization',
'osoite': 'address',
'yhteystiedot': 'contact',
'versio': 'version',
'vedos': 'revision',
'tila': 'status',
'p\u00e4iv\u00e4ys': 'date',
'tekij\u00e4noikeudet': 'copyright',
'omistuskirjoitus': 'dedication',
'tiivistelm\u00e4': 'abstract'}
"""Finnish (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,58 @@
# $Id: fr.py 4564 2006-05-21 20:44:42Z wiemann $
# Author: Stefane Fermigier <sf@fermigier.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.
"""
French-language mappings for language-dependent features of Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
'author': 'Auteur',
'authors': 'Auteurs',
'organization': 'Organisation',
'address': 'Adresse',
'contact': 'Contact',
'version': 'Version',
'revision': 'R\u00e9vision',
'status': 'Statut',
'date': 'Date',
'copyright': 'Copyright',
'dedication': 'D\u00e9dicace',
'abstract': 'R\u00e9sum\u00e9',
'attention': 'Attention!',
'caution': 'Avertissement!',
'danger': '!DANGER!',
'error': 'Erreur',
'hint': 'Indication',
'important': 'Important',
'note': 'Note',
'tip': 'Astuce',
'warning': 'Avis',
'contents': 'Sommaire'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
'auteur': 'author',
'auteurs': 'authors',
'organisation': 'organization',
'adresse': 'address',
'contact': 'contact',
'version': 'version',
'r\u00e9vision': 'revision',
'statut': 'status',
'date': 'date',
'copyright': 'copyright',
'd\u00e9dicace': 'dedication',
'r\u00e9sum\u00e9': 'abstract'}
"""French (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,63 @@
# -*- coding: utf-8 -*-
# Author: David Goodger
# Contact: goodger@users.sourceforge.net
# Revision: $Revision: 2224 $
# Date: $Date: 2004-06-05 21:40:46 +0200 (Sat, 05 Jun 2004) $
# 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'Autor',
'authors': 'Autores',
'organization': 'Organizaci\u00f3n',
'address': 'Enderezo',
'contact': 'Contacto',
'version': 'Versi\u00f3n',
'revision': 'Revisi\u00f3n',
'status': 'Estado',
'date': 'Data',
'copyright': 'Dereitos de copia',
'dedication': 'Dedicatoria',
'abstract': 'Abstract',
'attention': 'Atenci\u00f3n!',
'caution': 'Advertencia!',
'danger': 'PERIGO!',
'error': 'Erro',
'hint': 'Consello',
'important': 'Importante',
'note': 'Nota',
'tip': 'Suxesti\u00f3n',
'warning': 'Aviso',
'contents': 'Contido'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'autor': 'author',
'autores': 'authors',
'organizaci\u00f3n': 'organization',
'enderezo': 'address',
'contacto': 'contact',
'versi\u00f3n': 'version',
'revisi\u00f3n': 'revision',
'estado': 'status',
'data': 'date',
'dereitos de copia': 'copyright',
'dedicatoria': 'dedication',
'abstract': 'abstract'}
"""Galician (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,60 @@
# Author: Meir Kriheli
# Id: $Id: he.py 4837 2006-12-26 09:59:41Z sfcben $
# 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.
"""
Hebrew-language mappings for language-dependent features of Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': '\u05de\u05d7\u05d1\u05e8',
'authors': '\u05de\u05d7\u05d1\u05e8\u05d9',
'organization': '\u05d0\u05e8\u05d2\u05d5\u05df',
'address': '\u05db\u05ea\u05d5\u05d1\u05ea',
'contact': '\u05d0\u05d9\u05e9 \u05e7\u05e9\u05e8',
'version': '\u05d2\u05e8\u05e1\u05d4',
'revision': '\u05de\u05d4\u05d3\u05d5\u05e8\u05d4',
'status': '\u05e1\u05d8\u05d8\u05d5\u05e1',
'date': '\u05ea\u05d0\u05e8\u05d9\u05da',
'copyright': '\u05d6\u05db\u05d5\u05d9\u05d5\u05ea \u05e9\u05de\u05d5\u05e8\u05d5\u05ea',
'dedication': '\u05d4\u05e7\u05d3\u05e9\u05d4',
'abstract': '\u05ea\u05e7\u05e6\u05d9\u05e8',
'attention': '\u05ea\u05e9\u05d5\u05de\u05ea \u05dc\u05d1',
'caution': '\u05d6\u05d4\u05d9\u05e8\u05d5\u05ea',
'danger': '\u05e1\u05db\u05e0\u05d4',
'error': '\u05e9\u05d2\u05d9\u05d0\u05d4' ,
'hint': '\u05e8\u05de\u05d6',
'important': '\u05d7\u05e9\u05d5\u05d1',
'note': '\u05d4\u05e2\u05e8\u05d4',
'tip': '\u05d8\u05d9\u05e4',
'warning': '\u05d0\u05d6\u05d4\u05e8\u05d4',
'contents': '\u05ea\u05d5\u05db\u05df'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'\u05de\u05d7\u05d1\u05e8': 'author',
'\u05de\u05d7\u05d1\u05e8\u05d9': 'authors',
'\u05d0\u05e8\u05d2\u05d5\u05df': 'organization',
'\u05db\u05ea\u05d5\u05d1\u05ea': 'address',
'\u05d0\u05d9\u05e9 \u05e7\u05e9\u05e8': 'contact',
'\u05d2\u05e8\u05e1\u05d4': 'version',
'\u05de\u05d4\u05d3\u05d5\u05e8\u05d4': 'revision',
'\u05e1\u05d8\u05d8\u05d5\u05e1': 'status',
'\u05ea\u05d0\u05e8\u05d9\u05da': 'date',
'\u05d6\u05db\u05d5\u05d9\u05d5\u05ea \u05e9\u05de\u05d5\u05e8\u05d5\u05ea': 'copyright',
'\u05d4\u05e7\u05d3\u05e9\u05d4': 'dedication',
'\u05ea\u05e7\u05e6\u05d9\u05e8': 'abstract'}
"""Hebrew to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,58 @@
# $Id: it.py 4564 2006-05-21 20:44:42Z wiemann $
# Author: Nicola Larosa <docutils@tekNico.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.
"""
Italian-language mappings for language-dependent features of Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
'author': 'Autore',
'authors': 'Autori',
'organization': 'Organizzazione',
'address': 'Indirizzo',
'contact': 'Contatti',
'version': 'Versione',
'revision': 'Revisione',
'status': 'Status',
'date': 'Data',
'copyright': 'Copyright',
'dedication': 'Dedica',
'abstract': 'Riassunto',
'attention': 'Attenzione!',
'caution': 'Cautela!',
'danger': '!PERICOLO!',
'error': 'Errore',
'hint': 'Suggerimento',
'important': 'Importante',
'note': 'Nota',
'tip': 'Consiglio',
'warning': 'Avvertenza',
'contents': 'Indice'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
'autore': 'author',
'autori': 'authors',
'organizzazione': 'organization',
'indirizzo': 'address',
'contatto': 'contact',
'versione': 'version',
'revisione': 'revision',
'status': 'status',
'data': 'date',
'copyright': 'copyright',
'dedica': 'dedication',
'riassunto': 'abstract'}
"""Italian (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,61 @@
# -*- coding: utf-8 -*-
# $Id: ja.py 4564 2006-05-21 20:44:42Z wiemann $
# Author: Hisashi Morita <hisashim@kt.rim.or.jp>
# 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': '著者',
'authors': '著者',
'organization': '組織',
'address': '住所',
'contact': '連絡先',
'version': 'バージョン',
'revision': 'リビジョン',
'status': 'ステータス',
'date': '日付',
'copyright': '著作権',
'dedication': '献辞',
'abstract': '概要',
'attention': '注目!',
'caution': '注意!',
'danger': '!危険!',
'error': 'エラー',
'hint': 'ヒント',
'important': '重要',
'note': '備考',
'tip': '通報',
'warning': '警告',
'contents': '目次'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'著者': 'author',
' n/a': 'authors',
'組織': 'organization',
'住所': 'address',
'連絡先': 'contact',
'バージョン': 'version',
'リビジョン': 'revision',
'ステータス': 'status',
'日付': 'date',
'著作権': 'copyright',
'献辞': 'dedication',
'概要': 'abstract'}
"""Japanese (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,61 @@
# -*- 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': '저자',
'authors': '저자들',
'organization': '조직',
'address': '주소',
'contact': '연락처',
'version': 'Version',
'revision': 'Revision',
'status': '상태',
'date': '날짜',
'copyright': '저작권',
'dedication': '헌정',
'abstract': '요약',
'attention': '집중!',
'caution': '주의!',
'danger': '!위험!',
'error': '오류',
'hint': '실마리',
'important': '중요한',
'note': '비고',
'tip': '',
'warning': '경고',
'contents': '목차'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'저자': 'author',
'저자들': 'authors',
'조직': 'organization',
'주소': 'address',
'연락처': 'contact',
'version': 'version',
'revision': 'revision',
'상태': 'status',
'날짜': 'date',
'저작권': 'copyright',
'헌정': 'dedication',
'요약': 'abstract'}
"""Korean to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,61 @@
# -*- coding: utf-8 -*-
# $Id: lt.py 7911 2015-08-31 08:23:06Z 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'Autorius',
'authors': 'Autoriai',
'organization': 'Organizacija',
'address': 'Adresas',
'contact': 'Kontaktas',
'version': 'Versija',
'revision': 'Revizija',
'status': 'Būsena',
'date': 'Data',
'copyright': 'Autoriaus teisės',
'dedication': 'Dedikacija',
'abstract': 'Santrauka',
'attention': 'Dėmesio!',
'caution': 'Atsargiai!',
'danger': '!PAVOJINGA!',
'error': 'Klaida',
'hint': 'Užuomina',
'important': 'Svarbu',
'note': 'Pastaba',
'tip': 'Patarimas',
'warning': 'Įspėjimas',
'contents': 'Turinys'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'autorius': 'author',
'autoriai': 'authors',
'organizacija': 'organization',
'adresas': 'address',
'kontaktas': 'contact',
'versija': 'version',
'revizija': 'revision',
'būsena': 'status',
'data': 'date',
'autoriaus teisės': 'copyright',
'dedikacija': 'dedication',
'santrauka': 'abstract'}
"""Lithuanian (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,60 @@
# -*- 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'Autors',
'authors': 'Autori',
'organization': 'Organizācija',
'address': 'Adrese',
'contact': 'Kontakti',
'version': 'Versija',
'revision': 'Revīzija',
'status': 'Statuss',
'date': 'Datums',
'copyright': 'Copyright',
'dedication': 'Veltījums',
'abstract': 'Atreferējums',
'attention': 'Uzmanību!',
'caution': 'Piesardzību!',
'danger': '!BĪSTAMI!',
'error': 'Kļūda',
'hint': 'Ieteikums',
'important': 'Svarīgi',
'note': 'Piezīme',
'tip': 'Padoms',
'warning': 'Brīdinājums',
'contents': 'Saturs'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'autors': 'author',
'autori': 'authors',
'organizācija': 'organization',
'adrese': 'address',
'kontakti': 'contact',
'versija': 'version',
'revīzija': 'revision',
'statuss': 'status',
'datums': 'date',
'copyright': 'copyright',
'veltījums': 'dedication',
'atreferējums': 'abstract'}
"""English (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,60 @@
# $Id: nl.py 4564 2006-05-21 20:44:42Z wiemann $
# 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'Auteur',
'authors': 'Auteurs',
'organization': 'Organisatie',
'address': 'Adres',
'contact': 'Contact',
'version': 'Versie',
'revision': 'Revisie',
'status': 'Status',
'date': 'Datum',
'copyright': 'Copyright',
'dedication': 'Toewijding',
'abstract': 'Samenvatting',
'attention': 'Attentie!',
'caution': 'Let op!',
'danger': '!GEVAAR!',
'error': 'Fout',
'hint': 'Hint',
'important': 'Belangrijk',
'note': 'Opmerking',
'tip': 'Tip',
'warning': 'Waarschuwing',
'contents': 'Inhoud'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'auteur': 'author',
'auteurs': 'authors',
'organisatie': 'organization',
'adres': 'address',
'contact': 'contact',
'versie': 'version',
'revisie': 'revision',
'status': 'status',
'datum': 'date',
'copyright': 'copyright',
'toewijding': 'dedication',
'samenvatting': 'abstract'}
"""Dutch (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,62 @@
# $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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'Autor',
'authors': 'Autorzy',
'organization': 'Organizacja',
'address': 'Adres',
'contact': 'Kontakt',
'version': 'Wersja',
'revision': 'Korekta',
'status': 'Status',
'date': 'Data',
'copyright': 'Copyright',
'dedication': 'Dedykacja',
'abstract': 'Streszczenie',
'attention': 'Uwaga!',
'caution': 'Ostro\u017cnie!',
'danger': '!Niebezpiecze\u0144stwo!',
'error': 'B\u0142\u0105d',
'hint': 'Wskaz\u00f3wka',
'important': 'Wa\u017cne',
'note': 'Przypis',
'tip': 'Rada',
'warning': 'Ostrze\u017cenie',
'contents': 'Tre\u015b\u0107'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'autor': 'author',
'autorzy': 'authors',
'organizacja': 'organization',
'adres': 'address',
'kontakt': 'contact',
'wersja': 'version',
'korekta': 'revision',
'status': 'status',
'data': 'date',
'copyright': 'copyright',
'dedykacja': 'dedication',
'streszczenie': 'abstract'}
"""Polish (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,60 @@
# $Id: pt_br.py 5567 2008-06-03 01:11:03Z goodger $
# 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'Autor',
'authors': 'Autores',
'organization': 'Organiza\u00E7\u00E3o',
'address': 'Endere\u00E7o',
'contact': 'Contato',
'version': 'Vers\u00E3o',
'revision': 'Revis\u00E3o',
'status': 'Estado',
'date': 'Data',
'copyright': 'Copyright',
'dedication': 'Dedicat\u00F3ria',
'abstract': 'Resumo',
'attention': 'Aten\u00E7\u00E3o!',
'caution': 'Cuidado!',
'danger': 'PERIGO!',
'error': 'Erro',
'hint': 'Sugest\u00E3o',
'important': 'Importante',
'note': 'Nota',
'tip': 'Dica',
'warning': 'Aviso',
'contents': 'Sum\u00E1rio'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'autor': 'author',
'autores': 'authors',
'organiza\u00E7\u00E3o': 'organization',
'endere\u00E7o': 'address',
'contato': 'contact',
'vers\u00E3o': 'version',
'revis\u00E3o': 'revision',
'estado': 'status',
'data': 'date',
'copyright': 'copyright',
'dedicat\u00F3ria': 'dedication',
'resumo': 'abstract'}
"""Brazilian Portuguese (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,59 @@
# -*- coding: utf-8 -*-
# $Id: ru.py 7125 2011-09-16 18:36:18Z 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
'abstract': 'Аннотация',
'address': 'Адрес',
'attention': 'Внимание!',
'author': 'Автор',
'authors': 'Авторы',
'caution': 'Осторожно!',
'contact': 'Контакт',
'contents': 'Содержание',
'copyright': 'Права копирования',
'danger': 'ОПАСНО!',
'date': 'Дата',
'dedication': 'Посвящение',
'error': 'Ошибка',
'hint': 'Совет',
'important': 'Важно',
'note': 'Примечание',
'organization': 'Организация',
'revision': 'Редакция',
'status': 'Статус',
'tip': 'Подсказка',
'version': 'Версия',
'warning': 'Предупреждение'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
'аннотация': 'abstract',
'адрес': 'address',
'автор': 'author',
'авторы': 'authors',
'контакт': 'contact',
'права копирования': 'copyright',
'дата': 'date',
'посвящение': 'dedication',
'организация': 'organization',
'редакция': 'revision',
'статус': 'status',
'версия': 'version'}
"""Russian (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,58 @@
# $Id: sk.py 4564 2006-05-21 20:44:42Z wiemann $
# 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
'author': 'Autor',
'authors': 'Autori',
'organization': 'Organiz\u00E1cia',
'address': 'Adresa',
'contact': 'Kontakt',
'version': 'Verzia',
'revision': 'Rev\u00EDzia',
'status': 'Stav',
'date': 'D\u00E1tum',
'copyright': 'Copyright',
'dedication': 'Venovanie',
'abstract': 'Abstraktne',
'attention': 'Pozor!',
'caution': 'Opatrne!',
'danger': '!NEBEZPE\u010cENSTVO!',
'error': 'Chyba',
'hint': 'Rada',
'important': 'D\u00F4le\u017Eit\u00E9',
'note': 'Pozn\u00E1mka',
'tip': 'Tip',
'warning': 'Varovanie',
'contents': 'Obsah'}
"""Mapping of node class name to label text."""
bibliographic_fields = {
'autor': 'author',
'autori': 'authors',
'organiz\u00E1cia': 'organization',
'adresa': 'address',
'kontakt': 'contact',
'verzia': 'version',
'rev\u00EDzia': 'revision',
'stav': 'status',
'd\u00E1tum': 'date',
'copyright': 'copyright',
'venovanie': 'dedication',
'abstraktne': 'abstract'}
"""Slovak (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,60 @@
# -*- coding: utf-8 -*-
# $Id: sv.py 8006 2016-12-22 23:02:44Z 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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
'author': 'Författare',
'authors': 'Författare',
'organization': 'Organisation',
'address': 'Adress',
'contact': 'Kontakt',
'version': 'Version',
'revision': 'Revision',
'status': 'Status',
'date': 'Datum',
'copyright': 'Copyright',
'dedication': 'Dedikation',
'abstract': 'Sammanfattning',
'attention': 'Observera!',
'caution': 'Akta!', # 'Varning' already used for 'warning'
'danger': 'FARA!',
'error': 'Fel',
'hint': 'Vink',
'important': 'Viktigt',
'note': 'Notera',
'tip': 'Tips',
'warning': 'Varning',
'contents': 'Innehåll' }
"""Mapping of node class name to label text."""
bibliographic_fields = {
# 'Author' and 'Authors' identical in Swedish; assume the plural:
'författare': 'authors',
' n/a': 'author',
'organisation': 'organization',
'adress': 'address',
'kontakt': 'contact',
'version': 'version',
'revision': 'revision',
'status': 'status',
'datum': 'date',
'copyright': 'copyright',
'dedikation': 'dedication',
'sammanfattning': 'abstract' }
"""Swedish (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,67 @@
# -*- coding: utf-8 -*-
# $Id: zh_cn.py 4564 2006-05-21 20:44:42Z wiemann $
# Author: Pan Junyong <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 Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': '作者',
'authors': '作者群',
'organization': '组织',
'address': '地址',
'contact': '联系',
'version': '版本',
'revision': '修订',
'status': '状态',
'date': '日期',
'copyright': '版权',
'dedication': '献辞',
'abstract': '摘要',
'attention': '注意',
'caution': '小心',
'danger': '危险',
'error': '错误',
'hint': '提示',
'important': '重要',
'note': '注解',
'tip': '技巧',
'warning': '警告',
'contents': '目录',
}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'作者': 'author',
'作者群': 'authors',
'组织': 'organization',
'地址': 'address',
'联系': 'contact',
'版本': 'version',
'修订': 'revision',
'状态': 'status',
'时间': 'date',
'版权': 'copyright',
'献辞': 'dedication',
'摘要': 'abstract'}
"""Simplified Chinese to canonical name mapping for bibliographic fields."""
author_separators = [';', ',',
'\uff1b', # ''
'\uff0c', # ''
'\u3001', # '、'
]
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""

View File

@@ -0,0 +1,66 @@
# -*- coding: utf-8 -*-
# $Id: zh_tw.py 4564 2006-05-21 20:44:42Z wiemann $
# Author: Joe YS Jaw <joeysj@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.
"""
Traditional Chinese language mappings for language-dependent features of Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': '\u4f5c\u8005', # '作者' <-- Chinese word
'authors': '\u4f5c\u8005\u7fa4', # '作者群',
'organization': '\u7d44\u7e54', # '組織',
'address': '\u5730\u5740', # '地址',
'contact': '\u9023\u7d61', # '連絡',
'version': '\u7248\u672c', # '版本',
'revision': '\u4fee\u8a02', # '修訂',
'status': '\u72c0\u614b', # '狀態',
'date': '\u65e5\u671f', # '日期',
'copyright': '\u7248\u6b0a', # '版權',
'dedication': '\u984c\u737b', # '題獻',
'abstract': '\u6458\u8981', # '摘要',
'attention': '\u6ce8\u610f\uff01', # '注意!',
'caution': '\u5c0f\u5fc3\uff01', # '小心!',
'danger': '\uff01\u5371\u96aa\uff01', # '!危險!',
'error': '\u932f\u8aa4', # '錯誤',
'hint': '\u63d0\u793a', # '提示',
'important': '\u91cd\u8981', # '注意!',
'note': '\u8a3b\u91cb', # '註釋',
'tip': '\u79d8\u8a23', # '秘訣',
'warning': '\u8b66\u544a', # '警告',
'contents': '\u76ee\u9304' # '目錄'
}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'author (translation required)': 'author',
'authors (translation required)': 'authors',
'organization (translation required)': 'organization',
'address (translation required)': 'address',
'contact (translation required)': 'contact',
'version (translation required)': 'version',
'revision (translation required)': 'revision',
'status (translation required)': 'status',
'date (translation required)': 'date',
'copyright (translation required)': 'copyright',
'dedication (translation required)': 'dedication',
'abstract (translation required)': 'abstract'}
"""Traditional Chinese to canonical name mapping for bibliographic fields."""
author_separators = [';', ',',
'\uff1b', # ''
'\uff0c', # ''
'\u3001', # '、'
]
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""