Skip to content

Commit 509ae3a

Browse files
chore: merge translations from 3.15 into 3.14
423 string(s) in 53 file(s), matched by (msgctxt, msgid). Source: 3.15 @ bf9c048
1 parent a7e7dc4 commit 509ae3a

53 files changed

Lines changed: 455 additions & 919 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎c-api/code.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ msgid "Enumeration of possible code object watcher events: - ``PY_CODE_EVENT_CRE
113113
msgstr "شمارش رویدادهای ممکن دیده‌بان شیء کد: - ``PY_CODE_EVENT_CREATE`` - ``PY_CODE_EVENT_DESTROY``"
114114

115115
msgid "Apply the macro *V* to each suffix of :c:type:`PyCodeEvent` constants. Currently expands to ``V(CREATE) V(DESTROY)``. The macro *V* must accept one event name and supply any punctuation needed between expansions."
116-
msgstr ""
116+
msgstr "ماکرو *V* را روی هر پسوند از ثاب‌ت‌های :c:type:`PyCodeEvent` اعمال کنید. در حال حاضر به صورت ``V(CREATE) V(DESTROY)`` گسترش می‌یابد. ماکرو *V* باید یک نام رویداد را بپذیرد و هرگونه علائم نگارشی مورد نیاز بین گسترش‌ها را فراهم کند."
117117

118118
msgid "Type of a code object watcher callback function."
119119
msgstr "نوع تابع کال‌بک دیده‌بان شیء کد."

‎c-api/conversion.po‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,10 @@ msgid "Return the uppercase equivalent of the character *c*."
187187
msgstr "معادل بزرگ‌نویسی نویسه‌ی *c* را برمی‌گرداند."
188188

189189
msgid "Bit masks"
190-
msgstr ""
190+
msgstr "بیت‌ماسک‌ها"
191191

192192
msgid "The following constants are bit masks used by the character classification macros above:"
193-
msgstr ""
193+
msgstr "ثابت‌های زیر بیت‌ماسک‌هایی هستند که توسط ماکروهای دسته‌بندی نویسه در بالا استفاده می‌شوند:"
194194

195195
msgid "Values used internally by the ``Py_IS*`` classification macros above. Exposed for backwards compatibility only."
196-
msgstr ""
196+
msgstr "مقادیر استفاده‌شده‌ی داخلی توسط ماکروهای دسته‌بندی ``Py_IS*`` در بالا. فقط برای سازگاری با نسخه‌های قبلی در معرض دید قرار گرفته‌اند."

‎c-api/descriptor.po‎

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,21 +62,19 @@ msgid "The type object for method descriptor objects created from :c:type:`PyMet
6262
msgstr "شیء نوع برای اشیاء توصیف‌گر متد که از ساختارهای :c:type:`PyMethodDef` ایجاد شده‌اند. این توصیف‌گرها توابع C را به‌عنوان متدهایی روی یک نوع در دسترس قرار می‌دهند و معادل اشیاء :class:`types.MethodDescriptorType` در پایتون هستند."
6363

6464
msgid "The type object for wrapper descriptor objects created by :c:func:`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`."
65-
msgstr ""
65+
msgstr "شیء نوع داده برای اشیای توصیف‌گر پوششی ایجادشده توسط :c:func:`PyDescr_NewWrapper` و :c:func:`PyWrapper_New`."
6666

