Skip to content

Commit 038d503

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent e390bed commit 038d503

20 files changed

Lines changed: 631 additions & 221 deletions

‎c-api/extension-modules.po‎

Lines changed: 43 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6+
# Translators:
7+
# Bhuvansh Kataria, 2026
8+
#
69
#, fuzzy
710
msgid ""
811
msgstr ""
912
"Project-Id-Version: Python 3.15\n"
1013
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-06-21 15:47+0000\n"
14+
"POT-Creation-Date: 2026-06-25 16:18+0000\n"
1215
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
16+
"Last-Translator: Bhuvansh Kataria, 2026\n"
1317
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
1418
"teams/5390/pa/)\n"
1519
"MIME-Version: 1.0\n"
@@ -137,10 +141,44 @@ msgid ""
137141
msgstr ""
138142

139143
msgid ""
140-
"The hook should be kept short -- ideally, one line as above. If you do need "
141-
"to use Python C API in this function, it is recommended to call "
142-
"``PyABIInfo_Check(&abi_info, \"modulename\")`` first to raise an exception, "
143-
"rather than crash, in common cases of ABI mismatch."
144+
"The hook should be kept short. If it does more than ``return`` a static "
145+
"array, several caveats apply:"
146+
msgstr ""
147+
148+
msgid ""
149+
"If you need to use any Python C API, it is recommended to call :c:func:"
150+
"`PyABIInfo_Check` first to raise an exception, rather than crash, in common "
151+
"cases of ABI mismatch."
152+
msgstr ""
153+
154+
msgid ""
155+
"Code in the export hook must never rely on the :term:`GIL`: :term:`free-"
156+
"threaded builds <free-threaded build>` of Python can only check the :c:macro:"
157+
"`Py_mod_gil` slot (or the lack of it) after the hook returns,"
158+
msgstr ""
159+
160+
msgid ""
161+
"Similarly, the hook may be called in any subinterpreter, since the :c:macro:"
162+
"`Py_mod_multiple_interpreters` slot (or lack of it) is only checked after "
163+
"the hook returns."
164+
msgstr ""
165+
166+
msgid "For example::"
167+
msgstr "ਉਦਾਹਰਨ ਲਈ::"
168+
169+
msgid ""
170+
"PyMODEXPORT_FUNC\n"
171+
"PyModExport_modulename(void)\n"
172+
"{\n"
173+
" if (PyABIInfo_Check(&abi_info, \"modulename\") < 0) {\n"
174+
" /* ABI mismatch. It's not safe to examine the raised exception. */\n"
175+
" return NULL;\n"
176+
" }\n"
177+
"\n"
178+
" /* use Python API (as little as possible); don't rely on GIL */\n"
179+
"\n"
180+
" return modulename_slots;\n"
181+
"}"
144182
msgstr ""
145183

146184
msgid ""

‎c-api/import.po‎

Lines changed: 7 additions & 1 deletion
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-06-17 16:52+0000\n"
14+
"POT-Creation-Date: 2026-06-25 16:18+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
@@ -300,6 +300,12 @@ msgstr ""
300300
msgid "Initialization function for a module built into the interpreter."
301301
msgstr ""
302302

303+
msgid ""
304+
"Note that the inittab uses \"``PyInit``\" :ref:`initialization functions "
305+
"<extension-pyinit>`; there is currently no way to include "
306+
"\"``PyModExport_``\" :ref:`export hooks <extension-export-hook>`."
307+
msgstr ""
308+
303309
msgid ""
304310
"Add a collection of modules to the table of built-in modules. The *newtab* "
305311
"array must end with a sentinel entry which contains ``NULL`` for the :c:"

‎deprecations/index.po‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.15\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-06-23 16:23+0000\n"
11+
"POT-Creation-Date: 2026-06-25 16:18+0000\n"
1212
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1313
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
1414
"teams/5390/pa/)\n"
@@ -253,6 +253,17 @@ msgid ""
253253
"removal in Python 3.17."
254254
msgstr ""
255255

256+
msgid ":mod:`tkinter`:"
257+
msgstr ""
258+
259+
msgid ""
260+
"The :class:`!tkinter.Variable` methods :meth:`!trace_variable`, :meth:`!"
261+
"trace` (an alias of :meth:`!trace_variable`), :meth:`!trace_vdelete` and :"
262+
"meth:`!trace_vinfo`, deprecated since Python 3.14, are scheduled for removal "
263+
"in Python 3.17. Use :meth:`!trace_add`, :meth:`!trace_remove` and :meth:`!"
264+
"trace_info` instead. (Contributed by Serhiy Storchaka in :gh:`120220`.)"
265+
msgstr ""
266+
256267
msgid "Pending removal in Python 3.18"
257268
msgstr ""
258269

