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

オープン
#136 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
50/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
documentation

調査の方向性

Start with the six .po files named in the issue: faq/design.po, faq/extending.po, faq/programming.po, library/argparse.po, library/traceback.po and whatsnew/changelog.po. For each fuzzy entry, compare the new English msgid with the existing Persian msgstr and update the translation to match, then remove the fuzzy flag. Done means every listed fuzzy and untranslated string is translated and reviewed, with the reST markup and code examples left intact.

索引モデルが issue の本文から書いたものです。

説明

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

Summary

  • 🔍 15 newly fuzzy strings in 6 files
  • ✏️ 14 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.

faq/design.po (1 new fuzzy)
- If you want to force Python to delete certain things on deallocation use the :mod:`atexit` module to run a function that will force those deletions.
+ If you want to force Python to delete certain things when Python exits, use the :mod:`atexit` module to run a function that will force those deletions.
  msgstr: اگر می‌خواهید پایتون را وادار به حذف موارد مشخصی در زمان آزادسازی حافظه کنید، از ماژول :mod:`atexit` برای اجرای تابعی استفاده کنید که آن حذف‌ها را اجباری خواهد…

faq/extending.po (1 new fuzzy)
- When using GDB with dynamically loaded extensions, you can't set a breakpoint in your extension until your extension is loaded.
+ When using GDB with dynamically loaded extensions, enable pending breakpoints to set a breakpoint before the extension is loaded.  For example, to stop in a fu…
  msgstr: هنگام استفاده از GDB با افزونه‌های بارگذاری‌شده به‌صورت پویا، تا زمانی که افزونه‌ی شما بارگذاری نشود، نمی‌توانید نقطه توقفی در افزونه‌ی خود تنظیم کنید.

faq/programming.po (2 new fuzzy)
- In the example, :func:`super` will automatically determine the instance from which it was called (the ``self`` value), look up the :term:`method resolution ord…
+ In the example, :func:`super` will automatically determine the instance from which it was called (the ``self`` value), look up the :term:`method resolution ord…
  msgstr: در این مثال، :func:`super` به‌طور خودکار نمونه‌ای را که از آن فراخوانی شده است (مقدار ``self``) تعیین می‌کند، :term:`method resolution order` (MRO) را با ``typ…

- Caution: within a method of C, an assignment like ``self.count = 42`` creates a new and unrelated instance named "count" in ``self``'s own dict.  Rebinding of …
+ Caution: within a method of C, an assignment like ``self.count = 42`` creates a new and unrelated attribute named "count" in ``self``'s own dict.  Rebinding of…
  msgstr: هشدار: در داخل یک متد از C، انتسابی مانند ``self.count = 42`` یک نمونه جدید و نامرتبط به نام "count" در دیکشنری خود ``self`` ایجاد می‌کند. برای انتساب مجدد یک …

