Skip to content

Commit 04bf951

Browse files
chore: sync msgids with CPython 3.15
1 parent 5b6e7fd commit 04bf951

10 files changed

Lines changed: 363 additions & 109 deletions

File tree

‎builtins/functions.po‎

Lines changed: 8 additions & 8 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-10-01 14:41+0330\n"
14+
"POT-Creation-Date: 2026-10-10 04:18+0000\n"
1515
"PO-Revision-Date: 2026-09-24 07:55+0330\n"
1616
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1717
"Language-Team: none\n"
@@ -494,8 +494,8 @@ msgstr "آرگومان *optimize* سطح بهینه‌سازی کامپایلر
494494
msgid "The optional argument *module* specifies the module name. It is needed to unambiguous :ref:`filter <warning-filter>` syntax warnings by module name."
495495
msgstr "آرگومان اختیاری *module* نام ماژول را مشخص می‌کند. این آرگومان برای رفع ابهام در هشدار‌های نحو (نحو :ref:`filter <warning-filter>`) بر اساس نام ماژول مورد نیاز است."
496496

497-
msgid "This function raises :exc:`SyntaxError` or :exc:`ValueError` if the compiled source is invalid."
498-
msgstr "اگر کد منبع کامپایل‌شده نامعتبر باشد، این تابع استثنای :exc:`SyntaxError` یا :exc:`ValueError` پرتاب می‌کند."
497+
msgid "This function raises :exc:`SyntaxError` if the compiled source is invalid, including a *source* containing a null character or that cannot be decoded; :exc:`ValueError` if *mode* or *flags* is invalid, or if a string *source* contains surrogate characters; :exc:`MemoryError` or :exc:`RecursionError` if *source* is too complex to parse or compile, for example an expression with many thousands of nested operators; and :exc:`OverflowError` if *source* is too large."
498+
msgstr "این تابع :exc:`SyntaxError` را پرتاب میکند اگر منبعِ کامپایل‌شده نامعتبر باشد، از جمله یک *source* که حاوی نویسه‌ی null است یا که قابل رمزگشایی نیست؛ :exc:`ValueError` اگر *حالت* یا *پرچم‌ها* نامعتبر باشند، یا اگر یک رشته *source* حاوی نویسه‌های جایگزین باشد؛ :exc:`MemoryError` یا :exc:`RecursionError` اگر *source* برای تجزیه یا کامپایل بیش از حد پیچیده باشد، برای مثال یک عبارت با هزاران عملگر تو در تو؛ و :exc:`OverflowError` اگر *source* بیش از حد بزرگ باشد."
499499

500500
msgid "If you want to parse Python code into its AST representation, see :func:`ast.parse`."
501501
msgstr "اگر می‌خواهید کد پایتون را به نمایش AST آن تجزیه کنید، به :func:`ast.parse` مراجعه کنید."
@@ -518,6 +518,9 @@ msgstr "پیش از این، هنگام برخورد با بایت‌های ته
518518
msgid "``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable support for top-level ``await``, ``async for``, and ``async with``."
519519
msgstr "اکنون می‌توان ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` را در پرچم‌ها ارسال کرد تا از ``await``، ``async for`` و ``async with`` در سطح بالای کد (top-level) پشتیبانی شود."
520520

521+
msgid ":exc:`SyntaxError` is raised instead of :exc:`ValueError` when null bytes are encountered in *source*."
522+
msgstr "هنگامی که بایت‌های تهی در *source* یافت شوند، :exc:`SyntaxError` به‌جای :exc:`ValueError` پرتاب می‌شود."
523+
521524
msgid "Added the *module* parameter."
522525
msgstr "پارامتر *module* اضافه شد."
523526

@@ -1986,11 +1989,8 @@ msgstr "ایمپورت"
19861989
msgid "builtins"
19871990
msgstr "توکارها"
19881991

1989-
#~ msgid "This function raises :exc:`SyntaxError` if the compiled source is invalid, including a *source* containing a null character or that cannot be decoded; :exc:`ValueError` if *mode* or *flags* is invalid, or if a string *source* contains surrogate characters; :exc:`MemoryError` or :exc:`RecursionError` if *source* is too complex to parse or compile, for example an expression with many thousands of nested operators; and :exc:`OverflowError` if *source* is too large."
1990-
#~ msgstr "این تابع :exc:`SyntaxError` را پرتاب میکند اگر منبعِ کامپایل‌شده نامعتبر باشد، از جمله یک *source* که حاوی نویسه‌ی null است یا که قابل رمزگشایی نیست؛ :exc:`ValueError` اگر *حالت* یا *پرچم‌ها* نامعتبر باشند، یا اگر یک رشته *source* حاوی نویسه‌های جایگزین باشد؛ :exc:`MemoryError` یا :exc:`RecursionError` اگر *source* برای تجزیه یا کامپایل بیش از حد پیچیده باشد، برای مثال یک عبارت با هزاران عملگر تو در تو؛ و :exc:`OverflowError` اگر *source* بیش از حد بزرگ باشد."
1991-
1992-
#~ msgid ":exc:`SyntaxError` is raised instead of :exc:`ValueError` when null bytes are encountered in *source*."
1993-
#~ msgstr "هنگامی که بایت‌های تهی در *source* یافت شوند، :exc:`SyntaxError` به‌جای :exc:`ValueError` پرتاب می‌شود."
1992+
#~ msgid "This function raises :exc:`SyntaxError` or :exc:`ValueError` if the compiled source is invalid."
1993+
#~ msgstr "اگر کد منبع کامپایل‌شده نامعتبر باشد، این تابع استثنای :exc:`SyntaxError` یا :exc:`ValueError` پرتاب می‌کند."
19941994

