~ubuntu-branches/ubuntu/karmic/python-docutils/karmic

« back to all changes in this revision

Viewing changes to docutils/parsers/rst/languages/ja.py

  • Committer: Bazaar Package Importer
  • Author(s): martin f. krafft
  • Date: 2006-07-10 11:45:05 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060710114505-otkhqcslevewxmz5
Tags: 0.4-3
Added build dependency on python-central (closes: #377580).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
# Author: David Goodger
 
3
# Contact: goodger@python.org
 
4
# Revision: $Revision: 4229 $
 
5
# Date: $Date: 2005-12-23 00:46:16 +0100 (Fri, 23 Dec 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
Japanese-language mappings for language-dependent features of
 
15
reStructuredText.
 
16
"""
 
17
 
 
18
__docformat__ = 'reStructuredText'
 
19
 
 
20
# Corrections to these translations are welcome!
 
21
# 間違いがあれば、どうぞ正しい翻訳を教えて下さい。
 
22
 
 
23
directives = {
 
24
    # language-dependent: fixed
 
25
    u'注目': 'attention',
 
26
    u'注意': 'caution',
 
27
    u'危険': 'danger',
 
28
    u'エラー': 'error',
 
29
    u'ヒント': 'hint',
 
30
    u'重要': 'important',
 
31
    u'備考': 'note',
 
32
    u'通報': 'tip',
 
33
    u'警告': 'warning',
 
34
    u'戒告': 'admonition',
 
35
    u'サイドバー': 'sidebar',
 
36
    u'トピック': 'topic',
 
37
    u'ラインブロック': 'line-block',
 
38
    u'パーズドリテラル': 'parsed-literal',
 
39
    u'ルブリック': 'rubric',
 
40
    u'エピグラフ': 'epigraph',
 
41
    u'題言': 'epigraph',
 
42
    u'ハイライト': 'highlights',
 
43
    u'見所': 'highlights',
 
44
    u'プルクオート': 'pull-quote',
 
45
    u'合成': 'compound',
 
46
    u'コンテナー': 'container',
 
47
    u'容器': 'container',
 
48
    u'表': 'table',
 
49
    u'csv表': 'csv-table',
 
50
    u'リスト表': 'list-table',
 
51
    #u'質問': 'questions',
 
52
    #u'問答': 'questions',
 
53
    #u'faq': 'questions',
 
54
    u'メタ': 'meta',
 
55
    #u'イメージマプ': 'imagemap',
 
56
    u'イメージ': 'image',
 
57
    u'画像': 'image',
 
58
    u'フィグア': 'figure',
 
59
    u'図版': 'figure',
 
60
    u'インクルード': 'include',
 
61
    u'含む': 'include',
 
62
    u'組み込み': 'include',
 
63
    u'生': 'raw',
 
64
    u'原': 'raw',
 
65
    u'換える': 'replace',
 
66
    u'取り換える': 'replace',
 
67
    u'掛け替える': 'replace',
 
68
    u'ユニコード': 'unicode',
 
69
    u'日付': 'date',
 
70
    u'クラス': 'class',
 
71
    u'ロール': 'role',
 
72
    u'役': 'role',
 
73
    u'ディフォルトロール': 'default-role',
 
74
    u'既定役': 'default-role',
 
75
    u'タイトル': 'title',
 
76
    u'題': 'title',                    # 題名 件名
 
77
    u'目次': 'contents',
 
78
    u'節数': 'sectnum',
 
79
    u'ヘッダ': 'header',
 
80
    u'フッタ': 'footer',
 
81
    #u'脚注': 'footnotes',             # 脚註?
 
82
    #u'サイテーション': 'citations',   # 出典 引証 引用
 
83
    u'ターゲットノート': 'target-notes', # 的注 的脚注
 
84
    }
 
85
"""Japanese name to registered (in directives/__init__.py) directive name
 
86
mapping."""
 
87
 
 
88
roles = {
 
89
    # language-dependent: fixed
 
90
    u'略': 'abbreviation',
 
91
    u'頭字語': 'acronym',
 
92
    u'インデックス': 'index',
 
93
    u'索引': 'index',
 
94
    u'添字': 'subscript',
 
95
    u'下付': 'subscript',
 
96
    u'下': 'subscript',
 
97
    u'上付': 'superscript',
 
98
    u'上': 'superscript',
 
99
    u'題参照': 'title-reference',
 
100
    u'pep参照': 'pep-reference',
 
101
    u'rfc参照': 'rfc-reference',
 
102
    u'強調': 'emphasis',
 
103
    u'強い': 'strong',
 
104
    u'リテラル': 'literal',
 
105
    u'整形済み': 'literal',
 
106
    u'名付参照': 'named-reference',
 
107
    u'無名参照': 'anonymous-reference',
 
108
    u'脚注参照': 'footnote-reference',
 
109
    u'出典参照': 'citation-reference',
 
110
    u'代入参照': 'substitution-reference',
 
111
    u'的': 'target',
 
112
    u'uri参照': 'uri-reference',
 
113
    u'uri': 'uri-reference',
 
114
    u'url': 'uri-reference',
 
115
    u'生': 'raw',}
 
116
"""Mapping of Japanese role names to canonical role names for interpreted
 
117
text."""