Skip to content

Commit b63a898

Browse files
chore: sync msgids with CPython 3.15
1 parent 2c360e3 commit b63a898

2 files changed

Lines changed: 30 additions & 7 deletions

File tree

‎howto/abi3t-migration.po‎

Lines changed: 21 additions & 3 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-07 04:46+0000\n"
14+
"POT-Creation-Date: 2026-10-08 04:19+0000\n"
1515
"PO-Revision-Date: 2026-10-01 14:41+0330\n"
1616
"Last-Translator: Automatically generated\n"
1717
"Language-Team: none\n"
@@ -188,8 +188,20 @@ msgstr "اگر افزونه‌ی شما انواعی با اندازه‌ی مت
188188
msgid "Setting up the build"
189189
msgstr "تنظیم ساخت"
190190

191-
msgid "If you use a build tool (such as setuptools, meson-python, scikit-build-core), search its documentation for a way to select ``abi3t``. At the time of writing, not all of them have this; but if your tool does, use it. You may want to verify that it set the right flag by temporarily adding the following just after ``#include <Python.h>``::"
192-
msgstr "اگر از یک ابزار ساخت (مانند setuptools، meson-python، scikit-build-core) استفاده می‌کنید، مستندات آن را برای یافتن روشی جهت انتخاب ``abi3t`` جستجو کنید. در زمان نگارش این متن، همه آن‌ها این ویژگی را ندارند؛ اما اگر ابزار شما دارد، از آن استفاده کنید. ممکن است بخواهید با افزودن موقت کد زیر بلافاصله پس از ``#include <Python.h>`` بررسی کنید که آیا پرچم مناسب را تنظیم کرده است یا خیر::"
191+
msgid "If you use a build tool, search its documentation for \"``abi3t``\", and follow any instructions to select the ABI. For reference, here are direct links for several popular build tools:"
192+
msgstr ""
193+
194+
msgid "`meson-python <https://mesonbuild.com/meson-python/how-to-guides/limited-api.html#the-abi3t-stable-abi>`__"
195+
msgstr ""
196+
197+
msgid "`scikit-build-core <https://scikit-build-core.readthedocs.io/en/stable/configuration/#customizing-the-output-wheel>`__"
198+
msgstr ""
199+
200+
msgid "`Maturin <https://www.maturin.rs/bindings#py_limited_apiabi3>`__"
201+
msgstr ""
202+
203+
msgid "You may want to verify that the tool set the right flag by temporarily adding the following just after ``#include <Python.h>``::"
204+
msgstr ""
193205

194206
msgid ""
195207
"#if Py_TARGET_ABI3T+0 <= 0x30f0000\n"
@@ -203,6 +215,9 @@ msgstr ""
203215
msgid "This should result in a different error than \"``abi3t`` define is not set\"."
204216
msgstr "این امر باید خطایی متفاوت از \"``abi3t`` define is not set\" ایجاد کند."
205217

218+
msgid "`Building and distributing abi3t extensions <https://py-free-threading.github.io/abi3t/>`__: Build configuration and wheel testing examples in the community-maintained Python Free-Threading Guide."
219+
msgstr ""
220+
206221
msgid "If your build tool doesn't support ``abi3t`` yet, set the following macro before including ``Python.h``::"
207222
msgstr "اگر ابزار ساخت شما هنوز از ``abi3t`` پشتیبانی نمی‌کند، کلان‌دستور زیر را پیش از گنجاندن ``Python.h`` تنظیم کنید::"
208223

@@ -793,3 +808,6 @@ msgstr "حتماً آزمون‌ها را روی هر دو ساخت نخ‌آز
793808

794809
msgid "If they pass, congratulations! You have an ``abi3t`` extension."
795810
msgstr "اگر با موفقیت انجام شدند، تبریک می‌گوییم! شما یک افزونه‌ی ``abi3t`` دارید."
811+
812+
#~ msgid "If you use a build tool (such as setuptools, meson-python, scikit-build-core), search its documentation for a way to select ``abi3t``. At the time of writing, not all of them have this; but if your tool does, use it. You may want to verify that it set the right flag by temporarily adding the following just after ``#include <Python.h>``::"
813+
#~ msgstr "اگر از یک ابزار ساخت (مانند setuptools، meson-python، scikit-build-core) استفاده می‌کنید، مستندات آن را برای یافتن روشی جهت انتخاب ``abi3t`` جستجو کنید. در زمان نگارش این متن، همه آن‌ها این ویژگی را ندارند؛ اما اگر ابزار شما دارد، از آن استفاده کنید. ممکن است بخواهید با افزودن موقت کد زیر بلافاصله پس از ``#include <Python.h>`` بررسی کنید که آیا پرچم مناسب را تنظیم کرده است یا خیر::"

‎whatsnew/3.15.po‎

