Debian Codegraph @

docutils/languages/zh_cn.py

raw symbols SCIP
1 # $Id: zh_cn.py 9452 2023-09-27 00:11:54Z milde $
2 # Author: Pan Junyong <[email protected]>
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 <https://docutils.sourceforge.io/docs/howto/i18n.html>.
7 # Two files must be translated for each language: one in docutils/languages,
8 # the other in docutils/parsers/rst/languages.
9
10 """
11 Simplified Chinese language mappings for language-dependent features
12 of Docutils.
13 """
14
15 __docformat__ = 'reStructuredText'
16
17 labels = {
18 # fixed: language-dependent
19 'author': '作者',
20 'authors': '作者群',
21 'organization': '组织',
22 'address': '地址',
23 'contact': '联系',
24 'version': '版本',
25 'revision': '修订',
26 'status': '状态',
27 'date': '日期',
28 'copyright': '版权',
29 'dedication': '献辞',
30 'abstract': '摘要',
31 'attention': '注意',
32 'caution': '小心',
33 'danger': '危险',
34 'error': '错误',
35 'hint': '提示',
36 'important': '重要',
37 'note': '注解',
38 'tip': '技巧',
39 'warning': '警告',
40 'contents': '目录',
41 }
42 """Mapping of node class name to label text."""
43
44 bibliographic_fields = {
45 # language-dependent: fixed
46 '作者': 'author',
47 '作者群': 'authors',
48 '组织': 'organization',
49 '地址': 'address',
50 '联系': 'contact',
51 '版本': 'version',
52 '修订': 'revision',
53 '状态': 'status',
54 '时间': 'date',
55 '版权': 'copyright',
56 '献辞': 'dedication',
57 '摘要': 'abstract'}
58 """Simplified Chinese to canonical name mapping for bibliographic fields."""
59
60 author_separators = [';', ',', ';', ',', '、']
61 """List of separator strings for the 'Authors' bibliographic field. Tried in
62 order."""