comparison env/lib/python3.9/site-packages/docutils/parsers/rst/languages/ja.py @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 # -*- coding: utf-8 -*-
2 # $Id: ja.py 7119 2011-09-02 13:00:23Z milde $
3 # Author: David Goodger <goodger@python.org>
4 # Copyright: This module has been placed in the public domain.
5
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.
10
11 """
12 Japanese-language mappings for language-dependent features of
13 reStructuredText.
14 """
15
16 __docformat__ = 'reStructuredText'
17
18 # Corrections to these translations are welcome!
19 # 間違いがあれば、どうぞ正しい翻訳を教えて下さい。
20
21 directives = {
22 # language-dependent: fixed
23 u'注目': 'attention',
24 u'注意': 'caution',
25 u'code (translation required)': 'code',
26 u'危険': 'danger',
27 u'エラー': 'error',
28 u'ヒント': 'hint',
29 u'重要': 'important',
30 u'備考': 'note',
31 u'通報': 'tip',
32 u'警告': 'warning',
33 u'戒告': 'admonition',
34 u'サイドバー': 'sidebar',
35 u'トピック': 'topic',
36 u'ラインブロック': 'line-block',
37 u'パーズドリテラル': 'parsed-literal',
38 u'ルブリック': 'rubric',
39 u'エピグラフ': 'epigraph',
40 u'題言': 'epigraph',
41 u'ハイライト': 'highlights',
42 u'見所': 'highlights',
43 u'プルクオート': 'pull-quote',
44 u'合成': 'compound',
45 u'コンテナー': 'container',
46 u'容器': 'container',
47 u'表': 'table',
48 u'csv表': 'csv-table',
49 u'リスト表': 'list-table',
50 #u'質問': 'questions',
51 #u'問答': 'questions',
52 #u'faq': 'questions',
53 u'math (translation required)': 'math',
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'code (translation required)': 'code',
93 u'インデックス': 'index',
94 u'索引': 'index',
95 u'添字': 'subscript',
96 u'下付': 'subscript',
97 u'下': 'subscript',
98 u'上付': 'superscript',
99 u'上': 'superscript',
100 u'題参照': 'title-reference',
101 u'pep参照': 'pep-reference',
102 u'rfc参照': 'rfc-reference',
103 u'強調': 'emphasis',
104 u'強い': 'strong',
105 u'リテラル': 'literal',
106 u'整形済み': 'literal',
107 u'math (translation required)': 'math',
108 u'名付参照': 'named-reference',
109 u'無名参照': 'anonymous-reference',
110 u'脚注参照': 'footnote-reference',
111 u'出典参照': 'citation-reference',
112 u'代入参照': 'substitution-reference',
113 u'的': 'target',
114 u'uri参照': 'uri-reference',
115 u'uri': 'uri-reference',
116 u'url': 'uri-reference',
117 u'生': 'raw',}
118 """Mapping of Japanese role names to canonical role names for interpreted
119 text."""