Skip to content

Commit fe6d753

Browse files
chore: sync msgids with CPython 3.15
1 parent cb935e1 commit fe6d753

7 files changed

Lines changed: 65 additions & 15 deletions

File tree

‎c-api/buffer.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-29 04:13+0000\n"
1818
"PO-Revision-Date: 2026-09-15 13:23+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -196,6 +196,9 @@ msgstr "شکل، گام‌ها (strides)، زیرآفست‌ها (suboffsets)"
196196
msgid "The flags that control the logical structure of the memory are listed in decreasing order of complexity. Note that each flag contains all bits of the flags below it."
197197
msgstr "پرچم‌هایی که ساختار منطقی حافظه را کنترل می‌کنند، به ترتیب نزولی پیچیدگی فهرست شده‌اند. توجه داشته باشید که هر پرچم، تمام بیت‌های پرچم‌های پایین‌تر از آن را در بر می‌گیرد."
198198

199+
msgid "These values are available when compiling for the :ref:`Stable ABI <stable>` since version 3.11."
200+
msgstr ""
201+
199202
msgid "Request"
200203
msgstr "درخواست"
201204

‎c-api/gcsupport.po‎

Lines changed: 17 additions & 3 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-29 04:13+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"
@@ -176,7 +176,9 @@ msgstr "پیمایش"
176176
msgid "The :c:member:`~PyTypeObject.tp_traverse` handler must have the following type:"
177177
msgstr "هندلر :c:member:`~PyTypeObject.tp_traverse` باید از نوع زیر باشد:"
178178

179-
msgid "Traversal function for a garbage-collected object, used by the garbage collector to detect reference cycles. Implementations must call the *visit* function for each object directly contained by *self*, with the parameters to *visit* being the contained object and the *arg* value passed to the handler. The *visit* function must not be called with a ``NULL`` object argument. If *visit* returns a non-zero value, that value should be returned immediately."
179+
#, fuzzy
180+
#| msgid "Traversal function for a garbage-collected object, used by the garbage collector to detect reference cycles. Implementations must call the *visit* function for each object directly contained by *self*, with the parameters to *visit* being the contained object and the *arg* value passed to the handler. The *visit* function must not be called with a ``NULL`` object argument. If *visit* returns a non-zero value, that value should be returned immediately."
181+
msgid "Traversal function for a garbage-collected object, used by the garbage collector to detect reference cycles. Implementations must call the *visit* function for each object directly contained by *self*, with the parameters to *visit* being the contained object and the *arg* value passed to the handler. The *visit* function must not be called with a ``NULL`` object argument. If *visit* returns a non-zero value, that value should be returned immediately. Otherwise, return zero."
180182
msgstr "تابع پیمایش برای یک شیء جمع‌آوری‌شده در زباله‌جمع‌کن، که توسط زباله‌جمع‌کن برای تشخیص چرخه‌های ارجاع استفاده می‌شود. پیاده‌سازی‌ها باید تابع *visit* را برای هر شیء که مستقیماً توسط *self* دربرگرفته شده است فراخوانی کنند، به طوری که پارامترهای ارسالی به *visit* شامل شیء محصورشده و مقدار *arg* ارسال‌شده به هندلر باشند. تابع *visit* نباید با یک آرگومان شیء ``NULL`` فراخوانی شود. اگر *visit* یک مقدار غیرصفر برگرداند، آن مقدار باید بلافاصله بازگردانده شود."
181183

182184
msgid "A typical :c:member:`!tp_traverse` function calls the :c:func:`Py_VISIT` convenience macro on each of the instance's members that are Python objects that the instance owns. For example, this is a (slightly outdated) traversal function for the :py:class:`threading.local` class::"
@@ -246,6 +248,9 @@ msgstr "این یعنی *بیشتر* توابع C API پایتون ممکن اس
246248
msgid "For a list of safe functions, see a :ref:`separate section <duringgc-functions>` below."
247249
msgstr "برای فهرستی از توابع امن، به :ref:`بخش جداگانه <duringgc-functions>` در ادامه مراجعه کنید."
248250

