Skip to content

Commit c34b920

Browse files
chore: sync msgids with CPython 3.15
1 parent 0ea2fc3 commit c34b920

29 files changed

Lines changed: 431 additions & 67 deletions

‎c-api/init_config.po‎

Lines changed: 11 additions & 4 deletions
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-28 04:13+0000\n"
17+
"POT-Creation-Date: 2026-11-02 04:12+0000\n"
1818
"PO-Revision-Date: 2026-10-06 19:55+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -208,7 +208,9 @@ msgstr "در صورت موفقیت، اگر رشته ``NULL`` نباشد، با
208208
msgid "Get a string list configuration option as an array of null-terminated UTF-8 encoded strings."
209209
msgstr "یک گزینه پیکربندی فهرست رشته‌ها را به‌صورت آرایه‌ای از رشته‌های کدگذاری‌شده با UTF-8 و خاتمه‌یافته با تهی دریافت می‌کند."
210210

211-
msgid "Set *\\*length* and *\\*value*, and return ``0`` on success."
211+
#, fuzzy
212+
#| msgid "Set *\\*length* and *\\*value*, and return ``0`` on success."
213+
msgid "Set *\\*length* and *\\*items*, and return ``0`` on success."
212214
msgstr "مقدار *\\*length* و *\\*value* را تنظیم می‌کند و در صورت موفقیت ``0`` را برمی‌گرداند."
213215

214216
msgid "On success, the string list must be released with ``PyInitConfig_FreeStrList(length, items)``."
@@ -1896,8 +1898,10 @@ msgstr "استفاده از :ref:`متغیرهای محیطی <using-on-envvars>
18961898
msgid "If equals to zero, ignore the :ref:`environment variables <using-on-envvars>`."
18971899
msgstr "اگر برابر با صفر باشد، :ref:`متغیرهای محیطی <using-on-envvars>` نادیده گرفته می‌شوند."
18981900

1899-
msgid "Set to ``0`` by the :option:`-E` environment variable."
1900-
msgstr "توسط متغیر محیطی :option:`-E` روی ``0`` تنظیم می‌شود."
1901+
#, fuzzy
1902+
#| msgid "Set to ``0`` by the :option:`-S` command line option."
1903+
msgid "Set to ``0`` by the :option:`-E` command-line option."
1904+
msgstr "با گزینه‌ی خط فرمان :option:`-S` روی ``0`` تنظیم می‌شود."
19011905

19021906
msgid "If non-zero, ``stdout`` and ``stderr`` will be redirected to the system log."
19031907
msgstr "اگر نا‌صفر باشد، ``stdout`` و ``stderr`` به گزارش سیستم بازهدایت خواهند شد."
@@ -2453,6 +2457,9 @@ msgstr "main()"
24532457
msgid "argv (in module sys)"
24542458
msgstr "argv (در ماژول sys)"
24552459

2460+
#~ msgid "Set to ``0`` by the :option:`-E` environment variable."
2461+
#~ msgstr "توسط متغیر محیطی :option:`-E` روی ``0`` تنظیم می‌شود."
2462+
24562463
#~ msgid "Also set to ``1`` if the ``LC_CTYPE`` locale is ``C`` or ``POSIX``."
24572464
#~ msgstr "همچنین اگر locale مربوط به ``LC_CTYPE`` برابر ``C`` یا ``POSIX`` باشد، به ``1`` تنظیم می‌شود."
24582465

‎c-api/interp-lifecycle.po‎

Lines changed: 4 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-27 04:16+0000\n"
14+
"POT-Creation-Date: 2026-11-02 04:12+0000\n"
1515
"PO-Revision-Date: 2026-10-06 20:24+0330\n"
1616
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1717
"Language-Team: none\n"
@@ -610,7 +610,9 @@ msgstr "نخستین واژه (تا نخستین نویسه فاصله) نسخه
610610
msgid "See also the :c:var:`Py_Version` constant."
611611
msgstr "همچنین ثابت :c:var:`Py_Version` را ببینید."
612612

