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

Ouverte
#136 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
50/100
Type d'issue
Documentation
Clarté
Plutôt claire
Activité
Active
Stack technique
python
Domaine
documentation

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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).

Langage dominant
Python
Étoiles
107
Forks
20
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de python/python-docs-fa

Toutes les issues de python/python-docs-fa

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.