251+
msgid "If an error occurs during traversal, ignore it and return 0. If ``tp_traverse`` fails to visit some strong references, garbage reference cycles involving the skipped references will not be reliably broken, but correctness won't be affected. For example, if traversal requires a lock that cannot be acquired promptly, skip the traversal. The garbage collector will visit your object again in a future pass."
252+
msgstr ""
253+
249254
msgid "The :c:func:`Py_VISIT` call may be skipped for those members that provably cannot participate in reference cycles. In the ``local_traverse`` example above, there is also a ``self->key`` member, but it can only be ``NULL`` or a Python string and therefore cannot be part of a reference cycle."
250255
msgstr "فراخوانی :c:func:`Py_VISIT` را می‌توان برای آن دسته از اعضایی که ثابت شده نمی‌توانند در چرخه‌های ارجاع شرکت کنند، رد کرد. در نمونه‌ی ``local_traverse`` در بالا، یک عضو ``self->key`` نیز وجود دارد، اما این عضو فقط می‌تواند ``NULL`` یا یک رشته‌ی پایتون باشد و بنابراین نمی‌تواند بخشی از یک چرخه ارجاع باشد."
251256

@@ -270,9 +275,18 @@ msgstr "اگر عبارت :c:expr:`PyObject *` *o* برابر با ``NULL`` نی
270275
msgid "This corresponds roughly to::"
271276
msgstr "این مورد تقریباً با این معادل است::"
272277

278+
#, fuzzy
279+
#| msgid ""
280+
#| "#define Py_VISIT(o) \\\n"
281+
#| " if (op) { \\\n"
282+
#| " int visit_result = visit(o, arg); \\\n"
283+
#| " if (visit_result != 0) { \\\n"
284+
#| " return visit_result; \\\n"
285+
#| " } \\\n"
286+
#| " }"
273287
msgid ""
274288
"#define Py_VISIT(o) \\\n"
275-
" if (op) { \\\n"
289+
" if (o) { \\\n"
276290
" int visit_result = visit(o, arg); \\\n"
277291
" if (visit_result != 0) { \\\n"
278292
" return visit_result; \\\n"

‎c-api/long.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-22 04:16+0000\n"
17+
"POT-Creation-Date: 2026-10-29 04:13+0000\n"
1818
"PO-Revision-Date: 2026-09-14 16:27+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -354,6 +354,9 @@ msgstr "*flags* یا ``-1`` (``Py_ASNATIVEBYTES_DEFAULTS``) است تا پیش
354354
msgid "Currently, ``-1`` corresponds to ``Py_ASNATIVEBYTES_NATIVE_ENDIAN | Py_ASNATIVEBYTES_UNSIGNED_BUFFER``."
355355
msgstr "در حال حاضر، ``-1`` معادل ``Py_ASNATIVEBYTES_NATIVE_ENDIAN | Py_ASNATIVEBYTES_UNSIGNED_BUFFER`` است."
356356

357+
msgid "These values are available when compiling for the :ref:`Stable ABI <stable>` since version 3.14."
358+
msgstr ""
359+
357360
msgid "Flag"
358361
msgstr "پرچم"
359362

‎c-api/structures.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-22 04:16+0000\n"
17+
"POT-Creation-Date: 2026-10-29 04:13+0000\n"
1818
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -517,6 +517,9 @@ msgstr ":c:member:`PyMemberDef.type` می‌تواند یکی از ماکروه
517517
msgid "Unless marked (D), attributes defined this way cannot be deleted using e.g. :keyword:`del` or :py:func:`delattr`."
518518
msgstr "ویژگی‌های تعریف‌شده به این روش را نمی‌توان با استفاده از مثلاً :keyword:`del` یا :py:func:`delattr` حذف کرد، مگر آنکه با (D) علامت‌گذاری شده باشند."
519519

