Skip to content

Commit 077cd53

Browse files
chore: sync msgids with CPython 3.15
1 parent 61efc2e commit 077cd53

27 files changed

Lines changed: 534 additions & 110 deletions

‎c-api/code.po‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-09-16 12:56+0000\n"
15+
"POT-Creation-Date: 2026-10-22 04:16+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1717
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1818
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -112,6 +112,9 @@ msgstr "پاک کردن پایشگر (watcher) شناسایی‌شده با *wat
112112
msgid "Enumeration of possible code object watcher events: - ``PY_CODE_EVENT_CREATE`` - ``PY_CODE_EVENT_DESTROY``"
113113
msgstr "شمارش رویدادهای ممکن دیده‌بان شیء کد: - ``PY_CODE_EVENT_CREATE`` - ``PY_CODE_EVENT_DESTROY``"
114114

115+
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 ""
117+
115118
msgid "Type of a code object watcher callback function."
116119
msgstr "نوع تابع کال‌بک دیده‌بان شیء کد."
117120

‎c-api/conversion.po‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-01 14:41+0330\n"
15+
"POT-Creation-Date: 2026-10-22 04:16+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1717
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1818
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -186,3 +186,12 @@ msgstr "بازگرداندن معادل کوچک نویسه‌ی *c*."
186186

187187
msgid "Return the uppercase equivalent of the character *c*."
188188
msgstr "معادل بزرگ‌نویسی نویسه‌ی *c* را برمی‌گرداند."
189+
190+
msgid "Bit masks"
191+
msgstr ""
192+
193+
msgid "The following constants are bit masks used by the character classification macros above:"
194+
msgstr ""
195+
196+
msgid "Values used internally by the ``Py_IS*`` classification macros above. Exposed for backwards compatibility only."
197+
msgstr ""

‎c-api/descriptor.po‎

Lines changed: 37 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.14\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2026-10-01 14:41+0330\n"
16+
"POT-Creation-Date: 2026-10-22 04:16+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1818
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1919
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -59,20 +59,22 @@ msgstr "توصیف‌گرهای متد، توابع C را به‌صورت مت
5959
msgid "The type object for method descriptor objects created from :c:type:`PyMethodDef` structures. These descriptors expose C functions as methods on a type, and correspond to :class:`types.MethodDescriptorType` objects in Python."
6060
msgstr "شیء نوع برای اشیاء توصیف‌گر متد که از ساختارهای :c:type:`PyMethodDef` ایجاد شده‌اند. این توصیف‌گرها توابع C را به‌عنوان متدهایی روی یک نوع در دسترس قرار می‌دهند و معادل اشیاء :class:`types.MethodDescriptorType` در پایتون هستند."
6161

62-
msgid "Describes a slot wrapper used by :c:func:`PyDescr_NewWrapper`."
63-
msgstr "یک دربرگیرنده‌ی جایگاه را توصیف می‌کند که توسط :c:func:`PyDescr_NewWrapper` استفاده می‌شود."
62+
msgid "The type object for wrapper descriptor objects created by :c:func:`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`."
63+
msgstr ""
6464

