Skip to content

🔍 Translation review needed after CPython sync (2026-11-21) #143

Open

Description

@github-actions

Summary

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

howto/logging-cookbook.po (7 new fuzzy)

- This configuration does *almost* what we want, except that ``sys.stdout`` would show messages of severity ``ERROR`` and only events of this severity and higher…
+ This configuration does *almost* what we want, except that ``sys.stdout`` would also show messages of severity ``ERROR`` and above. To exclude those messages, …
  msgstr: این پیکربندی *تقریباً* آنچه می‌خواهیم انجام می‌دهد، با این استثنا که ``sys.stdout`` پیام‌هایی با شدت ``ERROR`` را نشان می‌دهد و تنها رویدادهایی با این شدت و با…

- One solution is to use a two-part approach. For the first part, attach only a :class:`QueueHandler` to those loggers which are accessed from performance-critic…
+ One solution is to use a two-part approach. For the first part, attach only a :class:`QueueHandler` to those loggers which are accessed from performance-critic…
  msgstr: یک راه‌حل، استفاده از یک رویکرد دوبخشی است. برای بخش نخست، فقط یک :class:`QueueHandler` را به آن دسته از گزارش‌گیرها که از نخ‌های حساس به عملکرد به آن‌ها دسترس…

- The most current file is always :file:`logging_rotatingfile_example.out`, and each time it reaches the size limit it is renamed with the suffix ``.1``. Each of…
+ The most current file is always :file:`logging_rotatingfile_example.out`, and each time it reaches the size limit it is renamed with the suffix ``.1``. Before …
  msgstr: پرونده جاری همیشه :file:`logging_rotatingfile_example.out` است و هر بار که به محدودیت اندازه برسد، با پسوند ``.1`` تغییر نام داده می‌شود. هر یک از پرونده‌های پ…

- :func:`makeLogRecord`, which is called with a dictionary containing attributes to be added to the LogRecord. This is typically invoked when a suitable dictiona…
+ :func:`makeLogRecord`, which is called with a dictionary containing attributes to be added to the LogRecord. This is typically invoked when a suitable dictiona…
  msgstr: :func:`makeLogRecord`، که با یک دیکشنری حاوی ویژگی‌هایی فراخوانی می‌شود که باید به LogRecord افزوده شوند. این معمولاً زمانی فراخوانی می‌شود که یک دیکشنری مناسب…

- class ZeroMQSocketListener(QueueListener):\n    def __init__(self, uri, /, *handlers, **kwargs):\n        self.ctx = kwargs.get('ctx') or zmq.Context()\n      …
+ class ZeroMQSocketListener(QueueListener):\n    def __init__(self, uri, /, *handlers, ctx=None, **kwargs):\n        self.ctx = ctx or zmq.Context()\n        so…
  msgstr: class ZeroMQSocketListener(QueueListener):\n    def __init__(self, uri, /, *handlers, **kwargs):\n        self.ctx = kwargs.get('ctx') or zmq.Context()\n      …

- import logging\nimport logging.config\nimport logging.handlers\nfrom multiprocessing import Process, Queue, Event, current_process\nimport os\nimport random\ni…
+ import logging\nimport logging.config\nimport logging.handlers\nfrom multiprocessing import Process, Queue, Event, current_process\nfrom multiprocessing import…
  msgstr: import logging\nimport logging.config\nimport logging.handlers\nfrom multiprocessing import Process, Queue, Event, current_process\nimport os\nimport random\ni…

- Usually, messages that are logged (say to console or file) consist of a single line of text. However, sometimes there is a need to handle messages with multipl…
+ Usually, messages that are logged (say to console or file) consist of a single line of text. However, sometimes there is a need to handle messages with multipl…
  msgstr: معمولاً پیام‌هایی که گزارش می‌شوند (مثلاً در کنسول یا پرونده) از یک خط متن تشکیل شده‌اند. با این حال، گاهی نیاز است پیام‌هایی با چند خط مدیریت شوند — خواه به ا…

