FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: sync msgids with CPython 3.15 · python/python-docs-fa@d7188df · GitHub

Repository navigation

Commit d7188df

Browse files
chore: sync msgids with CPython 3.15
1 parent 06e0451 commit d7188df

14 files changed

Lines changed: 457 additions & 90 deletions

File tree

‎builtins/functions.po‎

Lines changed: 7 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-10-10 04:18+0000\n"
14+
"POT-Creation-Date: 2026-10-24 04:15+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"
@@ -479,7 +479,9 @@ msgstr "*source* را به یک شیء کد یا AST کامپایل می‌کن
479479
msgid "The *filename* argument should give the file from which the code was read; pass some recognizable value if it wasn't read from a file (``'<string>'`` is commonly used)."
480480
msgstr "آرگومان *filename* باید نام پرونده‌ای را مشخص کند که کد از آن خوانده شده است؛ اگر کد از پرونده خوانده نشده، مقدار قابل تشخیصی را ارسال کنید (معمولاً از ``'<string>'`` استفاده می‌شود)."
481481

482-
msgid "The *mode* argument specifies what kind of code must be compiled; it can be ``'exec'`` if *source* consists of a sequence of statements, ``'eval'`` if it consists of a single expression, or ``'single'`` if it consists of a single interactive statement (in the latter case, expression statements that evaluate to something other than ``None`` will be printed)."
482+
#, fuzzy
483+
#| msgid "The *mode* argument specifies what kind of code must be compiled; it can be ``'exec'`` if *source* consists of a sequence of statements, ``'eval'`` if it consists of a single expression, or ``'single'`` if it consists of a single interactive statement (in the latter case, expression statements that evaluate to something other than ``None`` will be printed)."
484+
msgid "The *mode* argument specifies what kind of code must be compiled; it can be ``'exec'`` if *source* consists of a sequence of statements, ``'eval'`` if it consists of a single expression, or ``'single'`` if it consists of a single interactive statement (in the latter case, expression statements that evaluate to something other than ``None`` will be printed). It can also be ``'func_type'`` if *source* consists of a function type signature, for example ``(int) -> str``; see :func:`ast.parse` for more information. This mode requires passing :data:`ast.PyCF_ONLY_AST` in *flags*."
483485
msgstr "آرگومان *mode* مشخص می‌کند که چه نوع کدی باید کامپایل شود؛ اگر *source* شامل دنباله‌ای از دستورها باشد، می‌تواند ``'exec'`` باشد؛ اگر شامل تنها یک عبارت باشد، ``'eval'``؛ و اگر شامل تنها یک دستور تعاملی باشد، ``'single'`` (در حالت آخر، اگر عبارت مقداری غیر از ``None`` تولید کند، آن مقدار چاپ خواهد شد)."
484486

485487
msgid "The optional arguments *flags* and *dont_inherit* control which :ref:`compiler options <ast-compiler-flags>` should be activated and which :ref:`future features <future>` should be allowed. If neither is present (or both are zero) the code is compiled with the same flags that affect the code that is calling :func:`compile`. If the *flags* argument is given and *dont_inherit* is not (or is zero) then the compiler options and the future statements specified by the *flags* argument are used in addition to those that would be used anyway. If *dont_inherit* is a non-zero integer then the *flags* argument is it -- the flags (future features and compiler options) in the surrounding code are ignored."
@@ -518,6 +520,9 @@ msgstr "پیش از این، هنگام برخورد با بایت‌های ته
518520
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``."
519521
msgstr "اکنون می‌توان ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` را در پرچم‌ها ارسال کرد تا از ``await``، ``async for`` و ``async with`` در سطح بالای کد (top-level) پشتیبانی شود."
520522

523+
msgid "Added support for ``mode='func_type'``."
524+
msgstr ""
525+
521526
msgid ":exc:`SyntaxError` is raised instead of :exc:`ValueError` when null bytes are encountered in *source*."
522527
msgstr "هنگامی که بایت‌های تهی در *source* یافت شوند، :exc:`SyntaxError` به‌جای :exc:`ValueError` پرتاب می‌شود."
523528

‎c-api/code.po‎

Lines changed: 11 additions & 4 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-22 04:16+0000\n"
16+
"POT-Creation-Date: 2026-10-24 04:15+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1818
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1919
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -77,11 +77,15 @@ msgstr "به ``PyUnstable_Code_NewWithPosOnlyArgs`` تغییر نام یافت.
7777
msgid "Return a new empty code object with the specified filename, function name, and first line number. The resulting code object will raise an ``Exception`` if executed."
7878
msgstr "یک شیء کد خالی جدید با نام پرونده، نام تابع و شماره سطر اول مشخص‌شده برمی‌گرداند. شیء کد حاصل در صورت اجرا یک ``Exception`` پرتاب می‌کند."
7979

