1 | # -*- coding: utf-8 -*- |
---|
2 | # Author: David Goodger |
---|
3 | # Contact: goodger@users.sourceforge.net |
---|
4 | # Revision: $Revision: 4229 $ |
---|
5 | # Date: $Date: 2005-12-23 00:46:16 +0100 (Fri, 23 Dec 2005) $ |
---|
6 | # Copyright: This module has been placed in the public domain. |
---|
7 | |
---|
8 | # New language mappings are welcome. Before doing a new translation, please |
---|
9 | # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be |
---|
10 | # translated for each language: one in docutils/languages, the other in |
---|
11 | # docutils/parsers/rst/languages. |
---|
12 | |
---|
13 | """ |
---|
14 | Traditional Chinese language mappings for language-dependent features of |
---|
15 | reStructuredText. |
---|
16 | """ |
---|
17 | |
---|
18 | __docformat__ = 'reStructuredText' |
---|
19 | |
---|
20 | |
---|
21 | directives = { |
---|
22 | # language-dependent: fixed |
---|
23 | 'attention (translation required)': 'attention', |
---|
24 | 'caution (translation required)': 'caution', |
---|
25 | 'danger (translation required)': 'danger', |
---|
26 | 'error (translation required)': 'error', |
---|
27 | 'hint (translation required)': 'hint', |
---|
28 | 'important (translation required)': 'important', |
---|
29 | 'note (translation required)': 'note', |
---|
30 | 'tip (translation required)': 'tip', |
---|
31 | 'warning (translation required)': 'warning', |
---|
32 | 'admonition (translation required)': 'admonition', |
---|
33 | 'sidebar (translation required)': 'sidebar', |
---|
34 | 'topic (translation required)': 'topic', |
---|
35 | 'line-block (translation required)': 'line-block', |
---|
36 | 'parsed-literal (translation required)': 'parsed-literal', |
---|
37 | 'rubric (translation required)': 'rubric', |
---|
38 | 'epigraph (translation required)': 'epigraph', |
---|
39 | 'highlights (translation required)': 'highlights', |
---|
40 | 'pull-quote (translation required)': 'pull-quote', |
---|
41 | 'compound (translation required)': 'compound', |
---|
42 | u'container (translation required)': 'container', |
---|
43 | #'questions (translation required)': 'questions', |
---|
44 | 'table (translation required)': 'table', |
---|
45 | 'csv-table (translation required)': 'csv-table', |
---|
46 | 'list-table (translation required)': 'list-table', |
---|
47 | #'qa (translation required)': 'questions', |
---|
48 | #'faq (translation required)': 'questions', |
---|
49 | 'meta (translation required)': 'meta', |
---|
50 | #'imagemap (translation required)': 'imagemap', |
---|
51 | 'image (translation required)': 'image', |
---|
52 | 'figure (translation required)': 'figure', |
---|
53 | 'include (translation required)': 'include', |
---|
54 | 'raw (translation required)': 'raw', |
---|
55 | 'replace (translation required)': 'replace', |
---|
56 | 'unicode (translation required)': 'unicode', |
---|
57 | u'譌・譛�: 'date', |
---|
58 | 'class (translation required)': 'class', |
---|
59 | 'role (translation required)': 'role', |
---|
60 | u'default-role (translation required)': 'default-role', |
---|
61 | u'title (translation required)': 'title', |
---|
62 | 'contents (translation required)': 'contents', |
---|
63 | 'sectnum (translation required)': 'sectnum', |
---|
64 | 'section-numbering (translation required)': 'sectnum', |
---|
65 | u'header (translation required)': 'header', |
---|
66 | u'footer (translation required)': 'footer', |
---|
67 | #'footnotes (translation required)': 'footnotes', |
---|
68 | #'citations (translation required)': 'citations', |
---|
69 | 'target-notes (translation required)': 'target-notes', |
---|
70 | 'restructuredtext-test-directive': 'restructuredtext-test-directive'} |
---|
71 | """Traditional Chinese name to registered (in directives/__init__.py) |
---|
72 | directive name mapping.""" |
---|
73 | |
---|
74 | roles = { |
---|
75 | # language-dependent: fixed |
---|
76 | 'abbreviation (translation required)': 'abbreviation', |
---|
77 | 'ab (translation required)': 'abbreviation', |
---|
78 | 'acronym (translation required)': 'acronym', |
---|
79 | 'ac (translation required)': 'acronym', |
---|
80 | 'index (translation required)': 'index', |
---|
81 | 'i (translation required)': 'index', |
---|
82 | 'subscript (translation required)': 'subscript', |
---|
83 | 'sub (translation required)': 'subscript', |
---|
84 | 'superscript (translation required)': 'superscript', |
---|
85 | 'sup (translation required)': 'superscript', |
---|
86 | 'title-reference (translation required)': 'title-reference', |
---|
87 | 'title (translation required)': 'title-reference', |
---|
88 | 't (translation required)': 'title-reference', |
---|
89 | 'pep-reference (translation required)': 'pep-reference', |
---|
90 | 'pep (translation required)': 'pep-reference', |
---|
91 | 'rfc-reference (translation required)': 'rfc-reference', |
---|
92 | 'rfc (translation required)': 'rfc-reference', |
---|
93 | 'emphasis (translation required)': 'emphasis', |
---|
94 | 'strong (translation required)': 'strong', |
---|
95 | 'literal (translation required)': 'literal', |
---|
96 | 'named-reference (translation required)': 'named-reference', |
---|
97 | 'anonymous-reference (translation required)': 'anonymous-reference', |
---|
98 | 'footnote-reference (translation required)': 'footnote-reference', |
---|
99 | 'citation-reference (translation required)': 'citation-reference', |
---|
100 | 'substitution-reference (translation required)': 'substitution-reference', |
---|
101 | 'target (translation required)': 'target', |
---|
102 | 'uri-reference (translation required)': 'uri-reference', |
---|
103 | 'uri (translation required)': 'uri-reference', |
---|
104 | 'url (translation required)': 'uri-reference', |
---|
105 | 'raw (translation required)': 'raw',} |
---|
106 | """Mapping of Traditional Chinese role names to canonical role names for |
---|
107 | interpreted text.""" |
---|