1 | # -*- coding: utf-8 -*- |
---|
2 | # Author: Joe YS Jaw |
---|
3 | # Contact: joeysj@users.sourceforge.net |
---|
4 | # Revision: $Revision: 3968 $ |
---|
5 | # Date: $Date: 2005-10-29 14:28:44 +0200 (Sat, 29 Oct 2005) $ |
---|
6 | # Copyright: This module has been placed in the public domain. |
---|
7 | |
---|
8 | # New language mappings are welcome. Before doing a new translation, please |
---|
9 | # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be |
---|
10 | # translated for each language: one in docutils/languages, the other in |
---|
11 | # docutils/parsers/rst/languages. |
---|
12 | |
---|
13 | """ |
---|
14 | Traditional Chinese language mappings for language-dependent features of Docutils. |
---|
15 | """ |
---|
16 | |
---|
17 | __docformat__ = 'reStructuredText' |
---|
18 | |
---|
19 | labels = { |
---|
20 | # fixed: language-dependent |
---|
21 | 'author': u'\u4f5c\u8005', # '菴懆� <-- Chinese word |
---|
22 | 'authors': u'\u4f5c\u8005\u7fa4', # '菴懆�セ、', |
---|
23 | 'organization': u'\u7d44\u7e54', # '邨�ケ�, |
---|
24 | 'address': u'\u5730\u5740', # '蝨ー蝮', |
---|
25 | 'contact': u'\u9023\u7d61', # '騾」邨。', |
---|
26 | 'version': u'\u7248\u672c', # '迚域悽', |
---|
27 | 'revision': u'\u4fee\u8a02', # '菫ョ險�, |
---|
28 | 'status': u'\u72c0\u614b', # '迢諷�, |
---|
29 | 'date': u'\u65e5\u671f', # '譌・譛�, |
---|
30 | 'copyright': u'\u7248\u6b0a', # '迚域ャ�, |
---|
31 | 'dedication': u'\u984c\u737b', # '鬘檎砂', |
---|
32 | 'abstract': u'\u6458\u8981', # '鞫倩ヲ�, |
---|
33 | 'attention': u'\u6ce8\u610f\uff01', # '豕ィ諢擾シ�, |
---|
34 | 'caution': u'\u5c0f\u5fc3\uff01', # '蟆丞ソ�シ�, |
---|
35 | 'danger': u'\uff01\u5371\u96aa\uff01', # '�∝些髫ェ��, |
---|
36 | 'error': u'\u932f\u8aa4', # '骭ッ隱、', |
---|
37 | 'hint': u'\u63d0\u793a', # '謠千、コ', |
---|
38 | 'important': u'\u91cd\u8981', # '豕ィ諢擾シ�, |
---|
39 | 'note': u'\u8a3b\u91cb', # '險サ驥�, |
---|
40 | 'tip': u'\u79d8\u8a23', # '遘倩ィ」', |
---|
41 | 'warning': u'\u8b66\u544a', # '隴ヲ蜻�, |
---|
42 | 'contents': u'\u76ee\u9304' # '逶ョ骭� |
---|
43 | } |
---|
44 | """Mapping of node class name to label text.""" |
---|
45 | |
---|
46 | bibliographic_fields = { |
---|
47 | # language-dependent: fixed |
---|
48 | 'author (translation required)': 'author', |
---|
49 | 'authors (translation required)': 'authors', |
---|
50 | 'organization (translation required)': 'organization', |
---|
51 | 'address (translation required)': 'address', |
---|
52 | 'contact (translation required)': 'contact', |
---|
53 | 'version (translation required)': 'version', |
---|
54 | 'revision (translation required)': 'revision', |
---|
55 | 'status (translation required)': 'status', |
---|
56 | 'date (translation required)': 'date', |
---|
57 | 'copyright (translation required)': 'copyright', |
---|
58 | 'dedication (translation required)': 'dedication', |
---|
59 | 'abstract (translation required)': 'abstract'} |
---|
60 | """Traditional Chinese to canonical name mapping for bibliographic fields.""" |
---|
61 | |
---|
62 | author_separators = [';', ',', |
---|
63 | u'\uff1b', # '�� |
---|
64 | u'\uff0c', # '�� |
---|
65 | u'\u3001', # '縲� |
---|
66 | ] |
---|
67 | """List of separator strings for the 'Authors' bibliographic field. Tried in |
---|
68 | order.""" |
---|