Skip to content

🔍 Translation review needed after CPython sync (2026-10-17) #104

Closed

Description

@github-actions

Summary

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

c-api/bytes.po (2 new fuzzy)

- The API is **not thread safe**: a writer should only be used by a single thread at the same time.
+ The API is **not thread safe**. To share a writer with multiple threads, a critical section or a lock is needed.
  msgstr: این API **ایمن در برابر نخ (thread-safe) نیست**: یک نویسنده باید در هر لحظه تنها توسط یک نخ استفاده شود.

- *size* can be negative to shrink the writer.
+ *grow* can be negative to shrink the writer.
  msgstr: برای کوچک کردن نویسنده، *size* می‌تواند منفی باشد.

c-api/unicode.po (2 new fuzzy)

- Read a code point from a canonical representation *data* (as obtained with :c:func:`PyUnicode_DATA`).  No checks or ready calls are performed.
+ Read a code point from a canonical representation *data* (as obtained with :c:func:`PyUnicode_DATA`).  No checks are performed.
  msgstr: یک نقطه‌کد را از نمایش کانونیکال *data* (که با :c:func:`PyUnicode_DATA` به دست آمده است) می‌خواند.  هیچ بررسی یا فراخوانی ready انجام نمی‌شود.

- Writer the UCS4 string *str* into *writer*.
+ Write the UCS4 string *str* into *writer*.
  msgstr: رشته UCS4 *str* را در *writer* می‌نویسد.

library/test.po (2 new fuzzy)

- The :mod:`!test` package can be run as a script to drive Python's regression test suite, thanks to the :option:`-m` option: :program:`python -m test`. Under th…
+ The :mod:`!test` package can be run as a script to drive Python's regression test suite, thanks to the :option:`-m` option: :program:`python -m test`. Under th…
  msgstr: بسته‌ی :mod:`!test` را می‌توان به‌کمک گزینه‌ی :option:`-m` به‌صورت یک اسکریپت برای اجرای بدنه‌ی آزمون‌های رگرسیون پایتون اجرا کرد: :program:`python -m test`. د…

- Use this at the end of ``test_main`` whenever sub-processes are started. This will help ensure that no extra children (zombies) stick around to hog resources a…
+ Call this from :meth:`~unittest.TestCase.setUp`, :meth:`~unittest.TestCase.tearDown`, or ``tearDownModule()`` in tests that start subprocesses. This will help …
  msgstr: هر زمان که زیرفرایندها آغاز می‌شوند، از این در پایان ``test_main`` استفاده کنید. این کار کمک می‌کند تا اطمینان حاصل شود که هیچ‌کدام از فرزندان اضافی (زامبی‌ها)…

library/tkinter.po (16 new fuzzy)

- Many widget options documented in the reference accept values of a small number of common types, described here.
+ Many widget options documented in the reference accept values of a small number of common types, described here. The standard options and their types are descr…
  msgstr: بسیاری از گزینه‌های ابزارک که در مرجع مستند شده‌اند، مقادیری از تعداد اندکی از انواع رایج را می‌پذیرند که در اینجا توضیح داده شده‌اند.

- There are ten built-in, named bitmaps: ``'error'``, ``'gray12'``, ``'gray25'``, ``'gray50'``, ``'gray75'``, ``'hourglass'``, ``'info'``, ``'questhead'``, ``'qu…
+ There are ten built-in, named bitmaps: ``'error'``, ``'gray12'``, ``'gray25'``, ``'gray50'``, ``'gray75'``, ``'hourglass'``, ``'info'``, ``'questhead'``, ``'qu…
  msgstr: ده بیت‌مپ توکار نام‌دار وجود دارد: ``'error'``، ``'gray12'``، ``'gray25'``، ``'gray50'``، ``'gray75'``، ``'hourglass'``، ``'info'``، ``'questhead'``، ``'questi…

- This is any Python function that takes no arguments.  For example::
+ This is any callable object. Most callbacks take no arguments.  For example::
  msgstr: این هر تابع پایتونی است که هیچ آرگومانی نمی‌گیرد.  برای مثال::

- *compound*
+ compound
  msgstr: *compound*