613-
msgid "Return the platform identifier for the current platform. On Unix, this is formed from the \"official\" name of the operating system, converted to lower case, followed by the major revision number; e.g., for Solaris 2.x, which is also known as SunOS 5.x, the value is ``'sunos5'``. On macOS, it is ``'darwin'``. On Windows, it is ``'win'``. The returned string points into static storage; the caller should not modify its value. The value is available to Python code as ``sys.platform``."
613+
#, fuzzy
614+
#| msgid "Return the platform identifier for the current platform. On Unix, this is formed from the \"official\" name of the operating system, converted to lower case, followed by the major revision number; e.g., for Solaris 2.x, which is also known as SunOS 5.x, the value is ``'sunos5'``. On macOS, it is ``'darwin'``. On Windows, it is ``'win'``. The returned string points into static storage; the caller should not modify its value. The value is available to Python code as ``sys.platform``."
615+
msgid "Return the platform identifier for the current platform. On Unix, this is formed from the \"official\" name of the operating system, converted to lower case, followed by the major revision number; e.g., for Solaris 2.x, which is also known as SunOS 5.x, the value is ``'sunos5'``. On macOS, it is ``'darwin'``. On Windows, it is ``'win32'``. The returned string points into static storage; the caller should not modify its value. The value is available to Python code as ``sys.platform``."
614616
msgstr "شناسه پلتفرم را برای پلتفرم فعلی برمی‌گرداند. در یونیکس، این شناسه از نام «رسمی» سیستم‌عامل — که به حروف کوچک تبدیل شده — و به دنبال آن شماره بازنگری اصلی تشکیل می‌شود؛ برای مثال، برای Solaris 2.x که با نام SunOS 5.x نیز شناخته می‌شود، مقدار ``'sunos5'`` است. در macOS این مقدار ``'darwin'`` است. در ویندوز این مقدار ``'win'`` است. رشته‌ی بازگردانده‌شده به حافظه‌ی ایستا اشاره می‌کند؛ فراخوان‌کننده نباید مقدار آن را تغییر دهد. این مقدار در کد پایتون به‌صورت ``sys.platform`` در دسترس است."
615617

616618
msgid "Return the official copyright string for the current Python version, for example"

‎c-api/long.po‎

