-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathcodec.po
More file actions
113 lines (83 loc) · 10.4 KB
/
Copy pathcodec.po
File metadata and controls
113 lines (83 loc) · 10.4 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# 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:
# Revisto <theRevisto@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 13:24+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 "Codec registry and support functions"
msgstr "رجیستری کدک و توابع پشتیبانی"
msgid "Register a new codec search function."
msgstr "یک تابع جستجوی کدک جدید را ثبت میکند."
msgid "As a side effect, this tries to load the :mod:`!encodings` package, if not yet done, to make sure that it is always first in the list of search functions."
msgstr "بهعنوان یک اثر جانبی، این تلاش میکند در صورتی که هنوز انجام نشده باشد، بستهی :mod:`!encodings` را بارگذاری کند تا مطمئن شود که همیشه در ابتدای فهرست توابع جستجو قرار دارد."
msgid "Unregister a codec search function and clear the registry's cache. If the search function is not registered, do nothing. Return 0 on success. Raise an exception and return -1 on error."
msgstr "ثبت یک تابع جستجوی کدک را لغو میکند و نهانگاه رجیستری را پاک میکند. اگر تابع جستجو ثبت نشده باشد، هیچ کاری انجام نمیدهد. در صورت موفقیت، 0 را برمیگرداند. در صورت خطا، یک استثنا ایجاد میکند و -1 را برمیگرداند."
msgid "Return ``1`` or ``0`` depending on whether there is a registered codec for the given *encoding*. This function always succeeds."
msgstr "بسته به اینکه برای *encoding* دادهشده کدک ثبتشدهای وجود دارد یا خیر، ``1`` یا ``0`` برمیگرداند. این تابع همیشه با موفقیت اجرا میشود."
msgid "Generic codec based encoding API."
msgstr "API عمومی کدگذاری مبتنی بر کدک."
msgid "*object* is passed through the encoder function found for the given *encoding* using the error handling method defined by *errors*. *errors* may be ``NULL`` to use the default method defined for the codec. Raises a :exc:`LookupError` if no encoder can be found."
msgstr "*object* با استفاده از روش مدیریت خطای تعریفشده توسط *errors*، از تابع کدگذاری که برای *encoding* دادهشده یافت شده است، عبور داده میشود. *errors* میتواند ``NULL`` باشد تا از روش پیشفرض تعریفشده برای کدک استفاده شود. در صورت یافت نشدن کدگذار، استثنای :exc:`LookupError` ایجاد میشود."
msgid "Generic codec based decoding API."
msgstr "API عمومیِ کدگشایی مبتنی بر کدک."
msgid "*object* is passed through the decoder function found for the given *encoding* using the error handling method defined by *errors*. *errors* may be ``NULL`` to use the default method defined for the codec. Raises a :exc:`LookupError` if no decoder can be found."
msgstr "*object* با استفاده از روش مدیریت خطای تعریفشده توسط *errors*، از تابع کدگشای یافتشده برای *encoding* دادهشده عبور داده میشود. *errors* میتواند ``NULL`` باشد تا از روش پیشفرض تعریفشده برای کدک استفاده شود. اگر هیچ کدگشایی یافت نشود، استثنای :exc:`LookupError` ایجاد میشود."
msgid "Codec lookup API"
msgstr "API جستجوی کدک"
msgid "In the following functions, the *encoding* string is looked up converted to all lower-case characters, which makes encodings looked up through this mechanism effectively case-insensitive. If no codec is found, a :exc:`KeyError` is set and ``NULL`` returned."
msgstr "در توابع زیر، رشتهی *encoding* پس از تبدیل به نویسههای تماماً کوچک جستجو میشود، که همین امر باعث میشود کدگذاریهایی که از طریق این سازوکار جستجو میشوند، عملاً بدون حساسیت به بزرگی و کوچکی نویسهها باشند. اگر هیچ کدکی یافت نشود، یک :exc:`KeyError` تنظیم میشود و ``NULL`` برگردانده میشود."
msgid "Get an encoder function for the given *encoding*."
msgstr "دریافت تابع کدگذار برای *encoding* دادهشده."
msgid "Get a decoder function for the given *encoding*."
msgstr "گرفتن تابع کدگشا برای *کدگذاری* دادهشده."
msgid "Get an :class:`~codecs.IncrementalEncoder` object for the given *encoding*."
msgstr "یک شیء :class:`~codecs.IncrementalEncoder` برای *کدگذاری* دادهشده دریافت میکند."
msgid "Get an :class:`~codecs.IncrementalDecoder` object for the given *encoding*."
msgstr "به دست آوردن یک شیء :class:`~codecs.IncrementalDecoder` برای *encoding* دادهشده."
msgid "Get a :class:`~codecs.StreamReader` factory function for the given *encoding*."
msgstr "گرفتن تابع کارخانهای :class:`~codecs.StreamReader` برای *کدگذاری* دادهشده."
msgid "Get a :class:`~codecs.StreamWriter` factory function for the given *encoding*."
msgstr "دریافت یک تابع کارخانهای :class:`~codecs.StreamWriter` برای *کدگذاری* دادهشده."
msgid "Registry API for Unicode encoding error handlers"
msgstr "API رجیستری برای هندلرهای خطای کدگذاری یونیکد"
msgid "Register the error handling callback function *error* under the given *name*. This callback function will be called by a codec when it encounters unencodable characters/undecodable bytes and *name* is specified as the error parameter in the call to the encode/decode function."
msgstr "تابع کالبک مدیریت خطای *error* را با نام دادهشده *name* ثبت میکند. این تابع کالبک توسط یک کدک زمانی فراخوانی میشود که به نویسههای غیرقابل کدگذاری/بایتهای غیرقابل کدگشایی برخورد کند و *name* بهعنوان پارامتر خطا در فراخوانی تابع کدگذاری/کدگشایی مشخص شده باشد."
msgid "The callback gets a single argument, an instance of :exc:`UnicodeEncodeError`, :exc:`UnicodeDecodeError` or :exc:`UnicodeTranslateError` that holds information about the problematic sequence of characters or bytes and their offset in the original string (see :ref:`unicodeexceptions` for functions to extract this information). The callback must either raise the given exception, or return a two-item tuple containing the replacement for the problematic sequence, and an integer giving the offset in the original string at which encoding/decoding should be resumed."
msgstr "کالبک یک آرگومان واحد دریافت میکند، نمونهای از :exc:`UnicodeEncodeError`، :exc:`UnicodeDecodeError` یا :exc:`UnicodeTranslateError` که اطلاعاتی دربارهی دنبالهی مشکلساز نویسهها یا بایتها و آفست آنها در رشتهی اصلی نگه میدارد (برای توابعی که این اطلاعات را استخراج میکنند، به :ref:`unicodeexceptions` مراجعه کنید). کالبک باید یا استثنای دادهشده را ایجاد کند، یا یک تاپل دوآیتمی بازگرداند که شامل جایگزین دنبالهی مشکلساز و یک عدد صحیح است که مشخص میکند کدگذاری/کدگشایی باید از کدام آفست در رشتهی اصلی از سر گرفته شود."
msgid "Return ``0`` on success, ``-1`` on error."
msgstr "در صورت موفقیت ``0`` و در صورت خطا ``-1`` برمیگرداند."
msgid "Lookup the error handling callback function registered under *name*. As a special case ``NULL`` can be passed, in which case the error handling callback for \"strict\" will be returned."
msgstr "تابع کالبک مدیریت خطای ثبتشده تحت نام *name* را جستجو میکند. به عنوان یک حالت خاص، میتوان ``NULL`` را ارسال کرد که در این صورت کالبک مدیریت خطا برای \"strict\" بازگردانده میشود."
msgid "Raise *exc* as an exception."
msgstr "*exc* را بهعنوان استثنا ایجاد میکند."
msgid "Ignore the unicode error, skipping the faulty input."
msgstr "خطای یونیکد را نادیده میگیرد و از ورودی معیوب عبور میکند."
msgid "Replace the unicode encode error with ``?`` or ``U+FFFD``."
msgstr "خطای کدگذاری یونیکد را با ``?`` یا ``U+FFFD`` جایگزین کنید."
msgid "Replace the unicode encode error with XML character references."
msgstr "خطای کدگذاری یونیکد را با ارجاعهای نویسه XML جایگزین میکند."
msgid "Replace the unicode encode error with backslash escapes (``\\x``, ``\\u`` and ``\\U``)."
msgstr "خطای کدگذاری یونیکد را با گریزهای بکاسلش (``\\x``، ``\\u`` و ``\\U``) جایگزین میکند."
msgid "Replace the unicode encode error with ``\\N{...}`` escapes."
msgstr "خطای کدگذاری یونیکد را با گریزهای ``\\N{...}`` جایگزین کنید."
msgid "Codec utility variables"
msgstr "متغیرهای کاربردی کدک"
msgid "A string constant containing the lowercase hexadecimal digits: ``\"0123456789abcdef\"``."
msgstr "یک ثابت رشتهای که شامل ارقام مبنای شانزده با حروف کوچک است: ``\"0123456789abcdef\"``."