-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathemail.encoders.po
More file actions
69 lines (54 loc) · 7.88 KB
/
Copy pathemail.encoders.po
File metadata and controls
69 lines (54 loc) · 7.88 KB
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
62
63
64
65
66
67
68
69
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Alireza Shabani (Revisto) <theRevisto@gmail.com>, 2025
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
# Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-09-16 12:56+0000\n"
"PO-Revision-Date: 2026-09-15 08:14+0330\n"
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
"Language-Team: Persian (https://github.com/python/python-docs-fa/fa/)\n"
"Language: fa\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 3.6\n"
msgid ":mod:`!email.encoders`: Encoders"
msgstr ":mod:`!email.encoders`: کدگذارها"
msgid "**Source code:** :source:`Lib/email/encoders.py`"
msgstr "**کد منبع:** :source:`Lib/email/encoders.py`"
msgid "This module is part of the legacy (``Compat32``) email API. In the new API the functionality is provided by the *cte* parameter of the :meth:`~email.message.EmailMessage.set_content` method."
msgstr "این ماژول بخشی از API ایمیل قدیمی (``Compat32``) است. در API جدید، این عملکرد توسط پارامتر *cte* در متد :meth:`~email.message.EmailMessage.set_content` ارائه میشود."
msgid "This module is deprecated in Python 3. The functions provided here should not be called explicitly since the :class:`~email.mime.text.MIMEText` class sets the content type and CTE header using the *_subtype* and *_charset* values passed during the instantiation of that class."
msgstr "این ماژول در پایتون 3 منسوخ شده است. توابع ارائهشده در اینجا نباید بهصراحت فراخوانی شوند، زیرا کلاس :class:`~email.mime.text.MIMEText` نوع محتوا و سرآیند CTE را با استفاده از مقادیر *_subtype* و *_charset* که در هنگام نمونهسازی آن کلاس ارسال میشوند، تنظیم میکند."
msgid "The remaining text in this section is the original documentation of the module."
msgstr "متن باقیمانده در این بخش، مستندات اصلی ماژول است."
msgid "When creating :class:`~email.message.Message` objects from scratch, you often need to encode the payloads for transport through compliant mail servers. This is especially true for :mimetype:`image/\\*` and :mimetype:`text/\\*` type messages containing binary data."
msgstr "هنگام ایجاد اشیای :class:`~email.message.Message` از صفر، اغلب لازم است بارهای مفید را برای انتقال از طریق سرورهای ایمیل سازگار با استانداردها کدگذاری کنید. این موضوع بهویژه برای پیامهایی از نوع :mimetype:`image/\\*` و :mimetype:`text/\\*` که حاوی دادههای دودویی هستند، صادق است."
msgid "The :mod:`email` package provides some convenient encoders in its :mod:`!encoders` module. These encoders are actually used by the :class:`~email.mime.audio.MIMEAudio` and :class:`~email.mime.image.MIMEImage` class constructors to provide default encodings. All encoder functions take exactly one argument, the message object to encode. They usually extract the payload, encode it, and reset the payload to this newly encoded value. They should also set the :mailheader:`Content-Transfer-Encoding` header as appropriate."
msgstr "بستهی :mod:`email` چند کدگذار کاربردی در ماژول :mod:`!encoders` خود فراهم میکند. این کدگذارها در واقع توسط سازندههای کلاسهای :class:`~email.mime.audio.MIMEAudio` و :class:`~email.mime.image.MIMEImage` برای فراهم کردن کدگذاریهای پیشفرض استفاده میشوند. همهی توابع کدگذار دقیقاً یک آرگومان میگیرند: شیء پیامی که باید کدگذاری شود. آنها معمولاً بار مفید را استخراج میکنند، آن را کدگذاری میکنند و بار را به این مقدار تازه کدگذاریشده بازنشانی میکنند. آنها همچنین باید سرآیندی :mailheader:`Content-Transfer-Encoding` را بهشکل مناسب تنظیم کنند."
msgid "Note that these functions are not meaningful for a multipart message. They must be applied to individual subparts instead, and will raise a :exc:`TypeError` if passed a message whose type is multipart."
msgstr "توجه داشته باشید که این توابع برای یک پیام چندبخشی (multipart) معنایی ندارند. در عوض، باید روی زیربخشهای جداگانه اعمال شوند و اگر پیامی که نوع آن چندبخشی (multipart) باشد به آنها داده شود، :exc:`TypeError` را پرتاب میکنند."
msgid "Here are the encoding functions provided:"
msgstr "در اینجا توابع کدگذاری ارائهشده آمده است:"
msgid "Encodes the payload into quoted-printable form and sets the :mailheader:`Content-Transfer-Encoding` header to ``quoted-printable`` [#]_. This is a good encoding to use when most of your payload is normal printable data, but contains a few unprintable characters."
msgstr "بار را به قالب quoted-printable کدگذاری میکند و سرآیندی :mailheader:`Content-Transfer-Encoding` را روی ``quoted-printable`` [#]_ تنظیم میکند. این کدگذاری برای استفاده زمانی مناسب است که بیشتر بار شما دادهی قابلچاپ معمولی باشد، اما شامل چند نویسهی غیرقابلچاپ نیز باشد."
msgid "Encodes the payload into base64 form and sets the :mailheader:`Content-Transfer-Encoding` header to ``base64``. This is a good encoding to use when most of your payload is unprintable data since it is a more compact form than quoted-printable. The drawback of base64 encoding is that it renders the text non-human readable."
msgstr "بار را به قالب base64 کدگذاری میکند و سرآیند :mailheader:`Content-Transfer-Encoding` را روی ``base64`` تنظیم میکند. این کدگذاری برای استفاده هنگامی که بیشتر بار شما دادههای غیرقابلچاپ است، مناسب است، زیرا قالب فشردهتری نسبت به quoted-printable دارد. عیب کدگذاری base64 این است که متن را برای انسان غیرقابلخواندن میکند."
msgid "This doesn't actually modify the message's payload, but it does set the :mailheader:`Content-Transfer-Encoding` header to either ``7bit`` or ``8bit`` as appropriate, based on the payload data."
msgstr "این در واقع بار پیام را تغییر نمیدهد، اما سرآیند :mailheader:`Content-Transfer-Encoding` را بر اساس دادههای بار، بهصورت مناسب به ``7bit`` یا ``8bit`` تنظیم میکند."
msgid "This does nothing; it doesn't even set the :mailheader:`Content-Transfer-Encoding` header."
msgstr "این هیچ کاری انجام نمیدهد؛ حتی سرآیند :mailheader:`Content-Transfer-Encoding` را نیز تنظیم نمیکند."
msgid "Footnotes"
msgstr "پانویسها"
msgid "Note that encoding with :meth:`encode_quopri` also encodes all tabs and space characters in the data."
msgstr "توجه داشته باشید که کدگذاری با :meth:`encode_quopri` تمام نویسههای تب و فاصله موجود در دادهها را نیز کدگذاری میکند."