80-
msgid "Return the line number of the instruction that occurs on or before ``byte_offset`` and ends after it. If you just need the line number of a frame, use :c:func:`PyFrame_GetLineNumber` instead."
80+
#, fuzzy
81+
#| msgid "Return the line number of the instruction that occurs on or before ``byte_offset`` and ends after it. If you just need the line number of a frame, use :c:func:`PyFrame_GetLineNumber` instead."
82+
msgid "Return the line number of the instruction that occurs on or before ``byte_offset`` and ends after it. This may be ``O(N)`` in the number of instructions in the code object, so it is not performant for iterating over all the line numbers in a code object."
8183
msgstr "شماره سطر دستوری را برمی‌گرداند که در ``byte_offset`` یا پیش از آن قرار دارد و پس از آن پایان می‌یابد. اگر فقط به شماره سطر یک فریم نیاز دارید، به‌جای آن از :c:func:`PyFrame_GetLineNumber` استفاده کنید."
8284

83-
msgid "For efficiently iterating over the line numbers in a code object, use :pep:`the API described in PEP 626 <0626#out-of-process-debuggers-and-profilers>`."
84-
msgstr "برای پیمایش کارآمد شماره سطرهای یک شیء کد، از :pep:`API توصیف‌شده در PEP 626 <0626#out-of-process-debuggers-and-profilers>` استفاده کنید."
85+
#, fuzzy
86+
#| msgid "Return the line number of the instruction that occurs on or before ``byte_offset`` and ends after it. If you just need the line number of a frame, use :c:func:`PyFrame_GetLineNumber` instead."
87+
msgid "If you just need the line number of a frame, use :c:func:`PyFrame_GetLineNumber` instead."
88+
msgstr "شماره سطر دستوری را برمی‌گرداند که در ``byte_offset`` یا پیش از آن قرار دارد و پس از آن پایان می‌یابد. اگر فقط به شماره سطر یک فریم نیاز دارید، به‌جای آن از :c:func:`PyFrame_GetLineNumber` استفاده کنید."
8589

8690
msgid "Sets the passed ``int`` pointers to the source code line and column numbers for the instruction at ``byte_offset``. Sets the value to ``0`` when information is not available for any particular element."
8791
msgstr "اشاره‌گرهای ``int`` ارسال‌شده را برابر شماره سطر و ستون کد منبع برای دستورالعمل در ``byte_offset`` قرار می‌دهد. وقتی اطلاعات برای هیچ عنصر خاصی در دسترس نباشد، مقدار را ``0`` قرار می‌دهد."
@@ -271,3 +275,6 @@ msgstr "شیء کد"
271275

272276
msgid "PyCode_New (C function)"
273277
msgstr "PyCode_New (تابع C)"
278+
279+
#~ msgid "For efficiently iterating over the line numbers in a code object, use :pep:`the API described in PEP 626 <0626#out-of-process-debuggers-and-profilers>`."
280+
#~ msgstr "برای پیمایش کارآمد شماره سطرهای یک شیء کد، از :pep:`API توصیف‌شده در PEP 626 <0626#out-of-process-debuggers-and-profilers>` استفاده کنید."

‎c-api/exceptions.po‎

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.14\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2026-10-22 04:16+0000\n"
17+
"POT-Creation-Date: 2026-10-24 04:15+0000\n"
1818
"PO-Revision-Date: 2026-09-15 13:22+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -619,15 +619,24 @@ msgstr "برای کامل بودن، همه متغیرها این‌جا آمد
619619
msgid "Exception types"
620620
msgstr "نوع‌های استثنا"
621621

622+
msgid "These pointers are part of the :ref:`Stable ABI <stable>` since the version in the *S.ABI* column (or since 3.2 when *S.ABI* is empty). Exceptions marked N/A are *not* part of the Stable ABI."
623+
msgstr ""
624+
622625
msgid "C name"
623626
msgstr "نام C"
624627

628+
msgid "S.ABI"
629+
msgstr ""
630+
625631
msgid "Python name"
626632
msgstr "نام پایتونی"
627633

628634
msgid ":exc:`BaseException`"
629635
msgstr ":exc:`BaseException`"
630636

