🔍 Translation review needed after CPython sync (2026-10-31)
@Anurag-S1ngh 已经在做这个了。
开始于 2026年10月31日。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- python
- 领域
- localization
调研方向
Start with the listed .po files and compare each newly fuzzy source string with its existing Persian msgstr; also locate the two new untranslated strings. Review the changed source text and update translations where needed. Done means all 28 fuzzy strings and both untranslated strings across the 17 files have been reviewed and the Persian translations reflect the current source.
由索引模型根据 Issue 内容生成。
描述
Summary
- 🔍 28 newly fuzzy strings in 17 files
- ✏️ 2 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.
builtins/functions.po (1 new fuzzy)
- Return a string containing a printable representation of an object. For many types, this function makes an attempt to return a string that would yield an obje…
+ Return a string containing a printable representation of an object. For many types, this function makes an attempt to return a string that would yield an obje…
msgstr: رشتهای را برمیگرداند که نمایش قابل چاپی از یک شیء را در بر دارد. برای بسیاری از نوعها، این تابع تلاش میکند رشتهای برگرداند که اگر به :func:`eval` داده شود…
builtins/stdtypes.po (2 new fuzzy)
- If the :class:`bytearray` needs to grow, all new bytes, those beyond *size*, will be set to null bytes.
+ If the :class:`bytearray` needs to grow, all new bytes will be set to null bytes.
msgstr: اگر نیاز باشد :class:`bytearray` بزرگتر شود، تمام بایتهای جدید، یعنی آنهایی که فراتر از *size* هستند، به بایتهای null تنظیم خواهند شد.
- Note, the *elem* argument to the :meth:`~object.__contains__`, :meth:`~set.remove`, and :meth:`~set.discard` methods may be a set. To support searching for an…
+ Note, the *elem* argument to the :meth:`~object.__contains__`, :meth:`~set.remove`, and :meth:`~set.discard` methods may be a set. In this case, an equivalent…
msgstr: توجه داشته باشید که آرگومان *elem* در متدهای :meth:`~object.__contains__`، :meth:`~set.remove` و :meth:`~set.discard` میتواند یک مجموعه باشد. برای پشتیبانی از…
c-api/code.po (1 new fuzzy)
- You generally call this function once (per interpreter) and use the result with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate data on individual co…
+ You generally call this function once (per interpreter). Use the result with :c:func:`PyUnstable_Code_GetExtra` and :c:func:`PyUnstable_Code_SetExtra` to manip…
msgstr: معمولاً این تابع را یکبار (به ازای هر مفسر) فراخوانی میکنید و از نتیجهی آن به همراه ``PyCode_GetExtra`` و ``PyCode_SetExtra`` برای دستکاری دادهها روی هر یک…
c-api/codec.po (1 new fuzzy)
- In the following functions, the *encoding* string is looked up converted to all lower-case characters, which makes encodings looked up through this mechanism e…
+ In the following functions, the *encoding* string is looked up converted to all lower-case characters, which makes encodings looked up through this mechanism e…
msgstr: در توابع زیر، رشتهی *encoding* پس از تبدیل به نویسههای تماماً کوچک جستجو میشود، که همین امر باعث میشود کدگذاریهایی که از طریق این سازوکار جستجو میشوند، ع…
c-api/extension-modules.po (1 new fuzzy)
- PyABIInfo_VAR(abi_info);\n\nstatic PySlot spam_slots[] = {\n PySlot_STATIC_DATA(Py_mod_abi, &abi_info),\n PySlot_STATIC_DATA(Py_mod_name, "spam"),\n P…
+ PyABIInfo_VAR(abi_info);\n\nstatic PySlot spam_slots[] = {\n PySlot_STATIC_DATA(Py_mod_abi, &abi_info),\n PySlot_STATIC_DATA(Py_mod_name, "spam"),\n P…
msgstr: PyABIInfo_VAR(abi_info);\n\nstatic PySlot spam_slots[] = {\n PySlot_STATIC_DATA(Py_mod_abi, &abi_info),\n PySlot_STATIC_DATA(Py_mod_name, "spam"),\n P…
c-api/gcsupport.po (1 new fuzzy)
- Resize an object allocated by :c:macro:`PyObject_NewVar`. Returns the resized object of type ``TYPE*`` (refers to any C type) or ``NULL`` on failure.
+ Resize an object allocated by :c:macro:`PyObject_GC_NewVar`. Returns the resized object of type ``TYPE*`` (refers to any C type) or ``NULL`` on failure.
msgstr: تغییر اندازهی شیءای که توسط :c:macro:`PyObject_NewVar` تخصیصیافته است. شیء تغییراندازهیافته از نوع ``TYPE*`` (منظور هر نوع C است) را برمیگرداند یا در صورت…
extending/extending.po (2 new fuzzy)
- PyObject *arglist;\n...\narglist = Py_BuildValue("(l)", eventcode);\nresult = PyObject_CallObject(my_callback, arglist);\nPy_DECREF(arglist);\nif (result == NU…
+ PyObject *arglist;\n...\narglist = Py_BuildValue("(l)", eventcode);\nif (arglist == NULL)\n return NULL;\nresult = PyObject_CallObject(my_callback, arglist)…
msgstr: PyObject *arglist;\n...\narglist = Py_BuildValue("(l)", eventcode);\nresult = PyObject_CallObject(my_callback, arglist);\nPy_DECREF(arglist);\nif (result == NU…
- PyObject *dict;\n...\ndict = Py_BuildValue("{s:i}", "name", val);\nresult = PyObject_Call(my_callback, NULL, dict);\nPy_DECREF(dict);\nif (result == NULL)\n …
+ PyObject *arglist, *dict;\n...\narglist = PyTuple_New(0);\nif (arglist == NULL)\n return NULL;\ndict = Py_BuildValue("{s:i}", "name", val);\nif (dict == NUL…
msgstr: PyObject *dict;\n...\ndict = Py_BuildValue("{s:i}", "name", val);\nresult = PyObject_Call(my_callback, NULL, dict);\nPy_DECREF(dict);\nif (result == NULL)\n …
extending/first-extension-module.po (3 new fuzzy)
- Next, we'll add the method to the module. Add a :c:data:`Py_mod_methods` slot to your :c:type:`PyMethodDef` array:
+ Next, we'll add the method to the module. Add a :c:data:`Py_mod_methods` slot to your :c:type:`PySlot` array:
msgstr: در ادامه، متد را به ماژول اضافه میکنیم. یک جایگاه :c:data:`Py_mod_methods` به آرایهی :c:type:`PyMethodDef` خود اضافه کنید:
- static PyObject *\nspam_system(PyObject *self, PyObject *arg)\n{\n const char *command = PyUnicode_AsUTF8AndSize(arg);\n if (command == NULL) {\n retu…
+ static PyObject *\nspam_system(PyObject *self, PyObject *arg)\n{\n const char *command = PyUnicode_AsUTF8AndSize(arg, NULL);\n if (command == NULL) {\n …
msgstr: static PyObject *\nspam_system(PyObject *self, PyObject *arg)\n{\n const char *command = PyUnicode_AsUTF8AndSize(arg);\n if (command == NULL) {\n retu…
- static PyObject *\nspam_system(PyObject *self, PyObject *arg)\n{\n const char *command = PyUnicode_AsUTF8AndSize(arg);\n if (command == NULL) {\n retu…
+ static PyObject *\nspam_system(PyObject *self, PyObject *arg)\n{\n const char *command = PyUnicode_AsUTF8AndSize(arg, NULL);\n if (command == NULL) {\n …
msgstr: static PyObject *\nspam_system(PyObject *self, PyObject *arg)\n{\n const char *command = PyUnicode_AsUTF8AndSize(arg);\n if (command == NULL) {\n retu…
extending/newtypes_tutorial.po (1 new fuzzy)
- Before calling :c:func:`PyType_Ready`, the type structure must have the :c:member:`~PyTypeObject.tp_base` slot filled in. When we are deriving an existing typ…
+ Before calling :c:func:`PyType_Ready`, the type structure must have the :c:member:`~PyTypeObject.tp_base` slot filled in. When we are deriving an existing typ…
msgstr: پیش از فراخوانی :c:func:`PyType_Ready`، جایگاه :c:member:`~PyTypeObject.tp_base` باید در ساختار نوع پر شده باشد. هنگامی که از یک نوع موجود مشتق میگیریم، لازم …
library/http.cookiejar.po (1 new fuzzy)
- import urllib.request\nfrom http.cookiejar import CookieJar, DefaultCookiePolicy\npolicy = DefaultCookiePolicy(\n rfc2965=True, strict_ns_domain=Policy.Doma…
+ import urllib.request\nfrom http.cookiejar import CookieJar, DefaultCookiePolicy\npolicy = DefaultCookiePolicy(\n rfc2965=True, strict_ns_domain=DefaultCook…
msgstr: import urllib.request\nfrom http.cookiejar import CookieJar, DefaultCookiePolicy\npolicy = DefaultCookiePolicy(\n rfc2965=True, strict_ns_domain=Policy.Doma…
library/mailbox.po (1 new fuzzy)
- import mailbox\nimport email.errors\n\nlist_names = ('python-list', 'python-dev', 'python-bugs')\n\nboxes = {name: mailbox.mbox('~/email/%s' % name) for name i…
+ import mailbox\nimport email.errors\n\nlist_names = ('python-list', 'python-dev', 'python-bugs')\n\nboxes = {name: mailbox.mbox('~/email/%s' % name) for name i…
msgstr: import mailbox\nimport email.errors\n\nlist_names = ('python-list', 'python-dev', 'python-bugs')\n\nboxes = {name: mailbox.mbox('~/email/%s' % name) for name i…
library/os.po (2 new fuzzy)
- :const:`SEEK_HOLE` -- set *pos* to the next data location, relative to *pos*
+ :const:`SEEK_DATA` -- set *pos* to the next data location, relative to *pos*
msgstr: :const:`SEEK_HOLE` -- *pos* را به مکان بعدی داده، نسبت به *pos* تنظیم میکند
- :const:`SEEK_DATA` -- set *pos* to the next data hole, relative to *pos*
+ :const:`SEEK_HOLE` -- set *pos* to the next data hole, relative to *pos*
msgstr: :const:`SEEK_DATA` -- *pos* را به حفرهی دادهی بعدی، نسبت به *pos* تنظیم میکند
library/ssl.po (2 new fuzzy)
- The function returns a list of (cert_bytes, encoding_type, trust) tuples. The encoding_type specifies the encoding of cert_bytes. It is either :const:`x509_asn…
+ The function returns a list of (cert_bytes, encoding_type, trust) tuples. The encoding_type specifies the encoding of cert_bytes. It is either ``'x509_asn'`` f…
msgstr: این تابع فهرستی از تاپلهای (cert_bytes, encoding_type, trust) را برمیگرداند. encoding_type کدگذاری cert_bytes را مشخص میکند. این مقدار یا :const:`x509_asn` …
- The function returns a list of (cert_bytes, encoding_type, trust) tuples. The encoding_type specifies the encoding of cert_bytes. It is either :const:`x509_asn…
+ The function returns a list of (cert_bytes, encoding_type) tuples. The encoding_type specifies the encoding of cert_bytes. It is either ``'x509_asn'`` for X.50…
msgstr: این تابع فهرستی از تاپلهای (cert_bytes, encoding_type, trust) را برمیگرداند. encoding_type کدگذاری cert_bytes را مشخص میکند. این مقدار میتواند :const:`x509…
library/tracemalloc.po (2 new fuzzy)
- Difference of number of memory blocks between the old and the new snapshots (``int``): ``0`` if the memory blocks have been allocated in the new snapshot.
+ Difference of number of memory blocks between the old and the new snapshots (``int``).
msgstr: تفاوت تعداد بلوکهای حافظه بین تصویر لحظهای قدیمی و تصویر لحظهای جدید (``int``): ``0`` اگر بلوکهای حافظه در تصویر لحظهای جدید تخصیص دادهشده باشند.
- Difference of total size of memory blocks in bytes between the old and the new snapshots (``int``): ``0`` if the memory blocks have been allocated in the new s…
+ Difference of total size of memory blocks in bytes between the old and the new snapshots (``int``).
msgstr: تفاوت اندازهی کل بلوکهای حافظه بر حسب بایت بین تصویرهای لحظهای قدیمی و جدید (``int``): اگر بلوکهای حافظه در تصویر لحظهای جدید تخصیص یافته باشند، ``0`` است.
library/zipfile.po (1 new fuzzy)
- >>> zf = PyZipFile('myprog.zip')\n>>> def notests(s):\n... fn = os.path.basename(s)\n... return (not (fn == 'test' or fn.startswith('test_')))\n...\n>>…
+ >>> zf = PyZipFile('myprog.zip', 'w')\n>>> def notests(s):\n... fn = os.path.basename(s)\n... return (not (fn == 'test' or fn.startswith('test_')))\n..…
msgstr: >>> zf = PyZipFile('myprog.zip')\n>>> def notests(s):\n... fn = os.path.basename(s)\n... return (not (fn == 'test' or fn.startswith('test_')))\n...\n>>…
whatsnew/3.13.po (4 new fuzzy)
- Remove the *cafile*, *capath*, and *cadefault* parameters of the :func:`urllib.request.urlopen` function, deprecated in Python 3.6. Use the *context* parameter…
+ Remove the *cafile*, *capath*, and *cadefault* parameters of the :func:`urllib.request.urlopen` function, deprecated in Python 3.6. Use the *context* parameter…
msgstr: پارامترهای *cafile*، *capath* و *cadefault* تابع :func:`urllib.request.urlopen` که در پایتون 3.6 منسوخ شده بودند، حذف شدند. بهجای آنها از پارامتر *context* ه…
- :c:func:`!PySys_HasWarnOptions`: Use :c:member:`PyConfig.xoptions` instead.
+ :c:func:`!PySys_HasWarnOptions`: Use :c:member:`PyConfig.warnoptions` instead.
msgstr: :c:func:`!PySys_HasWarnOptions`: بهجای آن از :c:member:`PyConfig.xoptions` استفاده کنید.
- low-level :c:func:`PyEval_AcquireThread` and :c:func:`PyEval_RestoreThread`;
+ low-level :c:func:`PyEval_AcquireThread` and :c:func:`PyEval_ReleaseThread`;
msgstr: سطح پایین :c:func:`PyEval_AcquireThread` و :c:func:`PyEval_RestoreThread`؛
- Calling :c:func:`PyFrame_GetLocals` in an :term:`optimized scope` now returns a write-through proxy rather than a snapshot that gets updated at ill-specified t…
+ Calling :c:func:`PyFrame_GetLocals` in an :term:`optimized scope` now returns a write-through proxy rather than a snapshot that gets updated at ill-specified t…
msgstr: فراخوانی :c:func:`PyFrame_GetLocals` در :term:`محدوده بهینهشده <optimized scope>` اکنون بهجای یک تصویر لحظهای که در زمانهای نامشخص بهروزرسانی میشود، یک پ…
whatsnew/changelog.po (2 new fuzzy)
- :gh:`103791`: :class:`contextlib.suppress` now supports suppressing exceptions raised as part of a :exc:`BaseExceptionGroup`, in addition to the recent support…
+ :gh:`137549`: :func:`asyncio.timeout` now inserts :exc:`TimeoutError` into the context chain of sub-exceptions of a :exc:`BaseExceptionGroup`, as it already di…
msgstr: :gh:`103791`: :class:`contextlib.suppress` اکنون علاوه بر پشتیبانی اخیر از :exc:`ExceptionGroup`، از سرکوب استثناوهایی که به عنوان بخشی از یک :exc:`BaseExcepti…
- :gh:`133934`: Improve :mod:`sqlite3` CLI's ``.help`` message.
+ :gh:`139105`: Correct the EOF key shown in the :mod:`sqlite3` CLI ``.help`` text on Windows.
msgstr: :gh:`133934`: بهبود پیام ``.help`` در رابط خط فرمان، CLI ماژول :mod:`sqlite3`.
✏️ New untranslated strings
Brand-new source strings with no close match to an existing translation.
extending/extending.po (1 new untranslated)
Note the placement of ``Py_DECREF(arglist)`` immediately after the call, before the error check!
whatsnew/changelog.po (1 new untranslated)
:gh:`159398`: Fix the sampling profiler crashing when a string read from the target process contains code points above ``U+10FFFF``.
Triggered by sync with 3.15 (commit 3afb861d).
- 主要语言
- Python
- 星标
- 107
- 派生
- 20
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python/python-docs-fa 的其他 Issue
-
3.15 تغییرات خودکار در ترجمهها
难度 2/5 1-3 小时 新手友好度 83/100
python/python-docs-fa#142 ·
-
3.15 تغییرات خودکار در ترجمهها
难度 2/5 1-3 小时 新手友好度 78/100
python/python-docs-fa#141 ·
-
3.15 تغییرات خودکار در ترجمهها
难度 2/5 1-3 小时 新手友好度 77/100
python/python-docs-fa#139 ·
-
3.15 تغییرات خودکار در ترجمهها
难度 2/5 1-3 小时 新手友好度 62/100
python/python-docs-fa#137 ·
-
3.15 تغییرات خودکار در ترجمهها
难度 2/5 1-3 小时 新手友好度 82/100
python/python-docs-fa#134 ·
查看 python/python-docs-fa 的全部 Issue
相似的 Issue
-
needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
gke-labs/kube-agents#6778 · 1 条评论 ·
维护者通常 1 天内回复
-
Declare the CMS schema library in the optional recipients extra可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area:python in-progress
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
area/build-framework kind/enhancement priority/low
难度 2/5 1-3 小时 新手友好度 77/100
yugabyte/yugabyte-db#38826 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 72/100
sususweet/midea_auto_cloud#306 ·
维护者通常 9 天内回复