# -*- coding: utf-8 -*- # $Id: zh_cn.py 7119 2011-09-02 13:00:23Z milde $ # Author: Panjunyong <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 <http://docutils.sf.net/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 reStructuredText. """ __docformat__ = 'reStructuredText' directives = { # language-dependent: fixed '注æ„': 'attention', 'å°å¿ƒ': 'caution', 'code (translation required)': 'code', 'å±é™©': 'danger', '错误': 'error', 'æç¤º': 'hint', 'é‡è¦': 'important', '注解': 'note', '技巧': 'tip', 'è¦å‘Š': 'warning', 'å¿ å‘Š': 'admonition', '侧框': 'sidebar', '主题': 'topic', 'line-block (translation required)': 'line-block', 'parsed-literal (translation required)': 'parsed-literal', '醒目': 'rubric', '铿–‡': 'epigraph', 'è¦ç‚¹': 'highlights', 'pull-quote (translation required)': 'pull-quote', 'å¤åˆ': 'compound', '容器': 'container', #u'questions (translation required)': 'questions', 'è¡¨æ ¼': 'table', 'csvè¡¨æ ¼': 'csv-table', 'åˆ—è¡¨è¡¨æ ¼': 'list-table', #u'qa (translation required)': 'questions', #u'faq (translation required)': 'questions', '元数æ®': 'meta', 'math (translation required)': 'math', #u'imagemap (translation required)': 'imagemap', '图片': 'image', '图例': 'figure', '包å«': 'include', '原文': 'raw', '代替': 'replace', '统一ç ': 'unicode', '日期': 'date', '类型': 'class', '角色': 'role', '默认角色': 'default-role', 'æ ‡é¢˜': 'title', '目录': 'contents', 'ç« èŠ‚åºå·': 'sectnum', '题头': 'header', '页脚': 'footer', #u'footnotes (translation required)': 'footnotes', #u'citations (translation required)': 'citations', 'target-notes (translation required)': 'target-notes', 'restructuredtext-test-directive': 'restructuredtext-test-directive'} """Simplified Chinese name to registered (in directives/__init__.py) directive name mapping.""" roles = { # language-dependent: fixed '缩写': 'abbreviation', '简称': 'acronym', 'code (translation required)': 'code', 'index (translation required)': 'index', 'i (translation required)': 'index', 'ä¸‹æ ‡': 'subscript', 'ä¸Šæ ‡': 'superscript', 'title-reference (translation required)': 'title-reference', 'title (translation required)': 'title-reference', 't (translation required)': 'title-reference', 'pep-reference (translation required)': 'pep-reference', 'pep (translation required)': 'pep-reference', 'rfc-reference (translation required)': 'rfc-reference', 'rfc (translation required)': 'rfc-reference', '强调': 'emphasis', 'åŠ ç²—': 'strong', 'å—é¢': 'literal', 'math (translation required)': 'math', 'named-reference (translation required)': 'named-reference', 'anonymous-reference (translation required)': 'anonymous-reference', 'footnote-reference (translation required)': 'footnote-reference', 'citation-reference (translation required)': 'citation-reference', 'substitution-reference (translation required)': 'substitution-reference', 'target (translation required)': 'target', 'uri-reference (translation required)': 'uri-reference', 'uri (translation required)': 'uri-reference', 'url (translation required)': 'uri-reference', 'raw (translation required)': 'raw',} """Mapping of Simplified Chinese role names to canonical role names for interpreted text."""