aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/docutils/languages/zh_cn.py
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/docutils/languages/zh_cn.py')
-rw-r--r--.venv/lib/python3.12/site-packages/docutils/languages/zh_cn.py62
1 files changed, 62 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/docutils/languages/zh_cn.py b/.venv/lib/python3.12/site-packages/docutils/languages/zh_cn.py
new file mode 100644
index 00000000..c2ff2e6a
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/docutils/languages/zh_cn.py
@@ -0,0 +1,62 @@
+# $Id: zh_cn.py 9452 2023-09-27 00:11:54Z milde $
+# Author: Pan Junyong <panjy@zopechina.com>
+# Copyright: This module has been placed in the public domain.
+
+# New language mappings are welcome. Before doing a new translation, please
+# read <https://docutils.sourceforge.io/docs/howto/i18n.html>.
+# Two files must be translated for each language: one in docutils/languages,
+# the other in docutils/parsers/rst/languages.
+
+"""
+Simplified Chinese language mappings for language-dependent features
+of Docutils.
+"""
+
+__docformat__ = 'reStructuredText'
+
+labels = {
+ # fixed: language-dependent
+ 'author': '作者',
+ 'authors': '作者群',
+ 'organization': '组织',
+ 'address': '地址',
+ 'contact': '联系',
+ 'version': '版本',
+ 'revision': '修订',
+ 'status': '状态',
+ 'date': '日期',
+ 'copyright': '版权',
+ 'dedication': '献辞',
+ 'abstract': '摘要',
+ 'attention': '注意',
+ 'caution': '小心',
+ 'danger': '危险',
+ 'error': '错误',
+ 'hint': '提示',
+ 'important': '重要',
+ 'note': '注解',
+ 'tip': '技巧',
+ 'warning': '警告',
+ 'contents': '目录',
+}
+"""Mapping of node class name to label text."""
+
+bibliographic_fields = {
+ # language-dependent: fixed
+ '作者': 'author',
+ '作者群': 'authors',
+ '组织': 'organization',
+ '地址': 'address',
+ '联系': 'contact',
+ '版本': 'version',
+ '修订': 'revision',
+ '状态': 'status',
+ '时间': 'date',
+ '版权': 'copyright',
+ '献辞': 'dedication',
+ '摘要': 'abstract'}
+"""Simplified Chinese to canonical name mapping for bibliographic fields."""
+
+author_separators = [';', ',', ';', ',', '、']
+"""List of separator strings for the 'Authors' bibliographic field. Tried in
+order."""