19951995
#~ msgid "``'strict'`` to raise a :exc:`ValueError` exception if there is an encoding error. The default value of ``None`` has the same effect."
19961996
#~ msgstr "``'strict'`` در صورت بروز خطای کدگذاری، استثنای :exc:`ValueError` پرتاب می‌کند. مقدار پیش‌فرض ``None`` نیز همین رفتار را دارد."

‎c-api/slice.po‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.14\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2026-10-01 14:41+0330\n"
16+
"POT-Creation-Date: 2026-10-10 04:18+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1818
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1919
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -50,7 +50,9 @@ msgstr "احتمالاً نمی‌خواهید از این تابع استفاد
5050
msgid "The parameter type for the *slice* parameter was ``PySliceObject*`` before."
5151
msgstr "نوع پارامتر *slice* قبلاً ``PySliceObject*`` بود."
5252

53-
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."
53+
#, fuzzy
54+
#| 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."
55+
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."
5456
msgstr "جایگزین قابل استفاده برای :c:func:`PySlice_GetIndices`. شاخص‌های شروع، پایان و گام را از شیء اسلایس *slice* با فرض یک دنباله با طول *length* بازیابی کنید، و طول اسلایس را در *slicelength* ذخیره کنید. شاخص‌های خارج از کران به روشی سازگار با مدیریت اسلایس‌های عادی برش داده می‌شوند."
5557

5658
msgid "Return ``0`` on success and ``-1`` on error with an exception set."
@@ -97,6 +99,9 @@ msgstr "در صورت خطا ``-1`` به همراه استثنای تنظیم‌
9799
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."
98100
msgstr "اندیس‌های شروع/پایان اسلایس را با فرض دنباله‌ای به طول مشخص‌شده تنظیم می‌کند. اندیس‌های خارج از محدوده به شکلی سازگار با نحوه‌ی برخورد با اسلایس‌های معمولی محدود می‌شوند."
99101

102+
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`."
103+
msgstr "*length* نباید منفی باشد. *step* نباید صفر باشد و نباید کمتر از ``-PY_SSIZE_T_MAX`` باشد؛ این موضوع توسط :c:func:`PySlice_Unpack` تضمین شده است."
104+
100105
msgid "Return the length of the slice. Always successful. Doesn't call Python code."
101106
msgstr "طول اسلایس را برمی‌گرداند. همیشه موفق است. کد پایتون را فراخوانی نمی‌کند."
102107

@@ -111,6 +116,3 @@ msgstr "شیء ``Ellipsis`` پایتون. این شیء هیچ متدی ندار
111116

112117
msgid ":c:data:`Py_Ellipsis` is immortal."
113118
msgstr ":c:data:`Py_Ellipsis` نامیرا است."
114-
115-
#~ 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`."
116-
#~ msgstr "*length* نباید منفی باشد. *step* نباید صفر باشد و نباید کمتر از ``-PY_SSIZE_T_MAX`` باشد؛ این موضوع توسط :c:func:`PySlice_Unpack` تضمین شده است."

‎library/code.po‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-01 14:41+0330\n"
15+
"POT-Creation-Date: 2026-10-10 04:18+0000\n"
1616
"PO-Revision-Date: 2026-09-24 07:53+0330\n"
1717
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1818
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -65,7 +65,9 @@ msgstr "اشیای مفسر تعاملی"
6565
msgid "Compile and run some source in the interpreter. Arguments are the same as for :func:`compile_command`; the default for *filename* is ``'<input>'``, and for *symbol* is ``'single'``. One of several things can happen:"
6666
msgstr "مقداری کد منبع را در مفسر کامپایل و اجرا می‌کند. آرگومان‌ها همان آرگومان‌های :func:`compile_command` هستند؛ پیش‌فرض برای *filename* برابر ``'<input>'`` و برای *symbol* برابر ``'single'`` است. یکی از چند حالت ممکن است رخ دهد:"
6767

68-
msgid "The input is incorrect; :func:`compile_command` raised an exception (:exc:`SyntaxError` or :exc:`OverflowError`). A syntax traceback will be printed by calling the :meth:`showsyntaxerror` method. :meth:`runsource` returns ``False``."
68+
#, fuzzy
69+
#| msgid "The input is incorrect; :func:`compile_command` raised an exception (:exc:`SyntaxError` or :exc:`OverflowError`). A syntax traceback will be printed by calling the :meth:`showsyntaxerror` method. :meth:`runsource` returns ``False``."
70+
msgid "The input is incorrect; :func:`compile_command` raised an exception (usually :exc:`SyntaxError`). A syntax traceback will be printed by calling the :meth:`showsyntaxerror` method. :meth:`runsource` returns ``False``."
6971
msgstr "ورودی نادرست است؛ :func:`compile_command` یک استثنا (:exc:`SyntaxError` یا :exc:`OverflowError`) را بالا آورد. یک ردگیری نحوی با فراخوانی متد :meth:`showsyntaxerror` چاپ خواهد شد. :meth:`runsource` مقدار ``False`` را برمی‌گرداند."
7072

7173
msgid "The input is incomplete, and more input is required; :func:`compile_command` returned ``None``. :meth:`runsource` returns ``True``."

0 commit comments

Comments
 (0)