Lines changed: 4 additions & 2 deletions
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-29 04:13+0000\n"
17+
"POT-Creation-Date: 2026-11-02 04:12+0000\n"
1818
"PO-Revision-Date: 2026-09-14 16:27+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -405,7 +405,9 @@ msgstr "با *flags* پیش‌فرض (``-1``، یا *UNSIGNED_BUFFER* بدون *
405405
msgid "Macro for converting a Python integer into a process identifier."
406406
msgstr "ماکرویی برای تبدیل یک عدد صحیح پایتون به شناسه فرایند."
407407

408-
msgid "This can be defined as an alias to :c:func:`PyLong_AsLong`, :c:func:`PyLong_FromLongLong`, or :c:func:`PyLong_AsInt`, depending on the size of the system's PID type."
408+
#, fuzzy
409+
#| msgid "This can be defined as an alias to :c:func:`PyLong_AsLong`, :c:func:`PyLong_FromLongLong`, or :c:func:`PyLong_AsInt`, depending on the size of the system's PID type."
410+
msgid "This can be defined as an alias to :c:func:`PyLong_AsLong`, :c:func:`PyLong_AsLongLong`, or :c:func:`PyLong_AsInt`, depending on the size of the system's PID type."
409411
msgstr "این می‌تواند بسته به اندازه‌ی نوع PID سیستم، به عنوان نام مستعاری برای :c:func:`PyLong_AsLong`، :c:func:`PyLong_FromLongLong` یا :c:func:`PyLong_AsInt` تعریف شود."
410412

411413
msgid "Get the sign of the integer object *obj*."

‎c-api/module.po‎

Lines changed: 4 additions & 2 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-11-02 04:12+0000\n"
1717
"PO-Revision-Date: 2026-10-06 20:44+0330\n"
1818
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1919
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -232,7 +232,9 @@ msgstr ":ref:`جایگاه‌های حالت ماژول <ext-module-state-slots>
232232
msgid ":c:macro:`Py_mod_token`."
233233
msgstr ":c:macro:`Py_mod_token`."
234234

235-
msgid "The *slots* argument may be a ``ModuleSpec``-like object, rather than a true :py:class:`~importlib.machinery.ModuleSpec` instance. Note that previous versions of CPython did not enforce this."
235+
#, fuzzy
236+
#| msgid "The *slots* argument may be a ``ModuleSpec``-like object, rather than a true :py:class:`~importlib.machinery.ModuleSpec` instance. Note that previous versions of CPython did not enforce this."
237+
msgid "The *spec* argument may be a ``ModuleSpec``-like object, rather than a true :py:class:`~importlib.machinery.ModuleSpec` instance. Note that previous versions of CPython did not enforce this."
236238
msgstr "آرگومان *slots* ممکن است یک شیء شبیه به ``ModuleSpec`` باشد، نه یک نمونه‌ی واقعی :py:class:`~importlib.machinery.ModuleSpec`. توجه داشته باشید که نسخه‌های قبلی سی‌پایتون این موضوع را اعمال نمی‌کردند."
237239

238240
msgid "The *def* argument may now be ``NULL``, since modules are not necessarily made from definitions."

‎c-api/slots.po‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-10-22 04:16+0000\n"
14+
"POT-Creation-Date: 2026-11-02 04:12+0000\n"
1515
"PO-Revision-Date: 2026-10-01 14:41+0330\n"
1616
"Last-Translator: Automatically generated\n"
1717
"Language-Team: none\n"
@@ -190,12 +190,19 @@ msgstr "#define PySlot_END {0}"
190190
msgid "Convenience macros for use in C++11-compatible code. This version of C++ does not allow setting arbitrary union members in literals; instead, these macros set the :c:macro:`PySlot_INTPTR` flag and cast the value to ``(void*)``."
191191
msgstr "ماکروهای کمکی برای استفاده در کدهای سازگار با C++11. این نسخه‌ی C++ اجازه نمی‌دهد اعضای اتحادی دلخواه را در مقادیر لفظی تنظیم کنید؛ در عوض، این ماکروها پرچم :c:macro:`PySlot_INTPTR` را تنظیم کرده و مقدار را به ``(void*)`` تبدیل نوع می‌دهند."
192192

193+
#, fuzzy
194+
#| msgid ""
195+
#| "#define PySlot_PTR(NAME, VALUE) \\\n"
196+
#| " {NAME, PySlot_INTPTR, {0}, {(void*)(VALUE)}}\n"
197+
#| "\n"
198+
#| "#define PySlot_PTR_STATIC(NAME, VALUE) \\\n"
199+
#| " {NAME, PySlot_INTPTR|Py_SLOT_STATIC, {0}, {(void*)(VALUE)}}"
193200
msgid ""
194201
"#define PySlot_PTR(NAME, VALUE) \\\n"
195202
" {NAME, PySlot_INTPTR, {0}, {(void*)(VALUE)}}\n"
196203
"\n"
197204
"#define PySlot_PTR_STATIC(NAME, VALUE) \\\n"
198-
" {NAME, PySlot_INTPTR|Py_SLOT_STATIC, {0}, {(void*)(VALUE)}}"
205+
" {NAME, PySlot_INTPTR|PySlot_STATIC, {0}, {(void*)(VALUE)}}"
199206
msgstr ""
200207
"#define PySlot_PTR(NAME, VALUE) \\\n"
201208
" {NAME, PySlot_INTPTR, {0}, {(void*)(VALUE)}}\n"

‎c-api/type.po‎

Lines changed: 15 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-01 14:41+0330\n"
16+
"POT-Creation-Date: 2026-11-02 04:12+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"
@@ -476,7 +476,9 @@ msgstr "پرچم ``Py_TPFLAGS_HEAPTYPE`` تنظیم نشده است، :c:func:`P
476476
msgid "This slot may not be used with :c:func:`PyType_GetSlot`. Use :c:func:`PyType_GetFlags` instead."
477477
msgstr "این جایگاه را نمی‌توان با :c:func:`PyType_GetSlot` استفاده کرد. به‌جای آن از :c:func:`PyType_GetFlags` استفاده کنید."
478478

479-
msgid ":c:member:`Slot ID <PySlot.sl_id>` for type flags, used to set :c:member:`PyTypeObject.tp_bases`."
479+
#, fuzzy
480+
#| msgid ":c:member:`Slot ID <PySlot.sl_id>` for type flags, used to set :c:member:`PyTypeObject.tp_bases`."
481+
msgid ":c:member:`Slot ID <PySlot.sl_id>` for base types, used to set :c:member:`PyTypeObject.tp_bases`."
480482
msgstr ":c:member:`Slot ID <PySlot.sl_id>` برای پرچم‌های نوع، که برای تنظیم :c:member:`PyTypeObject.tp_bases` استفاده می‌شود."
481483

482484
msgid "The slot can be set to a tuple of type objects which the newly created type should inherit from, like the \"positional arguments\" of a Python :ref:`class definition <class>`."
@@ -573,7 +575,9 @@ msgstr "یک :ref:`نوع هیپ <heap-types>` از *spec* بسازید و با
573575
msgid "A non-``NULL`` *metaclass* argument corresponds to the :c:macro:`Py_tp_metaclass` slot."
574576
msgstr "یک آرگومان *metaclass* غیر-``NULL`` با جایگاه :c:macro:`Py_tp_metaclass` مطابقت دارد."
575577

576-
msgid "A non-``NULL`` *bases* argument corresponds to the :c:data:`Py_tp_bases` slot, and takes precedence over :c:data:`Py_tp_bases` and :c:data:`Py_tp_bases` slots."
578+
#, fuzzy
579+
#| msgid "A non-``NULL`` *bases* argument corresponds to the :c:data:`Py_tp_bases` slot, and takes precedence over :c:data:`Py_tp_bases` and :c:data:`Py_tp_bases` slots."
580+
msgid "A non-``NULL`` *bases* argument corresponds to the :c:data:`Py_tp_bases` slot, and takes precedence over :c:data:`Py_tp_base` and :c:data:`Py_tp_bases` slots."
577581
msgstr "یک آرگومان *bases* غیر-``NULL`` با جایگاه :c:data:`Py_tp_bases` مطابقت دارد و بر جایگاه‌های :c:data:`Py_tp_bases` و :c:data:`Py_tp_bases` اولویت دارد."
578582

579583
msgid "A non-``NULL`` *module* argument corresponds to the :c:macro:`Py_tp_module` slot."
@@ -648,11 +652,18 @@ msgstr "توجه داشته باشید که ممکن است یک آرایه‌ی
648652
msgid "Each :c:type:`!PyType_Slot` structure ``tpslot`` is interpreted as the following :c:type:`PySlot` structure::"
649653
msgstr "هر ساختار :c:type:`!PyType_Slot` به نام ``tpslot`` به عنوان ساختار :c:type:`PySlot` زیر تفسیر می‌شود::"
650654

655+
#, fuzzy
656+
#| msgid ""
657+
#| "(PySlot){\n"
658+
#| " .sl_id=tpslot.slot,\n"
659+
#| " .sl_flags=PySlot_INTPTR | sub_static,\n"
660+
#| " .sl_ptr=tpslot.func\n"
661+
#| "}"
651662
msgid ""
652663
"(PySlot){\n"
653664
" .sl_id=tpslot.slot,\n"
654665
" .sl_flags=PySlot_INTPTR | sub_static,\n"
655-
" .sl_ptr=tpslot.func\n"
666+
" .sl_ptr=tpslot.pfunc\n"
656667
"}"
657668
msgstr ""
658669
"(PySlot){\n"

‎extending/newtypes.po‎

Lines changed: 4 additions & 2 deletions
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-11-02 04:12+0000\n"
1818
"PO-Revision-Date: 2026-09-15 10:51+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -534,7 +534,9 @@ msgstr "برای هر ورودی در جدول، یک :term:`توصیف‌گر <
534534
msgid "An interesting advantage of using the :c:member:`~PyTypeObject.tp_members` table to build descriptors that are used at runtime is that any attribute defined this way can have an associated doc string simply by providing the text in the table. An application can use the introspection API to retrieve the descriptor from the class object, and get the doc string using its :attr:`~type.__doc__` attribute."
535535
msgstr "مزیت جالب استفاده از جدول :c:member:`~PyTypeObject.tp_members` برای ساخت توصیف‌گرهایی که در ران‌تایم استفاده می‌شوند این است که هر ویژگی که به این روش تعریف شود، می‌تواند صرفاً با ارائه‌ی متن در جدول، یک رشته مستند مرتبط داشته باشد. یک برنامه می‌تواند از API درون‌نگری برای بازیابی توصیف‌گر از شیء کلاس استفاده کند و رشته مستند را با استفاده از ویژگی :attr:`~type.__doc__` آن به دست آورد."
536536

537-
msgid "As with the :c:member:`~PyTypeObject.tp_methods` table, a sentinel entry with a :c:member:`~PyMethodDef.ml_name` value of ``NULL`` is required."
537+
#, fuzzy
538+
#| msgid "As with the :c:member:`~PyTypeObject.tp_methods` table, a sentinel entry with a :c:member:`~PyMethodDef.ml_name` value of ``NULL`` is required."
539+
msgid "As with the :c:member:`~PyTypeObject.tp_methods` table, a sentinel entry with a :c:member:`~PyMemberDef.name` value of ``NULL`` is required."
538540
msgstr "مانند جدول :c:member:`~PyTypeObject.tp_methods`، یک ورودی نشانگر که مقدار :c:member:`~PyMethodDef.ml_name` آن ``NULL`` است، لازم است."
539541

540542
msgid "Type-specific Attribute Management"

0 commit comments

Comments
 (0)