🔍 Translation review needed after CPython sync (2026-10-11)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 79/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- documentation, localization
Línea de trabajo
Review the listed .po files, starting with the 32 fuzzy entries and 76 untranslated strings summarized in the issue. Compare each Persian translation with the updated source text and translate the missing strings; follow the repository’s translation workflow if documented. Done when the affected entries are translated accurately and no longer marked fuzzy or untranslated.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
- 🔍 32 newly fuzzy strings in 8 files
- ✏️ 76 new untranslated strings in 2 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/bytes.po (1 new fuzzy)
- Use the :c:type:`PyBytesWriter` API instead of ``PyBytes_FromStringAndSize(NULL, len)``.
+ Example of code using the soft deprecated ``PyBytes_FromStringAndSize(NULL, size)`` API::
msgstr: به جای ``PyBytes_FromStringAndSize(NULL, len)`` از API مربوط به :c:type:`PyBytesWriter` استفاده کنید.
library/ctypes.po (1 new fuzzy)
- Note that if the Python interpreter is statically linked, this will be ``None``, as ``dlopen`` is not possible in this case.
+ If the Python interpreter is statically linked, this may be ``None``.
msgstr: توجه داشته باشید که اگر مفسر پایتون بهصورت ایستا پیوند شده باشد، این مقدار ``None`` خواهد بود، زیرا در این حالت ``dlopen`` ممکن نیست.
library/time.po (10 new fuzzy)
- Convert a tuple or :class:`struct_time` representing a time as returned by :func:`gmtime` or :func:`localtime` to a string of the following form: ``'Sun Jun 20…
+ Convert a tuple or :class:`struct_time` representing a time as returned by :func:`gmtime` or :func:`localtime` to a string of the following form: ``'Sun Jun 20…
msgstr: یک تاپل یا :class:`struct_time` را که زمان بازگرداندهشده توسط :func:`gmtime` یا :func:`localtime` را نشان میدهد، به رشتهای با فرم زیر تبدیل کنید: ``'Sun Jun…
- If *t* is not provided, the current time as returned by :func:`localtime` is used. Locale information is not used by :func:`asctime`.
+ If *time_tuple* is not provided, the current time as returned by :func:`localtime` is used. Locale information is not used by :func:`asctime`.
msgstr: اگر *t* ارائه نشده باشد، از زمان فعلی، همانطور که توسط :func:`localtime` برگردانده میشود، استفاده میشود. اطلاعات مربوط به بومیسازی توسط :func:`asctime` است…
- Convert a time expressed in seconds since the epoch_ to a string of a form: ``'Sun Jun 20 23:21:05 1993'`` representing local time. The day field is two charac…
+ Convert a time expressed in seconds since the epoch_ to a string of a form: ``'Sun Jun 20 23:21:05 1993'`` representing local time. The day field is two charac…
msgstr: زمانی را که برحسب ثانیه از epoch_ گذشته است به رشتهای با فرم: ``'Sun Jun 20 23:21:05 1993'`` که زمان محلی را نشان میدهد، تبدیل کنید. فیلد روز دو نویسه طول دا…
- If *secs* is not provided or :const:`None`, the current time as returned by :func:`.time` is used. ``ctime(secs)`` is equivalent to ``asctime(localtime(secs))`…
+ If *seconds* is not provided or :const:`None`, the current time as returned by :func:`.time` is used. ``ctime(seconds)`` is equivalent to ``asctime(localtime(s…
msgstr: اگر *secs* ارائه نشده باشد یا :const:`None` باشد، زمان فعلی، همانطور که توسط :func:`.time` برگردانده میشود، استفاده خواهد شد. ``ctime(secs)`` معادل ``asctime…
- Convert a time expressed in seconds since the epoch_ to a :class:`struct_time` in UTC in which the dst flag is always zero. If *secs* is not provided or :cons…
+ Convert a time expressed in seconds since the epoch_ to a :class:`struct_time` in UTC in which the dst flag is always zero. If *seconds* is not provided or :c…
msgstr: زمانی را که برحسب ثانیه از epoch_ گذشته است، به یک :class:`struct_time` در زمان UTC تبدیل کنید که در آن پرچم dst همواره صفر است. اگر *secs* فراهم نشده باشد یا …
- Like :func:`gmtime` but converts to local time. If *secs* is not provided or :const:`None`, the current time as returned by :func:`.time` is used. The dst fl…
+ Like :func:`gmtime` but converts to local time. If *seconds* is not provided or :const:`None`, the current time as returned by :func:`.time` is used. The dst f…
msgstr: مانند :func:`gmtime` است اما به زمان محلی تبدیل میکند. اگر *secs* فراهم نشده باشد یا :const:`None` باشد، زمان فعلی بازگرداندهشده توسط :func:`.time` استفاده م…
- On Windows, if *secs* is zero, the thread relinquishes the remainder of its time slice to any other thread that is ready to run. If there are no other threads …
+ On Windows, if *seconds* is zero, the thread relinquishes the remainder of its time slice to any other thread that is ready to run. If there are no other threa…
msgstr: در ویندوز، اگر *secs* صفر باشد، نخ باقیماندهی برش زمانی خود را به هر نخ دیگری که آمادهی اجرا است واگذار میکند. اگر هیچ نخ دیگری آمادهی اجرا نباشد، تابع بل…
- Raises an :ref:`auditing event <auditing>` ``time.sleep`` with argument ``secs``.
+ Raises an :ref:`auditing event <auditing>` ``time.sleep`` with argument ``seconds``.
msgstr: یک رویداد حسابرسی :ref:`auditing event <auditing>` با نام ``time.sleep`` و آرگومان ``secs`` را ایجاد میکند.
- The function now sleeps at least *secs* even if the sleep is interrupted by a signal, except if the signal handler raises an exception (see :pep:`475` for the …
+ The function now sleeps at least *seconds* even if the sleep is interrupted by a signal, except if the signal handler raises an exception (see :pep:`475` for t…
msgstr: تابع اکنون حداقل به میزان *secs* میخوابد، حتی اگر خواب توسط یک سیگنال متوقف شود، مگر اینکه هندلر سیگنال یک استثنا ایجاد کند (برای دلیل آن به :pep:`475` مراجعه…
- Convert a tuple or :class:`struct_time` representing a time as returned by :func:`gmtime` or :func:`localtime` to a string as specified by the *format* argumen…
+ Convert a tuple or :class:`struct_time` representing a time as returned by :func:`gmtime` or :func:`localtime` to a string as specified by the *format* argumen…
msgstr: یک تاپل یا :class:`struct_time` را که زمان بازگرداندهشده توسط :func:`gmtime` یا :func:`localtime` را نشان میدهد، به رشتهای که توسط آرگومان *format* مشخص شده…
library/uuid.po (4 new fuzzy)
- Create a UUID from either a string of 32 hexadecimal digits, a string of 16 bytes in big-endian order as the *bytes* argument, a string of 16 bytes in little-e…
+ Create a UUID from either a string of 32 hexadecimal digits, a 16-byte :class:`bytes` object in big-endian order as the *bytes* argument, a 16-byte :class:`byt…
msgstr: یک UUID ایجاد کنید از طریق هر یک از موارد زیر: یک رشته شامل ۳۲ رقم در مبنای شانزده، یک رشته از ۱۶ بایت با ترتیب بزرگاندیان به عنوان آرگومان *bytes*، یک رشته ا…
- The UUID as a 16-byte string (containing the six integer fields in big-endian byte order).
+ The UUID as a 16-byte :class:`bytes` object (containing the six integer fields in big-endian byte order).
msgstr: شیء UUID به صورت یک رشتهی ۱۶-بایتی (حاوی شش فیلد عدد صحیح با ترتیب بایت بزرگاندیان).
- The UUID as a 16-byte string (with *time_low*, *time_mid*, and *time_hi_version* in little-endian byte order).
+ The UUID as a 16-byte :class:`bytes` object (with *time_low*, *time_mid*, and *time_hi_version* in little-endian byte order).
msgstr: شیء UUID به صورت یک رشتهی ۱۶-بایتی (با فیلدهای *time_low*، *time_mid* و *time_hi_version* با ترتیب بایت کوچکاندیان).
- >>> import uuid\n\n>>> # make a UUID based on the host ID and current time\n>>> uuid.uuid1()\nUUID('a8098c1a-f86e-11da-bd1a-00112444be1e')\n\n>>> # make a UUID…
+ >>> import uuid\n\n>>> # make a UUID based on the host ID and current time\n>>> uuid.uuid1()\nUUID('a8098c1a-f86e-11da-bd1a-00112444be1e')\n\n>>> # make a UUID…
msgstr: >>> import uuid\n\n>>> # ساخت یک UUID بر اساس شناسهی میزبان و زمان فعلی\n>>> uuid.uuid1()\nUUID('a8098c1a-f86e-11da-bd1a-00112444be1e')\n\n>>> # ساخت یک UUID …
library/xml.etree.elementtree.po (6 new fuzzy)
- Comment element factory. This factory function creates a special element that will be serialized as an XML comment by the standard serializer. The comment st…
+ Comment element factory. This factory function creates a special element that will be serialized as an XML comment by the standard serializer. *text* is a str…
msgstr: تابع کارخانهای المان کامنت. این تابع کارخانهای یک المان خاص ایجاد میکند که توسط سریالایزر استاندارد به عنوان یک کامنت XML سریالایزشده (serialized) خواهد شد.…
- Parses an XML section into an element tree incrementally, and reports what's going on to the user. *source* is a filename or :term:`file object` containing XM…
+ Parses an XML section into an element tree incrementally, and reports what's going on to the user. *source* is a filename or :term:`file object` containing XM…
msgstr: یک بخش XML را به صورت افزایشی در قالب یک درخت المان تجزیه (parse) میکند و رویدادهای در حال وقوع را به کاربر گزارش میدهد. پارامتر *source* یک نام پرونده یا یک…
- The element name, attribute names, and attribute values can be either bytestrings or Unicode strings. *parent* is the parent element. *tag* is the subelement…
+ *parent* is the parent element. *tag* is the subelement name. *attrib* is an optional dictionary, containing element attributes. *extra* contains additional…
msgstr: نام المان، نامهای ویژگیها و مقادیر ویژگیها میتوانند بایترشته یا رشتهی یونیکد باشند. پارامتر *parent* المان والد است. پارامتر *tag* نام زیرالمان است. پارا…
- The element name, attribute names, and attribute values can be either bytestrings or Unicode strings. *tag* is the element name. *attrib* is an optional dict…
+ *tag* is the element name. *attrib* is an optional dictionary, containing element attributes. *extra* contains additional attributes, given as keyword argume…
msgstr: نام المان، نامهای ویژگیها و مقادیر ویژگیها میتوانند بایترشته یا رشتهی یونیکد باشند. پارامتر *tag* نام المان است. پارامتر *attrib* یک دیکشنری اختیاری است …
- Adds text to the current element. *data* is a string. This should be either a bytestring, or a Unicode string.
+ Adds text to the current element. *data* is a string.
msgstr: متن را به المان فعلی اضافه میکند. پارامتر *data* یک رشته است. این رشته باید یک بایترشته یا یک رشتهی یونیکد باشد.
- Feed the given data to the parser. *data* is a string or encoded data (:class:`bytes` or a :term:`bytes-like object`).
+ Feeds data to the parser. *data* is a string or encoded data (:class:`bytes` or a :term:`bytes-like object`).
msgstr: دادهی دادهشده را به پارسر میدهد. *data* یک رشته یا دادهی کدگذاریشده است (:class:`bytes` یا یک :term:`شیء شبهبایت <bytes-like object>`).
library/xml.sax.handler.po (1 new fuzzy)
- true: All element names, prefixes, attribute names, Namespace URIs, and local names are interned using the built-in intern function.
+ true: All element names, prefixes, attribute names, Namespace URIs, and local names are interned in a dictionary (see :data:`property_interning_dict`).
msgstr: مقدار درست (true): تمام نامهای المان، پیشوندها، نامهای ویژگی، URIهای فضای نام و نامهای محلی با استفاده از تابع توکار intern درونیسازی میشوند.
library/xml.sax.po (2 new fuzzy)
- The convenience functions are:
+ The convenience functions and data are:
msgstr: توابع کمکی عبارتند از:
- Create a SAX parser and use it to parse a document. The document, passed in as *filename_or_stream*, can be a filename or a file object. The *handler* parame…
+ Create a SAX parser and use it to parse a document. The document, passed in as *filename_or_stream*, can be a system identifier (a string identifying the inpu…
msgstr: یک پارسر SAX ایجاد کنید و از آن برای پردازش یک سند استفاده کنید. سند مورد نظر که به شکل *filename_or_stream* ارسال میشود، میتواند یک نامپرونده یا یک شیء پرو…
whatsnew/changelog.po (7 new fuzzy)
- :gh:`151295`: Fixed a crash (use-after-free) in :meth:`bytes.join` and :meth:`bytearray.join` that could occur if an item's :meth:`~object.__buffer__` concurre…
+ :gh:`158803`: Fix a crash in :meth:`bytes.join` and :meth:`bytearray.join` in the :term:`free-threaded build` when another thread concurrently mutates the list…
msgstr: :gh:`151295`: رفع یک فروپاشی (استفاده پس از آزادسازی) در :meth:`bytes.join` و :meth:`bytearray.join` که ممکن است رخ دهد اگر متد :meth:`~object.__buffer__` یک آ…
- :gh:`153570`: Fix a use-after-free in :meth:`bytearray.take_bytes` when the argument's :meth:`~object.__index__` method resizes the bytearray. Patch by tonghua…
+ :gh:`153578`: Fix an out-of-bounds write in :meth:`bytearray.extend` when the bytearray is resized while the argument's :meth:`~object.__buffer__` is being acq…
msgstr: :gh:`153570`: رفع یک خطای استفاده پس از آزادی (use-after-free) در :meth:`bytearray.take_bytes` وقتی که متد :meth:`~object.__index__` آرگومان، اندازهی آرایهی …
- :gh:`139322`: Fix :func:`os.getlogin` error handling: fix the error number. Patch by Victor Stinner.
+ :gh:`158893`: Make :func:`os.strerror` thread-safe: use the reentrant ``strerror_r()`` function if available. Patch by Victor Stinner.
msgstr: :gh:`139322`: اصلاح مدیریت خطای :func:`os.getlogin`: رفع شمارهی خطا. وصلهای از Victor Stinner.
- :gh:`90848`: Fixed :func:`unittest.mock.create_autospec` to configure parent mock with keyword arguments.
+ :gh:`153888`: Fix :func:`unittest.mock.patch` with ``autospec``, ``spec``, or ``spec_set`` when used with lazy-imported objects.
msgstr: :gh:`90848`: رفع مشکل :func:`unittest.mock.create_autospec` برای پیکربندی ماک والد با آرگومانهای کلیدواژهای.
- :gh:`124470`: Fix crash in free-threaded builds when replacing object dictionary while reading attribute on another thread
+ :gh:`156124`: Fix a crash in the free-threaded build when deleting the :attr:`!contents` attribute of a :mod:`ctypes` pointer.
msgstr: :gh:`124470`: رفع فروپاشی در ساختهای نخآزاد (free-threaded) هنگام جایگزینی دیکشنری شیء در حین خواندن صفت روی نخی دیگر
- :gh:`122334`: Fix crash when importing :mod:`ssl` after the main interpreter restarts.
+ :gh:`81241`: Fix :exc:`OSError` when importing :mod:`ctypes` from a statically linked interpreter.
msgstr: :gh:`122334`: مشکل فروپاشی هنگام ایمپورت کردن :mod:`ssl` پس از راهاندازی مجدد مفسر اصلی را برطرف کنید.
- :gh:`154211`: Add ``test.support.skip_if_huge_c_stack()`` and use it to skip tests that exhaust the C stack if the stack limit is very large (e.g. on DragonFly…
+ :gh:`155109`: Add ``test.support.run_with_limited_c_stack()`` and use it in tests that exhaust the C stack with a fixed number of recursive calls, so that thei…
msgstr: :gh:`154211`: افزودن ``test.support.skip_if_huge_c_stack()`` و استفاده از آن برای پرش از آزمونهایی که اگر محدودیت پشته بسیار بزرگ باشد (مثلاً روی DragonFly BS…
✏️ New untranslated strings
Brand-new source strings with no close match to an existing translation.
c-api/bytes.po (13 new untranslated)
Example creating the string ``b'abc'``
Example creating the bytes string ``b"abc"``, with a fixed size of 3 bytes::
PyObject* create_abc(void)\n{\n PyBytesWriter *writer = PyBytesWriter_Create(3);\n if (writer == NULL) {\n return NULL;\n }\n\n char *str = …
Variant using a pointer to compute the final size::
PyObject* create_abc_ptr(void)\n{\n PyBytesWriter *writer = PyBytesWriter_Create(3);\n if (writer == NULL) {\n return NULL;\n }\n\n char *st…
Update ``PyBytes_FromStringAndSize()`` code
int copy_bytes(char *dest, const char *src, Py_ssize_t num_bytes)\n{\n ...\n}\n\nPyObject* create_string(const char *start, Py_ssize_t num_bytes)\n{\n Py…
It can now be updated to::
PyObject* create_string(const char *start, Py_ssize_t num_bytes)\n{\n PyBytesWriter *writer = PyBytesWriter_Create(num_bytes);\n if (writer == NULL) {\n …
Update ``_PyBytes_Resize()`` code
Example of code using the soft deprecated ``_PyBytes_Resize()`` API::
void create_string(Py_ssize_t size)\n{\n PyObject *bytes = PyBytes_FromStringAndSize(NULL, size);\n if (bytes == NULL) {\n return NULL;\n }\n …
void create_string(Py_ssize_t size)\n{\n PyBytesWriter *writer = PyBytesWriter_Create(size);\n if (writer == NULL) {\n return NULL;\n }\n ch…
whatsnew/changelog.po (63 new untranslated)
:gh:`156091`: Fix a crash when compiling deeply nested inlined list, set, or dict comprehensions. A :exc:`SyntaxError` is now raised when the nesting exceeds t…
:gh:`156459`: Fix cleanup on error in ``compiler_set_qualname``. Previously it was called in ``_PyCompile_EnterScope``, after the scope had been entered, and t…
:gh:`155504`: Fix a crash when thread state creation fails before the thread state is fully initialized.
:gh:`155315`: Fix :mod:`marshal` so that a ``frozendict`` referenced more than once in the serialized data round-trips correctly, instead of failing to load wi…
:gh:`154937`: Fix a data race on thread handle identifiers when ``_thread._shutdown()`` runs concurrently with the startup of non-daemon threads in the :term:`…
:gh:`152075`: Reduced lock contention during LOAD_GLOBAL bytecode specialization under free threading.
:gh:`151895`: Fixed a crash in :func:`marshal.loads` when an allocation failed while loading a reference-tracked dictionary; it now raises :exc:`MemoryError`.
:gh:`158929`: Fix crash when calling :func:`syslog.syslog` while a subinterpreter in another thread calls :func:`syslog.openlog` or :func:`syslog.closelog`.
:gh:`156321`: Fix :func:`asyncio.shield` reporting an exception from the inner future through the loop exception handler as soon as it completes after the shie…
:gh:`158563`: Fix :func:`turtle.undo` after :func:`turtle.teleport` and after an exception in :func:`turtle.circle`, :func:`turtle.dot` or :func:`turtle.write`…
:gh:`158169`: Fix :attr:`zlib.Decompress.unconsumed_tail` duplicating :attr:`~zlib.Decompress.unused_data` after end of stream when *max_length* was used.
:gh:`157451`: Fix :mod:`gettext` plural form selection when the ``Plural-Forms`` expression combines the unary ``!`` operator with a binary operator, for examp…
:gh:`157325`: Fix an out-of-bounds read in the ``hz`` incremental decoder when the input ends with ``~``.
:gh:`123018`: Fix :func:`readline.write_history_file` and :func:`readline.append_history_file` producing a history file that :func:`readline.read_history_file`…
:gh:`157146`: :mod:`linecache` can now read the source of a module that was imported from a zip archive on :data:`sys.path` when given only the file name, as :…
:gh:`157048`: Preserve the position and contents of :class:`io.BytesIO` when :meth:`!BytesIO.__init__` fails because a buffer is exported.
:gh:`156946`: Fix a crash in :mod:`curses.panel` when the finalizer of a panel's user pointer runs while the panel is being deallocated. The panel is now take…
:gh:`156797`: Fix :class:`xml.sax.saxutils.XMLGenerator`: the namespace URI is now escaped in the namespace declaration. Previously a URI containing ``&``, ``…
:gh:`156713`: Fix :func:`!nturl2path.pathname2url` and :func:`!nturl2path.url2pathname`: the filesystem encoding and error handler are now used for percent-enc…
:gh:`156658`: :mod:`xml.dom` and :mod:`xml.etree.ElementTree` no longer treat characters which are not white space in XML (such as U+00A0) as white space. Prev…
:gh:`156476`: The pure Python implementation of :meth:`queue.SimpleQueue.get` now ignores *timeout* when *block* is false, matching the documented behavior and…
:gh:`156444`: Fix matching of a negated character set in a bytes pattern compiled with both :const:`re.IGNORECASE` and :const:`re.LOCALE`. The case closure is…
:gh:`156166`: :mod:`ssl`: A failed assignment or deletion of the ``_msg_callback`` attribute of :class:`ssl.SSLContext` no longer removes the current callback.…
:gh:`156173`: Calling :meth:`zlib.Decompress.flush` on invalid compressed data now raises :exc:`zlib.error` instead of being silently ignored.
:gh:`156101`: Fix :attr:`sqlite3.Cursor.arraysize` being set to 0 if the assigned value is too large. The attribute is now left unchanged if the assignment fai…
… and 38 more
Triggered by sync with 3.15 (commit 39c3228b).
- Lenguaje dominante
- Python
- Estrellas
- 56
- Forks
- 15
- Merge medio
- 10 h 6 min
- PR fusionados (30 d)
- 11
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de python/python-docs-fa
-
تغییرات خودکار در ترجمهها
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
python/python-docs-fa#98 ·
Los mantenedores suelen responder en 1 día
-
پیشنهاد
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
python/python-docs-fa#97 ·
Los mantenedores suelen responder en 1 día
-
اضافه کردن pomerge برای ۳.۱۴Posiblemente ocupada @sepehr-rs la tomó hace 6 días. Abierto
python/python-docs-fa#90 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
ایشوی جامع برای پیگیری کارهاAbiertoایشوی جامع
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
python/python-docs-fa#83 ·
Los mantenedores suelen responder en 1 día
Todos los issues de python/python-docs-fa
Issues similares
-
enhancement from-review
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
khuisman/mcp-gee-sweet#1010 ·
Los mantenedores suelen responder en 1 día
-
bug confirmed issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
open-webui/open-webui#32333 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ll7/robot_sf_ll7#10368 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
mcp: a write that loses its answer is reported as "cannot reach", although it may have landedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
flop-labs/technocore-chat#982 ·
Los mantenedores suelen responder en 1 día