520+
msgid "These values are available when compiling for the :ref:`Stable ABI <stable>` since version 3.12."
521+
msgstr ""
522+
520523
msgid "Macro name"
521524
msgstr "نام ماکرو"
522525

‎library/termios.po‎

Lines changed: 16 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-09-16 12:56+0000\n"
16+
"POT-Creation-Date: 2026-10-29 04:13+0000\n"
1717
"PO-Revision-Date: 2026-09-15 07:59+0330\n"
1818
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1919
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -45,6 +45,9 @@ msgstr "این ماژول توابع زیر را تعریف می‌کند:"
4545
msgid "Return a list containing the tty attributes for file descriptor *fd*, as follows: ``[iflag, oflag, cflag, lflag, ispeed, ospeed, cc]`` where *cc* is a list of the tty special characters (each a string of length 1, except the items with indices :const:`VMIN` and :const:`VTIME`, which are integers when these fields are defined). The interpretation of the flags and the speeds as well as the indexing in the *cc* array must be done using the symbolic constants defined in the :mod:`!termios` module."
4646
msgstr "فهرستی حاوی ویژگی‌های tty برای توصیف‌گر فایل *fd* برمی‌گرداند، به این صورت: ``[iflag, oflag, cflag, lflag, ispeed, ospeed, cc]`` که در آن *cc* فهرستی از نویسه‌های ویژه tty است (هرکدام رشته‌ای به طول ۱، به‌جز آیتم‌های دارای اندیس‌های :const:`VMIN` و :const:`VTIME`، که وقتی این فیلدها تعریف شده باشند، عدد صحیح هستند). تفسیر پرچم‌ها و سرعت‌ها و همچنین اندیس‌دهی در آرایه‌ی *cc* باید با استفاده از ثابت‌های نمادین تعریف‌شده در ماژول :mod:`!termios` انجام شود."
4747

48+
msgid "Indices into the *cc* array controlling a non-canonical read: the minimum number of characters to read and the timeout in tenths of a second, respectively."
49+
msgstr ""
50+
4851
msgid "Set the tty attributes for file descriptor *fd* from the *attributes*, which is a list like the one returned by :func:`tcgetattr`. The *when* argument determines when the attributes are changed:"
4952
msgstr "ویژگی‌های tty را برای توصیف‌گر فایل *fd* با استفاده از *attributes* تنظیم کنید، که فهرستی مانند فهرست بازگردانده‌شده توسط :func:`tcgetattr` است. آرگومان *when* تعیین می‌کند که ویژگی‌ها چه زمانی تغییر کنند:"
5053

@@ -66,15 +69,27 @@ msgstr "صبر کنید تا تمام خروجی نوشته‌شده در توص
6669
msgid "Discard queued data on file descriptor *fd*. The *queue* selector specifies which queue: :const:`TCIFLUSH` for the input queue, :const:`TCOFLUSH` for the output queue, or :const:`TCIOFLUSH` for both queues."
6770
msgstr "داده‌های در صف روی توصیف‌گر فایل *fd* را دور بریزید. انتخاب‌گر *queue* مشخص می‌کند کدام صف: :const:`TCIFLUSH` برای صف ورودی، :const:`TCOFLUSH` برای صف خروجی، یا :const:`TCIOFLUSH` برای هر دو صف."
6871

72+
msgid "Values for the *queue* selector: the input queue, the output queue, or both queues, respectively."
73+
msgstr ""
74+
6975
msgid "Suspend or resume input or output on file descriptor *fd*. The *action* argument can be :const:`TCOOFF` to suspend output, :const:`TCOON` to restart output, :const:`TCIOFF` to suspend input, or :const:`TCION` to restart input."
7076
msgstr "تعلیق یا ازسرگیری ورودی یا خروجی روی توصیف‌گر فایل *fd*. آرگومان *action* می‌تواند برای تعلیق خروجی :const:`TCOOFF`، برای ازسرگیری خروجی :const:`TCOON`، برای تعلیق ورودی :const:`TCIOFF`، یا برای ازسرگیری ورودی :const:`TCION` باشد."
7177