‎deprecations/pending-removal-in-3.17.po‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.15\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-06-21 15:47+0000\n"
11+
"POT-Creation-Date: 2026-06-25 16:18+0000\n"
1212
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1313
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
1414
"teams/5390/pa/)\n"
@@ -93,3 +93,14 @@ msgid ""
9393
":class:`typing.ByteString`, deprecated since Python 3.9, is scheduled for "
9494
"removal in Python 3.17."
9595
msgstr ""
96+
97+
msgid ":mod:`tkinter`:"
98+
msgstr ""
99+
100+
msgid ""
101+
"The :class:`!tkinter.Variable` methods :meth:`!trace_variable`, :meth:`!"
102+
"trace` (an alias of :meth:`!trace_variable`), :meth:`!trace_vdelete` and :"
103+
"meth:`!trace_vinfo`, deprecated since Python 3.14, are scheduled for removal "
104+
"in Python 3.17. Use :meth:`!trace_add`, :meth:`!trace_remove` and :meth:`!"
105+
"trace_info` instead. (Contributed by Serhiy Storchaka in :gh:`120220`.)"
106+
msgstr ""

‎howto/abi3t-migration.po‎

Lines changed: 107 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.15\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-06-21 15:47+0000\n"
11+
"POT-Creation-Date: 2026-06-25 16:18+0000\n"
1212
"PO-Revision-Date: 2026-06-03 18:21+0000\n"
1313
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
1414
"teams/5390/pa/)\n"
@@ -387,6 +387,110 @@ msgid ""
387387
"documentation for details on this API."
388388
msgstr ""
389389

390+
msgid ""
391+
"As in the example, your ``PyModExport_`` function should *only* return a "
392+
"pointer to static data. If you cannot avoid additional code, refer to the :"
393+
"ref:`caveats in PyModExport documentation <pymodexport-api-caveats>`."
394+
msgstr ""
395+
396+
msgid "Existing slots"
397+
msgstr ""
398+
399+
msgid ""
400+
"If you have a ``Py_mod_slots`` slot, check the array it refers to. It should "
401+
"be a :c:type:`PyModuleDef_Slot` array like the following:"
402+
msgstr ""
403+
404+
msgid ""
405+
"static PyObject *create_module(PyObject *spec, PyModuleDef *def) { ... }\n"
406+
"static int my_first_module_exec(PyObject *module) { ... }\n"
407+
"static int my_second_module_exec(PyObject *module) { ... }\n"
408+
"\n"
409+
"static PyModuleDef_Slot my_slots[] = {\n"
410+
" {Py_mod_gil, Py_MOD_GIL_NOT_USED},\n"
411+
" {Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},\n"
412+
" {Py_mod_create, my_module_create},\n"
413+
" {Py_mod_exec, my_first_module_exec},\n"
414+
" {Py_mod_exec, my_second_module_exec},\n"
415+
" {0, NULL}\n"
416+
"};"
417+
msgstr ""
418+
419+
msgid "``py_mod_create``"
420+
msgstr ""
421+
422+
msgid ""
423+
"If you have a :c:macro:`Py_mod_create` entry, make sure the function can be "
424+
"called with ``NULL`` as its second argument (instead of the :c:type:"
425+
"`PyModuleDef`, which you are removing). Often, this argument isn't used at "
426+
"all; you can check by renaming it:"
427+
msgstr ""
428+
429+
msgid ""
430+
"static PyObject *create_module(PyObject *spec, PyModuleDef *_unused) { ... }"
431+
msgstr ""
432+
433+
msgid ""
434+
"If the argument is used, find a different way to pass in the data. Commonly, "
435+
"the information is static and you can refer to it directly. (If you're "
436+
"reusing a single function for several different modules, consider defining "
437+
"several functions instead.)"
438+
msgstr ""
439+
440+
msgid "Multiple ``py_mod_exec``"
441+
msgstr ""
442+
443+
msgid ""
444+
"If you have *more than one* :c:macro:`Py_mod_exec` entry, consolidate them: "
445+
"create a new function that calls the others, and replace existing slots with "
446+
"it."
447+
msgstr ""
448+
449+
msgid ""
450+
"static int my_module_exec(PyObject *module) {\n"
451+
" if (my_first_module_exec(module) < 0) return -1;\n"
452+
" if (my_second_module_exec(module) < 0) return -1;\n"
453+
"}\n"
454+
"\n"
455+
"static PyModuleDef_Slot my_slots[] = {\n"
456+
" ...\n"
457+
" /* (remove other Py_mod_exec slots) */\n"
458+
" ...\n"
459+
" {Py_mod_exec, my_module_exec},\n"
460+
" {0, NULL}\n"
461+
"};"
462+
msgstr ""
463+
464+
msgid ""
465+
"If the functions aren't used elsewhere, you can combine their bodies instead."
466+
msgstr ""
467+
468+
msgid "Merging slot arrays"
469+
msgstr ""
470+
471+
msgid ""
472+
"Optionally, when you break compatibility with Python 3.14, you may clean up "
473+
"the code by moving slots into the :c:type:`PySlot` array, and converting the "
474+
"definitions to :c:macro:`PySlot_DATA` and :c:macro:`PySlot_FUNC`:"
475+
msgstr ""
476+
477+
msgid ""
478+
"static PySlot my_slot_array[] = {\n"
479+
" ...\n"
480+
" PySlot_DATA(Py_mod_gil, Py_MOD_GIL_NOT_USED),\n"
481+
" PySlot_DATA(Py_mod_multiple_interpreters,\n"
482+
" Py_MOD_PER_INTERPRETER_GIL_SUPPORTED)\n"
483+
" PySlot_FUNC(Py_mod_create, my_module_create),\n"
484+
" PySlot_FUNC(Py_mod_exec, my_module_exec),\n"
485+
" PySlot_END\n"
486+
"};"
487+
msgstr ""
488+
489+
msgid ""
490+
"If you do this, delete the original :c:type:`PyModuleDef_Slot` array and its "
491+
"``Py_mod_slots`` entry."
492+
msgstr ""
493+
390494
msgid "Associated ``PyModuleDef``"
391495
msgstr ""
392496

