Skip to content

Commit b369b74

Browse files
chore: sync msgids with CPython 3.14
1 parent 6a15912 commit b369b74

2 files changed

Lines changed: 27 additions & 19 deletions

File tree

‎builtins/threadsafety.po‎

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version: Python 3.14\n"
1212
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2026-09-19 20:08+0330\n"
13+
"POT-Creation-Date: 2026-09-30 04:09+0000\n"
1414
"PO-Revision-Date: 2026-09-19 20:08+0330\n"
1515
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1616
"Language-Team: none\n"
@@ -416,36 +416,28 @@ msgstr ""
416416
msgid ":meth:`set.update`, :meth:`set.union`, :meth:`set.intersection` and :meth:`set.difference` can take multiple iterables as arguments. They all iterate through all the passed iterables and do the following:"
417417
msgstr ":meth:`set.update`، :meth:`set.union`، :meth:`set.intersection` و :meth:`set.difference` می‌توانند چندین پیمایش‌پذیر را به‌عنوان آرگومان بگیرند. همه‌ی آن‌ها تمام پیمایش‌پذیرهای داده‌شده را پیمایش می‌کنند و کار زیر را انجام می‌دهند:"
418418

419-
msgid ":meth:`set.update` and :meth:`set.union` lock both objects only when"
420-
msgstr ":meth:`set.update` و :meth:`set.union` هر دو شیء را فقط زمانی قفل می‌کنند که"
421-
422-
msgid "the other operand is a :class:`set`, :class:`frozenset`, or :class:`dict`."
419+
#, fuzzy
420+
msgid ":meth:`set.update` and :meth:`set.union` lock both objects only when the other operand is a :class:`set`, :class:`frozenset`, or :class:`dict`."
423421
msgstr "عملوند دیگر یک :class:`set`، :class:`frozenset` یا :class:`dict` است."
424422

425-
msgid ":meth:`set.intersection` and :meth:`set.difference` always try to lock"
423+
#, fuzzy
424+
msgid ":meth:`set.intersection` and :meth:`set.difference` always try to lock all objects."
426425
msgstr ":meth:`set.intersection` و :meth:`set.difference` همیشه سعی می‌کنند قفل کنند"
427426

428-
msgid "all objects."
429-
msgstr "تمام اشیاء."
430-
431427
msgid ":meth:`set.symmetric_difference` tries to lock both objects."
432428
msgstr ":meth:`set.symmetric_difference` تلاش می‌کند هر دو شیء را قفل کند."
433429

434430
msgid "The update variants of the above methods also have some differences between them:"
435431
msgstr "گونه‌های به‌روزرسانی متدهای بالا نیز تفاوت‌هایی با یکدیگر دارند:"
436432

437-
msgid ":meth:`set.difference_update` and :meth:`set.intersection_update` try"
433+
#, fuzzy
434+
msgid ":meth:`set.difference_update` and :meth:`set.intersection_update` try to lock all objects one-by-one."
438435
msgstr ":meth:`set.difference_update` و :meth:`set.intersection_update` تلاش می‌کنند"
439436

440-
msgid "to lock all objects one-by-one."
441-
msgstr "برای قفل کردن همه‌ی اشیاء به‌صورت یکی‌یکی."
442-
443-
msgid ":meth:`set.symmetric_difference_update` only locks the arguments if it is"
437+
#, fuzzy
438+
msgid ":meth:`set.symmetric_difference_update` only locks the arguments if it is of type :class:`set`, :class:`frozenset`, or :class:`dict`."
444439
msgstr ":meth:`set.symmetric_difference_update` آرگومان‌ها را تنها در صورتی قفل می‌کند که"
445440

446-
msgid "of type :class:`set`, :class:`frozenset`, or :class:`dict`."
447-
msgstr "از نوع :class:`set`، :class:`frozenset` یا :class:`dict`."
448-
449441
msgid "The following methods always try to lock both objects:"
450442
msgstr "متدهای زیر همیشه تلاش می‌کنند هر دو شیء را قفل کنند:"
451443