howto/logging.po (3 new fuzzy)

- :meth:`Logger.debug`, :meth:`Logger.info`, :meth:`Logger.warning`, :meth:`Logger.error`, and :meth:`Logger.critical` all create log records with a message and …
+ :meth:`Logger.debug`, :meth:`Logger.info`, :meth:`Logger.warning`, :meth:`Logger.error`, and :meth:`Logger.critical` all create log records with a message and …
  msgstr: :meth:`Logger.debug`، :meth:`Logger.info`، :meth:`Logger.warning`، :meth:`Logger.error` و :meth:`Logger.critical` همگی رکوردهای گزارش را ایجاد می‌کنند که دارای…

- For formatting multiple messages in a batch, instances of :class:`BufferingFormatter` can be used. In addition to the format string (which is applied to each m…
+ For formatting multiple messages in a batch, instances of :class:`BufferingFormatter` can be used. A line formatter formats each record in the batch. To add a …
  msgstr: برای قالب‌بندی چندین پیام در یک دسته، می‌توان از نمونه‌های :class:`BufferingFormatter` استفاده کرد. علاوه بر رشته‌ی قالب (که به هر پیام در دسته اعمال می‌شود)، …

- In the preceding sections and examples, it has been assumed that the message passed when logging the event is a string. However, this is not the only possibili…
+ In the preceding sections and examples, it has been assumed that the message passed when logging the event is a string. However, this is not the only possibili…
  msgstr: در بخش‌ها و مثال‌های پیشین، فرض بر این بوده است که پیامی که هنگام ثبت رویداد ارسال می‌شود، یک رشته است. با این حال، این تنها حالت ممکن نیست. شما می‌توانید یک ش…

whatsnew/changelog.po (2 new fuzzy)

- :gh:`159620`: Fix ``python -m asyncio ps``, ``pstree`` and async-aware :mod:`profiling.sampling` stacks stopping at asynchronous generators. Patch by Timofei I…
+ :gh:`161502`: Fix missing tasks in ``python -m asyncio pstree`` output when tasks are connected through an intermediate :class:`asyncio.Future`. Patch by Timof…
  msgstr: :gh:`159620`: رفع دستورات ``python -m asyncio ps``، ``pstree`` و پشته‌های :mod:`profiling.sampling` آگاه از ناهمگامی که در تولیدگرهای ناهمگام متوقف می‌شوند. پچ…

- :gh:`158522`: Fix :mod:`profiling.sampling` showing a single frame for a task whose coroutine recurses. Patch by Timofei Ivankov.
+ :gh:`157605`: Fix :mod:`profiling.sampling` failing when a native thread has an empty Python stack.
  msgstr: :gh:`158522`: رفع نمایش یک فریم واحد برای وظیفه‌ای که هم‌روال آن بازگشتی (recursive) است توسط :mod:`profiling.sampling`. وصله توسط Timofei Ivankov.

✏️ New untranslated strings

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

howto/logging-cookbook.po (1 new untranslated)

at module level). It's probably one too many things to think about.

whatsnew/changelog.po (5 new untranslated)

:gh:`152276`: For the :term:`free-threaded build`, avoid an assertion failure when an object becomes immortal while queued for biased reference counting (BRC) …
:gh:`162217`: Fix :exc:`asyncio.InvalidStateError` being logged when the standard input of an :mod:`asyncio` subprocess is closed after a task waiting in :meth…
:gh:`160978`: Fix :mod:`ctypes` handing out distinct array types for the same item type and length when the array type is created concurrently from several thr…
:gh:`161083`: Fix stale task nodes left by :func:`asyncio.gather` when argument validation fails. Patch by Timofei Ivankov
:gh:`155935`: Fix :meth:`!importlib.machinery.FileFinder.discover` looping forever when the underlying directory scan keeps failing with :exc:`OSError`. A fail…

Triggered by sync with 3.15 (commit 7191d30).

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