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

Ouverte
#128 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
68/100
Type d'issue
Documentation
Clarté
Clairement spécifiée
Activité
Active
Stack technique
python

Piste de recherche

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.

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

Description

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

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

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.