@@ -638,3 +630,15 @@ msgstr ""
638630

639631
msgid "Resizing or reallocating the underlying object (such as calling :meth:`bytearray.resize`) while a memoryview is exported raises :exc:`BufferError`. This is enforced regardless of threading."
640632
msgstr "تغییر اندازه یا تخصیص مجدد شیء زیرین (مانند فراخوانی :meth:`bytearray.resize`) در حالی که یک memoryview اکسپورت شده باشد، :exc:`BufferError` را پرتاب می‌کند. این امر صرف‌نظر از نخ‌بندی اعمال می‌شود."
633+
634+
#~ msgid ":meth:`set.update` and :meth:`set.union` lock both objects only when"
635+
#~ msgstr ":meth:`set.update` و :meth:`set.union` هر دو شیء را فقط زمانی قفل می‌کنند که"
636+
637+
#~ msgid "all objects."
638+
#~ msgstr "تمام اشیاء."
639+
640+
#~ msgid "to lock all objects one-by-one."
641+
#~ msgstr "برای قفل کردن همه‌ی اشیاء به‌صورت یکی‌یکی."
642+
643+
#~ msgid "of type :class:`set`, :class:`frozenset`, or :class:`dict`."
644+
#~ msgstr "از نوع :class:`set`، :class:`frozenset` یا :class:`dict`."

‎c-api/slice.po‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-16 12:56+0000\n"
14+
"POT-Creation-Date: 2026-09-30 04:09+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1616
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1717
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -48,7 +48,8 @@ msgstr "احتمالاً نمی‌خواهید از این تابع استفاد
4848
msgid "The parameter type for the *slice* parameter was ``PySliceObject*`` before."
4949
msgstr "نوع پارامتر *slice* قبلاً ``PySliceObject*`` بود."
5050

51-
msgid "Usable replacement for :c:func:`PySlice_GetIndices`. Retrieve the start, stop, and step indices from the slice object *slice* assuming a sequence of length *length*, and store the length of the slice in *slicelength*. Out of bounds indices are clipped in a manner consistent with the handling of normal slices."
51+
#, fuzzy
52+
msgid "Usable replacement for :c:func:`PySlice_GetIndices`. Retrieve the start, stop, and step indices from the slice object *slice* assuming a sequence of length *length*, and store the length of the slice in *slicelength*. Out of bounds indices are clipped in a manner consistent with the handling of normal slices. *length* must not be negative."
5253
msgstr "جایگزین قابل استفاده برای :c:func:`PySlice_GetIndices`. اندیس‌های شروع، توقف و گام را از شیء اسلایس *slice* با فرض دنباله‌ای به طول *length* بازیابی می‌کند و طول اسلایس را در *slicelength* ذخیره می‌کند. اندیس‌های خارج از محدوده به شکلی سازگار با نحوه‌ی برخورد با اسلایس‌های معمولی محدود می‌شوند."
5354

5455
msgid "Return ``0`` on success and ``-1`` on error with an exception set."
@@ -95,6 +96,9 @@ msgstr "در صورت خطا ``-1`` به همراه استثنای تنظیم‌
9596
msgid "Adjust start/end slice indices assuming a sequence of the specified length. Out of bounds indices are clipped in a manner consistent with the handling of normal slices."
9697
msgstr "اندیس‌های شروع/پایان اسلایس را با فرض دنباله‌ای به طول مشخص‌شده تنظیم می‌کند. اندیس‌های خارج از محدوده به شکلی سازگار با نحوه‌ی برخورد با اسلایس‌های معمولی محدود می‌شوند."
9798

99+
msgid "*length* must not be negative. *step* must not be zero and must not be less than ``-PY_SSIZE_T_MAX``, as guaranteed by :c:func:`PySlice_Unpack`."
100+
msgstr ""
101+
98102
msgid "Return the length of the slice. Always successful. Doesn't call Python code."
99103
msgstr "طول اسلایس را برمی‌گرداند. همیشه موفق است. کد پایتون را فراخوانی نمی‌کند."
100104

0 commit comments

Comments
 (0)