buildframework/helium/external/python/lib/common/docutils-0.5-py2.5.egg/docutils/parsers/rst/languages/ja.py
changeset 179 d8ac696cc51f
equal deleted inserted replaced
1:be27ed110b50 179:d8ac696cc51f
       
     1 # -*- coding: utf-8 -*-
       
     2 # $Id: ja.py 4564 2006-05-21 20:44:42Z wiemann $
       
     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'危険': 'danger',
       
    26     u'エラー': 'error',
       
    27     u'ヒント': 'hint',
       
    28     u'重要': 'important',
       
    29     u'備考': 'note',
       
    30     u'通報': 'tip',
       
    31     u'警告': 'warning',
       
    32     u'戒告': 'admonition',
       
    33     u'サイドバー': 'sidebar',
       
    34     u'トピック': 'topic',
       
    35     u'ラインブロック': 'line-block',
       
    36     u'パーズドリテラル': 'parsed-literal',
       
    37     u'ルブリック': 'rubric',
       
    38     u'エピグラフ': 'epigraph',
       
    39     u'題言': 'epigraph',
       
    40     u'ハイライト': 'highlights',
       
    41     u'見所': 'highlights',
       
    42     u'プルクオート': 'pull-quote',
       
    43     u'合成': 'compound',
       
    44     u'コンテナー': 'container',
       
    45     u'容器': 'container',
       
    46     u'表': 'table',
       
    47     u'csv表': 'csv-table',
       
    48     u'リスト表': 'list-table',
       
    49     #u'質問': 'questions',
       
    50     #u'問答': 'questions',
       
    51     #u'faq': 'questions',
       
    52     u'メタ': 'meta',
       
    53     #u'イメージマプ': 'imagemap',
       
    54     u'イメージ': 'image',
       
    55     u'画像': 'image',
       
    56     u'フィグア': 'figure',
       
    57     u'図版': 'figure',
       
    58     u'インクルード': 'include',
       
    59     u'含む': 'include',
       
    60     u'組み込み': 'include',
       
    61     u'生': 'raw',
       
    62     u'原': 'raw',
       
    63     u'換える': 'replace',
       
    64     u'取り換える': 'replace',
       
    65     u'掛け替える': 'replace',
       
    66     u'ユニコード': 'unicode',
       
    67     u'日付': 'date',
       
    68     u'クラス': 'class',
       
    69     u'ロール': 'role',
       
    70     u'役': 'role',
       
    71     u'ディフォルトロール': 'default-role',
       
    72     u'既定役': 'default-role',
       
    73     u'タイトル': 'title',
       
    74     u'題': 'title',                    # 題名 件名
       
    75     u'目次': 'contents',
       
    76     u'節数': 'sectnum',
       
    77     u'ヘッダ': 'header',
       
    78     u'フッタ': 'footer',
       
    79     #u'脚注': 'footnotes',             # 脚註?
       
    80     #u'サイテーション': 'citations',   # 出典 引証 引用
       
    81     u'ターゲットノート': 'target-notes', # 的注 的脚注
       
    82     }
       
    83 """Japanese name to registered (in directives/__init__.py) directive name
       
    84 mapping."""
       
    85 
       
    86 roles = {
       
    87     # language-dependent: fixed
       
    88     u'略': 'abbreviation',
       
    89     u'頭字語': 'acronym',
       
    90     u'インデックス': 'index',
       
    91     u'索引': 'index',
       
    92     u'添字': 'subscript',
       
    93     u'下付': 'subscript',
       
    94     u'下': 'subscript',
       
    95     u'上付': 'superscript',
       
    96     u'上': 'superscript',
       
    97     u'題参照': 'title-reference',
       
    98     u'pep参照': 'pep-reference',
       
    99     u'rfc参照': 'rfc-reference',
       
   100     u'強調': 'emphasis',
       
   101     u'強い': 'strong',
       
   102     u'リテラル': 'literal',
       
   103     u'整形済み': 'literal',
       
   104     u'名付参照': 'named-reference',
       
   105     u'無名参照': 'anonymous-reference',
       
   106     u'脚注参照': 'footnote-reference',
       
   107     u'出典参照': 'citation-reference',
       
   108     u'代入参照': 'substitution-reference',
       
   109     u'的': 'target',
       
   110     u'uri参照': 'uri-reference',
       
   111     u'uri': 'uri-reference',
       
   112     u'url': 'uri-reference',
       
   113     u'生': 'raw',}
       
   114 """Mapping of Japanese role names to canonical role names for interpreted
       
   115 text."""