1
0

ja.py 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # $Id: ja.py 9030 2022-03-05 23:28:32Z milde $
  2. # Author: Hisashi Morita <hisashim@kt.rim.or.jp>
  3. # Copyright: This module has been placed in the public domain.
  4. # New language mappings are welcome. Before doing a new translation, please
  5. # read <https://docutils.sourceforge.io/docs/howto/i18n.html>.
  6. # Two files must be translated for each language: one in docutils/languages,
  7. # the other in docutils/parsers/rst/languages.
  8. """
  9. Japanese-language mappings for language-dependent features of Docutils.
  10. """
  11. __docformat__ = 'reStructuredText'
  12. labels = {
  13. # fixed: language-dependent
  14. 'author': '著者',
  15. 'authors': '著者',
  16. 'organization': '組織',
  17. 'address': '住所',
  18. 'contact': '連絡先',
  19. 'version': 'バージョン',
  20. 'revision': 'リビジョン',
  21. 'status': 'ステータス',
  22. 'date': '日付',
  23. 'copyright': '著作権',
  24. 'dedication': '献辞',
  25. 'abstract': '概要',
  26. 'attention': '注目!',
  27. 'caution': '注意!',
  28. 'danger': '!危険!',
  29. 'error': 'エラー',
  30. 'hint': 'ヒント',
  31. 'important': '重要',
  32. 'note': '備考',
  33. 'tip': '通報',
  34. 'warning': '警告',
  35. 'contents': '目次'}
  36. """Mapping of node class name to label text."""
  37. bibliographic_fields = {
  38. # language-dependent: fixed
  39. '著者': 'author',
  40. ' n/a': 'authors',
  41. '組織': 'organization',
  42. '住所': 'address',
  43. '連絡先': 'contact',
  44. 'バージョン': 'version',
  45. 'リビジョン': 'revision',
  46. 'ステータス': 'status',
  47. '日付': 'date',
  48. '著作権': 'copyright',
  49. '献辞': 'dedication',
  50. '概要': 'abstract'}
  51. """Japanese (lowcased) to canonical name mapping for bibliographic fields."""
  52. author_separators = [';', ',']
  53. """List of separator strings for the 'Authors' bibliographic field. Tried in
  54. order."""