- Tk uses a font description such as ``{courier 10 bold}``; in :mod:`!tkinter` this is most naturally passed as a tuple of ``(family, size, *styles)`` (or as the…
+ Tk uses a font description such as ``{courier 10 bold}``; in :mod:`!tkinter` this is most naturally passed as a tuple of ``(family, size, *styles)`` (or as the…
  msgstr: Tk از یک توصیف قلم مانند ``{courier 10 bold}`` استفاده می‌کند؛ در :mod:`!tkinter` این مورد به‌طور طبیعی به‌صورت تاپلی از ``(family, size, *styles)`` (یا به‌صور…

- Legal values are the strings: ``"left"``, ``"center"``, and ``"right"``.
+ Legal values are ``"horizontal"`` and ``"vertical"``.
  msgstr: مقادیر مجاز، رشته‌های زیر هستند: ``"left"``، ``"center"`` و ``"right"``.

- This is a string with four space-delimited elements, each of which is a legal distance (see above).  For example: ``"2 3 4 5"`` and ``"3i 2i 4.5i 2i"`` and ``"…
+ Used for the *scrollregion* option of :class:`Canvas`. This is a string with four space-delimited elements, each of which is a legal distance (see above), or a…
  msgstr: این یک رشته با چهار عنصر جداشده با فاصله است که هر کدام یک فاصله‌ی معتبر است (بالا را ببینید). برای مثال: ``"2 3 4 5"`` و ``"3i 2i 4.5i 2i"`` و ``"3c 2c 4c 10.…

- Interpret the string *s* as a Tcl boolean and return the corresponding :class:`bool`. Tcl accepts values such as ``'1'``, ``'0'``, ``'yes'``, ``'no'``, ``'true…
+ Interpret the string *s* as a Tcl boolean and return the corresponding :class:`bool`. Tcl accepts values such as ``'1'``, ``'0'``, ``'yes'``, ``'no'``, ``'true…
  msgstr: رشته *s* را به‌عنوان یک بولی Tcl تفسیر می‌کند و :class:`bool` متناظر را برمی‌گرداند. Tcl مقادیری مانند ``'1'``، ``'0'``، ``'yes'``، ``'no'``، ``'true'`` و ``'f…

- Return the geometry of the widget, in the form ``widthxheight+x+y``. All dimensions are in pixels. An offset can be negative; see :meth:`~Wm.geometry`.
+ Return the geometry of the widget, in the form ``widthxheight+x+y``. All dimensions are in pixels. The position is relative to the parent widget; use :meth:`wi…
  msgstr: هندسه‌ی ابزارک را به‌صورت ``widthxheight+x+y`` برمی‌گرداند. تمام ابعاد بر حسب پیکسل هستند. یک آفست می‌تواند منفی باشد؛ به :meth:`~Wm.geometry` مراجعه کنید.

- Shift the view left or right by *number* units. *what* is either ``'units'`` or ``'pages'``; a negative *number* scrolls left and a positive one scrolls right.
+ Shift the view left or right by *number* units. *what* is either ``'units'`` or ``'pages'``; a negative *number* scrolls left and a positive one scrolls right.…
  msgstr: نما را به اندازه‌ی *number* واحد به چپ یا راست جابه‌جا کنید. *what* می‌تواند ``'units'`` یا ``'pages'`` باشد؛ *number* منفی باعث پیمایش به چپ و *number* مثبت ب…

  … and 6 more

using/windows.po (2 new fuzzy)

- Passing ``--update`` will replace existing installs if the new version is newer. Otherwise, they will be left. If no tags are provided with ``--update``, all i…
+ Passing ``--update`` will replace existing installs if the new version is newer. Otherwise, they will be left. If no tags are provided with ``--update``, all i…
  msgstr: با ارسال ``--update``، در صورتی که نسخه جدید جدیدتر باشد، نصب‌های موجود جایگزین می‌شوند. در غیر این صورت، دست‌نخورده باقی می‌مانند. اگر هیچ برچسبی همراه ``--up…

- A global configuration file may be configured by an administrator, and would be read first. The user configuration file is stored at :file:`%AppData%\\Python\\…
+ A global configuration file may be configured by an :ref:`administrator <pymanager-admin-config>` and would be read first. The user configuration file is store…
  msgstr: ممکن است یک پرونده پیکربندی سراسری توسط مدیر سیستم پیکربندی شود و ابتدا خوانده می‌شود. پرونده پیکربندی کاربر در :file:`%AppData%\\Python\\pymanager.json` ذخیره…

whatsnew/changelog.po (4 new fuzzy)

- :gh:`100256`: :mod:`mimetypes` no longer fails when it encounters an inaccessible registry key.
+ :gh:`159428`: :mod:`mimetypes` no longer reads the files listed in :data:`mimetypes.knownfiles` by default on Windows, and uses only the registry.
  msgstr: :gh:`100256`: ماژول :mod:`mimetypes` هنگامی که به یک کلید رجیستری غیرقابل‌دسترس برخورد می‌کند، دیگر دچار خطا نمی‌شود.

- :gh:`153881`: Fix potential data race when calling :meth:`~object.__getstate__` under the :term:`free-threaded build`.
+ :gh:`154523`: Fixed data-race when calling :meth:`io.TextIOBase.detach` in :term:`free-threaded build`.
  msgstr: :gh:`153881`: رفع رقابت (race) احتمالی داده‌ها هنگام فراخوانی :meth:`~object.__getstate__` تحت :term:`ساخت نخ‌آزاد <free-threaded build>`.

- :gh:`156939`: Fix :c:func:`PyBytesWriter_Format` error handling: restore the writer to its previous state on error. Patch by Victor Stinner.
+ :gh:`158451`: Fix :c:func:`!_PyUnicodeWriter_WriteLatin1String` when the writer buffer kind is UCS-2 or UCS-4. Patch by Victor Stinner.
  msgstr: :gh:`156939`: رفع نحوه‌ی مدیریت خطای تابع :c:func:`PyBytesWriter_Format`: بازگرداندن نویسنده (writer) به وضعیت قبلی خود در صورت بروز خطا. وصله توسط Victor Stin…

- These functions were undocumented and excluded from the limited C API. Patch by Victor Stinner.
+ :gh:`142217`: Add tests on the undocumented and deprecated ``_Py_Identifier`` C API. Patch by Victor Stinner.
  msgstr: این توابع مستندنشده بودند و از API محدود C کنار گذاشته شدند. بسته‌ی اصلاحی (Patch) توسط Victor Stinner.

✏️ New untranslated strings

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

c-api/unicode.po (7 new untranslated)

The internal buffer always includes an extra trailing null character for compatibility with null terminated C strings. This extra character is not counted in :…
Accept reading the trailing null character at index :c:func:`PyUnicode_GetLength`.
All characters must be in range [U+0000; U+10ffff]. If *kind* is :c:macro:`PyUnicode_4BYTE_KIND` and the string contains invalid characters, the behavior is un…
The length does not count the trailing null character.
Do not accept reading the trailing null character at index :c:func:`PyUnicode_GetLength`.
The API is **not thread safe**. To share a writer with multiple threads, a critical section or a lock is needed.
All characters must be in range [U+0000; U+10ffff]. If the string contains invalid characters, the behavior is undefined.

library/tkinter.po (10 new untranslated)

Legal values are points of the compass: ``"n"``, ``"ne"``, ``"e"``, ``"se"``, ``"s"``, ``"sw"``, ``"w"``, ``"nw"``, and also ``"center"``. The *labelanchor* op…
You can pass the integers 0 or 1, ``True`` or ``False``, or the strings ``"0"``, ``"1"``, ``"yes"``, ``"no"``, ``"true"``, ``"false"``, ``"on"`` or ``"off"``. …
Some options call it with arguments, such as the *command* option of :class:`Scale`, which is called with the new value.
Colors can be given as symbolic names, such as ``"red"`` or ``"light blue"``, or as strings representing RGB values in 4 bit: ``"#RGB"``, 8 bit: ``"#RRGGBB"``,…
Determines how to combine an image and a text displayed in a widget. Legal values are ``"none"`` (display the image if there is one, otherwise the text), ``"te…
orient
padding
This is a legal distance (see above), applied on all sides, or a sequence of up to four distances specifying the left, top, right and bottom padding. If fewer …
Legal values are ``"normal"``, ``"disabled"`` and, depending on the widget, also ``"active"``, ``"hidden"`` (for :class:`Canvas` items) or ``"readonly"`` (for …
Must be one of ``"none"``, ``"char"`` or ``"word"`` for the :class:`Text` widget and its tags; for a tag an empty string means to use the widget's value.

whatsnew/changelog.po (5 new untranslated)

:gh:`159430`: Report the correct exception if looking up :meth:`~object.__bytes__` raises an exception while performing %-formatting of :class:`bytes`.
:gh:`159430`: Report the correct exception if looking up ``__name__`` raises an exception when calling :func:`repr` on a :class:`weakref.ref`.
:gh:`157364`: Fix a use-after-free in :class:`io.TextIOWrapper` when a call to the underlying buffer reentrantly detaches it. Patched by Shamil Abdulaev.
:gh:`143008`: Fix crash in :class:`io.TextIOWrapper` when reentrant :meth:`io.TextIOBase.detach` is called reentrantly from the underlying buffer.
:gh:`157906`: Fix an incorrect architecture macro check that prevented CPU prefetching in the free-threaded garbage collector on 32-bit Windows builds.

Triggered by sync with 3.15 (commit 828c46f).

Activity

  1. added
    تغییرات خودکار در ترجمه‌ها
    on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions