comparison env/lib/python3.9/site-packages/docutils/parsers/rst/languages/fa.py @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 # -*- coding: utf-8 -*-
2 # $Id: fa.py 4564 2016-08-10 11:48:42Z
3 # Author: Shahin <me@5hah.in>
4 # Copyright: This module has been placed in the public domain.
5
6 # New language mappings are welcome. Before doing a new translation, please
7 # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be
8 # translated for each language: one in docutils/languages, the other in
9 # docutils/parsers/rst/languages.
10
11 """
12 Persian-language mappings for language-dependent features of
13 reStructuredText.
14 """
15
16 __docformat__ = 'reStructuredText'
17
18
19 directives = {
20 # language-dependent: fixed
21 u'توجه': u'attention',
22 u'احتیاط': u'caution',
23 u'کد': u'code',
24 u'بلوک-کد': u'code',
25 u'کد-منبع': u'code',
26 u'خطر': u'danger',
27 u'خطا': u'error',
28 u'راهنما': u'hint',
29 u'مهم': u'important',
30 u'یادداشت': u'note',
31 u'نکته': u'tip',
32 u'اخطار': u'warning',
33 u'تذکر': u'admonition',
34 u'نوار-کناری': u'sidebar',
35 u'موضوع': u'topic',
36 u'بلوک-خط': u'line-block',
37 u'تلفظ-پردازش-شده': u'parsed-literal',
38 u'سر-فصل': u'rubric',
39 u'کتیبه': u'epigraph',
40 u'نکات-برجسته': u'highlights',
41 u'نقل-قول': u'pull-quote',
42 u'ترکیب': u'compound',
43 u'ظرف': u'container',
44 #'questions': u'questions',
45 u'جدول': u'table',
46 u'جدول-csv': u'csv-table',
47 u'جدول-لیست': u'list-table',
48 #'qa': u'questions',
49 #'faq': u'questions',
50 u'متا': u'meta',
51 u'ریاضی': u'math',
52 #'imagemap': u'imagemap',
53 u'تصویر': u'image',
54 u'شکل': u'figure',
55 u'شامل': u'include',
56 u'خام': u'raw',
57 u'جایگزین': u'replace',
58 u'یونیکد': u'unicode',
59 u'تاریخ': u'date',
60 u'کلاس': u'class',
61 u'قانون': u'role',
62 u'قانون-پیش‌فرض': u'default-role',
63 u'عنوان': u'title',
64 u'محتوا': u'contents',
65 u'شماره-فصل': u'sectnum',
66 u'شماره‌گذاری-فصل': u'sectnum',
67 u'سرآیند': u'header',
68 u'پاصفحه': u'footer',
69 #'footnotes': u'footnotes',
70 #'citations': u'citations',
71 u'یادداشت-هدف': u'target-notes',
72 }
73 """Persian name to registered (in directives/__init__.py) directive name
74 mapping."""
75
76 roles = {
77 # language-dependent: fixed
78 u'مخفف': u'abbreviation',
79 u'سرنام': u'acronym',
80 u'کد': u'code',
81 u'شاخص': u'index',
82 u'زیرنویس': u'subscript',
83 u'بالانویس': u'superscript',
84 u'عنوان': u'title-reference',
85 u'نیرو': u'pep-reference',
86 u'rfc-reference (translation required)': u'rfc-reference',
87 u'تاکید': u'emphasis',
88 u'قوی': u'strong',
89 u'لفظی': u'literal',
90 u'ریاضی': u'math',
91 u'منبع-نام‌گذاری': u'named-reference',
92 u'منبع-ناشناس': u'anonymous-reference',
93 u'منبع-پانویس': u'footnote-reference',
94 u'منبع-نقل‌فول': u'citation-reference',
95 u'منبع-جایگزینی': u'substitution-reference',
96 u'هدف': u'target',
97 u'منبع-uri': u'uri-reference',
98 u'uri': u'uri-reference',
99 u'url': u'uri-reference',
100 u'خام': u'raw',}
101 """Mapping of Persian role names to canonical role names for interpreted text.
102 """