comparison env/lib/python3.9/site-packages/docutils/parsers/rst/languages/zh_cn.py @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 # -*- coding: utf-8 -*-
2 # $Id: zh_cn.py 7119 2011-09-02 13:00:23Z milde $
3 # Author: Panjunyong <panjy@zopechina.com>
4 # Copyright: This module has been placed in the public domain.
5
6 # New language mappings are welcome. Before doing a new translation, please
7 # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be
8 # translated for each language: one in docutils/languages, the other in
9 # docutils/parsers/rst/languages.
10
11 """
12 Simplified Chinese language mappings for language-dependent features of
13 reStructuredText.
14 """
15
16 __docformat__ = 'reStructuredText'
17
18
19 directives = {
20 # language-dependent: fixed
21 u'注意': 'attention',
22 u'小心': 'caution',
23 u'code (translation required)': 'code',
24 u'危险': 'danger',
25 u'错误': 'error',
26 u'提示': 'hint',
27 u'重要': 'important',
28 u'注解': 'note',
29 u'技巧': 'tip',
30 u'警告': 'warning',
31 u'忠告': 'admonition',
32 u'侧框': 'sidebar',
33 u'主题': 'topic',
34 u'line-block (translation required)': 'line-block',
35 u'parsed-literal (translation required)': 'parsed-literal',
36 u'醒目': 'rubric',
37 u'铭文': 'epigraph',
38 u'要点': 'highlights',
39 u'pull-quote (translation required)': 'pull-quote',
40 u'复合': 'compound',
41 u'容器': 'container',
42 #u'questions (translation required)': 'questions',
43 u'表格': 'table',
44 u'csv表格': 'csv-table',
45 u'列表表格': 'list-table',
46 #u'qa (translation required)': 'questions',
47 #u'faq (translation required)': 'questions',
48 u'元数据': 'meta',
49 u'math (translation required)': 'math',
50 #u'imagemap (translation required)': 'imagemap',
51 u'图片': 'image',
52 u'图例': 'figure',
53 u'包含': 'include',
54 u'原文': 'raw',
55 u'代替': 'replace',
56 u'统一码': 'unicode',
57 u'日期': 'date',
58 u'类型': 'class',
59 u'角色': 'role',
60 u'默认角色': 'default-role',
61 u'标题': 'title',
62 u'目录': 'contents',
63 u'章节序号': 'sectnum',
64 u'题头': 'header',
65 u'页脚': 'footer',
66 #u'footnotes (translation required)': 'footnotes',
67 #u'citations (translation required)': 'citations',
68 u'target-notes (translation required)': 'target-notes',
69 u'restructuredtext-test-directive': 'restructuredtext-test-directive'}
70 """Simplified Chinese name to registered (in directives/__init__.py)
71 directive name mapping."""
72
73 roles = {
74 # language-dependent: fixed
75 u'缩写': 'abbreviation',
76 u'简称': 'acronym',
77 u'code (translation required)': 'code',
78 u'index (translation required)': 'index',
79 u'i (translation required)': 'index',
80 u'下标': 'subscript',
81 u'上标': 'superscript',
82 u'title-reference (translation required)': 'title-reference',
83 u'title (translation required)': 'title-reference',
84 u't (translation required)': 'title-reference',
85 u'pep-reference (translation required)': 'pep-reference',
86 u'pep (translation required)': 'pep-reference',
87 u'rfc-reference (translation required)': 'rfc-reference',
88 u'rfc (translation required)': 'rfc-reference',
89 u'强调': 'emphasis',
90 u'加粗': 'strong',
91 u'字面': 'literal',
92 u'math (translation required)': 'math',
93 u'named-reference (translation required)': 'named-reference',
94 u'anonymous-reference (translation required)': 'anonymous-reference',
95 u'footnote-reference (translation required)': 'footnote-reference',
96 u'citation-reference (translation required)': 'citation-reference',
97 u'substitution-reference (translation required)': 'substitution-reference',
98 u'target (translation required)': 'target',
99 u'uri-reference (translation required)': 'uri-reference',
100 u'uri (translation required)': 'uri-reference',
101 u'url (translation required)': 'uri-reference',
102 u'raw (translation required)': 'raw',}
103 """Mapping of Simplified Chinese role names to canonical role names
104 for interpreted text."""