1 | # Authors: David Goodger; William Dode |
---|
2 | # Contact: goodger@users.sourceforge.net |
---|
3 | # Revision: $Revision: 4229 $ |
---|
4 | # Date: $Date: 2005-12-23 00:46:16 +0100 (Fri, 23 Dec 2005) $ |
---|
5 | # Copyright: This module has been placed in the public domain. |
---|
6 | |
---|
7 | # New language mappings are welcome. Before doing a new translation, please |
---|
8 | # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be |
---|
9 | # translated for each language: one in docutils/languages, the other in |
---|
10 | # docutils/parsers/rst/languages. |
---|
11 | |
---|
12 | """ |
---|
13 | French-language mappings for language-dependent features of |
---|
14 | reStructuredText. |
---|
15 | """ |
---|
16 | |
---|
17 | __docformat__ = 'reStructuredText' |
---|
18 | |
---|
19 | |
---|
20 | directives = { |
---|
21 | u'attention': 'attention', |
---|
22 | u'pr\u00E9caution': 'caution', |
---|
23 | u'danger': 'danger', |
---|
24 | u'erreur': 'error', |
---|
25 | u'conseil': 'hint', |
---|
26 | u'important': 'important', |
---|
27 | u'note': 'note', |
---|
28 | u'astuce': 'tip', |
---|
29 | u'avertissement': 'warning', |
---|
30 | u'admonition': 'admonition', |
---|
31 | u'encadr\u00E9': 'sidebar', |
---|
32 | u'sujet': 'topic', |
---|
33 | u'bloc-textuel': 'line-block', |
---|
34 | u'bloc-interpr\u00E9t\u00E9': 'parsed-literal', |
---|
35 | u'code-interpr\u00E9t\u00E9': 'parsed-literal', |
---|
36 | u'intertitre': 'rubric', |
---|
37 | u'exergue': 'epigraph', |
---|
38 | u'\u00E9pigraphe': 'epigraph', |
---|
39 | u'chapeau': 'highlights', |
---|
40 | u'accroche': 'pull-quote', |
---|
41 | u'compound (translation required)': 'compound', |
---|
42 | u'container (translation required)': 'container', |
---|
43 | #u'questions': 'questions', |
---|
44 | #u'qr': 'questions', |
---|
45 | #u'faq': 'questions', |
---|
46 | u'tableau': 'table', |
---|
47 | u'csv-table (translation required)': 'csv-table', |
---|
48 | u'list-table (translation required)': 'list-table', |
---|
49 | u'm\u00E9ta': 'meta', |
---|
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'index': 'index', |
---|
81 | u'indice': 'subscript', |
---|
82 | u'ind': 'subscript', |
---|
83 | u'exposant': 'superscript', |
---|
84 | u'exp': 'superscript', |
---|
85 | u'titre-r\u00E9f\u00E9rence': 'title-reference', |
---|
86 | u'titre': 'title-reference', |
---|
87 | u'pep-r\u00E9f\u00E9rence': 'pep-reference', |
---|
88 | u'rfc-r\u00E9f\u00E9rence': 'rfc-reference', |
---|
89 | u'emphase': 'emphasis', |
---|
90 | u'fort': 'strong', |
---|
91 | u'litt\u00E9ral': 'literal', |
---|
92 | u'nomm\u00E9e-r\u00E9f\u00E9rence': 'named-reference', |
---|
93 | u'anonyme-r\u00E9f\u00E9rence': 'anonymous-reference', |
---|
94 | u'note-r\u00E9f\u00E9rence': 'footnote-reference', |
---|
95 | u'citation-r\u00E9f\u00E9rence': 'citation-reference', |
---|
96 | u'substitution-r\u00E9f\u00E9rence': 'substitution-reference', |
---|
97 | u'lien': 'target', |
---|
98 | u'uri-r\u00E9f\u00E9rence': 'uri-reference', |
---|
99 | u'brut': 'raw',} |
---|
100 | """Mapping of French role names to canonical role names for interpreted text. |
---|
101 | """ |
---|