fa.py 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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.
  4. # New language mappings are welcome. Before doing a new translation, please
  5. # read <https://docutils.sourceforge.io/docs/howto/i18n.html>.
  6. # Two files must be translated for each language: one in docutils/languages,
  7. # the other in docutils/parsers/rst/languages.
  8. """
  9. Persian-language mappings for language-dependent features of Docutils.
  10. """
  11. __docformat__ = 'reStructuredText'
  12. labels = {
  13. # fixed: language-dependent
  14. 'author': 'نویسنده',
  15. 'authors': 'نویسندگان',
  16. 'organization': 'سازمان',
  17. 'address': 'آدرس',
  18. 'contact': 'تماس',
  19. 'version': 'نسخه',
  20. 'revision': 'بازبینی',
  21. 'status': 'وضعیت',
  22. 'date': 'تاریخ',
  23. 'copyright': 'کپی‌رایت',
  24. 'dedication': 'تخصیص',
  25. 'abstract': 'چکیده',
  26. 'attention': 'توجه!',
  27. 'caution': 'احتیاط!',
  28. 'danger': 'خطر!',
  29. 'error': 'خطا',
  30. 'hint': 'راهنما',
  31. 'important': 'مهم',
  32. 'note': 'یادداشت',
  33. 'tip': 'نکته',
  34. 'warning': 'اخطار',
  35. 'contents': 'محتوا'}
  36. """Mapping of node class name to label text."""
  37. bibliographic_fields = {
  38. # language-dependent: fixed
  39. 'نویسنده': 'author',
  40. 'نویسندگان': 'authors',
  41. 'سازمان': 'organization',
  42. 'آدرس': 'address',
  43. 'تماس': 'contact',
  44. 'نسخه': 'version',
  45. 'بازبینی': 'revision',
  46. 'وضعیت': 'status',
  47. 'تاریخ': 'date',
  48. 'کپی‌رایت': 'copyright',
  49. 'تخصیص': 'dedication',
  50. 'چکیده': 'abstract'}
  51. """Persian (lowcased) to canonical name mapping for bibliographic fields."""
  52. author_separators = ['؛', '،']
  53. """List of separator strings for the 'Authors' bibliographic field. Tried in
  54. order."""