Repository navigation
Open
Labels
3.15تغییرات خودکار در ترجمههاتغییرات اعمال شده خودکار بعد از همگامسازی با CPythonتغییرات اعمال شده خودکار بعد از همگامسازی با CPython
Description
Summary
- 🔍 35 newly fuzzy strings in 7 files
- ✏️ 9 new untranslated strings in 4 files
🔍 Newly fuzzy strings
The source text changed slightly, so the existing translation (msgstr) may need updating. - is the old source, + the new.
c-api/init_config.po (4 new fuzzy)
- ``str``
+ ``str | None``
msgstr: ``str``
- ``"site_import"``
+ ``"lazy_imports"``
msgstr: ``"site_import"``
- :c:member:`site_import <PyConfig.site_import>`
+ :c:member:`lazy_imports <PyConfig.lazy_imports>`
msgstr: :c:member:`site_import <PyConfig.site_import>`
- Configured by the :option:`-X int_max_str_digits <-X>` command line flag or the :envvar:`PYTHONINTMAXSTRDIGITS` environment variable.
+ Configured by the :option:`-X lazy_imports <-X>` command line option or the :envvar:`PYTHON_LAZY_IMPORTS` environment variable.
msgstr: با پرچم خط فرمان :option:`-X int_max_str_digits <-X>` یا متغیر محیطی :envvar:`PYTHONINTMAXSTRDIGITS` پیکربندی میشود.
howto/abi3t-migration.po (9 new fuzzy)
- #if Py_TARGET_ABI3T+0 <= 0x30f0000\n#error "abi3t define is not set!"\n#endif
+ #if Py_TARGET_ABI3T+0 < 0x30f0000\n#error "abi3t define is not set!"\n#endif
msgstr: #if Py_TARGET_ABI3T+0 <= 0x30f0000\n#error "abi3t define is not set!"\n#endif
- static PyObject *create_module(PyObject *spec, PyModuleDef *def) { ... }\nstatic int my_first_module_exec(PyObject *module) { ... }\nstatic int my_second_modul…
+ static PyObject *create_module(PyObject *spec, PyModuleDef *def) { ... }\nstatic int my_first_module_exec(PyObject *module) { ... }\nstatic int my_second_modul…
msgstr: static PyObject *create_module(PyObject *spec, PyModuleDef *def) { ... }\nstatic int my_first_module_exec(PyObject *module) { ... }\nstatic int my_second_modul…
- ``py_mod_create``
+ ``Py_mod_create``
msgstr: ``py_mod_create``
- Multiple ``py_mod_exec``
+ Multiple ``Py_mod_exec``
msgstr: چندین ``py_mod_exec``
- static int my_module_exec(PyObject *module) {\n if (my_first_module_exec(module) < 0) return -1;\n if (my_second_module_exec(module) < 0) return -1;\n}\n\n…
+ static int my_module_exec(PyObject *module) {\n if (my_first_module_exec(module) < 0) return -1;\n if (my_second_module_exec(module) < 0) return -1;\n re…
msgstr: static int my_module_exec(PyObject *module) {\n if (my_first_module_exec(module) < 0) return -1;\n if (my_second_module_exec(module) < 0) return -1;\n}\n\n…
- static PySlot my_slot_array[] = {\n ...\n PySlot_DATA(Py_mod_gil, Py_MOD_GIL_NOT_USED),\n PySlot_DATA(Py_mod_multiple_interpreters,\n Py_MOD_P…
+ static PySlot my_slot_array[] = {\n ...\n PySlot_DATA(Py_mod_gil, Py_MOD_GIL_NOT_USED),\n PySlot_DATA(Py_mod_multiple_interpreters,\n Py_MOD_P…
msgstr: static PySlot my_slot_array[] = {\n ...\n PySlot_DATA(Py_mod_gil, Py_MOD_GIL_NOT_USED),\n PySlot_DATA(Py_mod_multiple_interpreters,\n Py_MOD_P…
- static PySlot my_slot_array[] = {\n ...\n PySlot_STATIC_DATA(Py_mod_token, &my_token),\n PySlot_END\n}
+ static PySlot my_slot_array[] = {\n ...\n PySlot_STATIC_DATA(Py_mod_token, &my_token),\n PySlot_END\n};
msgstr: static PySlot my_slot_array[] = {\n ...\n PySlot_STATIC_DATA(Py_mod_token, &my_token),\n PySlot_END\n}
- PyObject *module = PyType_GetModuleByToken(type, my_token);\n/* handle error; use module */\nPy_XDECREF(module);
+ PyObject *module = PyType_GetModuleByToken(type, &my_token);\n/* handle error; use module */\nPy_XDECREF(module);
msgstr: PyObject *module = PyType_GetModuleByToken(type, my_token);\n/* handle error; use module */\nPy_XDECREF(module);
- PyTypeObject cls;\nif (PyType_GetBaseByToken(Py_TYPE(obj), my_tp_token, &cls) < 0) {\n /* handle error */\n}\nCustomObjectData *data = PyObject_GetTypeData(…
+ PyTypeObject *cls;\nif (PyType_GetBaseByToken(Py_TYPE(obj), my_tp_token, &cls) < 0) {\n /* handle error */\n}\nCustomObjectData *data = PyObject_GetTypeData…
msgstr: PyTypeObject cls;\nif (PyType_GetBaseByToken(Py_TYPE(obj), my_tp_token, &cls) < 0) {\n /* handle error */\n}\nCustomObjectData *data = PyObject_GetTypeData(…
library/array.po (2 new fuzzy)
- This module defines an object type which can compactly represent an array of basic values: characters, integers, floating-point numbers, complex numbers. Arra…
+ This module defines an object type which can compactly represent an array of basic values: characters, integers, floating-point numbers, complex numbers. Arra…
msgstr: این ماژول یک نوع شیء تعریف میکند که میتواند آرایهای از مقادیر پایه را بهصورت فشرده نمایش دهد: نویسهها، اعداد صحیح، اعداد ممیز شناور و اعداد مختلط. آرایهه…
- The :ref:`ctypes <ctypes-fundamental-data-types>` and :ref:`struct <format-characters>` modules, as well as third-party modules like `numpy <https://numpy.org/…
+ The :ref:`ctypes <ctypes-fundamental-data-types>` and :ref:`struct <type-codes>` modules, as well as third-party modules like `numpy <https://numpy.org/doc/sta…
msgstr: ماژولهای :ref:`ctypes <ctypes-fundamental-data-types>` و :ref:`struct <format-characters>`، و همچنین ماژولهای شخص ثالث مانند `numpy <https://numpy.org/doc/st…
library/asyncio-protocol.po (3 new fuzzy)
- import asyncio\n\n\nclass EchoServerProtocol(asyncio.Protocol):\n def connection_made(self, transport):\n peername = transport.get_extra_info('peerna…
+ import asyncio\n\n\nclass EchoServerProtocol(asyncio.Protocol):\n def connection_made(self, transport):\n peername = transport.get_extra_info('peerna…
msgstr: import asyncio\n\n\nclass EchoServerProtocol(asyncio.Protocol):\n def connection_made(self, transport):\n peername = transport.get_extra_info('peerna…
- import asyncio\n\n\nclass EchoClientProtocol(asyncio.Protocol):\n def __init__(self, message, on_con_lost):\n self.message = message\n self.on…
+ import asyncio\n\n\nclass EchoClientProtocol(asyncio.Protocol):\n def __init__(self, message, on_con_lost):\n self.message = message\n self.on…
msgstr: import asyncio\n\n\nclass EchoClientProtocol(asyncio.Protocol):\n def __init__(self, message, on_con_lost):\n self.message = message\n self.on…
- import asyncio\n\n\nclass EchoServerProtocol:\n def connection_made(self, transport):\n self.transport = transport\n\n def datagram_received(self,…
+ import asyncio\n\n\nclass EchoServerProtocol:\n def connection_made(self, transport):\n self.transport = transport\n\n def datagram_received(self,…
msgstr: import asyncio\n\n\nclass EchoServerProtocol:\n def connection_made(self, transport):\n self.transport = transport\n\n def datagram_received(self,…
library/ctypes.po (2 new fuzzy)
- Class attribute that contains an internal type code, as a single-character string. See :ref:`ctypes-fundamental-data-types` for a summary.
+ Class attribute that contains an internal type code, as a string. See :ref:`ctypes-fundamental-data-types` for a summary.
msgstr: ویژگی کلاس که حاوی یک کد نوع داخلی بهصورت یک رشته تکنویسهای است. برای یک خلاصه، به :ref:`ctypes-fundamental-data-types` مراجعه کنید.
- The :mod:`array` and :ref:`struct <format-characters>` modules, as well as third-party modules like `numpy <https://numpy.org/doc/stable/reference/arrays.inter…
+ The :mod:`array` and :ref:`struct <type-codes>` modules, as well as third-party modules like `numpy <https://numpy.org/doc/stable/reference/arrays.interface.ht…
msgstr: ماژولهای :mod:`array` و :ref:`struct <format-characters>`، و همچنین ماژولهای شخص ثالثی مانند `numpy <https://numpy.org/doc/stable/reference/arrays.interface.…
library/struct.po (11 new fuzzy)
- Format strings describe the data layout when packing and unpacking data. They are built up from :ref:`format characters<format-characters>`, which specify the…
+ Format strings describe the data layout when packing and unpacking data. They are built up from :ref:`type codes <type-codes>`, which specify the type of data…
msgstr: رشتههای قالب، چیدمان دادهها را هنگام بستهبندی و واگشایی داده توصیف میکنند. آنها از :ref:`نویسههای قالب <format-characters>` تشکیل شدهاند که نوع دادههای…
- Standard size depends only on the format character; see the table in the :ref:`format-characters` section.
+ Standard size depends only on the type code; see the table in the :ref:`type-codes` section.
msgstr: اندازهی استاندارد فقط به نویسهی قالب بستگی دارد؛ جدول موجود در بخش :ref:`format-characters` را ببینید.
- Format characters have the following meaning; the conversion between C and Python values should be obvious given their types. The 'Standard size' column refer…
+ Type codes (or format codes) have the following meaning; the conversion between C and Python values should be obvious given their types. The 'Standard size' c…
msgstr: نویسههای قالب معنای زیر را دارند؛ با توجه به نوع آنها، تبدیل بین مقادیر C و پایتون باید بدیهی باشد. ستون «اندازه استاندارد» به اندازهی مقدار بستهبندیشده ب…
- The ``'P'`` format character is only available for the native byte ordering (selected as the default or with the ``'@'`` byte order character). The byte order …
+ The ``'P'`` type code is only available for the native byte ordering (selected as the default or with the ``'@'`` byte order character). The byte order charact…
msgstr: نویسهی قالب ``'P'`` فقط برای ترتیب بایت بومی در دسترس است (که بهعنوان پیشفرض یا با نویسهی ترتیب بایت ``'@'`` انتخاب میشود). نویسهی ترتیب بایت ``'='`` است…
- The ``'p'`` format character encodes a "Pascal string", meaning a short variable-length string stored in a *fixed number of bytes*, given by the count. The fir…
+ The ``'p'`` type code encodes a "Pascal string", meaning a short variable-length string stored in a *fixed number of bytes*, given by the count. The first byte…
msgstr: نویسه قالب ``'p'`` یک «رشته پاسکالی» را کدگذاری میکند، یعنی رشتهای کوتاه با طول متغیر که در *تعداد ثابتی از بایتها* ذخیره میشود و با تعداد (count) مشخص می…
- For the ``'s'`` format character, the count is interpreted as the length of the byte string, not a repeat count like for the other format characters; for examp…
+ For the ``'s'`` type code, the count is interpreted as the length of the byte string, not a repeat count like for the other type codes; for example, ``'10s'`` …
msgstr: برای نویسهی قالب ``'s'``، تعداد بهعنوان طول رشتهی بایتی تفسیر میشود، نه بهعنوان تعداد تکرار مانند دیگر نویسههای قالب؛ برای مثال، ``'10s'`` بهمعنای یک رش…
- A format character may be preceded by an integral repeat count. For example, the format string ``'4h'`` means exactly the same as ``'hhhh'``.
+ A type code may be preceded by an integral repeat count. For example, the format string ``'4h'`` means exactly the same as ``'hhhh'``.
msgstr: میتوان پیش از یک نویسه قالب، یک تعداد تکرار صحیح قرار داد. برای مثال، رشته قالب ``'4h'`` دقیقاً همان معنای ``'hhhh'`` را دارد.
- For the ``'?'`` format character, the return value is either :const:`True` or :const:`False`. When packing, the truth value of the argument object is used. Eit…
+ For the ``'?'`` type code, the return value is either :const:`True` or :const:`False`. When packing, the truth value of the argument object is used. Either 0 o…
msgstr: برای نویسهی قالب ``'?'``، مقدار بازگشتی یا :const:`True` است یا :const:`False`. هنگام بستهبندی، از مقدار درستی شیء آرگومان استفاده میشود. یکی از مقادیر ۰ یا…
- The ordering of format characters may have an impact on size in native mode since padding is implicit. In standard mode, the user is responsible for inserting …
+ The ordering of type codes may have an impact on size in native mode since padding is implicit. In standard mode, the user is responsible for inserting any des…
msgstr: ترتیب نویسههای قالب ممکن است در حالت بومی بر اندازه تأثیر بگذارد، زیرا پرکننده (padding) ضمنی است. در حالت استاندارد، کاربر مسئول درج هرگونه پرکننده دلخواه اس…
- When constructing format strings which mimic native layouts, the compiler and machine architecture determine byte ordering and padding. In such cases, the ``@`…
+ When constructing format strings which mimic native layouts, the compiler and machine architecture determine byte ordering and padding. In such cases, the ``@`…
msgstr: هنگام ساخت رشتههای قالب که چیدمانهای بومی را تقلید میکنند، کامپایلر و معماری ماشین ترتیب بایتها و پرکنندهگذاری را تعیین میکنند. در چنین مواردی، باید از ن…
… and 1 morewhatsnew/changelog.po (4 new fuzzy)
- :gh:`149698`: Update bundled `libexpat <https://libexpat.github.io/>`_ to version 2.8.1 for the fix for :cve:`2026-45186`.
+ :gh:`161192`: Update bundled `libexpat <https://libexpat.github.io/>`_ to version 2.10.0 for the fixes to :cve:`2026-113351`, :cve:`2026-115506`, :cve:`2026-11…
msgstr: :gh:`149698`: بهروزرسانی `libexpat <https://libexpat.github.io/>`_ بستهبندیشده به نسخهی ۲.۸.۱ برای رفع آسیبپذیری :cve:`2026-45186`.
- :gh:`159894`: Bump the version of :pypi:`pip` bundled in :mod:`ensurepip` to version 26.2.2.
+ :gh:`161212`: Bump the version of :pypi:`pip` bundled in :mod:`ensurepip` to version 26.3.
msgstr: :gh:`159894`: ارتقای نسخهی :pypi:`pip` بستهبندیشده در :mod:`ensurepip` به نسخهی 26.2.2.
- :gh:`120244`: Fix memory leak in :func:`re.sub` when the replacement string contains backreferences.
+ :gh:`158095`: Fix a memory leak in :func:`re.finditer` and regular expression scanners when their input participates in a reference cycle.
msgstr: :gh:`120244`: رفع نشت حافظه در :func:`re.sub` هنگامی که رشتهی جایگزین حاوی بازارجاعات است.
- :gh:`156939`: Fix :c:func:`PyBytesWriter_Format` error handling: restore the writer to its previous state on error. Patch by Victor Stinner.
+ :gh:`160962`: Fix :c:func:`PyInitConfig_SetStr` when setting an optional string option to ``NULL``. Previously, the function crashed. Patch by Victor Stinner.
msgstr: :gh:`156939`: رفع نحوهی مدیریت خطای تابع :c:func:`PyBytesWriter_Format`: بازگرداندن نویسنده (writer) به وضعیت قبلی خود در صورت بروز خطا. وصله توسط Victor Stin…
✏️ New untranslated strings
Brand-new source strings with no close match to an existing translation.
c-api/init_config.po (5 new untranslated)
*\*value* can be set to ``NULL`` if the option is unset or if the option is an optional string. Optional strings are documented with the type ``str | None`` in…
Options documented with the type ``str | None`` in the :ref:`Configuration Options <pyinitconfig-opts>` table can be set to ``NULL``.
The type ``str | None`` means that the option is an optional string which can be set to ``NULL``.
Control :ref:`lazy imports <lazy-imports>`.
A value of ``-1`` keeps the default behaviour, where only imports marked with the ``lazy`` keyword are lazy. A value of ``1`` makes every import lazy. ``0`` is…
howto/abi3t-migration.po (1 new untranslated)
This should result in a different error than "``abi3t`` define is not set". (If you get no error at all, either the module is already ported or you're not comp…
library/struct.po (1 new untranslated)
Type Codes
whatsnew/changelog.po (2 new untranslated)
:gh:`161233`: Fix unraisable :exc:`TypeError` when ``None`` was passed as a *timer* to :class:`cProfile.Profile <profile.Profile>`.
:gh:`159118`: Fix a crash (``RPC_NT_INTERNAL_ERROR``) and intermittent window class failures in :mod:`!_wmi` under high concurrency and load by initializing CO…
Triggered by sync with 3.15 (commit aa82036).
Metadata
Metadata
Assignees
Labels
3.15تغییرات خودکار در ترجمههاتغییرات اعمال شده خودکار بعد از همگامسازی با CPythonتغییرات اعمال شده خودکار بعد از همگامسازی با CPython
Activity