# -*- 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. """ Persian-language mappings for language-dependent features of reStructuredText. """ __docformat__ = 'reStructuredText' directives = { # language-dependent: fixed 'توجه': 'attention', 'اØتیاط': 'caution', 'کد': 'code', 'بلوک-کد': 'code', 'کد-منبع': 'code', 'خطر': 'danger', 'خطا': 'error', 'راهنما': 'hint', 'مهم': 'important', 'یادداشت': 'note', 'نکته': 'tip', 'اخطار': 'warning', 'تذکر': 'admonition', 'نوار-کناری': 'sidebar', 'موضوع': 'topic', 'بلوک-خط': 'line-block', 'تلÙظ-پردازش-شده': 'parsed-literal', 'سر-Ùصل': 'rubric', 'کتیبه': 'epigraph', 'نکات-برجسته': 'highlights', 'نقل-قول': 'pull-quote', 'ترکیب': 'compound', 'ظرÙ': 'container', #'questions': u'questions', 'جدول': 'table', 'جدول-csv': 'csv-table', 'جدول-لیست': 'list-table', #'qa': u'questions', #'faq': u'questions', 'متا': 'meta', 'ریاضی': 'math', #'imagemap': u'imagemap', 'تصویر': 'image', 'Ø´Ú©Ù„': 'figure', 'شامل': 'include', 'خام': 'raw', 'جایگزین': 'replace', 'یونیکد': 'unicode', 'تاریخ': 'date', 'کلاس': 'class', 'قانون': 'role', 'قانون-پیش‌Ùرض': 'default-role', 'عنوان': 'title', 'Ù…Øتوا': 'contents', 'شماره-Ùصل': 'sectnum', 'شماره‌گذاری-Ùصل': 'sectnum', 'سرآیند': 'header', 'پاصÙØÙ‡': 'footer', #'footnotes': u'footnotes', #'citations': u'citations', 'یادداشت-هدÙ': 'target-notes', } """Persian name to registered (in directives/__init__.py) directive name mapping.""" roles = { # language-dependent: fixed 'مخÙÙ': 'abbreviation', 'سرنام': 'acronym', 'کد': 'code', 'شاخص': 'index', 'زیرنویس': 'subscript', 'بالانویس': 'superscript', 'عنوان': 'title-reference', 'نیرو': 'pep-reference', 'rfc-reference (translation required)': 'rfc-reference', 'تاکید': 'emphasis', 'قوی': 'strong', 'Ù„Ùظی': 'literal', 'ریاضی': 'math', 'منبع-نام‌گذاری': 'named-reference', 'منبع-ناشناس': 'anonymous-reference', 'منبع-پانویس': 'footnote-reference', 'منبع-نقل‌Ùول': 'citation-reference', 'منبع-جایگزینی': 'substitution-reference', 'هدÙ': 'target', 'منبع-uri': 'uri-reference', 'uri': 'uri-reference', 'url': 'uri-reference', 'خام': 'raw',} """Mapping of Persian role names to canonical role names for interpreted text. """