Debian Codegraph @

docutils/parsers/rst/languages/he.py

raw symbols SCIP
1 # Author: Meir Kriheli
2 # Id: $Id: he.py 9452 2023-09-27 00:11:54Z milde $
3 # Copyright: This module has been placed in the public domain.
4
5 # New language mappings are welcome. Before doing a new translation, please
6 # read <https://docutils.sourceforge.io/docs/howto/i18n.html>.
7 # Two files must be translated for each language: one in docutils/languages,
8 # the other in docutils/parsers/rst/languages.
9
10 """
11 English-language mappings for language-dependent features of
12 reStructuredText.
13 """
14
15 __docformat__ = 'reStructuredText'
16
17
18 directives = {
19 # language-dependent: fixed
20 'תשומת לב': 'attention',
21 'זהירות': 'caution',
22 'code (translation required)': 'code',
23 'סכנה': 'danger',
24 'שגיאה': 'error',
25 'רמז': 'hint',
26 'חשוב': 'important',
27 'הערה': 'note',
28 'טיפ': 'tip',
29 'אזהרה': 'warning',
30 'admonition': 'admonition',
31 'sidebar': 'sidebar',
32 'topic': 'topic',
33 'line-block': 'line-block',
34 'parsed-literal': 'parsed-literal',
35 'rubric': 'rubric',
36 'epigraph': 'epigraph',
37 'highlights': 'highlights',
38 'pull-quote': 'pull-quote',
39 'compound': 'compound',
40 'container': 'container',
41 'table': 'table',
42 'csv-table': 'csv-table',
43 'list-table': 'list-table',
44 'meta': 'meta',
45 'math (translation required)': 'math',
46 'תמונה': 'image',
47 'figure': 'figure',
48 'include': 'include',
49 'raw': 'raw',
50 'replace': 'replace',
51 'unicode': 'unicode',
52 'date': 'date',
53 'סגנון': 'class',
54 'role': 'role',
55 'default-role': 'default-role',
56 'title': 'title',
57 'תוכן': 'contents',
58 'sectnum': 'sectnum',
59 'section-numbering': 'sectnum',
60 'header': 'header',
61 'footer': 'footer',
62 'target-notes': 'target-notes',
63 'restructuredtext-test-directive': 'restructuredtext-test-directive',
64 # 'questions': 'questions',
65 # 'qa': 'questions',
66 # 'faq': 'questions',
67 # 'imagemap': 'imagemap',
68 # 'footnotes': 'footnotes',
69 # 'citations': 'citations',
70 }
71 """English name to registered (in directives/__init__.py) directive name
72 mapping."""
73
74 roles = {
75 # language-dependent: fixed
76 'abbreviation': 'abbreviation',
77 'ab': 'abbreviation',
78 'acronym': 'acronym',
79 'ac': 'acronym',
80 'code (translation required)': 'code',
81 'index': 'index',
82 'i': 'index',
83 'תחתי': 'subscript',
84 'sub': 'subscript',
85 'עילי': 'superscript',
86 'sup': 'superscript',
87 'title-reference': 'title-reference',
88 'title': 'title-reference',
89 't': 'title-reference',
90 'pep-reference': 'pep-reference',
91 'pep': 'pep-reference',
92 'rfc-reference': 'rfc-reference',
93 'rfc': 'rfc-reference',
94 'emphasis': 'emphasis',
95 'strong': 'strong',
96 'literal': 'literal',
97 'math (translation required)': 'math',
98 'named-reference': 'named-reference',
99 'anonymous-reference': 'anonymous-reference',
100 'footnote-reference': 'footnote-reference',
101 'citation-reference': 'citation-reference',
102 'substitution-reference': 'substitution-reference',
103 'target': 'target',
104 'uri-reference': 'uri-reference',
105 'uri': 'uri-reference',
106 'url': 'uri-reference',
107 'raw': 'raw',
108 }
109 """Mapping of English role names to canonical role names for interpreted text.
110 """