🔍 Translation review needed after CPython sync (2026-11-05)
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 68/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- python
调研方向
Start by reviewing the fuzzy and untranslated entries listed in the issue in the .po files under builtins, library, and whatsnew. Compare each Persian translation with its English source, updating fuzzy entries where the meaning changed and translating new strings. Done when all listed entries are translated accurately and no longer marked fuzzy.
由索引模型根据 Issue 内容生成。
描述
Summary
- 🔍 17 newly fuzzy strings in 4 files
- ✏️ 13 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.
builtins/stdtypes.po (1 new fuzzy)
- Return a copy of the string with its first character capitalized and the rest lowercased.
+ Return a copy of the string with its first character capitalized and the rest lowercased. For example:
msgstr: یک نسخه از رشته را برمیگرداند که در آن نویسه نخست به حرف بزرگ و بقیه نویسهها به حروف کوچک تبدیل شدهاند.
library/ctypes.po (13 new fuzzy)
- >>> s = "Hello, World"\n>>> c_s = c_wchar_p(s)\n>>> print(c_s)\nc_wchar_p(139966785747344)\n>>> print(c_s.value)\nHello World\n>>> c_s.value = "Hi, there"\n>>>…
+ >>> s = "Hello, World"\n>>> c_s = c_wchar_p(s)\n>>> print(c_s)\nc_wchar_p(139966785747344)\n>>> print(c_s.value)\nHello, World\n>>> c_s.value = "Hi, there"\n>>…
msgstr: >>> s = "Hello, World"\n>>> c_s = c_wchar_p(s)\n>>> print(c_s)\nc_wchar_p(139966785747344)\n>>> print(c_s.value)\nHello World\n>>> c_s.value = "Hi, there"\n>>>…
- >>> import threading\n>>> lock = threading.Lock()\n>>> # Thread 1\n>>> with lock:\n... pointer_a.contents = 24\n>>> # Thread 2\n>>> with lock:\n... point…
+ >>> import threading\n>>> lock = threading.Lock()\n>>> # Thread 1\n>>> with lock:\n... pointer_a[0] = 24\n>>> # Thread 2\n>>> with lock:\n... pointer_b[0…
msgstr: >>> import threading\n>>> lock = threading.Lock()\n>>> # Thread 1\n>>> with lock:\n... pointer_a.contents = 24\n>>> # Thread 2\n>>> with lock:\n... point…
- >>> c1 = cell()\n>>> c1.name = b"foo"\n>>> c2 = cell()\n>>> c2.name = b"bar"\n>>> c1.next = pointer(c2)\n>>> c2.next = pointer(c1)\n>>> p = c1\n>>> for i in ra…
+ >>> c1 = cell()\n>>> c1.name = b"foo"\n>>> c2 = cell()\n>>> c2.name = b"bar"\n>>> c1.next = pointer(c2)\n>>> c2.next = pointer(c1)\n>>> p = c1\n>>> for i in ra…
msgstr: >>> c1 = cell()\n>>> c1.name = b"foo"\n>>> c2 = cell()\n>>> c2.name = b"bar"\n>>> c1.next = pointer(c2)\n>>> c2.next = pointer(c1)\n>>> p = c1\n>>> for i in ra…
- Here is the wrapping with :mod:`!ctypes`::
+ We can read this table with :mod:`!ctypes`::
msgstr: در اینجا پوششی با :mod:`!ctypes` آمده است::
- >>> from ctypes import *\n>>>\n>>> class struct_frozen(Structure):\n... _fields_ = [("name", c_char_p),\n... ("code", POINTER(c_ubyte)),\n.…
+ >>> from ctypes import *\n>>>\n>>> class struct_frozen(Structure):\n... _fields_ = [("name", c_char_p),\n... ("code", POINTER(c_ubyte)),\n.…
msgstr: >>> from ctypes import *\n>>>\n>>> class struct_frozen(Structure):\n... _fields_ = [("name", c_char_p),\n... ("code", POINTER(c_ubyte)),\n.…
- When a foreign function is called, each actual argument is passed to the :meth:`~_CData.from_param` class method of the items in the :attr:`argtypes` tuple, th…
+ When a foreign function is called, each actual argument is passed to the :meth:`~_CData.from_param` class method of the items in the :attr:`argtypes` tuple, th…
msgstr: هنگامی که یک تابع خارجی فراخوانی میشود، هر آرگومان واقعی به متد کلاس :meth:`~_CData.from_param` آیتمهای موجود در تاپل :attr:`argtypes` ارسال میشود؛ این متد …
- Types marked \* in the summary may be (or always are) aliases of a different :class:`_SimpleCData` subclass, and will not necessarily use the listed type code.…
+ Types marked \* in the summary may be (or always are) aliases of a different :class:`_SimpleCData` subclass, and will not necessarily use the listed type code.…
msgstr: انواعی که در خلاصه با \* علامتگذاری شدهاند ممکن است (یا همواره) نامهای مستعار یک زیرکلاس دیگر از :class:`_SimpleCData` باشند و لزوماً از کد نوع فهرستشده اس…
- Fundamental data types, when returned as foreign function call results, or, for example, by retrieving structure field members or array items, are transparentl…
+ Fundamental data types, when returned as foreign function call results, or, for example, by retrieving structure field members or array items, are transparentl…
msgstr: انواع داده بنیادی، هنگامی که بهعنوان نتایج فراخوانی تابع خارجی برگردانده میشوند، یا مثلاً هنگام بازیابی اعضای فیلدهای ساختار یا آیتمهای آرایه، بهطور شفاف ب…
- Concrete structure and union types must be created by subclassing one of these types, and at least define a :attr:`_fields_` class variable. :mod:`!ctypes` wil…
+ Concrete structure and union types must be created by subclassing one of these types, and at least define a :attr:`_fields_` class variable. :mod:`!ctypes` wil…
msgstr: انواع عینی ساختار و اجتماع (union) باید با زیرکلاسسازی از یکی از این انواع ایجاد شوند، و حداقل یک متغیر کلاس :attr:`_fields_` را تعریف کنند. :mod:`!ctypes` تو…
- Additionally, the :attr:`!_fields_` class variable must be defined before the structure or union type is first used: an instance or subclass is created, :func:…
+ Additionally, the :attr:`!_fields_` class variable must be defined before the structure or union type is first used, for example when an instance or subclass i…
msgstr: علاوه بر این، متغیر کلاس :attr:`!_fields_` باید پیش از اولین استفاده از نوع ساختار یا اجتماع (union) تعریف شود: ایجاد یک نمونه یا زیرکلاس، فراخوانی :func:`size…
… and 3 more
library/pdb.po (1 new fuzzy)
- async version of :func:`set_trace`. This function should be used inside an async function with :keyword:`await`.
+ Asynchronous version of :func:`set_trace`. This function should be used inside a :term:`coroutine function` with :keyword:`await`. For instance:
msgstr: نسخهی ناهمگام از :func:`set_trace`. این تابع باید در یک تابع ناهمگام همراه با :keyword:`await` استفاده شود.
library/tarfile.po (2 new fuzzy)
- :ref:`Refuse <tarfile-extraction-refuse>` to extract files with absolute paths (in case the name is absolute even after stripping slashes, e.g. ``C:/foo`` on W…
+ :ref:`Refuse <tarfile-extraction-refuse>` to extract files with absolute paths (in case the name is absolute even after stripping slashes, e.g. ``C:/foo`` on W…
msgstr: :ref:`امتناع <tarfile-extraction-refuse>` از استخراج پروندههایی با مسیرهای مطلق (در صورتی که نام حتی پس از حذف اسلشها مطلق باشد، مثلاً ``C:/foo`` در ویندوز).…
- :ref:`Refuse <tarfile-extraction-refuse>` to extract links (hard or soft) that link to absolute paths, or ones that link outside the destination.
+ :ref:`Refuse <tarfile-extraction-refuse>` to extract links (hard or soft) that link to absolute paths or to paths with a drive, or ones that link outside the d…
msgstr: :ref:`امتناع <tarfile-extraction-refuse>` از استخراج پیوندهایی (سخت یا نرم) که به مسیرهای مطلق اشاره میکنند، یا پیوندهایی که به خارج از مقصد اشاره میکنند.
✏️ New untranslated strings
Brand-new source strings with no close match to an existing translation.
builtins/stdtypes.po (1 new untranslated)
>>> 'PYTHON IS AMAZING'.capitalize()\n'Python is amazing'\n>>> 'Njemačka starts With a non-ASCII digraph'.capitalize()\n'Njemačka starts with a non-ascii digraph'
library/ctypes.po (3 new untranslated)
The :attr:`~Structure._align_` class attribute specifies the minimum alignment for the structure itself. See the attribute documentation for details.
An extended example which also demonstrates the use of pointers accesses the ``_PyImport_FrozenBootstrap`` pointer exported by Python. It points to an array of…
Frozen packages are indicated by a nonzero ``is_package`` member. Python also includes frozen modules and packages used for testing, such as ``__hello__`` and …
library/tarfile.po (2 new untranslated)
Filenames with a drive that are not absolute are now refused.
Link targets with a drive that are not absolute are now refused.
whatsnew/changelog.po (7 new untranslated)
:gh:`161323`: On Windows, the ``'tar'`` and ``'data'`` :mod:`tarfile` extraction filters now refuse member names and link targets that have a drive but are not…
:gh:`161288`: Fix a crash in the perf trampoline (:option:`-X perf <-X>`) on builds with clang's ``-fsanitize=function``, which ``-fsanitize=undefined`` enable…
:gh:`161229`: :func:`!__lazy_import__` now treats ``None`` for *globals* and *locals* the same as omitting them, matching its signature.
:gh:`93821`: Fix :class:`asyncio.ProactorEventLoop` servers that stopped accepting new connections on Windows when a client reset its connection before it was …
:gh:`161076`: Fix :mod:`asyncio` leaving a half-created transport registered with the event loop and the server when setting ``TCP_NODELAY`` on a socket fails.…
:gh:`75929`: Fix a ``configure`` probe that could omit functions such as :func:`os.fchdir` from builds using ``-Wall -Werror``.
:gh:`161185`: Fix a strict aliasing issue in the :c:func:`!memcpy` implementation of :c:macro:`Py_SETREF`, :c:macro:`Py_XSETREF` and :c:macro:`Py_CLEAR` macros…
Triggered by sync with 3.15 (commit 8db583e8).
- 主要语言
- 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 天内回复