78+
msgid "Values for the *action* argument: suspend output, restart output, suspend input, or restart input, respectively."
79+
msgstr ""
80+
7281
msgid "Return a tuple ``(ws_row, ws_col)`` containing the tty window size for file descriptor *fd*. Requires :const:`termios.TIOCGWINSZ` or :const:`termios.TIOCGSIZE`."
7382
msgstr "یک تاپل ``(ws_row, ws_col)`` بازمی‌گرداند که حاوی اندازه‌ی پنجره‌ی tty برای توصیف‌گر فایل *fd* است. نیازمند :const:`termios.TIOCGWINSZ` یا :const:`termios.TIOCGSIZE` است."
7483

84+
msgid "``ioctl()`` requests for querying the tty window size. Not defined on all platforms; :func:`tcgetwinsize` requires at least one of them."
85+
msgstr ""
86+
7587
msgid "Set the tty window size for file descriptor *fd* from *winsize*, which is a two-item tuple ``(ws_row, ws_col)`` like the one returned by :func:`tcgetwinsize`. Requires at least one of the pairs (:const:`termios.TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`); (:const:`termios.TIOCGSIZE`, :const:`termios.TIOCSSIZE`) to be defined."
7688
msgstr "اندازه‌ی پنجره‌ی tty برای توصیف‌گر فایل *fd* را از *winsize* تنظیم می‌کند، که یک تاپل دو آیتمی ``(ws_row, ws_col)`` مانند آنچه توسط :func:`tcgetwinsize` برگردانده می‌شود، است. نیاز است حداقل یکی از جفت‌های (:const:`termios.TIOCGWINSZ`، :const:`termios.TIOCSWINSZ`)؛ (:const:`termios.TIOCGSIZE`، :const:`termios.TIOCSSIZE`) تعریف شده باشد."
7789

90+
msgid "``ioctl()`` requests for setting the tty window size. Not defined on all platforms; see :func:`tcsetwinsize` for the required pairs."
91+
msgstr ""
92+
7893
msgid "Module :mod:`tty`"
7994
msgstr "ماژول :mod:`tty`"
8095

‎library/urllib.request.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-09-21 11:59+0000\n"
16+
"POT-Creation-Date: 2026-10-29 04:13+0000\n"
1717
"PO-Revision-Date: 2026-09-13 16:13+0330\n"
1818
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1919
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -75,6 +75,9 @@ msgstr "برای URLهای FTP، file و data، این تابع یک شیء :cla
7575
msgid "Raises :exc:`~urllib.error.URLError` on protocol errors."
7676
msgstr "در صورت بروز خطاهای پروتکل، :exc:`~urllib.error.URLError` پرتاب می‌شود."
7777

78+
msgid "Exceptions raised while reading or parsing an HTTP response are not wrapped in :exc:`~urllib.error.URLError` and propagate unchanged. These include subclasses of :exc:`http.client.HTTPException`, such as :exc:`~http.client.BadStatusLine` for a malformed status line, and subclasses of :exc:`OSError`, such as :exc:`TimeoutError` if the server does not respond within *timeout* seconds, or :exc:`~http.client.RemoteDisconnected` if the server closes the connection without sending a response. :exc:`ValueError` is raised if *url* is not a valid URL."
79+
msgstr ""
80+
7881
msgid "Note that ``None`` may be returned if no handler handles the request (though the default installed global :class:`OpenerDirector` uses :class:`UnknownHandler` to ensure this never happens)."
7982
msgstr "توجه داشته باشید که اگر هیچ هندلری درخواست را مدیریت نکند، ممکن است ``None`` برگردانده شود (هرچند :class:`OpenerDirector` سراسری که به‌صورت پیش‌فرض نصب شده است، از :class:`UnknownHandler` استفاده می‌کند تا اطمینان حاصل کند که این حالت هرگز رخ نمی‌دهد)."
8083

‎whatsnew/changelog.po‎