library/argparse.po (5 new fuzzy)
- >>> parser = argparse.ArgumentParser()\n>>> parser.add_argument('--foo')\n>>> parser.add_argument('cmd')\n>>> parser.add_argument('rest', nargs='*', type=int)\…
+ >>> parser = argparse.ArgumentParser()\n>>> parser.add_argument('--foo')\n>>> parser.add_argument('command')\n>>> parser.add_argument('args', nargs=argparse.RE…
  msgstr: >>> parser = argparse.ArgumentParser()\n>>> parser.add_argument('--foo')\n>>> parser.add_argument('cmd')\n>>> parser.add_argument('rest', nargs='*', type=int)\…

- >>> parser = argparse.ArgumentParser()\n>>> parser.add_argument('bar')\n>>> parser.parse_args(['XXX'])\nNamespace(bar='XXX')
+ >>> parser = argparse.ArgumentParser()\n>>> parser.add_argument('args', nargs=argparse.REMAINDER)\n>>> parser.parse_args(['--', '--foo', 'B'])\nNamespace(args=…
  msgstr: >>> parser = argparse.ArgumentParser()\n>>> parser.add_argument('bar')\n>>> parser.parse_args(['XXX'])\nNamespace(bar='XXX')

- For example, an optional argument could be created like::
+ For an optional argument, supply the option separately from its values::
  msgstr: برای مثال، می‌توان یک آرگومان اختیاری به این صورت ایجاد کرد::

- >>> parser = argparse.ArgumentParser()\n>>> parser.add_argument('--foo', default=argparse.SUPPRESS)\n>>> parser.parse_args([])\nNamespace()\n>>> parser.parse_a…
+ >>> parser = argparse.ArgumentParser()\n>>> parser.add_argument('--forward', nargs=argparse.REMAINDER)\n>>> parser.parse_args('--forward --foo B --'.split())\n…
  msgstr: >>> parser = argparse.ArgumentParser()\n>>> parser.add_argument('--foo', default=argparse.SUPPRESS)\n>>> parser.parse_args([])\nNamespace()\n>>> parser.parse_a…

- These parsers do not support all the :mod:`!argparse` features, and will raise exceptions if unsupported features are used.  In particular, subparsers, and mut…
+ These parsers do not support all the :mod:`!argparse` features, and will raise exceptions if unsupported features are used.  In particular, subparsers, positio…
  msgstr: این پارسرها از همه‌ی قابلیت‌های :mod:`!argparse` پشتیبانی نمی‌کنند و در صورت استفاده از قابلیت‌های پشتیبانی‌نشده، استثنا پرتاب می‌کنند. به‌طور خاص، زیرپارسرها …

library/traceback.po (3 new fuzzy)
- Print the list of tuples as returned by :func:`extract_tb` or :func:`extract_stack` as a formatted stack trace to the given file. If *file* is ``None``, the ou…
+ Print a list of :class:`FrameSummary` objects as returned by :func:`extract_tb` or :func:`extract_stack`, or a list of old-style tuples (see :meth:`StackSummar…
  msgstr: فهرستی از تاپل‌ها را که توسط :func:`extract_tb` یا :func:`extract_stack` برگردانده شده است، به‌صورت یک ردگیری پشته قالب‌بندی‌شده در پرونده داده‌شده چاپ می‌کند.…

- Given a list of tuples or :class:`FrameSummary` objects as returned by :func:`extract_tb` or :func:`extract_stack`, return a list of strings ready for printing…
+ Given a list of :class:`FrameSummary` objects as returned by :func:`extract_tb` or :func:`extract_stack`, or a list of old-style tuples (see :meth:`StackSummar…
  msgstr: با دریافت فهرستی از تاپل‌ها یا اشیای :class:`FrameSummary` که توسط :func:`extract_tb` یا :func:`extract_stack` بازگردانده شده است، فهرستی از رشته‌ها را که برای…

- A string representing the source code for this frame, with leading and trailing whitespace stripped. If the source is not available, it is ``None``.
+ The source line at :attr:`~FrameSummary.lineno`, with leading and trailing whitespace stripped. If the source is not available, it is ``None``.
  msgstr: رشته‌ای که کد منبع این فریم را نشان می‌دهد، که فضای سفید ابتدا و انتهای آن حذف شده است. اگر کد منبع در دسترس نباشد، مقدار آن ``None`` است.

whatsnew/changelog.po (3 new fuzzy)
- :gh:`151126`: Fix crash on unset :exc:`MemoryError` on allocation failure in :func:`ctypes.get_errno`.
+ :gh:`151126`: Fix a crash when allocation failure occurs during :ref:`interp-object-sharing`.
  msgstr: :gh:`151126`: رفع فروپاشی در اثر تنظیم‌نشدن :exc:`MemoryError` هنگام شکست تخصیص حافظه در :func:`ctypes.get_errno`.

- :gh:`149571`: Fix the C implementation of :meth:`xml.etree.ElementTree.Element.itertext`: it no longer emits text for comments and processing instructions.
+ :gh:`158032`: Fix a crash in :meth:`xml.etree.ElementTree.Element.iter` when a tag's equality comparison replaces that tag.
  msgstr: :gh:`149571`: رفع پیاده‌سازی C برای متد :meth:`xml.etree.ElementTree.Element.itertext`: این متد دیگر برای کامنت‌ها و دستورالعمل‌های پردازش، متنی تولید نمی‌کند.

- :gh:`151159`: Updated bundled version of OpenSSL to 3.5.7.
+ :gh:`161735`: Updated bundled version of ``zlib-ng`` to v2.2.5.
  msgstr: :gh:`151159`: به‌روزرسانی نسخه‌ی بسته‌بندی‌شده‌ی OpenSSL به ۳.۵.۷.

✏️ New untranslated strings

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

faq/extending.po (2 new untranslated)
$ gdb /local/bin/python\n(gdb) set breakpoint pending on\n(gdb) break myfunction\n(gdb) run myscript.py
GDB resolves the breakpoint when the extension is loaded and stops when the function is called.  You can also set a pending breakpoint directly in your extensi…
faq/programming.po (1 new untranslated)
This returns a reverse iterator without modifying your original sequence.
library/argparse.po (5 new untranslated)
``argparse.REMAINDER``. Remaining command-line arguments are gathered into a list, including strings that look like options. This is useful for forwarding argu…
When the remainder is the first positional argument, leading options are still parsed normally. It starts with the first positional value, or with ``--``. In a…
An attached value such as ``--forward=value`` supplies only that value; subsequent arguments are parsed normally.
Optional arguments with ``nargs=argparse.REMAINDER`` consume ``--`` and subsequent arguments instead of stopping at ``--``.
With the default ``'store'`` action, an empty positional remainder ignores default_ and produces ``[]``. The choices_ restriction is not applied to the remaind…
whatsnew/changelog.po (6 new untranslated)
:gh:`161827`: Keep ``_PyEval_EvalFrameDefault`` as a separate frame in the C call stack when Python is built with the tail-calling interpreter (:option:`--with…
:gh:`112564`: Fix a crash in the garbage collector when :data:`gc.DEBUG_COLLECTABLE` or :data:`gc.DEBUG_UNCOLLECTABLE` is set and writing the debug output to :…
:gh:`161104`: Fix :meth:`http.client.HTTPConnection.set_tunnel` accepting a tunnel host containing a non-ASCII character that IDNA encoding maps to a space, su…
:gh:`126253`: Fix ``test_os.test_attributes()`` on Windows NTFS: ignore unknown file attributes.
:gh:`140774`: Fix :func:`os.chmod` with ``follow_symlinks=True``, :func:`os.fchmod` and :meth:`pathlib.Path.chmod` on Windows: clearing the read-only attribute…
:gh:`154643`: In ``pyport.h`` and ``pyatomic.h`` don't use ``_Py_STDC_VERSION`` when it is not defined, fixing build errors for C or C++ code built with ``-Wer…

Triggered by sync with 3.15 (commit c2cf72b7).

主要言語
Python
スター
107
フォーク
20
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

python/python-docs-fa のほかの issue

python/python-docs-fa の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。