🔍 Translation review needed after CPython sync (2026-10-31)

未關閉
#123 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

@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 內容生成。

描述

3.15 تغییرات خودکار در ترجمه‌ها

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

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

python/python-docs-fa 的其他 Issue

查看 python/python-docs-fa 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。