Debian Codegraph @

docutils/parsers/rst/languages/fa.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 Persian-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',
23 'بلوک-کد': 'code',
24 'کد-منبع': 'code',
25 'خطر': 'danger',
26 'خطا': 'error',
27 'راهنما': 'hint',
28 'مهم': 'important',
29 'یادداشت': 'note',
30 'نکته': 'tip',
31 'اخطار': 'warning',
32 'تذکر': 'admonition',
33 'نوار-کناری': 'sidebar',
34 'موضوع': 'topic',
35 'بلوک-خط': 'line-block',
36 'تلفظ-پردازش-شده': 'parsed-literal',
37 'سر-فصل': 'rubric',
38 'کتیبه': 'epigraph',
39 'نکات-برجسته': 'highlights',
40 'نقل-قول': 'pull-quote',
41 'ترکیب': 'compound',
42 'ظرف': 'container',
43 # 'questions': 'questions',
44 'جدول': 'table',
45 'جدول-csv': 'csv-table',
46 'جدول-لیست': 'list-table',
47 # 'qa': 'questions',
48 # 'faq': 'questions',
49 'متا': 'meta',
50 'ریاضی': 'math',
51 # 'imagemap': 'imagemap',
52 'تصویر': 'image',
53 'شکل': 'figure',
54 'شامل': 'include',
55 'خام': 'raw',
56 'جایگزین': 'replace',
57 'یونیکد': 'unicode',
58 'تاریخ': 'date',
59 'کلاس': 'class',
60 'قانون': 'role',
61 'قانون-پیش‌فرض': 'default-role',
62 'عنوان': 'title',
63 'محتوا': 'contents',
64 'شماره-فصل': 'sectnum',
65 'شماره‌گذاری-فصل': 'sectnum',
66 'سرآیند': 'header',
67 'پاصفحه': 'footer',
68 # 'footnotes': 'footnotes',
69 # 'citations': 'citations',
70 'یادداشت-هدف': 'target-notes',
71 }
72 """Persian name to registered (in directives/__init__.py) directive name
73 mapping."""
74
75 roles = {
76 # language-dependent: fixed
77 'مخفف': 'abbreviation',
78 'سرنام': 'acronym',
79 'کد': 'code',
80 'شاخص': 'index',
81 'زیرنویس': 'subscript',
82 'بالانویس': 'superscript',
83 'عنوان': 'title-reference',
84 'نیرو': 'pep-reference',
85 'rfc-reference (translation required)': 'rfc-reference',
86 'تاکید': 'emphasis',
87 'قوی': 'strong',
88 'لفظی': 'literal',
89 'ریاضی': 'math',
90 'منبع-نام‌گذاری': 'named-reference',
91 'منبع-ناشناس': 'anonymous-reference',
92 'منبع-پانویس': 'footnote-reference',
93 'منبع-نقل‌فول': 'citation-reference',
94 'منبع-جایگزینی': 'substitution-reference',
95 'هدف': 'target',
96 'منبع-uri': 'uri-reference',
97 'uri': 'uri-reference',
98 'url': 'uri-reference',
99 'خام': 'raw',
100 }
101 """Mapping of Persian role names to canonical role names for interpreted text.
102 """