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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
74/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python

調査の方向性

Review the listed .po files, starting with the five untranslated strings in library/sys.po and the fuzzy entries in builtins/stdtypes.po. Compare each Persian translation with its current English source; update fuzzy translations where the meaning changed and translate strings marked untranslated. Done when all 27 listed strings are reviewed and their translations accurately match the synced source.

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

説明

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

Summary

  • 🔍 14 newly fuzzy strings in 4 files
  • ✏️ 13 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)
- This function supports dynamic execution of Python code. *source* must be either a string or a code object.  If it is a string, the string is parsed as a suite…
+ This function supports dynamic execution of Python code. *source* must be either a string or a code object.  If it is a string, the string is parsed as a suite…
  msgstr: این تابع از اجرای پویای کد پایتون پشتیبانی می‌کند. *source* باید یا یک رشته باشد یا یک شیء کد. اگر رشته باشد، به‌عنوان مجموعه‌ای از دستورهای پایتون تجزیه و سپس…

builtins/stdtypes.po (8 new fuzzy)
- If the asynchronous generator function then exits gracefully, is already closed, or raises :exc:`GeneratorExit` (by not catching the exception), then the retur…
+ If the asynchronous generator function then exits gracefully, is already closed, or raises :exc:`GeneratorExit` (by not catching the exception), then the retur…
  msgstr: اگر تابع تولیدگر ناهمگام در این صورت به زیبایی خارج شود، از قبل بسته شده باشد، یا :exc:`GeneratorExit` را ایجاد کند (با جذب نکردن استثنا)، آنگاه شیء انتظارپذیر…

- Perform a string formatting operation.  The string on which this method is called can contain literal text or replacement fields delimited by braces ``{}``.  E…
+ Perform a string formatting operation.  The string on which this method is called can contain literal text or replacement fields delimited by braces ``{}``.  E…
  msgstr: عملیات قالب‌بندی رشته را انجام می‌دهد. رشته‌ای که این متد روی آن فراخوانی می‌شود می‌تواند شامل متن لفظی یا فیلدهای جایگزینی باشد که با آکولادها ``{}`` محصور شد…

- >>> "The sum of 1 + 2 is {0}".format(1+2)\n'The sum of 1 + 2 is 3'\n>>> "The sum of {a} + {b} is {answer}".format(answer=1+2, a=1, b=2)\n'The sum of 1 + 2 is 3…
+ >>> "The sum of {} + {} is {}".format(1, 2, 1+2)\n'The sum of 1 + 2 is 3'\n>>> "{1} expects the {0} Inquisition!".format("Spanish", "Nobody")\n'Nobody expects …
  msgstr: >>> "The sum of 1 + 2 is {0}".format(1+2)\n'The sum of 1 + 2 is 3'\n>>> "The sum of {a} + {b} is {answer}".format(answer=1+2, a=1, b=2)\n'The sum of 1 + 2 is 3…