637+
msgid "3.11"
638+
msgstr ""
639+
631640
msgid ":exc:`BaseExceptionGroup`"
632641
msgstr ":exc:`BaseExceptionGroup`"
633642

@@ -643,6 +652,9 @@ msgstr ":exc:`AssertionError`"
643652
msgid ":exc:`AttributeError`"
644653
msgstr ":exc:`AttributeError`"
645654

655+
msgid "3.7"
656+
msgstr ""
657+
646658
msgid ":exc:`BlockingIOError`"
647659
msgstr ":exc:`BlockingIOError`"
648660

@@ -682,6 +694,9 @@ msgstr ":exc:`FloatingPointError`"
682694
msgid ":exc:`GeneratorExit`"
683695
msgstr ":exc:`GeneratorExit`"
684696

697+
msgid "N/A"
698+
msgstr ""
699+
685700
msgid ":exc:`ImportCycleError`"
686701
msgstr ":exc:`ImportCycleError`"
687702

@@ -712,6 +727,9 @@ msgstr ":exc:`LookupError`"
712727
msgid ":exc:`MemoryError`"
713728
msgstr ":exc:`MemoryError`"
714729

730+
msgid "3.6"
731+
msgstr ""
732+
715733
msgid ":exc:`ModuleNotFoundError`"
716734
msgstr ":exc:`ModuleNotFoundError`"
717735

@@ -829,6 +847,9 @@ msgstr ":c:var:`!PyExc_WindowsError` تنها در ویندوز تعریف شد
829847
msgid "Warning types"
830848
msgstr "انواع هشدار"
831849

850+
msgid "These pointers are part of the :ref:`Stable ABI <stable>` since the version in the *S.ABI* column (or since 3.2 when *S.ABI* is empty)."
851+
msgstr ""
852+
832853
msgid ":exc:`Warning`"
833854
msgstr ":exc:`Warning`"
834855

@@ -838,6 +859,9 @@ msgstr ":exc:`BytesWarning`"
838859
msgid ":exc:`DeprecationWarning`"
839860
msgstr ":exc:`DeprecationWarning`"
840861

862+
msgid "3.10"
863+
msgstr ""
864+
841865
msgid ":exc:`EncodingWarning`"
842866
msgstr ":exc:`EncodingWarning`"
843867

‎c-api/iterator.po‎

Lines changed: 4 additions & 1 deletion
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-10-24 04:15+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
1616
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1717
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -60,6 +60,9 @@ msgstr "نوع‌های پیمایش‌گر توکار"
6060
msgid "These are built-in iteration types that are included in Python's C API, but provide no additional functions. They are here for completeness."
6161
msgstr "این‌ها نوع‌های پیمایش توکار هستند که در API زبان C پایتون گنجانده شده‌اند، اما هیچ تابع اضافه‌ای ارائه نمی‌دهند. آن‌ها برای کامل بودن اینجا قرار دارند."
6262

63+
msgid "These pointers are part of the :ref:`Stable ABI <stable>`."
64+
msgstr ""
65+
6366
msgid "C type"
6467
msgstr "نوع C"
6568

‎library/cmd.po‎

Lines changed: 4 additions & 1 deletion
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-10-24 04:15+0000\n"
1515
"PO-Revision-Date: 2026-09-14 10:19+0330\n"
1616
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1717
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -31,6 +31,9 @@ msgstr "**کد منبع:** :source:`Lib/cmd.py`"
3131
msgid "The :class:`Cmd` class provides a simple framework for writing line-oriented command interpreters. These are often useful for test harnesses, administrative tools, and prototypes that will later be wrapped in a more sophisticated interface."
3232
msgstr "کلاس :class:`Cmd` یک چارچوب ساده برای نوشتن مفسرهای فرمان خط‌محور فراهم می‌کند. این مفسرها اغلب برای مهارهای آزمون، ابزارهای مدیریتی و پیش‌نمونه‌هایی مفید هستند که بعداً در یک رابط پیشرفته‌تر قرار خواهند گرفت."
3333