67-
#, fuzzy
68-
#| msgid "Wrapper descriptors expose special methods implemented by type slots. This is the same kind of descriptor that CPython creates for slot-based special methods such as ``__repr__`` or ``__add__``, and it appears in Python as a :class:`types.WrapperDescriptorType` object."
6967
msgid "Wrapper descriptors are used internally to expose special methods such as ``__repr__`` or ``__add__``, which are implemented by type slots. The type is exposed in Python as :class:`types.WrapperDescriptorType`."
70-
msgstr "توصیف‌گرهای پوششی، متدهای ویژه‌ای را که توسط جایگاه‌های نوع پیاده‌سازی شده‌اند، در دسترس قرار می‌دهند. این همان نوع توصیف‌گری است که سی‌پایتون برای متدهای ویژه‌ی مبتنی بر جایگاه مانند ``__repr__`` یا ``__add__`` ایجاد می‌کند و در پایتون به‌صورت یک شیء :class:`types.WrapperDescriptorType` ظاهر می‌شود."
68+
msgstr "توصیف‌گرهای پوششی به صورت داخلی برای نمایش متدهای ویژه‌ای مانند ``__repr__`` یا ``__add__`` استفاده می‌شوند که توسط جایگاه‌های نوع پیاده‌سازی شده‌اند. این نوع در پایتون به صورت :class:`types.WrapperDescriptorType` نمایش داده می‌شود."
7169

7270
msgid "Create a new wrapper descriptor of type :c:var:`PyWrapperDescr_Type`."
73-
msgstr ""
71+
msgstr "یک توصیف‌گر پوششی جدید از نوع :c:var:`PyWrapperDescr_Type` ایجاد کنید."
7472

7573
msgid "This function is meant for internal use only; it and related API (``struct wrapperbase`` and the ``PyWrapperFlag_KEYWORDS`` flag) are exposed publicly for backwards compatibility reasons."
76-
msgstr ""
74+
msgstr "این تابع فقط برای استفاده‌ی داخلی در نظر گرفته شده است؛ آن و APIهای مرتبط (``struct wrapperbase`` و پرچم ``PyWrapperFlag_KEYWORDS``) به دلایل سازگاری با نسخه‌های پیشین به صورت عمومی ارائه شده‌اند."
7775

7876
msgid "See :c:func:`PyCMethod_New` for wrapping a C function."
79-
msgstr ""
77+
msgstr "برای بسته‌بندی یک تابع C به :c:func:`PyCMethod_New` مراجعه کنید."
8078

8179
msgid "Create a new class method descriptor for extension type *type* from the :c:type:`PyMethodDef` structure *method*."
8280
msgstr "یک توصیف‌گر متد کلاس جدید برای نوع توسعه‌ای *type* از ساختار :c:type:`PyMethodDef` به نام *method* ایجاد می‌کند."
@@ -97,16 +95,16 @@ msgid "On success, return a :term:`strong reference` to the wrapper object. Retu
9795
msgstr "در صورت موفقیت، یک :term:`ارجاع قوی <strong reference>` به شیء پوششی برمی‌گرداند. در صورت شکل، ``NULL`` را همراه با یک استثنای تنظیم‌شده برمی‌گرداند."
9896

9997
msgid "Return a :term:`borrowed reference` to the type that the descriptor *descr* belongs to. This is accessible as :attr:`~object.__objclass__` in Python."
100-
msgstr ""
98+
msgstr "یک :term:`ارجاع امانتی <borrowed reference>` به نوعی که توصیف‌گر *descr* به آن تعلق دارد، برگردانید. این مقدار در پایتون به عنوان :attr:`~object.__objclass__` قابل دسترسی است."
10199

102100
msgid "*descr* must be a descriptor object created by one of the ``PyDescr_New*`` functions (an instance of :c:var:`PyMethodDescr_Type`, :c:var:`PyClassMethodDescr_Type`, :c:var:`PyMemberDescr_Type`, :c:var:`PyGetSetDescr_Type`, or :c:var:`PyWrapperDescr_Type`). If the passed descriptor is not an instance of one of these types, the behavior is undefined."
103-
msgstr ""
101+
msgstr "*descr* باید یک شیء توصیف‌گر باشد که توسط یکی از توابع ``PyDescr_New*`` ایجاد شده است (یک نمونه از :c:var:`PyMethodDescr_Type`، :c:var:`PyClassMethodDescr_Type`، :c:var:`PyMemberDescr_Type`، :c:var:`PyGetSetDescr_Type` یا :c:var:`PyWrapperDescr_Type`). اگر توصیف‌گر ارسال‌شده نمونه‌ای از یکی از این نوع‌ها نباشد، رفتار نامشخص خواهد بود."
104102

