summaryrefslogtreecommitdiff
path: root/docutils/languages/ar.py
blob: 47c14f93d3b26c3d94e34b474af53170ad3917bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# -*- coding: utf-8 -*-
# $Id: fa.py 4564 2016-08-10 11:48:42Z
# Author: Shahin <me@5hah.in>
# Copyright: This module has been placed in the public domain.

# New language mappings are welcome.  Before doing a new translation, please
# read <http://docutils.sf.net/docs/howto/i18n.html>.  Two files must be
# translated for each language: one in docutils/languages, the other in
# docutils/parsers/rst/languages.

"""
Arabic-language mappings for language-dependent features of Docutils.
"""

__docformat__ = 'reStructuredText'

labels = {
      # fixed: language-dependent
      u'author': u'المؤلف',
      u'authors': u'المؤلفون',
      u'organization': u'التنظيم',
      u'address': u'العنوان',
      u'contact': u'اتصل',
      u'version': u'نسخة',
      u'revision': u'مراجعة',
      u'status': u'الحالة',
      u'date': u'تاریخ',
      u'copyright': u'الحقوق',
      u'dedication': u'إهداء',
      u'abstract': u'ملخص',
      u'attention': u'تنبيه',
      u'caution': u'احتیاط',
      u'danger': u'خطر',
      u'error': u'خطأ',
      u'hint': u'تلميح',
      u'important': u'مهم',
      u'note': u'ملاحظة',
      u'tip': u'نصيحة',
      u'warning': u'تحذير',
      u'contents': u'المحتوى'}
"""Mapping of node class name to label text."""

bibliographic_fields = {
      # language-dependent: fixed
      u'مؤلف': u'author',
      u'مؤلفون': u'authors',
      u'التنظيم': u'organization',
      u'العنوان': u'address',
      u'اتصل': u'contact',
      u'نسخة': u'version',
      u'مراجعة': u'revision',
      u'الحالة': u'status',
      u'تاریخ': u'date',
      u'الحقوق': u'copyright',
      u'إهداء': u'dedication',
      u'ملخص': u'abstract'}
"""Arabic (lowcased) to canonical name mapping for bibliographic fields."""

author_separators = [u'؛', u'،']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""