Stop generating invalid doctree if "use_latex_toc" setting is True.
[docutils.git] / docutils / docutils / languages / fa.py
blobf25814d224c0385487529137fa0462d0bcbf2c08
1 # $Id: fa.py 4564 2016-08-10 11:48:42Z
2 # Author: Shahin <me@5hah.in>
3 # Copyright: This module has been placed in the public domain.
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.
10 """
11 Persian-language mappings for language-dependent features of Docutils.
12 """
14 __docformat__ = 'reStructuredText'
16 labels = {
17 # fixed: language-dependent
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."""
42 bibliographic_fields = {
43 # language-dependent: fixed
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."""
58 author_separators = ['؛', '،']
59 """List of separator strings for the 'Authors' bibliographic field. Tried in
60 order."""