105103
msgid "Return the name of the descriptor *descr* as a :term:`borrowed reference` to a :class:`str` object. This is available as :attr:`~definition.__name__` in Python."
106-
msgstr ""
104+
msgstr "نام توصیف‌گر *descr* را به عنوان یک :term:`ارجاع امانتی <borrowed reference>` به یک شیء :class:`str` برگردانید. این مقدار در پایتون به عنوان :attr:`~definition.__name__` در دسترس است."
107105

108106
msgid "*descr* must be a descriptor object created by one of the ``PyDescr_New*`` functions. If not, the behavior is undefined."
109-
msgstr ""
107+
msgstr "*descr* باید یک شیء توصیف‌گر باشد که توسط یکی از توابع ``PyDescr_New*`` ایجاد شده است. در غیر این صورت، رفتار نامشخص خواهد بود."
110108

111109
msgid "Built-in descriptors"
112110
msgstr "توصیف‌گرهای توکار"

‎c-api/dict.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ msgid "Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``
289289
msgstr "برشمردن رویدادهای ممکن دیده‌بان دیکشنری: ``PyDict_EVENT_ADDED``، ``PyDict_EVENT_MODIFIED``، ``PyDict_EVENT_DELETED``، ``PyDict_EVENT_CLONED``، ``PyDict_EVENT_CLEARED`` یا ``PyDict_EVENT_DEALLOCATED``."
290290

291291
msgid "Apply the macro *V* to each suffix of :c:type:`PyDict_WatchEvent` constants. Currently expands to ``V(ADDED) V(MODIFIED) V(DELETED) V(CLONED) V(CLEARED) V(DEALLOCATED)``. The macro *V* must accept one event name and supply any punctuation needed between expansions."
292-
msgstr ""
292+
msgstr "ماکرو *V* را روی هر پسوند از ثابت‌های :c:type:`PyDict_WatchEvent` اعمال کنید. در حال حاضر به صورت ``V(ADDED) V(MODIFIED) V(DELETED) V(CLONED) V(CLEARED) V(DEALLOCATED)`` گسترش می‌یابد. ماکرو *V* باید یک نام رویداد را بپذیرد و هرگونه علائم نگارشی مورد نیاز بین گسترش‌ها را فراهم کند."
293293

294294
msgid "Type of a dict watcher callback function."
295295
msgstr "نوع تابع کال‌بک ناظر دیکشنری."

‎c-api/exceptions.po‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ msgid "For information about warning control, see the documentation for the :mod
202202
msgstr "برای کسب اطلاعات درباره‌ی کنترل هشدارها، به مستندات ماژول :mod:`warnings` و گزینه‌ی :option:`-W` در مستندات خط فرمان مراجعه کنید. برای کنترل هشدارها API زبان C وجود ندارد."
203203

204204
msgid "Equivalent to :c:expr:`PyErr_WarnEx(category, message, 1)`."
205-
msgstr ""
205+
msgstr "معادل :c:expr:`PyErr_WarnEx(category, message, 1)`."
206206