34+
msgid "A command interpreter built with :class:`Cmd` typically presents the user with an interactive prompt, reads input one line at a time, and dispatches each command to a method named ``do_`` followed by the command name. For example, the ``help`` command is handled by the :meth:`~Cmd.do_help` method. Apart from the built-in ``help`` command, most of the interpreter's behavior is defined by the ``do_*`` methods you add in your own subclass."
35+
msgstr ""
36+
3437
msgid "A :class:`Cmd` instance or subclass instance is a line-oriented interpreter framework. There is no good reason to instantiate :class:`Cmd` itself; rather, it's useful as a superclass of an interpreter class you define yourself in order to inherit :class:`Cmd`'s methods and encapsulate action methods."
3538
msgstr "یک نمونه از :class:`Cmd` یا نمونه‌ای از یک زیرکلاس، یک چارچوب مفسر خط‌محور است. دلیل موجهی برای نمونه‌سازی خود :class:`Cmd` وجود ندارد؛ در عوض، این کلاس به‌عنوان ابرکلاسِ کلاس مفسری که خودتان تعریف می‌کنید مفید است، تا متدهای :class:`Cmd` را به ارث ببرید و متدهای عملیاتی را کپسوله کنید."
3639

‎library/concurrent.futures.po‎

Lines changed: 13 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-09-16 12:56+0000\n"
15+
"POT-Creation-Date: 2026-10-24 04:15+0000\n"
1616
"PO-Revision-Date: 2026-09-13 19:48+0330\n"
1717
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1818
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -116,7 +116,9 @@ msgstr ""
116116
" e.submit(shutil.copy, 'src3.txt', 'dest3.txt')\n"
117117
" e.submit(shutil.copy, 'src4.txt', 'dest4.txt')"
118118

119-
msgid "Added *cancel_futures*."
119+
#, fuzzy
120+
#| msgid "Added *cancel_futures*."
121+
msgid "Added the *cancel_futures* parameter."
120122
msgstr "*cancel_futures* اضافه شد."
121123

122124
msgid "ThreadPoolExecutor"
@@ -196,6 +198,12 @@ msgstr "پیش از آنکه مفسر بتواند خارج شود، همه نخ
196198
msgid "*initializer* is an optional callable that is called at the start of each worker thread; *initargs* is a tuple of arguments passed to the initializer. Should *initializer* raise an exception, all currently pending jobs will raise a :exc:`~concurrent.futures.thread.BrokenThreadPool`, as well as any attempt to submit more jobs to the pool."
197199
msgstr "*initializer* یک شیء فراخوانی‌پذیر اختیاری است که در آغاز هر نخ‌کارگر فراخوانی می‌شود؛ *initargs* تاپلی از آرگومان‌ها است که به initializer ارسال می‌شوند. در صورتی که *initializer* استثنایی پرتاب کند، همه کارهایی که در حال حاضر در انتظار هستند، و همچنین هر تلاشی برای ارسال کارهای بیشتر به استخر، یک :exc:`~concurrent.futures.thread.BrokenThreadPool` پرتاب خواهند کرد."
198200

201+
msgid "*ctxkwargs* is a mapping of additional keyword arguments passed to :meth:`prepare_context`, allowing customization of the worker execution context."
202+
msgstr ""
203+
204+
msgid "Setting up the necessary context for creating worker instances in a pool-based executor (for example, in a concurrent environment like threads or interpreters)."
205+
msgstr ""
206+
199207
msgid "If *max_workers* is ``None`` or not given, it will default to the number of processors on the machine, multiplied by ``5``, assuming that :class:`ThreadPoolExecutor` is often used to overlap I/O instead of CPU work and the number of workers should be higher than the number of workers for :class:`ProcessPoolExecutor`."
200208
msgstr "اگر *max_workers* ``None`` باشد یا ارائه نشود، به‌طور پیش‌فرض برابر با تعداد پردازنده‌های ماشین ضرب در ``5`` خواهد بود، با این فرض که :class:`ThreadPoolExecutor` اغلب برای هم‌پوشانی ورودی/خروجی به‌جای کار پردازنده استفاده می‌شود و تعداد کارگرها باید بیشتر از تعداد کارگرهای :class:`ProcessPoolExecutor` باشد."
201209

@@ -214,6 +222,9 @@ msgstr "ThreadPoolExecutor اکنون پیش از راه‌اندازی *max_wor
214222
msgid "Default value of *max_workers* is changed to ``min(32, (os.process_cpu_count() or 1) + 4)``."
215223
msgstr "مقدار پیش‌فرض *max_workers* به ``min(32, (os.process_cpu_count() or 1) + 4)`` تغییر کرده است."
216224

225+
msgid "Added *ctxkwargs* to pass additional arguments to :meth:`prepare_context` class method."
226+
msgstr ""
227+
217228
msgid "ThreadPoolExecutor Example"
218229
msgstr "مثال ThreadPoolExecutor"
219230

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL