1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
# $Id: fr.py 9030 2022-03-05 23:28:32Z milde $
# Authors: David Goodger <goodger@python.org>; William Dode
# Copyright: This module has been placed in the public domain.
# New language mappings are welcome. Before doing a new translation, please
# read <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
reStructuredText.
"""
__docformat__ = 'reStructuredText'
directives = {
'attention': 'attention',
'pr\u00E9caution': 'caution',
'code': 'code',
'danger': 'danger',
'erreur': 'error',
'conseil': 'hint',
'important': 'important',
'note': 'note',
'astuce': 'tip',
'avertissement': 'warning',
'admonition': 'admonition',
'encadr\u00E9': 'sidebar',
'sujet': 'topic',
'bloc-textuel': 'line-block',
'bloc-interpr\u00E9t\u00E9': 'parsed-literal',
'code-interpr\u00E9t\u00E9': 'parsed-literal',
'intertitre': 'rubric',
'exergue': 'epigraph',
'\u00E9pigraphe': 'epigraph',
'chapeau': 'highlights',
'accroche': 'pull-quote',
'compound (translation required)': 'compound',
'container (translation required)': 'container',
# 'questions': 'questions',
# 'qr': 'questions',
# 'faq': 'questions',
'tableau': 'table',
'csv-table (translation required)': 'csv-table',
'list-table (translation required)': 'list-table',
'm\u00E9ta': 'meta',
'math (translation required)': 'math',
# 'imagemap (translation required)': 'imagemap',
'image': 'image',
'figure': 'figure',
'inclure': 'include',
'brut': 'raw',
'remplacer': 'replace',
'remplace': 'replace',
'unicode': 'unicode',
'date': 'date',
'classe': 'class',
'role (translation required)': 'role',
'default-role (translation required)': 'default-role',
'titre (translation required)': 'title',
'sommaire': 'contents',
'table-des-mati\u00E8res': 'contents',
'sectnum': 'sectnum',
'section-num\u00E9rot\u00E9e': 'sectnum',
'liens': 'target-notes',
'header (translation required)': 'header',
'footer (translation required)': 'footer',
# 'footnotes (translation required)': 'footnotes',
# 'citations (translation required)': 'citations',
}
"""French name to registered (in directives/__init__.py) directive name
mapping."""
roles = {
'abr\u00E9viation': 'abbreviation',
'acronyme': 'acronym',
'sigle': 'acronym',
'code': 'code',
'index': 'index',
'indice': 'subscript',
'ind': 'subscript',
'exposant': 'superscript',
'exp': 'superscript',
'titre-r\u00E9f\u00E9rence': 'title-reference',
'titre': 'title-reference',
'pep-r\u00E9f\u00E9rence': 'pep-reference',
'rfc-r\u00E9f\u00E9rence': 'rfc-reference',
'emphase': 'emphasis',
'fort': 'strong',
'litt\u00E9ral': 'literal',
'math (translation required)': 'math',
'nomm\u00E9e-r\u00E9f\u00E9rence': 'named-reference',
'anonyme-r\u00E9f\u00E9rence': 'anonymous-reference',
'note-r\u00E9f\u00E9rence': 'footnote-reference',
'citation-r\u00E9f\u00E9rence': 'citation-reference',
'substitution-r\u00E9f\u00E9rence': 'substitution-reference',
'lien': 'target',
'uri-r\u00E9f\u00E9rence': 'uri-reference',
'brut': 'raw',
}
"""Mapping of French role names to canonical role names for interpreted text.
"""
|