🔍 Translation review needed after CPython sync (2026-11-18)

未关闭
#140 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
72/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
python

调研方向

Start with the translation entries in library/os.po, using/windows.po, and whatsnew/changelog.po; review the fuzzy entries and translate the new strings from the CPython 3.15 sync. Use the English source text and existing Farsi translations as references. Done means all listed strings are translated accurately and the fuzzy entries are updated where needed.

由索引模型根据 Issue 内容生成。

描述

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

Summary

  • 🔍 2 newly fuzzy strings in 2 files
  • ✏️ 34 new untranslated strings in 3 files

🔍 Newly fuzzy strings

The source text changed slightly, so the existing translation (msgstr) may need updating. - is the old source, + the new.

library/os.po (1 new fuzzy)
- On a Unix-like system, random bytes are read from the ``/dev/urandom`` device. If the ``/dev/urandom`` device is not available or not readable, the :exc:`NotIm…
+ If none of these functions can be used, random bytes are read from the ``/dev/urandom`` device. If the ``/dev/urandom`` device is not available or not readable…
  msgstr: در سیستم‌های شبه‌یونیکس، بایت‌های تصادفی از دستگاه ``/dev/urandom`` خوانده می‌شوند. اگر دستگاه ``/dev/urandom`` در دسترس نباشد یا قابل خواندن نباشد، استثنای :e…

using/windows.po (1 new fuzzy)
- Runtimes from other distributors may require the *company* to be included as well. It should be separated from the tag by a slash (either ``/`` or ``\``), and …
+ Runtimes from other distributors may require the *company* to be included as well. It should be separated from the tag by a slash (either ``/`` or ``\``), and …
  msgstr: ممکن است ران‌تایم‌های توزیع‌کنندگان دیگر به گنجاندن *شرکت* نیز نیاز داشته باشند. شرکت باید با یک اسلش (چه ``/`` و چه ``\``) از برچسب جدا شود و ممکن است به هر پ…

✏️ New untranslated strings

Brand-new source strings with no close match to an existing translation.

library/os.po (1 new untranslated)
On other Unix-like systems, the C ``getrandom()`` function is used if it is available, otherwise the C ``getentropy()`` function.
using/windows.po (30 new untranslated)
Tags and tag matching
Previously the behavior was very similar to what is described here, but had many more inconsistencies. We have streamlined it and ensured the behavior is well-…
Tags identify Python runtimes that may be installed, modified, or launched by the Python install manager. They are based on :pep:`514`, with matching and order…
A tag has three components: Company, Tag, and Platform. Each part is case-insensitive, but the exact comparison semantics vary.
[<Company>/]<Tag>[-<Platform>]
The Company is optional and defaults to ``PythonCore``. It may contain slashes, while the rest may not, and so the last forward slash or backslash separates it…
The optional Platform suffix is one of the known platform suffixes, currently ``-32``, ``-64``, or ``-arm64``. Broadly speaking, the Platform suffix behaves as…
Runtimes are defined as having a primary tag, and offer several more tags for installation (``install-for``) and launching (``run-for``). Whether the install t…
You can observe this behaviour using ``py list`` with and without the ``--one`` option (to show the "best" or all candidates) and with and without the ``--onli…
Tags are not version numbers, though numeric sequences are treated as version numbers. Hyphens divide the Tag into segments, where each segment is either text …
Broadly, numbers are compared as numerical versions, so ``3.10`` is greater than ``3.1``, ``3.14`` is greater than ``3.14a1``, and ``3`` is equal to both ``3.0…
Do not interpret the depth of detail of the following few paragraphs about constraints as representing their importance. Constraints are a necessary evil, and …
Constraints can select multiple tags. A matching tag will start with the same segments as the constraining tag, where text segments are equal and numeric segme…
When applying a constraint check to a version segment that was shorter than the constraint (e.g. ``3`` has one field and so is shorter than ``==3.14``), it is …
Here are some example cases showing the different applications of constraints:
``>=3.13`` matches ``3.13.4`` and ``3.14``
``>3.13`` matches ``3.14``, but not ``3.13.4``
``>=3.13t`` matches ``3.14t``, while ``>=3.13`` does not
``>=3.13`` matches ``3.14-abc`` but not ``3.14abc``
``>3.13-abc-123`` matches ``3.14`` (number is higher) and ``3.13-abc-124`` (number ``124`` is higher) but not ``3.13-def-123`` (text mismatch), ``3.14def`` (te…
``>=3.0`` matches ``3``, but ``>3.0`` does not
``<4`` matches ``3``, but ``<3.12`` and ``<=3.12`` do not
``==3.0`` does not match ``3``, while ``==3.10`` still matches ``3.10.1``
``!=3.13`` rejects ``3`` (because it could be ``3.13``), but ``!=3.13t`` accepts ``3`` (different suffix)
The difference between hyphen-separated segments and adjacent text and numbers is subtle, but should not be relevant to most users. Publishers will choose and …
… and 5 more
whatsnew/changelog.po (3 new untranslated)
:gh:`162144`: Skip ``@support.nomemtest`` tests when using a thread sanitizer (TSan). ``set_nomemory()`` and ``call_with_nomemory()`` functions of the :mod:`!_…
:gh:`162170`: ``make install`` now depends on the ``all`` target, so running it directly after ``./configure --enable-optimizations`` installs the PGO-optimize…
:gh:`158414`: Fix a hang when writing an incomplete UTF-8 sequence to the Windows console.

Triggered by sync with 3.15 (commit 082532e4).

主要语言
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 摘要。