65-
msgid "Each ``wrapperbase`` record stores the Python-visible name and metadata for a special method implemented by a type slot, together with the wrapper function used to adapt that slot to Python's calling convention."
66-
msgstr "هر رکورد ``wrapperbase`` نام قابل‌مشاهده در پایتون و فراداده‌ی متد ویژه‌ای را که توسط یک جایگاه نوع پیاده‌سازی شده است، به همراه تابع پوششی‌ای که برای تطبیق آن جایگاه با قرارداد فراخوانی پایتون استفاده می‌شود، ذخیره می‌کند."
65+
#, fuzzy
66+
#| 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."
67+
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`."
68+
msgstr "توصیف‌گرهای پوششی، متدهای ویژه‌ای را که توسط جایگاه‌های نوع پیاده‌سازی شده‌اند، در دسترس قرار می‌دهند. این همان نوع توصیف‌گری است که سی‌پایتون برای متدهای ویژه‌ی مبتنی بر جایگاه مانند ``__repr__`` یا ``__add__`` ایجاد می‌کند و در پایتون به‌صورت یک شیء :class:`types.WrapperDescriptorType` ظاهر می‌شود."
6769

68-
msgid "Create a new wrapper descriptor for extension type *type* from the :c:struct:`wrapperbase` structure *base* and the wrapped slot function pointer *wrapped*."
69-
msgstr "یک توصیف‌گر پوششی جدید برای نوع توسعه‌ای *type* از ساختار :c:struct:`wrapperbase` به نام *base* و اشاره‌گر تابع جایگاه دربرگرفته‌شده به نام *wrapped* می‌سازد."
70+
msgid "Create a new wrapper descriptor of type :c:var:`PyWrapperDescr_Type`."
71+
msgstr ""
7072

71-
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."
72-
msgstr "توصیف‌گرهای پوششی، متدهای ویژه‌ای را که توسط جایگاه‌های نوع پیاده‌سازی شده‌اند، در دسترس قرار می‌دهند. این همان نوع توصیف‌گری است که سی‌پایتون برای متدهای ویژه‌ی مبتنی بر جایگاه مانند ``__repr__`` یا ``__add__`` ایجاد می‌کند و در پایتون به‌صورت یک شیء :class:`types.WrapperDescriptorType` ظاهر می‌شود."
73+
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."
74+
msgstr ""
7375

74-
msgid "The type object for wrapper descriptor objects created by :c:func:`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`. Wrapper descriptors are used internally to expose special methods implemented via wrapper structures, and appear in Python as :class:`types.WrapperDescriptorType` objects."
75-
msgstr "شیء نوع برای اشیاء توصیف‌گر پوششی که توسط :c:func:`PyDescr_NewWrapper` و :c:func:`PyWrapper_New` ایجاد می‌شوند. توصیف‌گرهای پوششی به‌طور داخلی برای در دسترس قرار دادن متدهای ویژه‌ای که از طریق ساختارهای پوششی پیاده‌سازی شده‌اند استفاده می‌شوند و در پایتون به‌صورت اشیاء :class:`types.WrapperDescriptorType` ظاهر می‌شوند."
76+
msgid "See :c:func:`PyCMethod_New` for wrapping a C function."
77+
msgstr ""
7678

7779
msgid "Create a new class method descriptor for extension type *type* from the :c:type:`PyMethodDef` structure *method*."
7880
msgstr "یک توصیف‌گر متد کلاس جدید برای نوع توسعه‌ای *type* از ساختار :c:type:`PyMethodDef` به نام *method* ایجاد می‌کند."
@@ -92,6 +94,18 @@ msgstr "این، شکل مقیدِ یک توصیف‌گر پوششی (wrapper de
9294
msgid "On success, return a :term:`strong reference` to the wrapper object. Return ``NULL`` with an exception set on failure."
9395
msgstr "در صورت موفقیت، یک :term:`ارجاع قوی <strong reference>` به شیء پوششی برمی‌گرداند. در صورت شکل، ``NULL`` را همراه با یک استثنای تنظیم‌شده برمی‌گرداند."
9496

97+
msgid "Return a :term:`borrowed reference` to the type that the descriptor *descr* belongs to. This is accessible as :attr:`~object.__objclass__` in Python."
98+
msgstr ""
99+
100+
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."
101+
msgstr ""
102+
103+
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."
104+
msgstr ""
105+
106+
msgid "*descr* must be a descriptor object created by one of the ``PyDescr_New*`` functions. If not, the behavior is undefined."
107+
msgstr ""
108+
95109
msgid "This is a macro including the common fields for a descriptor object."
96110
msgstr "این یک کلان‌دستور است که شامل فیلدهای مشترک برای یک شیء توصیف‌گر است."
97111

@@ -128,5 +142,17 @@ msgstr "یک شیء :class:`staticmethod` جدید ایجاد می‌کند که
128142
msgid "On success, this function returns a :term:`strong reference` to a new static method descriptor. On failure, this function returns ``NULL`` with an exception set."
129143
msgstr "در صورت موفقیت، این تابع یک :term:`ارجاع قوی <strong reference>` به توصیف‌گر جدید متد ایستا برمی‌گرداند. در صورت شکست، این تابع ``NULL`` را همراه با یک استثنای تنظیم‌شده برمی‌گرداند."
130144

145+
#~ msgid "Describes a slot wrapper used by :c:func:`PyDescr_NewWrapper`."
146+
#~ msgstr "یک دربرگیرنده‌ی جایگاه را توصیف می‌کند که توسط :c:func:`PyDescr_NewWrapper` استفاده می‌شود."
147+
148+
#~ msgid "Each ``wrapperbase`` record stores the Python-visible name and metadata for a special method implemented by a type slot, together with the wrapper function used to adapt that slot to Python's calling convention."
149+
#~ msgstr "هر رکورد ``wrapperbase`` نام قابل‌مشاهده در پایتون و فراداده‌ی متد ویژه‌ای را که توسط یک جایگاه نوع پیاده‌سازی شده است، به همراه تابع پوششی‌ای که برای تطبیق آن جایگاه با قرارداد فراخوانی پایتون استفاده می‌شود، ذخیره می‌کند."
150+
151+
#~ msgid "Create a new wrapper descriptor for extension type *type* from the :c:struct:`wrapperbase` structure *base* and the wrapped slot function pointer *wrapped*."
152+
#~ msgstr "یک توصیف‌گر پوششی جدید برای نوع توسعه‌ای *type* از ساختار :c:struct:`wrapperbase` به نام *base* و اشاره‌گر تابع جایگاه دربرگرفته‌شده به نام *wrapped* می‌سازد."
153+
154+
#~ msgid "The type object for wrapper descriptor objects created by :c:func:`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`. Wrapper descriptors are used internally to expose special methods implemented via wrapper structures, and appear in Python as :class:`types.WrapperDescriptorType` objects."
155+
#~ msgstr "شیء نوع برای اشیاء توصیف‌گر پوششی که توسط :c:func:`PyDescr_NewWrapper` و :c:func:`PyWrapper_New` ایجاد می‌شوند. توصیف‌گرهای پوششی به‌طور داخلی برای در دسترس قرار دادن متدهای ویژه‌ای که از طریق ساختارهای پوششی پیاده‌سازی شده‌اند استفاده می‌شوند و در پایتون به‌صورت اشیاء :class:`types.WrapperDescriptorType` ظاهر می‌شوند."
156+
131157
#~ msgid "The type object for the built-in descriptor types."
132158
#~ msgstr "شیء نوع برای نوع‌های توصیف‌گر توکار."

‎c-api/dict.po‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.14\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2026-10-01 14:41+0330\n"
17+
"POT-Creation-Date: 2026-10-22 04:16+0000\n"
1818
"PO-Revision-Date: 2026-10-06 20:44+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -307,6 +307,9 @@ msgstr "دیکشنری *dict* را به‌عنوان دیگر دیده‌بان
307307
msgid "Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, ``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, ``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or ``PyDict_EVENT_DEALLOCATED``."
308308
msgstr "برشمردن رویدادهای ممکن دیده‌بان دیکشنری: ``PyDict_EVENT_ADDED``، ``PyDict_EVENT_MODIFIED``، ``PyDict_EVENT_DELETED``، ``PyDict_EVENT_CLONED``، ``PyDict_EVENT_CLEARED`` یا ``PyDict_EVENT_DEALLOCATED``."
309309

310+
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."
311+
msgstr ""
312+
310313
msgid "Type of a dict watcher callback function."
311314
msgstr "نوع تابع کال‌بک ناظر دیکشنری."
312315

‎c-api/exceptions.po‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.14\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2026-10-08 09:24+0330\n"
17+
"POT-Creation-Date: 2026-10-22 04:16+0000\n"
1818
"PO-Revision-Date: 2026-09-15 13:22+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -202,6 +202,9 @@ msgstr "دسته‌های هشدار باید زیرکلاس‌هایی از :c:
202202
msgid "For information about warning control, see the documentation for the :mod:`warnings` module and the :option:`-W` option in the command line documentation. There is no C API for warning control."
203203
msgstr "برای کسب اطلاعات درباره‌ی کنترل هشدارها، به مستندات ماژول :mod:`warnings` و گزینه‌ی :option:`-W` در مستندات خط فرمان مراجعه کنید. برای کنترل هشدارها API زبان C وجود ندارد."
204204

205+
msgid "Equivalent to :c:expr:`PyErr_WarnEx(category, message, 1)`."
206+
msgstr ""
207+
205208
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."
206209
msgstr "یک پیام هشدار با کنترل صریح بر تمام ویژگی‌های هشدار صادر می‌کند. این پوششی ساده در اطراف تابع پایتونی :func:`warnings.warn_explicit` است؛ برای اطلاعات بیشتر به آنجا مراجعه کنید. آرگومان‌های *module* و *registry* می‌توانند روی ``NULL`` تنظیم شوند تا اثر پیش‌فرضِ توصیف‌شده در آنجا به دست آید."
207210

‎c-api/file.po‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-10-20 04:16+0000\n"
14+
"POT-Creation-Date: 2026-10-22 04:16+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1616
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1717
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -114,6 +114,9 @@ msgstr "به جای آن، از :c:func:`PyFile_FromFd` با مقادیر پیش
114114
msgid "Type of file-like objects used internally at Python startup when :py:mod:`io` is not yet available. Use Python :py:func:`open` or :c:func:`PyFile_FromFd` to create file objects instead."
115115
msgstr "نوع اشیای شبه‌پرونده‌ای که در زمان راه‌اندازی پایتون، هنگامی که :py:mod:`io` هنوز در دسترس نیست، به‌طور داخلی استفاده می‌شوند. به‌جای آن، برای ایجاد اشیای پرونده از :py:func:`open` پایتون یا :c:func:`PyFile_FromFd` استفاده کنید."
116116

117+
msgid "The string literal ``\"b\"``, used to open files in binary mode. Exposed for backwards compatibility only."
118+
msgstr ""
119+
117120
msgid "object"
118121
msgstr "شیء"
119122

‎c-api/function.po‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.14\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2026-10-01 14:41+0330\n"
16+
"POT-Creation-Date: 2026-10-22 04:16+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1818
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1919
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -125,6 +125,9 @@ msgstr "``PyFunction_EVENT_MODIFY_KWDEFAULTS``"
125125
msgid "``PyFunction_PYFUNC_EVENT_MODIFY_QUALNAME``"
126126
msgstr "``PyFunction_PYFUNC_EVENT_MODIFY_QUALNAME``"
127127

128+
msgid "Apply the macro *V* to each suffix of :c:type:`PyFunction_WatchEvent` constants. Currently expands to ``V(CREATE) V(DESTROY) V(MODIFY_CODE) V(MODIFY_DEFAULTS) V(MODIFY_KWDEFAULTS) V(MODIFY_QUALNAME)``. The macro *V* must accept one event name and supply any punctuation needed between expansions."
129+
msgstr ""
130+
128131
msgid "Type of a function watcher callback function."
129132
msgstr "نوع تابع کال‌بک دیده‌بان (watcher) تابع."
130133

0 commit comments

Comments
 (0)