- Return a copy of the string with all the cased characters [4]_ converted to uppercase.  Note that ``s.upper().isupper()`` might be ``False`` if ``s`` contains …
+ Return a copy of the string with all the cased characters [4]_ converted to uppercase.  Note that ``s.upper().isupper()`` might be ``False`` if ``s`` contains …
  msgstr: یک کپی از رشته را برمی‌گرداند که در آن تمام نویسه‌های دارای حالت [4]_ به حروف بزرگ تبدیل شده‌اند. توجه داشته باشید که ``s.upper().isupper()`` ممکن است ``False`…

- For floating-point formats, the result should be correctly rounded to a given precision ``p`` of digits after the decimal point.  The rounding mode matches tha…
+ For floating-point formats, the result should be correctly rounded to the specified precision.  The rounding mode matches that of the :func:`round` builtin.
  msgstr: برای قالب‌های ممیز شناور، نتیجه باید به‌درستی تا دقت ``p`` رقم پس از نقطه اعشار گرد شود. حالت گرد کردن مطابق با تابع توکار :func:`round` است.

- :class:`frozendict` and :class:`types.MappingProxyType` can be used to create a read-only view of a :class:`dict`.
+ :class:`types.MappingProxyType` can be used to create a read-only view of a :class:`dict`.  :class:`frozendict` is an immutable version of :class:`dict`.
  msgstr: از :class:`frozendict` و :class:`types.MappingProxyType` می‌توان برای ایجاد یک نمای فقط‌خواندنی از یک :class:`dict` استفاده کرد.

- Similar to :meth:`dict.fromkeys`, but call again the type constructor with an initialized :class:`frozendict` if the type is a :class:`frozendict` subclass or …
+ Similar to :meth:`dict.fromkeys`, but call again the type constructor with an initialized :class:`frozendict` if the type is a :class:`frozendict` subclass.
  msgstr: مشابه :meth:`dict.fromkeys`، اما اگر نوع داده زیرکلاسی از :class:`frozendict` باشد یا سازنده یک :class:`frozendict` برگرداند، سازنده‌ی نوع داده را دوباره با یک…

- The :meth:`!__or__` method for type objects was added to support the syntax ``X | Y``.  If a metaclass implements :meth:`!__or__`, the Union may override it:
+ The :meth:`!__or__` method for type objects was added to support the syntax ``X | Y``.  If a metaclass implements :meth:`!__or__`, it may override the default …
  msgstr: متد :meth:`!__or__` برای اشیای نوع افزوده شد تا از سینتکس ``X | Y`` پشتیبانی کند. اگر یک فراکلاس :meth:`!__or__` را پیاده‌سازی کند، ممکن است Union آن را بازنوی…

c-api/init_config.po (1 new fuzzy)
- If equals to zero, ``Py_RunMain()`` prepends a potentially unsafe path to :data:`sys.path` at startup:
+ If equals to zero, ``Py_RunMain()`` prepends a potentially unsafe :data:`sys._path0` to :data:`sys.path` at startup:
  msgstr: اگر برابر با صفر باشد، ``Py_RunMain()`` هنگام راه‌اندازی یک مسیر بالقوه ناامن را به ابتدای :data:`sys.path` اضافه می‌کند:

using/cmdline.po (4 new fuzzy)
- In isolated mode :data:`sys.path` contains neither the script's directory nor the user's site-packages directory. All ``PYTHON*`` environment variables are ign…
+ In isolated mode, Python does not prepend the potentially unsafe path :data:`sys._path0` to :data:`sys.path`, and ignores all ``PYTHON*`` environment variables…
  msgstr: در حالت ایزوله، :data:`sys.path` نه پوشه‌ی اسکریپت را در بر می‌گیرد و نه پوشه‌ی site-packages کاربر را. همچنین تمام متغیرهای محیطی ``PYTHON*`` نادیده گرفته می‌…

- Don't prepend a potentially unsafe path to :data:`sys.path`:
+ Don't prepend the potentially unsafe path :data:`sys._path0` to :data:`sys.path`.
  msgstr: مسیر بالقوه ناامنی را به ابتدای :data:`sys.path` اضافه نکنید:

- If this is set to a non-empty string, don't prepend a potentially unsafe path to :data:`sys.path`: see the :option:`-P` option for details.
+ If this is set to a non-empty string, don't prepend a potentially unsafe path :data:`sys._path0` to :data:`sys.path`.
  msgstr: اگر این مقدار به یک رشته‌ی غیرخالی تنظیم شده باشد، مسیری که به‌طور بالقوه ناامن است به ابتدای :data:`sys.path` اضافه نمی‌شود: برای جزئیات به گزینه‌ی :option:`-…

- See also the :option:`-X tlbc <-X>` command-line option.
+ See also the :option:`-P` option.
  msgstr: همچنین گزینه‌ی خط فرمان :option:`-X tlbc <-X>` را ببینید.

✏️ New untranslated strings

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

library/sys.po (5 new untranslated)
Path prepended to :data:`sys.path` at Python startup:
Current directory if running a module with ``python -m module`` command line.
Script's directory if running a script with ``python script.py``.
Otherwise an empty string, which means the current working directory, for ``python -c code`` or ``python`` (REPL) command line.
If :option:`-P` or :option:`-I` command line options are used or if :envvar:`PYTHONSAFEPATH` environment variable is used, :data:`sys._path0` is ``None`` and :…
whatsnew/changelog.po (8 new untranslated)
:cve:`2026-115791`, :gh:`161705`: Remove ``sys.path[0]`` in :mod:`gzip`, :mod:`tarfile` and :mod:`zipfile` command line interface to prevent shadowing standard…
:gh:`160267`: Fix a crash when :mod:`profiling.sampling` profiles a process that creates and destroys threads or subinterpreters quickly. Memory of deleted thr…
:gh:`158529`: Fixed crash on Android x86_64, API levels 27-28, caused by mimalloc calling system calls directly.
:gh:`160811`: Fix :meth:`io.TextIOWrapper.tell` reading past the end of the buffer after :meth:`~io.TextIOWrapper.seek`.
:gh:`160334`: Fix the sampling profiler integration test for special frames without file and line information.
:gh:`160924`: Fix cross-compilation failures with ``--enable-shared`` caused by the build Python loading the target's ``libpython`` through the shared-library …
:gh:`159452`: ``Tools/build/regen-configure.sh`` no longer leaves root-owned files in the source tree.
:gh:`161407`: Fix a crash at exit when an audit hook was added with :c:func:`PySys_AddAuditHook` before :c:func:`Py_Initialize` and the raw memory allocator ch…

Triggered by sync with 3.15 (commit 94957a5c).

主要言語
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 を短くまとめたダイジェスト。