Debian Codegraph @

docutils/parsers/rst/languages/ar.py

raw symbols SCIP
1 # $Id: fa.py 4564 2016-08-10 11:48:42Z
2 # Author: Shahin <[email protected]>
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 Arabic-language mappings for language-dependent features of
12 reStructuredText.
13 """
14
15 __docformat__ = 'reStructuredText'
16
17 directives = {
18 # language-dependent: fixed
19 'تنبيه': 'attention',
20 'احتیاط': 'caution',
21 'كود': 'code',
22 'خطر': 'danger',
23 'خطأ': 'error',
24 'تلميح': 'hint',
25 'مهم': 'important',
26 'ملاحظة': 'note',
27 'نصيحة': 'tip',
28 'تحذير': 'warning',
29 'تذكير': 'admonition',
30 'شريط-جانبي': 'sidebar',
31 'موضوع': 'topic',
32 'قالب-سطري': 'line-block',
33 'لفظ-حرفي': 'parsed-literal',
34 'معيار': 'rubric',
35 'فكرة-الكتاب': 'epigraph',
36 'تمييز': 'highlights',
37 'نقل-قول': 'pull-quote',
38 'ترکیب': 'compound',
39 'وعاء': 'container',
40 # 'questions': 'questions',
41 'جدول': 'table',
42 'جدول-csv': 'csv-table',
43 'جدول-قوائم': 'list-table',
44 # 'qa': 'questions',
45 # 'faq': 'questions',
46 'ميتا': 'meta',
47 'رياضيات': 'math',
48 # 'imagemap': 'imagemap',
49 'صورة': 'image',
50 'رسم-توضيحي': 'figure',
51 'تضمين': 'include',
52 'خام': 'raw',
53 'تبديل': 'replace',
54 'یونیکد': 'unicode',
55 'تاریخ': 'date',
56 'كائن': 'class',
57 'قانون': 'role',
58 'قانون-افتراضي': 'default-role',
59 'عنوان': 'title',
60 'المحتوى': 'contents',
61 'رقم-الفصل': 'sectnum',
62 'رقم-القسم': 'sectnum',
63 'رأس-الصفحة': 'header',
64 'هامش': 'footer',
65 # 'footnotes': 'footnotes',
66 # 'citations': 'citations',
67 '': 'target-notes',
68 }
69 """Arabic name to registered (in directives/__init__.py) directive name
70 mapping."""
71
72 roles = {
73 # language-dependent: fixed
74 'اختصار': 'abbreviation',
75 'اختزال': 'acronym',
76 'كود': 'code',
77 'فهرس': 'index',
78 'خفض': 'subscript',
79 'رفع': 'superscript',
80 'عنوان-مرجع': 'title-reference',
81 'مرجع-pep': 'pep-reference',
82 'rfc-مرجع': 'rfc-reference',
83 'تأكيد': 'emphasis',
84 'عريض': 'strong',
85 'لفظی': 'literal',
86 'رياضيات': 'math',
87 'مرجع-مسمى': 'named-reference',
88 'مرجع-مجهول': 'anonymous-reference',
89 'مرجع-هامشي': 'footnote-reference',
90 'مرجع-منقول': 'citation-reference',
91 'مرجع-معوض': 'substitution-reference',
92 'هدف': 'target',
93 'منبع-uri': 'uri-reference',
94 'uri': 'uri-reference',
95 'url': 'uri-reference',
96 'خام': 'raw',
97 }
98 """Mapping of Arabic role names to canonical role names for interpreted text.
99 """