@@ -608,8 +712,8 @@ msgid ""
608712
msgstr ""
609713

610714
msgid ""
611-
"then ``Py_TYPE(obj)`` is ``YourCustomClass``, and the underlying memory may "
612-
"look like this:"
715+
"then ``Py_TYPE(obj)`` is ``Sub``, and the underlying memory may look like "
716+
"this:"
613717
msgstr ""
614718

615719
msgid ""

‎library/compression.zstd.po‎

Lines changed: 2 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-06-21 15:47+0000\n"
14+
"POT-Creation-Date: 2026-06-25 16:18+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
@@ -875,7 +875,7 @@ msgid "The following strategies are available:"
875875
msgstr ""
876876

877877
msgid "Miscellaneous"
878-
msgstr ""
878+
msgstr "ਵਿਵਿਧ"
879879

880880
msgid ""
881881
"Retrieve a :class:`FrameInfo` object containing metadata about a Zstandard "

‎library/curses.panel.po‎

Lines changed: 8 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-06-19 16:29+0000\n"
14+
"POT-Creation-Date: 2026-06-25 16:18+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
@@ -34,6 +34,12 @@ msgstr ""
3434
msgid "Functions"
3535
msgstr "Functions"
3636

37+
msgid "The module :mod:`!curses.panel` defines the following exception:"
38+
msgstr ""
39+
40+
msgid "Exception raised when a curses panel library function returns an error."
41+
msgstr ""
42+
3743
msgid "The module :mod:`!curses.panel` defines the following functions:"
3844
msgstr ""
3945

@@ -60,7 +66,7 @@ msgstr ""
6066

6167
msgid ""
6268
"Panel objects, as returned by :func:`new_panel` above, are windows with a "
63-
"stacking order. There's always a window associated with a panel which "
69+
"stacking order. There's always a window associated with a panel which "
6470
"determines the content, while the panel methods are responsible for the "
6571
"window's depth in the panel stack."
6672
msgstr ""

‎library/idle.po‎

Lines changed: 2 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-06-21 15:47+0000\n"
14+
"POT-Creation-Date: 2026-06-25 16:18+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
@@ -23,7 +23,7 @@ msgstr ""
2323
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2424

2525
msgid "IDLE --- Python editor and shell"
26-
msgstr ""
26+
msgstr "IDLE --- ਪਾਇਥਨ ਸੰਪਾਦਕ ਅਤੇ ਸ਼ੈੱਲ"
2727

