ko.py 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. # $Id: ko.py 9030 2022-03-05 23:28:32Z milde $
  2. # Author: Thomas SJ Kang <thomas.kangsj@ujuc.kr>
  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. Korean-language mappings for language-dependent features of
  10. reStructuredText.
  11. """
  12. __docformat__ = 'reStructuredText'
  13. directives = {
  14. # language-dependent: fixed
  15. '집중': 'attention',
  16. '주의': 'caution',
  17. '코드': 'code',
  18. '코드-블록': 'code',
  19. '소스코드': 'code',
  20. '위험': 'danger',
  21. '오류': 'error',
  22. '실마리': 'hint',
  23. '중요한': 'important',
  24. '비고': 'note',
  25. '팁': 'tip',
  26. '경고': 'warning',
  27. '권고': 'admonition',
  28. '사이드바': 'sidebar',
  29. '주제': 'topic',
  30. '라인-블록': 'line-block',
  31. '파싱된-리터럴': 'parsed-literal',
  32. '지시문': 'rubric',
  33. '제명': 'epigraph',
  34. '하이라이트': 'highlights',
  35. '발췌문': 'pull-quote',
  36. '합성어': 'compound',
  37. '컨테이너': 'container',
  38. # '질문': 'questions',
  39. '표': 'table',
  40. 'csv-표': 'csv-table',
  41. 'list-표': 'list-table',
  42. # 'qa': 'questions',
  43. # 'faq': 'questions',
  44. '메타': 'meta',
  45. '수학': 'math',
  46. # '이미지맵': 'imagemap',
  47. '이미지': 'image',
  48. '도표': 'figure',
  49. '포함': 'include',
  50. 'raw': 'raw',
  51. '대신하다': 'replace',
  52. '유니코드': 'unicode',
  53. '날짜': 'date',
  54. '클래스': 'class',
  55. '역할': 'role',
  56. '기본-역할': 'default-role',
  57. '제목': 'title',
  58. '내용': 'contents',
  59. 'sectnum': 'sectnum',
  60. '섹션-번호-매기기': 'sectnum',
  61. '머리말': 'header',
  62. '꼬리말': 'footer',
  63. # '긱주': 'footnotes',
  64. # '인용구': 'citations',
  65. '목표-노트': 'target-notes',
  66. 'restructuredtext 테스트 지시어': 'restructuredtext-test-directive'}
  67. """Korean name to registered (in directives/__init__.py) directive name
  68. mapping."""
  69. roles = {
  70. # language-dependent: fixed
  71. '약어': 'abbreviation',
  72. 'ab': 'abbreviation',
  73. '두음문자': 'acronym',
  74. 'ac': 'acronym',
  75. '코드': 'code',
  76. '색인': 'index',
  77. 'i': 'index',
  78. '다리-글자': 'subscript',
  79. 'sub': 'subscript',
  80. '어깨-글자': 'superscript',
  81. 'sup': 'superscript',
  82. '제목-참조': 'title-reference',
  83. '제목': 'title-reference',
  84. 't': 'title-reference',
  85. 'pep-참조': 'pep-reference',
  86. 'pep': 'pep-reference',
  87. 'rfc-참조': 'rfc-reference',
  88. 'rfc': 'rfc-reference',
  89. '강조': 'emphasis',
  90. '굵게': 'strong',
  91. '기울기': 'literal',
  92. '수학': 'math',
  93. '명명된-참조': 'named-reference',
  94. '익명-참조': 'anonymous-reference',
  95. '각주-참조': 'footnote-reference',
  96. '인용-참조': 'citation-reference',
  97. '대리-참조': 'substitution-reference',
  98. '대상': 'target',
  99. 'uri-참조': 'uri-reference',
  100. 'uri': 'uri-reference',
  101. 'url': 'uri-reference',
  102. 'raw': 'raw',
  103. }
  104. """Mapping of Korean role names to canonical role names for interpreted text.
  105. """