| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
""" |
| 11 |
Persian-language mappings for language-dependent features of Docutils. |
| 12 |
""" |
| 13 |
|
| 14 |
__docformat__ = 'reStructuredText' |
| 15 |
|
| 16 |
labels = { |
| 17 |
|
| 18 |
'author': 'نویسنده', |
| 19 |
'authors': 'نویسندگان', |
| 20 |
'organization': 'سازمان', |
| 21 |
'address': 'آدرس', |
| 22 |
'contact': 'تماس', |
| 23 |
'version': 'نسخه', |
| 24 |
'revision': 'بازبینی', |
| 25 |
'status': 'وضعیت', |
| 26 |
'date': 'تاریخ', |
| 27 |
'copyright': 'کپیرایت', |
| 28 |
'dedication': 'تخصیص', |
| 29 |
'abstract': 'چکیده', |
| 30 |
'attention': 'توجه!', |
| 31 |
'caution': 'احتیاط!', |
| 32 |
'danger': 'خطر!', |
| 33 |
'error': 'خطا', |
| 34 |
'hint': 'راهنما', |
| 35 |
'important': 'مهم', |
| 36 |
'note': 'یادداشت', |
| 37 |
'tip': 'نکته', |
| 38 |
'warning': 'اخطار', |
| 39 |
'contents': 'محتوا'} |
| 40 |
"""Mapping of node class name to label text.""" |
| 41 |
|
| 42 |
bibliographic_fields = { |
| 43 |
|
| 44 |
'نویسنده': 'author', |
| 45 |
'نویسندگان': 'authors', |
| 46 |
'سازمان': 'organization', |
| 47 |
'آدرس': 'address', |
| 48 |
'تماس': 'contact', |
| 49 |
'نسخه': 'version', |
| 50 |
'بازبینی': 'revision', |
| 51 |
'وضعیت': 'status', |
| 52 |
'تاریخ': 'date', |
| 53 |
'کپیرایت': 'copyright', |
| 54 |
'تخصیص': 'dedication', |
| 55 |
'چکیده': 'abstract'} |
| 56 |
"""Persian (lowcased) to canonical name mapping for bibliographic fields.""" |
| 57 |
|
| 58 |
author_separators = ['؛', '،'] |
| 59 |
"""List of separator strings for the 'Authors' bibliographic field. Tried in |
| 60 |
order.""" |