Lines changed: 9 additions & 4 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-07 04:46+0000\n"
14+
"POT-Creation-Date: 2026-10-08 04:19+0000\n"
1515
"PO-Revision-Date: 2026-10-06 19:50+0330\n"
1616
"Last-Translator: Automatically generated\n"
1717
"Language-Team: none\n"
@@ -510,11 +510,13 @@ msgstr "تغییر از یک تابع ``PyInit_`` به یک قلاب اکسپو
510510
msgid "Note that Stable ABI does not offer all the functionality that CPython has to offer. Extensions that cannot switch to ``abi3t`` should continue to build for the existing Stable ABI (``abi3``) and the version-specific ABI for free-threading (``cp315t``) separately."
511511
msgstr "توجه داشته باشید که رابط دودویی کاربردی (ABI) پایدار تمام قابلیت‌هایی را که سی‌پایتون ارائه می‌دهد، فراهم نمی‌کند. افزونه‌هایی که نمی‌توانند به ``abi3t`` تغییر وضعیت دهند، باید به ساخت برای رابط دودویی کاربردی پایدار موجود (``abi3``) و رابط دودویی کاربردی مخصوص نسخه‌ی نخ‌آزاد (``cp315t``) به صورت جداگانه ادامه دهند."
512512

513-
msgid "Stable ABI for Free-Threaded Builds should typically be selected in a build tool (such as, for example, Setuptools, meson-python, scikit-build-core, or Maturin). At the time of writing, these tools do **not** support ``abi3t``. If this is the case for your tool, compile for ``cp315t`` separately. If not using a build tool -- or when writing such a tool -- you can select ``abi3t`` by setting the macro :c:macro:`!Py_TARGET_ABI3T` as discussed in :ref:`abi3-compiling`."
513+
#, fuzzy
514+
#| msgid "Stable ABI for Free-Threaded Builds should typically be selected in a build tool (such as, for example, Setuptools, meson-python, scikit-build-core, or Maturin). At the time of writing, these tools do **not** support ``abi3t``. If this is the case for your tool, compile for ``cp315t`` separately. If not using a build tool -- or when writing such a tool -- you can select ``abi3t`` by setting the macro :c:macro:`!Py_TARGET_ABI3T` as discussed in :ref:`abi3-compiling`."
515+
msgid "Stable ABI for Free-Threaded Builds should typically be selected in a build tool. Tools with ``abi3t`` support include meson-python, scikit-build-core, and Maturin; see :ref:`abi3t-migration-build` for links to their documentation on ``abi3t`` builds. If your build tool does not support ``abi3t``, compile for ``cp315t`` separately. If not using a build tool -- or when writing such a tool -- you can select ``abi3t`` by setting the macro :c:macro:`!Py_TARGET_ABI3T` as discussed in :ref:`abi3-compiling`."
514516
msgstr "رابط دودویی کاربردی پایدار برای ساخت‌های نخ‌آزاد معمولاً باید در یک ابزار ساخت (مانند Setuptools، meson-python، scikit-build-core، یا Maturin) انتخاب شود. در زمان نگارش این متن، این ابزارها از ``abi3t`` پشتیبانی **نمی‌کنند**. اگر ابزار شما نیز چنین است، برای ``cp315t`` به صورت جداگانه کامپایل کنید. اگر از ابزار ساخت استفاده نمی‌کنید — یا هنگام نوشتن چنین ابزاری — می‌توانید با تنظیم کلان‌دستور :c:macro:`!Py_TARGET_ABI3T` همان‌طور که در :ref:`abi3-compiling` بحث شد، ``abi3t`` را انتخاب کنید."
515517

516-
msgid "A practical :ref:`migration guide <abi3t-migration-howto>` for switching to ``abi3t`` is available."
517-
msgstr "یک :ref:`راهنمای مهاجرت <abi3t-migration-howto>` کاربردی برای تغییر به ``abi3t`` در دسترس است."
518+
msgid "A practical :ref:`migration guide <abi3t-migration-howto>` for switching to ``abi3t`` is available. The community-maintained `Python Free-Threading Guide <https://py-free-threading.github.io/abi3t/>`__ provides examples of building and testing ``abi3t`` wheels."
519+
msgstr ""
518520

519521
msgid ":pep:`803` for further details."
520522
msgstr "برای جزئیات بیشتر به :pep:`803` مراجعه کنید."
@@ -2784,3 +2786,6 @@ msgstr "پُرکننده (padding) ورودی دیگر در :func:`base64.urlsaf
27842786

27852787
msgid "Since :meth:`unittest.TestCase.assertWarns` and :meth:`unittest.TestCase.assertWarnsRegex` no longer swallow warnings that do not match the specified category or regex, your tests may start leaking some warnings that were previously masked. Use warning filters to silence them or additional :meth:`!assertWarns*` to catch and check them. (Contributed by Serhiy Storchaka in :gh:`143231`.)"
27862788
msgstr "از آنجا که :meth:`unittest.TestCase.assertWarns` و :meth:`unittest.TestCase.assertWarnsRegex` دیگر اخطارهایی را که با دسته‌بندی یا عبارت منظم مشخص‌شده مطابقت ندارند نادیده نمی‌گیرند، ممکن است آزمون‌های شما شروع به نشت دادن برخی اخطارها کنند که پیش‌تر پنهان شده بودند. برای بی‌صدا کردن آن‌ها از صافی‌های اخطار (warning filters) یا از متدهای اضافی :meth:`!assertWarns*` برای گرفتن و بررسی آن‌ها استفاده کنید. (مشارکت‌شده توسط Serhiy Storchaka در :gh:`143231`.)"
2789+
2790+
#~ msgid "A practical :ref:`migration guide <abi3t-migration-howto>` for switching to ``abi3t`` is available."
2791+
#~ msgstr "یک :ref:`راهنمای مهاجرت <abi3t-migration-howto>` کاربردی برای تغییر به ``abi3t`` در دسترس است."

0 commit comments

Comments
 (0)