207207
msgid "Issue a warning message with explicit control over all warning attributes. This is a straightforward wrapper around the Python function :func:`warnings.warn_explicit`; see there for more information. The *module* and *registry* arguments may be set to ``NULL`` to get the default effect described there."
208208
msgstr "یک پیام هشدار با کنترل صریح بر تمام ویژگی‌های هشدار صادر می‌کند. این پوششی ساده در اطراف تابع پایتونی :func:`warnings.warn_explicit` است؛ برای اطلاعات بیشتر به آنجا مراجعه کنید. آرگومان‌های *module* و *registry* می‌توانند روی ``NULL`` تنظیم شوند تا اثر پیش‌فرضِ توصیف‌شده در آنجا به دست آید."
@@ -544,7 +544,7 @@ msgid "The function then checks if the stack limit is reached. If this is the c
544544
msgstr "سپس تابع بررسی می‌کند که آیا به حد پشته رسیده است یا خیر. اگر چنین باشد، یک :exc:`RecursionError` تنظیم می‌شود و مقدار غیرصفر بازگردانده می‌شود. در غیر این صورت، صفر بازگردانده می‌شود."
545545

546546
msgid "The check is based on the remaining C stack space of the current thread, not on a count of calls, so it is unaffected by :c:func:`Py_SetRecursionLimit` and :func:`sys.setrecursionlimit`."
547-
msgstr ""
547+
msgstr "این بررسی بر اساس فضای پشته‌ی C باقی‌مانده از نخ فعلی انجام می‌شود، نه بر اساس تعداد فراخوانی‌ها، بنابراین تحت‌تأثیر :c:func:`Py_SetRecursionLimit` و :func:`sys.setrecursionlimit` قرار نمی‌گیرد."
548548

549549
msgid "*where* should be a UTF-8 encoded string such as ``\" in instance check\"`` to be concatenated to the :exc:`RecursionError` message caused by the recursion depth limit."
550550
msgstr "*where* باید یک رشته‌ی کدگذاری‌شده با UTF-8 مانند ``\" in instance check\"`` باشد تا به پیام :exc:`RecursionError` که ناشی از محدودیت عمق بازگشت است، الحاق شود."
@@ -556,7 +556,7 @@ msgid "This function is now also available in the :ref:`limited API <limited-c-a
556556
msgstr "این تابع اکنون در :ref:`API محدود <limited-c-api>` نیز در دسترس است."
557557

558558
msgid "The check is based on the remaining C stack space. Previously, a separate counter of C-level calls was used."
559-
msgstr ""
559+
msgstr "این بررسی بر اساس فضای پشته‌ی C باقی‌مانده انجام می‌شود. پیش از این، از شمارنده‌ی مجزایی برای فراخوانی‌های سطح C استفاده می‌شد."
560560

561561
msgid "Ends a :c:func:`Py_EnterRecursiveCall`. Must be called once for each *successful* invocation of :c:func:`Py_EnterRecursiveCall`."
562562
msgstr "یک :c:func:`Py_EnterRecursiveCall` را پایان می‌دهد. باید یک‌بار برای هر فراخوانی *موفق* :c:func:`Py_EnterRecursiveCall` فراخوانی شود."

‎c-api/file.po‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ msgid "Equivalent to ``p.readline([n])``, this function reads one line from the
4343
msgstr "این تابع معادل ``p.readline([n])`` است و یک سطر از شیء *p* می‌خواند. *p* می‌تواند یک شیء پرونده یا هر شیء دارای متد :meth:`~io.IOBase.readline` باشد. اگر *n* برابر ``0`` باشد، دقیقاً یک سطر خوانده می‌شود، بدون توجه به طول سطر. اگر *n* بزرگ‌تر از ``0`` باشد، بیش از *n* بایت از پرونده خوانده نمی‌شود؛ ممکن است سطر ناقصی برگردانده شود. در هر دو حالت، اگر بلافاصله به پایان پرونده برسیم، رشته‌ای خالی برگردانده می‌شود. اما اگر *n* کوچک‌تر از ``0`` باشد، یک سطر بدون توجه به طول خوانده می‌شود، ولی اگر بلافاصله به پایان پرونده برسیم، :exc:`EOFError` پرتاب می‌شود."
4444

