Use ``<code>`` tag for inline "code", do not drop nested inline nodes (syntax highlig...
[docutils.git] / docutils / languages / zh_tw.py
blob3cb3bcb7df8de64cedf41ee612bf0308be8dc76e
1 # -*- coding: utf-8 -*-
2 # $Id$
3 # Author: Joe YS Jaw <joeysj@users.sourceforge.net>
4 # Copyright: This module has been placed in the public domain.
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.
11 """
12 Traditional Chinese language mappings for language-dependent features of Docutils.
13 """
15 __docformat__ = 'reStructuredText'
17 labels = {
18 # fixed: language-dependent
19 'author': u'\u4f5c\u8005', # '作者' <-- Chinese word
20 'authors': u'\u4f5c\u8005\u7fa4', # '作者群',
21 'organization': u'\u7d44\u7e54', # '組織',
22 'address': u'\u5730\u5740', # '地址',
23 'contact': u'\u9023\u7d61', # '連絡',
24 'version': u'\u7248\u672c', # '版本',
25 'revision': u'\u4fee\u8a02', # '修訂',
26 'status': u'\u72c0\u614b', # '狀態',
27 'date': u'\u65e5\u671f', # '日期',
28 'copyright': u'\u7248\u6b0a', # '版權',
29 'dedication': u'\u984c\u737b', # '題獻',
30 'abstract': u'\u6458\u8981', # '摘要',
31 'attention': u'\u6ce8\u610f\uff01', # '注意!',
32 'caution': u'\u5c0f\u5fc3\uff01', # '小心!',
33 'danger': u'\uff01\u5371\u96aa\uff01', # '!危險!',
34 'error': u'\u932f\u8aa4', # '錯誤',
35 'hint': u'\u63d0\u793a', # '提示',
36 'important': u'\u91cd\u8981', # '注意!',
37 'note': u'\u8a3b\u91cb', # '註釋',
38 'tip': u'\u79d8\u8a23', # '秘訣',
39 'warning': u'\u8b66\u544a', # '警告',
40 'contents': u'\u76ee\u9304' # '目錄'
42 """Mapping of node class name to label text."""
44 bibliographic_fields = {
45 # language-dependent: fixed
46 'author (translation required)': 'author',
47 'authors (translation required)': 'authors',
48 'organization (translation required)': 'organization',
49 'address (translation required)': 'address',
50 'contact (translation required)': 'contact',
51 'version (translation required)': 'version',
52 'revision (translation required)': 'revision',
53 'status (translation required)': 'status',
54 'date (translation required)': 'date',
55 'copyright (translation required)': 'copyright',
56 'dedication (translation required)': 'dedication',
57 'abstract (translation required)': 'abstract'}
58 """Traditional Chinese to canonical name mapping for bibliographic fields."""
60 author_separators = [';', ',',
61 u'\uff1b', # ';'
62 u'\uff0c', # ','
63 u'\u3001', # '、'
65 """List of separator strings for the 'Authors' bibliographic field. Tried in
66 order."""