Lines changed: 16 additions & 7 deletions
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-28 04:13+0000\n"
17+
"POT-Creation-Date: 2026-10-29 04:13+0000\n"
1818
"PO-Revision-Date: 2026-10-23 17:18+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -57,6 +57,9 @@ msgstr "کتابخانه"
5757
msgid ":gh:`160596`: Fix the error message for invalid data passed to :meth:`!asyncio.proactor_events.sendto`."
5858
msgstr ":gh:`107545`: بهبود پیام‌های خطایی که ممکن است توسط :meth:`~socket.socket.setsockopt` بالا آورده شوند."
5959

60+
msgid ":gh:`160561`: Fix a descriptor leak in :func:`socket.fromfd` when the socket constructor rejects its arguments. The duplicated descriptor was never closed."
61+
msgstr ""
62+
6063
msgid ":gh:`160513`: Fix :meth:`asyncio.loop.start_tls` and :meth:`asyncio.StreamWriter.start_tls` not calling the protocol's :meth:`~asyncio.BaseProtocol.connection_lost` when the connection is lost, the handshake times out or the call is cancelled during the TLS handshake. :meth:`asyncio.StreamWriter.wait_closed` no longer waits forever after such a failure."
6164
msgstr ""
6265

@@ -65,6 +68,18 @@ msgstr ""
6568
msgid ":gh:`151126`: Fix a crash caused by failing to set :exc:`MemoryError` on allocation failure when first using a Chinese, Japanese or Korean codec."
6669
msgstr ":gh:`151126`: رفع فروپاشی ناشی از تنظیم‌نشدن :exc:`MemoryError` هنگام شکست در تخصیص حافظه، در زمان ارسال نمونه‌های :class:`ctypes.Structure` یا :class:`ctypes.Union` به‌صورت مقدار (by value) به توابع خارجی ctypes."
6770

71+
msgid "Tests"
72+
msgstr "آزمون‌ها"
73+
74+
msgid ":gh:`158975`: Replace fixed sleeps used for synchronization in multiprocessing tests with bounded waits to avoid failures on slow or overloaded systems."
75+
msgstr ""
76+
77+
msgid "Build"
78+
msgstr "ساخت"
79+
80+
msgid ":gh:`160704`: Fix C11-C17 builds with old C library headers that do not define ``static_assert``, including glibc versions older than 2.16."
81+
msgstr ""
82+
6883
#, fuzzy
6984
#| msgid "Python 3.5.2 final"
7085
msgid "Python 3.15.2 final"
@@ -294,9 +309,6 @@ msgstr ""
294309
msgid ":gh:`140036`: Avoid hanging in floor division of pure Python :class:`decimal.Decimal` instances when the context precision is very large. Patch by Bénédikt Tran."
295310
msgstr ""
296311

297-
msgid "Build"
298-
msgstr "ساخت"
299-
300312
msgid ":gh:`128883`: Fix crashes with ``-X perf`` and ``-X perf_jit`` in BOLT builds. The ELF perf trampoline templates now use read-only data sections."
301313
msgstr ""
302314

@@ -876,9 +888,6 @@ msgstr ":gh:`142083`: کد نوع ``'w'`` در رشته‌مستند :class:`arr
876888
msgid ":gh:`107689`: Added docstrings to abstract ctypes."
877889
msgstr ":gh:`107689`: اضافه کردن رشته‌های مستند (docstrings) به ctypes انتزاعی."
878890

879-
msgid "Tests"
880-
msgstr "آزمون‌ها"
881-
882891
msgid ":gh:`159293`: Restore the recursion limit after the free-threading recursion-limit race test to avoid failures in subsequent tests run in the same process."
883892
msgstr ":gh:`159293`: حد بازگشتی پس از آزمون رقابت حد بازگشتی نخ‌بندی آزاد بازیابی می‌شود تا از بروز خطا در آزمون‌های بعدی که در همان فرایند اجرا می‌شوند، جلوگیری شود."
884893

0 commit comments

Comments
 (0)