Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/docutils/languages/zh_cn.py @ 5:9b1c78e6ba9c draft default tip
"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
| author | shellac |
|---|---|
| date | Mon, 01 Jun 2020 08:59:25 -0400 |
| parents | 79f47841a781 |
| children |
comparison
equal
deleted
inserted
replaced
| 4:79f47841a781 | 5:9b1c78e6ba9c |
|---|---|
| 1 # -*- coding: utf-8 -*- | |
| 2 # $Id: zh_cn.py 4564 2006-05-21 20:44:42Z wiemann $ | |
| 3 # Author: Pan Junyong <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 | |
| 13 of Docutils. | |
| 14 """ | |
| 15 | |
| 16 __docformat__ = 'reStructuredText' | |
| 17 | |
| 18 labels = { | |
| 19 # fixed: language-dependent | |
| 20 'author': u'作者', | |
| 21 'authors': u'作者群', | |
| 22 'organization': u'组织', | |
| 23 'address': u'地址', | |
| 24 'contact': u'联系', | |
| 25 'version': u'版本', | |
| 26 'revision': u'修订', | |
| 27 'status': u'状态', | |
| 28 'date': u'日期', | |
| 29 'copyright': u'版权', | |
| 30 'dedication': u'献辞', | |
| 31 'abstract': u'摘要', | |
| 32 'attention': u'注意', | |
| 33 'caution': u'小心', | |
| 34 'danger': u'危险', | |
| 35 'error': u'错误', | |
| 36 'hint': u'提示', | |
| 37 'important': u'重要', | |
| 38 'note': u'注解', | |
| 39 'tip': u'技巧', | |
| 40 'warning': u'警告', | |
| 41 'contents': u'目录', | |
| 42 } | |
| 43 """Mapping of node class name to label text.""" | |
| 44 | |
| 45 bibliographic_fields = { | |
| 46 # language-dependent: fixed | |
| 47 u'作者': 'author', | |
| 48 u'作者群': 'authors', | |
| 49 u'组织': 'organization', | |
| 50 u'地址': 'address', | |
| 51 u'联系': 'contact', | |
| 52 u'版本': 'version', | |
| 53 u'修订': 'revision', | |
| 54 u'状态': 'status', | |
| 55 u'时间': 'date', | |
| 56 u'版权': 'copyright', | |
| 57 u'献辞': 'dedication', | |
| 58 u'摘要': 'abstract'} | |
| 59 """Simplified Chinese to canonical name mapping for bibliographic fields.""" | |
| 60 | |
| 61 author_separators = [';', ',', | |
| 62 u'\uff1b', # ';' | |
| 63 u'\uff0c', # ',' | |
| 64 u'\u3001', # '、' | |
| 65 ] | |
| 66 """List of separator strings for the 'Authors' bibliographic field. Tried in | |
| 67 order.""" |
