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