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