4545
msgid "Read a line from the C stream *stream* into the buffer *buf*, like the C standard library function :c:func:`!fgets`, but treating all of ``\\n``, ``\\r`` and ``\\r\\n`` as line endings (see :term:`universal newlines`). Any ``\\r`` or ``\\r\\n`` read from the stream is stored in *buf* as a single ``\\n``."
46-
msgstr ""
46+
msgstr "یک سطر را از جریان (stream) C با نام *stream* در بافر *buf* بخوانید، درست مانند تابع کتابخانه‌ی استاندارد C یعنی :c:func:`!fgets`، با این تفاوت که تمام موارد ``\\n``، ``\\r`` و ``\\r\\n`` را به عنوان پایان‌دهنده‌های سطر در نظر می‌گیرد (به :term:`سطرهای جدید همگانی <universal newlines>` مراجعه کنید). هر ``\\r`` یا ``\\r\\n`` خوانده‌شده از جریان، به عنوان یک ``\\n`` واحد در *buf* ذخیره می‌شود."
4747

4848
msgid "At most ``n - 1`` characters are stored in *buf*; reading stops after a newline has been stored or when the end of the file is reached. The result is always null-terminated. *stream* should be opened in binary mode, so that the C library does not perform its own newline translation."
49-
msgstr ""
49+
msgstr "حداکثر ``n - 1`` نویسه در *buf* ذخیره می‌شود؛ خواندن پس از ذخیره‌شدن یک نویسه‌ی سطر جدید یا رسیدن به انتهای پرونده متوقف می‌شود. نتیجه همیشه دارای پایان‌دهنده‌ی تهی (null-terminated) است. *stream* باید در حالت دودویی باز شود تا کتابخانه‌ی C ترجمه‌ی سطر جدید خود را انجام ندهد."
5050

5151
msgid "Return *buf* on success. Return ``NULL`` if no characters could be read, because *stream* is at end of file, a read error occurred, or *n* is less than 2. Like :c:func:`!fgets`, this function does not distinguish between end of file and a read error, and it does not set an exception."
52-
msgstr ""
52+
msgstr "در صورت موفقیت، *buf* را برگردانید. اگر هیچ نویسه‌ای قابل خواندن نباشد، به این دلیل که *stream* در انتهای پرونده است، خطای خواندنی رخ داده است، یا *n* کمتر از ۲ است، ``NULL`` را برگردانید. درست مانند :c:func:`!fgets`، این تابع بین انتهای پرونده و خطای خواندن تمایز قائل نمی‌شود و استثنایی را تنظیم نمی‌کند."
5353

5454
msgid "*fobj* exists only for backward compatibility and must be ``NULL``."
55-
msgstr ""
55+
msgstr "مورد *fobj* صرفاً برای سازگاری عقبگرد وجود دارد و باید ``NULL`` باشد."
5656

5757
msgid "Overrides the normal behavior of :func:`io.open_code` to pass its parameter through the provided handler."
5858
msgstr "رفتار عادی :func:`io.open_code` را بازتعریف می‌کند تا پارامتر خود را از هندلر ارائه‌شده عبور دهد."
@@ -115,7 +115,7 @@ msgid "Type of file-like objects used internally at Python startup when :py:mod:
115115
msgstr "نوع اشیای شبه‌پرونده‌ای که در زمان راه‌اندازی پایتون، هنگامی که :py:mod:`io` هنوز در دسترس نیست، به‌طور داخلی استفاده می‌شوند. به‌جای آن، برای ایجاد اشیای پرونده از :py:func:`open` پایتون یا :c:func:`PyFile_FromFd` استفاده کنید."
116116

117117
msgid "The string literal ``\"b\"``, used to open files in binary mode. Exposed for backwards compatibility only."
118-
msgstr ""
118+
msgstr "رشته‌ی لفظی ``\"b\"``، که برای باز کردن پرونده‌ها در حالت دودویی استفاده می‌شود. صرفاً برای سازگاری عقبگرد آشکارسازی شده است."
119119

120120
msgid "object"
121121
msgstr "شیء"

0 commit comments

Comments
 (0)