| # $Id: fr.py 4564 2006-05-21 20:44:42Z wiemann $ |
| # Authors: David Goodger <goodger@python.org>; William Dode |
| # Copyright: This module has been placed in the public domain. |
| |
| # New language mappings are welcome. Before doing a new translation, please |
| # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be |
| # translated for each language: one in docutils/languages, the other in |
| # docutils/parsers/rst/languages. |
| |
| """ |
| French-language mappings for language-dependent features of |
| reStructuredText. |
| """ |
| |
| __docformat__ = 'reStructuredText' |
| |
| |
| directives = { |
| u'attention': 'attention', |
| u'pr\u00E9caution': 'caution', |
| u'danger': 'danger', |
| u'erreur': 'error', |
| u'conseil': 'hint', |
| u'important': 'important', |
| u'note': 'note', |
| u'astuce': 'tip', |
| u'avertissement': 'warning', |
| u'admonition': 'admonition', |
| u'encadr\u00E9': 'sidebar', |
| u'sujet': 'topic', |
| u'bloc-textuel': 'line-block', |
| u'bloc-interpr\u00E9t\u00E9': 'parsed-literal', |
| u'code-interpr\u00E9t\u00E9': 'parsed-literal', |
| u'intertitre': 'rubric', |
| u'exergue': 'epigraph', |
| u'\u00E9pigraphe': 'epigraph', |
| u'chapeau': 'highlights', |
| u'accroche': 'pull-quote', |
| u'compound (translation required)': 'compound', |
| u'container (translation required)': 'container', |
| #u'questions': 'questions', |
| #u'qr': 'questions', |
| #u'faq': 'questions', |
| u'tableau': 'table', |
| u'csv-table (translation required)': 'csv-table', |
| u'list-table (translation required)': 'list-table', |
| u'm\u00E9ta': 'meta', |
| #u'imagemap (translation required)': 'imagemap', |
| u'image': 'image', |
| u'figure': 'figure', |
| u'inclure': 'include', |
| u'brut': 'raw', |
| u'remplacer': 'replace', |
| u'remplace': 'replace', |
| u'unicode': 'unicode', |
| u'date': 'date', |
| u'classe': 'class', |
| u'role (translation required)': 'role', |
| u'default-role (translation required)': 'default-role', |
| u'titre (translation required)': 'title', |
| u'sommaire': 'contents', |
| u'table-des-mati\u00E8res': 'contents', |
| u'sectnum': 'sectnum', |
| u'section-num\u00E9rot\u00E9e': 'sectnum', |
| u'liens': 'target-notes', |
| u'header (translation required)': 'header', |
| u'footer (translation required)': 'footer', |
| #u'footnotes (translation required)': 'footnotes', |
| #u'citations (translation required)': 'citations', |
| } |
| """French name to registered (in directives/__init__.py) directive name |
| mapping.""" |
| |
| roles = { |
| u'abr\u00E9viation': 'abbreviation', |
| u'acronyme': 'acronym', |
| u'sigle': 'acronym', |
| u'index': 'index', |
| u'indice': 'subscript', |
| u'ind': 'subscript', |
| u'exposant': 'superscript', |
| u'exp': 'superscript', |
| u'titre-r\u00E9f\u00E9rence': 'title-reference', |
| u'titre': 'title-reference', |
| u'pep-r\u00E9f\u00E9rence': 'pep-reference', |
| u'rfc-r\u00E9f\u00E9rence': 'rfc-reference', |
| u'emphase': 'emphasis', |
| u'fort': 'strong', |
| u'litt\u00E9ral': 'literal', |
| u'nomm\u00E9e-r\u00E9f\u00E9rence': 'named-reference', |
| u'anonyme-r\u00E9f\u00E9rence': 'anonymous-reference', |
| u'note-r\u00E9f\u00E9rence': 'footnote-reference', |
| u'citation-r\u00E9f\u00E9rence': 'citation-reference', |
| u'substitution-r\u00E9f\u00E9rence': 'substitution-reference', |
| u'lien': 'target', |
| u'uri-r\u00E9f\u00E9rence': 'uri-reference', |
| u'brut': 'raw',} |
| """Mapping of French role names to canonical role names for interpreted text. |
| """ |