2828
msgid "**Source code:** :source:`Lib/idlelib/`"
2929
msgstr ""

‎library/importlib.po‎

Lines changed: 12 additions & 1 deletion
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-06-21 15:47+0000\n"
14+
"POT-Creation-Date: 2026-06-25 16:18+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
@@ -1106,6 +1106,17 @@ msgid ""
11061106
"framework would also contain ``Frameworks/foo.bar._whiz.framework/foo.bar."
11071107
"_whiz.origin``, containing the path to the ``.fwork`` file."
11081108
msgstr ""
1109+
"ਉਦਾਹਰਨ ਲਈ, ``from foo.bar import _whiz`` ਇੰਪੋਰਟ ਦੇ ਮਾਮਲੇ ਨੂੰ ਵੇਖੋ, ਜਿੱਥੇ ``_whiz`` ਨੂੰ "
1110+
"``sources/foo/bar/_whiz.abi3.so`` ਬਾਈਨਰੀ ਮੋਡੀਊਲ ਨਾਲ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਹੈ ਅਤੇ "
1111+
"``sources`` ਐਪ bundle ਦੇ ਅਨੁਸਾਰ ``sys.path`` ਉੱਤੇ ਦਰਜ ਸਥਾਨ ਹੈ। ਇਹ ਮੋਡੀਊਲ ਲਾਜ਼ਮੀ ਤੌਰ "
1112+
"ਉੱਤੇ ``Frameworks/foo.bar._whiz.framework/foo.bar._whiz`` ਵਜੋਂ ਵੰਡਿਆ ਜਾਣਾ ਚਾਹੀਦਾ "
1113+
"ਹੈ (framework ਦਾ ਨਾਮ ਮੋਡੀਊਲ ਦੇ ਪੂਰੇ import path ਤੋਂ ਬਣਾਇਆ ਜਾਂਦਾ ਹੈ), ਅਤੇ ``."
1114+
"framework`` ਡਾਇਰੈਕਟਰੀ ਵਿੱਚ ਇੱਕ ``Info.plist`` ਫਾਈਲ ਹੋਣੀ ਚਾਹੀਦੀ ਹੈ ਜੋ ਬਾਈਨਰੀ ਨੂੰ "
1115+
"framework ਵਜੋਂ ਪਛਾਣਦੀ ਹੋਵੇ। ਅਸਲ ਸਥਾਨ ਉੱਤੇ ``foo.bar._whiz`` ਮੋਡੀਊਲ ਨੂੰ ``sources/foo/"
1116+
"bar/_whiz.abi3.fwork`` marker ਫਾਈਲ ਦੁਆਰਾ ਦਰਸਾਇਆ ਜਾਵੇਗਾ, ਜਿਸ ਵਿੱਚ ``Frameworks/"
1117+
"foo.bar._whiz/foo.bar._whiz`` ਮਾਰਗ ਹੋਵੇਗਾ। Framework ਵਿੱਚ ``Frameworks/foo.bar."
1118+
"_whiz.framework/foo.bar._whiz.origin`` ਵੀ ਹੋਵੇਗੀ, ਜਿਸ ਵਿੱਚ ``.fwork`` ਫਾਈਲ ਦਾ "
1119+
"ਮਾਰਗ ਦਰਜ ਹੋਵੇਗਾ।"
11091120

11101121
msgid ""
11111122
"When a module is loaded with this loader, the ``__file__`` for the module "

‎library/lzma.po‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6+
# Translators:
7+
# Bhuvansh Kataria, 2026
8+
#
69
#, fuzzy
710
msgid ""
811
msgstr ""
912
"Project-Id-Version: Python 3.15\n"
1013
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-06-21 15:47+0000\n"
14+
"POT-Creation-Date: 2026-06-25 16:18+0000\n"
1215
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
16+
"Last-Translator: Bhuvansh Kataria, 2026\n"
1317
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
1418
"teams/5390/pa/)\n"
1519
"MIME-Version: 1.0\n"
@@ -393,7 +397,7 @@ msgid ""
393397
msgstr ""
394398

395399
msgid "Miscellaneous"
396-
msgstr ""
400+
msgstr "ਵਿਵਿਧ"
397401

398402
msgid ""
399403
"Return ``True`` if the given integrity check is supported on this system."

0 commit comments

Comments
 (0)