first commit
This commit is contained in:
commit
417e54da96
5696 changed files with 900003 additions and 0 deletions
|
@ -0,0 +1,83 @@
|
|||
# $Id: __init__.py 9030 2022-03-05 23:28:32Z milde $
|
||||
# Author: David Goodger <goodger@python.org>
|
||||
# Copyright: This module has been placed in the public domain.
|
||||
|
||||
# Internationalization details are documented in
|
||||
# <https://docutils.sourceforge.io/docs/howto/i18n.html>.
|
||||
|
||||
"""
|
||||
This package contains modules for language-dependent features of Docutils.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
from importlib import import_module
|
||||
|
||||
from docutils.utils import normalize_language_tag
|
||||
|
||||
|
||||
class LanguageImporter:
|
||||
"""Import language modules.
|
||||
|
||||
When called with a BCP 47 language tag, instances return a module
|
||||
with localisations from `docutils.languages` or the PYTHONPATH.
|
||||
|
||||
If there is no matching module, warn (if a `reporter` is passed)
|
||||
and fall back to English.
|
||||
"""
|
||||
packages = ('docutils.languages.', '')
|
||||
warn_msg = ('Language "%s" not supported: '
|
||||
'Docutils-generated text will be in English.')
|
||||
fallback = 'en'
|
||||
# TODO: use a dummy module returning empty strings?, configurable?
|
||||
|
||||
def __init__(self):
|
||||
self.cache = {}
|
||||
|
||||
def import_from_packages(self, name, reporter=None):
|
||||
"""Try loading module `name` from `self.packages`."""
|
||||
module = None
|
||||
for package in self.packages:
|
||||
try:
|
||||
module = import_module(package+name)
|
||||
self.check_content(module)
|
||||
except (ImportError, AttributeError):
|
||||
if reporter and module:
|
||||
reporter.info(f'{module} is no complete '
|
||||
'Docutils language module.')
|
||||
elif reporter:
|
||||
reporter.info(f'Module "{package+name}" not found.')
|
||||
continue
|
||||
break
|
||||
return module
|
||||
|
||||
def check_content(self, module):
|
||||
"""Check if we got a Docutils language module."""
|
||||
if not (isinstance(module.labels, dict)
|
||||
and isinstance(module.bibliographic_fields, dict)
|
||||
and isinstance(module.author_separators, list)):
|
||||
raise ImportError
|
||||
|
||||
def __call__(self, language_code, reporter=None):
|
||||
try:
|
||||
return self.cache[language_code]
|
||||
except KeyError:
|
||||
pass
|
||||
for tag in normalize_language_tag(language_code):
|
||||
tag = tag.replace('-', '_') # '-' not valid in module names
|
||||
module = self.import_from_packages(tag, reporter)
|
||||
if module is not None:
|
||||
break
|
||||
else:
|
||||
if reporter:
|
||||
reporter.warning(self.warn_msg % language_code)
|
||||
if self.fallback:
|
||||
module = self.import_from_packages(self.fallback)
|
||||
if reporter and (language_code != 'en'):
|
||||
reporter.info('Using %s for language "%s".'
|
||||
% (module, language_code))
|
||||
self.cache[language_code] = module
|
||||
return module
|
||||
|
||||
|
||||
get_language = LanguageImporter()
|
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,58 @@
|
|||
# $Id: af.py 9030 2022-03-05 23:28:32Z 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 <https://docutils.sourceforge.io/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."""
|
|
@ -0,0 +1,60 @@
|
|||
# $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 <https://docutils.sourceforge.io/docs/howto/i18n.html>.
|
||||
# Two files must be translated for each language: one in docutils/languages,
|
||||
# the other in docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Arabic-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'}
|
||||
"""Arabic (lowcased) to canonical name mapping for bibliographic fields."""
|
||||
|
||||
author_separators = ['؛', '،']
|
||||
"""List of separator strings for the 'Authors' bibliographic field. Tried in
|
||||
order."""
|
|
@ -0,0 +1,65 @@
|
|||
# $Id: ca.py 9457 2023-10-02 16:25:50Z milde $
|
||||
# Authors: Ivan Vilata i Balaguer <ivan@selidor.net>;
|
||||
# Antoni Bella Pérez <antonibella5@yahoo.com>
|
||||
# Copyright: This module has been placed in the public domain.
|
||||
|
||||
# New language mappings are welcome. Before doing a new translation,
|
||||
# please read <https://docutils.sourceforge.io/docs/howto/i18n.html>.
|
||||
# Two files must be translated for each language: one in docutils/languages,
|
||||
# the other in docutils/parsers/rst/languages.
|
||||
|
||||
# These translations can be used without changes for
|
||||
# Valencian variant of Catalan (use language tag "ca-valencia").
|
||||
# Checked by a native speaker of Valentian.
|
||||
|
||||
"""
|
||||
Catalan-language mappings for language-dependent features of Docutils.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
labels = {
|
||||
# fixed: language-dependent
|
||||
'author': 'Autor',
|
||||
'authors': 'Autors',
|
||||
'organization': 'Organització',
|
||||
'address': 'Adreça',
|
||||
'contact': 'Contacte',
|
||||
'version': 'Versió',
|
||||
'revision': 'Revisió',
|
||||
'status': 'Estat',
|
||||
'date': 'Data',
|
||||
'copyright': 'Copyright',
|
||||
'dedication': 'Dedicatòria',
|
||||
'abstract': 'Resum',
|
||||
'attention': 'Atenció!',
|
||||
'caution': 'Compte!',
|
||||
'danger': 'PERILL!',
|
||||
'error': 'Error',
|
||||
'hint': 'Suggeriment',
|
||||
'important': 'Important',
|
||||
'note': 'Nota',
|
||||
'tip': 'Consell',
|
||||
'warning': 'Avís',
|
||||
'contents': 'Contingut'}
|
||||
"""Mapping of node class name to label text."""
|
||||
|
||||
bibliographic_fields = {
|
||||
# language-dependent: fixed
|
||||
'autor': 'author',
|
||||
'autors': 'authors',
|
||||
'organització': 'organization',
|
||||
'adreça': 'address',
|
||||
'contacte': 'contact',
|
||||
'versió': 'version',
|
||||
'revisió': 'revision',
|
||||
'estat': 'status',
|
||||
'data': 'date',
|
||||
'copyright': 'copyright',
|
||||
'dedicatòria': '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."""
|
|
@ -0,0 +1,60 @@
|
|||
# $Id: cs.py 9452 2023-09-27 00:11:54Z 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 <https://docutils.sourceforge.io/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ři',
|
||||
'organization': 'Organizace',
|
||||
'address': 'Adresa',
|
||||
'contact': 'Kontakt',
|
||||
'version': 'Verze',
|
||||
'revision': 'Revize',
|
||||
'status': 'Stav',
|
||||
'date': 'Datum',
|
||||
'copyright': 'Copyright',
|
||||
'dedication': 'Věnování',
|
||||
'abstract': 'Abstrakt',
|
||||
'attention': 'Pozor!',
|
||||
'caution': 'Opatrně!',
|
||||
'danger': '!NEBEZPEČÍ!',
|
||||
'error': 'Chyba',
|
||||
'hint': 'Rada',
|
||||
'important': 'Důležité',
|
||||
'note': 'Poznámka',
|
||||
'tip': 'Tip',
|
||||
'warning': 'Varování',
|
||||
'contents': 'Obsah'}
|
||||
"""Mapping of node class name to label text."""
|
||||
|
||||
bibliographic_fields = {
|
||||
# language-dependent: fixed
|
||||
'autor': 'author',
|
||||
'autoři': 'authors',
|
||||
'organizace': 'organization',
|
||||
'adresa': 'address',
|
||||
'kontakt': 'contact',
|
||||
'verze': 'version',
|
||||
'revize': 'revision',
|
||||
'stav': 'status',
|
||||
'datum': 'date',
|
||||
'copyright': 'copyright',
|
||||
'věnování': '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."""
|
|
@ -0,0 +1,61 @@
|
|||
# $Id: da.py 9030 2022-03-05 23:28:32Z 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 <https://docutils.sourceforge.io/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."""
|
|
@ -0,0 +1,58 @@
|
|||
# $Id: de.py 9030 2022-03-05 23:28:32Z milde $
|
||||
# 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 <https://docutils.sourceforge.io/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."""
|
|
@ -0,0 +1,60 @@
|
|||
# $Id: en.py 9030 2022-03-05 23:28:32Z 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 <https://docutils.sourceforge.io/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."""
|
|
@ -0,0 +1,61 @@
|
|||
# $Id: eo.py 9452 2023-09-27 00:11:54Z 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 <https://docutils.sourceforge.io/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ŭtoro',
|
||||
'authors': 'Aŭtoroj',
|
||||
'organization': 'Organizo',
|
||||
'address': 'Adreso',
|
||||
'contact': 'Kontakto',
|
||||
'version': 'Versio',
|
||||
'revision': 'Revido',
|
||||
'status': 'Stato',
|
||||
'date': 'Dato',
|
||||
# 'copyright': 'Kopirajto',
|
||||
'copyright': 'Aŭtorrajto',
|
||||
'dedication': 'Dediĉo',
|
||||
'abstract': 'Resumo',
|
||||
'attention': 'Atentu!',
|
||||
'caution': 'Zorgu!',
|
||||
'danger': 'DANĜERO!',
|
||||
'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ŭtoro': 'author',
|
||||
'aŭtoroj': 'authors',
|
||||
'organizo': 'organization',
|
||||
'adreso': 'address',
|
||||
'kontakto': 'contact',
|
||||
'versio': 'version',
|
||||
'revido': 'revision',
|
||||
'stato': 'status',
|
||||
'dato': 'date',
|
||||
'aŭtorrajto': 'copyright',
|
||||
'dediĉo': '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."""
|
|
@ -0,0 +1,58 @@
|
|||
# $Id: es.py 9452 2023-09-27 00:11:54Z 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 <https://docutils.sourceforge.io/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ón',
|
||||
'address': 'Dirección',
|
||||
'contact': 'Contacto',
|
||||
'version': 'Versión',
|
||||
'revision': 'Revisión',
|
||||
'status': 'Estado',
|
||||
'date': 'Fecha',
|
||||
'copyright': 'Copyright',
|
||||
'dedication': 'Dedicatoria',
|
||||
'abstract': 'Resumen',
|
||||
'attention': '¡Atención!',
|
||||
'caution': '¡Precaución!',
|
||||
'danger': '¡PELIGRO!',
|
||||
'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ón': 'organization',
|
||||
'dirección': 'address',
|
||||
'contacto': 'contact',
|
||||
'versión': 'version',
|
||||
'revisión': '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."""
|
|
@ -0,0 +1,60 @@
|
|||
# $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 <https://docutils.sourceforge.io/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."""
|
|
@ -0,0 +1,60 @@
|
|||
# $Id: fi.py 9452 2023-09-27 00:11:54Z 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 <https://docutils.sourceforge.io/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ä',
|
||||
'authors': 'Tekijät',
|
||||
'organization': 'Yhteisö',
|
||||
'address': 'Osoite',
|
||||
'contact': 'Yhteystiedot',
|
||||
'version': 'Versio',
|
||||
'revision': 'Vedos',
|
||||
'status': 'Tila',
|
||||
'date': 'Päiväys',
|
||||
'copyright': 'Tekijänoikeudet',
|
||||
'dedication': 'Omistuskirjoitus',
|
||||
'abstract': 'Tiivistelmä',
|
||||
'attention': 'Huomio!',
|
||||
'caution': 'Varo!',
|
||||
'danger': '!VAARA!',
|
||||
'error': 'Virhe',
|
||||
'hint': 'Vihje',
|
||||
'important': 'Tärkeää',
|
||||
'note': 'Huomautus',
|
||||
'tip': 'Neuvo',
|
||||
'warning': 'Varoitus',
|
||||
'contents': 'Sisällys'}
|
||||
"""Mapping of node class name to label text."""
|
||||
|
||||
bibliographic_fields = {
|
||||
# language-dependent: fixed
|
||||
'tekijä': 'author',
|
||||
'tekijät': 'authors',
|
||||
'yhteisö': 'organization',
|
||||
'osoite': 'address',
|
||||
'yhteystiedot': 'contact',
|
||||
'versio': 'version',
|
||||
'vedos': 'revision',
|
||||
'tila': 'status',
|
||||
'päiväys': 'date',
|
||||
'tekijänoikeudet': 'copyright',
|
||||
'omistuskirjoitus': 'dedication',
|
||||
'tiivistelmä': 'abstract'}
|
||||
"""Finnish (lowcased) to canonical name mapping for bibliographic fields."""
|
||||
|
||||
author_separators = [';', ',']
|
||||
"""List of separator strings for the 'Authors' bibliographic field. Tried in
|
||||
order."""
|
|
@ -0,0 +1,58 @@
|
|||
# $Id: fr.py 9452 2023-09-27 00:11:54Z milde $
|
||||
# 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 <https://docutils.sourceforge.io/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évision',
|
||||
'status': 'Statut',
|
||||
'date': 'Date',
|
||||
'copyright': 'Copyright',
|
||||
'dedication': 'Dédicace',
|
||||
'abstract': 'Résumé',
|
||||
'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évision': 'revision',
|
||||
'statut': 'status',
|
||||
'date': 'date',
|
||||
'copyright': 'copyright',
|
||||
'dédicace': 'dedication',
|
||||
'résumé': 'abstract'}
|
||||
"""French (lowcased) to canonical name mapping for bibliographic fields."""
|
||||
|
||||
author_separators = [';', ',']
|
||||
"""List of separator strings for the 'Authors' bibliographic field. Tried in
|
||||
order."""
|
|
@ -0,0 +1,62 @@
|
|||
# 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 <https://docutils.sourceforge.io/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ón',
|
||||
'address': 'Enderezo',
|
||||
'contact': 'Contacto',
|
||||
'version': 'Versión',
|
||||
'revision': 'Revisión',
|
||||
'status': 'Estado',
|
||||
'date': 'Data',
|
||||
'copyright': 'Dereitos de copia',
|
||||
'dedication': 'Dedicatoria',
|
||||
'abstract': 'Abstract',
|
||||
'attention': 'Atención!',
|
||||
'caution': 'Advertencia!',
|
||||
'danger': 'PERIGO!',
|
||||
'error': 'Erro',
|
||||
'hint': 'Consello',
|
||||
'important': 'Importante',
|
||||
'note': 'Nota',
|
||||
'tip': 'Suxestión',
|
||||
'warning': 'Aviso',
|
||||
'contents': 'Contido'}
|
||||
"""Mapping of node class name to label text."""
|
||||
|
||||
bibliographic_fields = {
|
||||
# language-dependent: fixed
|
||||
'autor': 'author',
|
||||
'autores': 'authors',
|
||||
'organización': 'organization',
|
||||
'enderezo': 'address',
|
||||
'contacto': 'contact',
|
||||
'versión': 'version',
|
||||
'revisión': '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."""
|
|
@ -0,0 +1,62 @@
|
|||
# Author: Meir Kriheli
|
||||
# Id: $Id: he.py 9452 2023-09-27 00:11:54Z milde $
|
||||
# Copyright: This module has been placed in the public domain.
|
||||
|
||||
# New language mappings are welcome. Before doing a new translation, please
|
||||
# read <https://docutils.sourceforge.io/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': 'מחבר',
|
||||
'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',
|
||||
}
|
||||
"""Hebrew to canonical name mapping for bibliographic fields."""
|
||||
|
||||
author_separators = [';', ',']
|
||||
"""List of separator strings for the 'Authors' bibliographic field. Tried in
|
||||
order."""
|
|
@ -0,0 +1,58 @@
|
|||
# $Id: it.py 9030 2022-03-05 23:28:32Z milde $
|
||||
# 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 <https://docutils.sourceforge.io/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."""
|
|
@ -0,0 +1,60 @@
|
|||
# $Id: ja.py 9030 2022-03-05 23:28:32Z milde $
|
||||
# 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 <https://docutils.sourceforge.io/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."""
|
|
@ -0,0 +1,58 @@
|
|||
# $Id: ka.py 9444 2023-08-23 12:02:41Z grubert $
|
||||
# Author: Temuri Doghonadze <temuri dot doghonadze at gmail dot com>
|
||||
# Copyright: This module has been placed in the public domain.
|
||||
|
||||
# New language mappings are welcome. Before doing a new translation, please
|
||||
# read <https://docutils.sourceforge.io/docs/howto/i18n.html>.
|
||||
# Two files must be translated for each language: one in docutils/languages,
|
||||
# the other in docutils/parsers/rst/languages.
|
||||
|
||||
"""
|
||||
Georgian-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'}
|
||||
"""Georgian (lowcased) to canonical name mapping for bibliographic fields."""
|
||||
|
||||
author_separators = [';', ',']
|
||||
"""List of separator strings for the 'Authors' bibliographic field. Tried in
|
||||
order."""
|
|
@ -0,0 +1,60 @@
|
|||
# $Id: ko.py 9030 2022-03-05 23:28:32Z 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 <https://docutils.sourceforge.io/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': '버전',
|
||||
'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'}
|
||||
"""Korean to canonical name mapping for bibliographic fields."""
|
||||
|
||||
author_separators = [';', ',']
|
||||
"""List of separator strings for the 'Authors' bibliographic field. Tried in
|
||||
order."""
|
|
@ -0,0 +1,60 @@
|
|||
# $Id: lt.py 9030 2022-03-05 23:28:32Z 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 <https://docutils.sourceforge.io/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."""
|
|
@ -0,0 +1,59 @@
|
|||
# $Id: lv.py 9030 2022-03-05 23:28:32Z milde $
|
||||
# Copyright: This module has been placed in the public domain.
|
||||
|
||||
# New language mappings are welcome. Before doing a new translation, please
|
||||
# read <https://docutils.sourceforge.io/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."""
|
|
@ -0,0 +1,60 @@
|
|||
# $Id: nl.py 9030 2022-03-05 23:28:32Z 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 <https://docutils.sourceforge.io/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."""
|
|
@ -0,0 +1,60 @@
|
|||
# $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 <https://docutils.sourceforge.io/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żnie!',
|
||||
'danger': '!Niebezpieczeństwo!',
|
||||
'error': 'Błąd',
|
||||
'hint': 'Wskazówka',
|
||||
'important': 'Ważne',
|
||||
'note': 'Przypis',
|
||||
'tip': 'Rada',
|
||||
'warning': 'Ostrzeżenie',
|
||||
'contents': 'Treść'}
|
||||
"""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."""
|
|
@ -0,0 +1,60 @@
|
|||
# $Id: pt_br.py 9452 2023-09-27 00:11:54Z 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 <https://docutils.sourceforge.io/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.
|
||||
"""
|
||||
|
||||
__docformat__ = 'reStructuredText'
|
||||
|
||||
labels = {
|
||||
# fixed: language-dependent
|
||||
'author': 'Autor',
|
||||
'authors': 'Autores',
|
||||
'organization': 'Organização',
|
||||
'address': 'Endereço',
|
||||
'contact': 'Contato',
|
||||
'version': 'Versão',
|
||||
'revision': 'Revisão',
|
||||
'status': 'Estado',
|
||||
'date': 'Data',
|
||||
'copyright': 'Copyright',
|
||||
'dedication': 'Dedicatória',
|
||||
'abstract': 'Resumo',
|
||||
'attention': 'Atenção!',
|
||||
'caution': 'Cuidado!',
|
||||
'danger': 'PERIGO!',
|
||||
'error': 'Erro',
|
||||
'hint': 'Sugestão',
|
||||
'important': 'Importante',
|
||||
'note': 'Nota',
|
||||
'tip': 'Dica',
|
||||
'warning': 'Aviso',
|
||||
'contents': 'Sumário'}
|
||||
"""Mapping of node class name to label text."""
|
||||
|
||||
bibliographic_fields = {
|
||||
# language-dependent: fixed
|
||||
'autor': 'author',
|
||||
'autores': 'authors',
|
||||
'organização': 'organization',
|
||||
'endereço': 'address',
|
||||
'contato': 'contact',
|
||||
'versão': 'version',
|
||||
'revisão': 'revision',
|
||||
'estado': 'status',
|
||||
'data': 'date',
|
||||
'copyright': 'copyright',
|
||||
'dedicatória': 'dedication',
|
||||
'resumo': 'abstract'}
|
||||
"""Brazilian Portuguese (lowcased) name mapping for bibliographic fields."""
|
||||
|
||||
author_separators = [';', ',']
|
||||
"""List of separator strings for the 'Authors' bibliographic field. Tried in
|
||||
order."""
|
|
@ -0,0 +1,58 @@
|
|||
# $Id: ru.py 9030 2022-03-05 23:28:32Z 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 <https://docutils.sourceforge.io/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."""
|
|
@ -0,0 +1,58 @@
|
|||
# $Id: sk.py 9452 2023-09-27 00:11:54Z 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 <https://docutils.sourceforge.io/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ácia',
|
||||
'address': 'Adresa',
|
||||
'contact': 'Kontakt',
|
||||
'version': 'Verzia',
|
||||
'revision': 'Revízia',
|
||||
'status': 'Stav',
|
||||
'date': 'Dátum',
|
||||
'copyright': 'Copyright',
|
||||
'dedication': 'Venovanie',
|
||||
'abstract': 'Abstraktne',
|
||||
'attention': 'Pozor!',
|
||||
'caution': 'Opatrne!',
|
||||
'danger': '!NEBEZPEČENSTVO!',
|
||||
'error': 'Chyba',
|
||||
'hint': 'Rada',
|
||||
'important': 'Dôležité',
|
||||
'note': 'Poznámka',
|
||||
'tip': 'Tip',
|
||||
'warning': 'Varovanie',
|
||||
'contents': 'Obsah'}
|
||||
"""Mapping of node class name to label text."""
|
||||
|
||||
bibliographic_fields = {
|
||||
'autor': 'author',
|
||||
'autori': 'authors',
|
||||
'organizácia': 'organization',
|
||||
'adresa': 'address',
|
||||
'kontakt': 'contact',
|
||||
'verzia': 'version',
|
||||
'revízia': 'revision',
|
||||
'stav': 'status',
|
||||
'dátum': '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."""
|
|
@ -0,0 +1,59 @@
|
|||
# $Id: sv.py 9452 2023-09-27 00:11:54Z 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 <https://docutils.sourceforge.io/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', # removing leads to (spurious) test failure
|
||||
'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."""
|
|
@ -0,0 +1,58 @@
|
|||
# $Id: uk.py 9114 2022-07-28 17:06:10Z milde $
|
||||
# Author: Dmytro Kazanzhy <dkazanzhy@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.
|
||||
|
||||
"""
|
||||
Ukrainian-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'}
|
||||
"""Ukrainian (lowcased) to canonical name mapping for bibliographic fields."""
|
||||
|
||||
author_separators = [';', ',']
|
||||
"""List of separator strings for the 'Authors' bibliographic field. Tried in
|
||||
order."""
|
|
@ -0,0 +1,62 @@
|
|||
# $Id: zh_cn.py 9452 2023-09-27 00:11:54Z milde $
|
||||
# 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 <https://docutils.sourceforge.io/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 = [';', ',', ';', ',', '、']
|
||||
"""List of separator strings for the 'Authors' bibliographic field. Tried in
|
||||
order."""
|
|
@ -0,0 +1,61 @@
|
|||
# $Id: zh_tw.py 9452 2023-09-27 00:11:54Z milde $
|
||||
# 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 <https://docutils.sourceforge.io/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.
|
||||
"""
|
||||
|
||||
__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 (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 = [';', ',', ';', ',', '、']
|
||||
"""List of separator strings for the 'Authors' bibliographic field. Tried in
|
||||
order."""
|
Loading…
Add table
Add a link
Reference in a new issue