Skip to content

Commit 0955995

Browse files
author
GitHub Action's update-translation job
committed
Update Farsi translations from Transifex
1 parent 1d636f3 commit 0955995

20 files changed

Lines changed: 15013 additions & 14799 deletions

c-api/allocation.po

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-03-07 14:18+0000\n"
14+
"POT-Creation-Date: 2025-03-21 14:18+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1616
"Last-Translator: Danial Behzadi <dani.behzi@ubuntu.com>, 2025\n"
1717
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/"
@@ -49,7 +49,14 @@ msgid ""
4949
"tp_basicsize` field of the type object."
5050
msgstr ""
5151

52-
#: ../../c-api/allocation.rst:41
52+
#: ../../c-api/allocation.rst:38
53+
msgid ""
54+
"Note that this function is unsuitable if *typeobj* has :c:macro:"
55+
"`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_New` "
56+
"instead."
57+
msgstr ""
58+
59+
#: ../../c-api/allocation.rst:45
5360
msgid ""
5461
"Allocate a new Python object using the C structure type *TYPE* and the "
5562
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -62,7 +69,14 @@ msgid ""
6269
"management efficiency."
6370
msgstr ""
6471

65-
#: ../../c-api/allocation.rst:55
72+
#: ../../c-api/allocation.rst:56
73+
msgid ""
74+
"Note that this function is unsuitable if *typeobj* has :c:macro:"
75+
"`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_NewVar` "
76+
"instead."
77+
msgstr ""
78+
79+
#: ../../c-api/allocation.rst:63
6680
msgid ""
6781
"Releases memory allocated to an object using :c:macro:`PyObject_New` or :c:"
6882
"macro:`PyObject_NewVar`. This is normally called from the :c:member:"
@@ -71,17 +85,17 @@ msgid ""
7185
"no longer a valid Python object."
7286
msgstr ""
7387

74-
#: ../../c-api/allocation.rst:64
88+
#: ../../c-api/allocation.rst:72
7589
msgid ""
7690
"Object which is visible in Python as ``None``. This should only be accessed "
7791
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
7892
"object."
7993
msgstr ""
8094

81-
#: ../../c-api/allocation.rst:71
95+
#: ../../c-api/allocation.rst:79
8296
msgid ":c:func:`PyModule_Create`"
8397
msgstr ""
8498

85-
#: ../../c-api/allocation.rst:72
99+
#: ../../c-api/allocation.rst:80
86100
msgid "To allocate and create extension modules."
87101
msgstr ""

c-api/monitoring.po

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.13\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-03-07 14:18+0000\n"
11+
"POT-Creation-Date: 2025-03-21 14:18+0000\n"
1212
"PO-Revision-Date: 2024-05-11 01:07+0000\n"
1313
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/"
1414
"fa/)\n"
@@ -284,3 +284,13 @@ msgstr ""
284284
msgid ""
285285
"Exit the last scope that was entered with :c:func:`!PyMonitoring_EnterScope`."
286286
msgstr ""
287+
288+
#: ../../c-api/monitoring.rst:197
289+
msgid ""
290+
"Return true if the event corresponding to the event ID *ev* is a :ref:`local "
291+
"event <monitoring-event-local>`."
292+
msgstr ""
293+
294+
#: ../../c-api/monitoring.rst:204
295+
msgid "This function is :term:`soft deprecated`."
296+
msgstr ""

c-api/type.po

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-03-07 14:18+0000\n"
14+
"POT-Creation-Date: 2025-03-21 14:18+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1616
"Last-Translator: Alireza Shabani (Revisto) <theRevisto@gmail.com>, 2025\n"
1717
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/"
@@ -455,20 +455,22 @@ msgid ""
455455
"If negative, the absolute value specifies how much space instances of the "
456456
"class need *in addition* to the superclass. Use :c:func:"
457457
"`PyObject_GetTypeData` to get a pointer to subclass-specific memory reserved "
458-
"this way."
458+
"this way. For negative :c:member:`!basicsize`, Python will insert padding "
459+
"when needed to meet :c:member:`~PyTypeObject.tp_basicsize`'s alignment "
460+
"requirements."
459461
msgstr ""
460462

461-
#: ../../c-api/type.rst:418
463+
#: ../../c-api/type.rst:421
462464
msgid "Previously, this field could not be negative."
463465
msgstr ""
464466

465-
#: ../../c-api/type.rst:422
467+
#: ../../c-api/type.rst:425
466468
msgid ""
467469
"Size of one element of a variable-size type, in bytes. Used to set :c:member:"
468470
"`PyTypeObject.tp_itemsize`. See ``tp_itemsize`` documentation for caveats."
469471
msgstr ""
470472

471-
#: ../../c-api/type.rst:426
473+
#: ../../c-api/type.rst:429
472474
msgid ""
473475
"If zero, :c:member:`~PyTypeObject.tp_itemsize` is inherited. Extending "
474476
"arbitrary variable-sized classes is dangerous, since some types use a fixed "
@@ -477,150 +479,150 @@ msgid ""
477479
"only possible in the following situations:"
478480
msgstr ""
479481

480-
#: ../../c-api/type.rst:433
482+
#: ../../c-api/type.rst:436
481483
msgid ""
482484
"The base is not variable-sized (its :c:member:`~PyTypeObject.tp_itemsize`)."
483485
msgstr ""
484486

485-
#: ../../c-api/type.rst:435
487+
#: ../../c-api/type.rst:438
486488
msgid ""
487489
"The requested :c:member:`PyType_Spec.basicsize` is positive, suggesting that "
488490
"the memory layout of the base class is known."
489491
msgstr ""
490492

491-
#: ../../c-api/type.rst:437
493+
#: ../../c-api/type.rst:440
492494
msgid ""
493495
"The requested :c:member:`PyType_Spec.basicsize` is zero, suggesting that the "
494496
"subclass does not access the instance's memory directly."
495497
msgstr ""
496498

497-
#: ../../c-api/type.rst:440
499+
#: ../../c-api/type.rst:443
498500
msgid "With the :c:macro:`Py_TPFLAGS_ITEMS_AT_END` flag."
499501
msgstr ""
500502

501-
#: ../../c-api/type.rst:444
503+
#: ../../c-api/type.rst:447
502504
msgid "Type flags, used to set :c:member:`PyTypeObject.tp_flags`."
503505
msgstr ""
504506

505-
#: ../../c-api/type.rst:446
507+
#: ../../c-api/type.rst:449
506508
msgid ""
507509
"If the ``Py_TPFLAGS_HEAPTYPE`` flag is not set, :c:func:"
508510
"`PyType_FromSpecWithBases` sets it automatically."
509511
msgstr ""
510512

511-
#: ../../c-api/type.rst:451
513+
#: ../../c-api/type.rst:454
512514
msgid ""
513515
"Array of :c:type:`PyType_Slot` structures. Terminated by the special slot "
514516
"value ``{0, NULL}``."
515517
msgstr ""
516518

517-
#: ../../c-api/type.rst:454
519+
#: ../../c-api/type.rst:457
518520
msgid "Each slot ID should be specified at most once."
519521
msgstr ""
520522

521-
#: ../../c-api/type.rst:464
523+
#: ../../c-api/type.rst:467
522524
msgid ""
523525
"Structure defining optional functionality of a type, containing a slot ID "
524526
"and a value pointer."
525527
msgstr ""
526528

527-
#: ../../c-api/type.rst:469
529+
#: ../../c-api/type.rst:472
528530
msgid "A slot ID."
529531
msgstr ""
530532

531-
#: ../../c-api/type.rst:471
533+
#: ../../c-api/type.rst:474
532534
msgid ""
533535
"Slot IDs are named like the field names of the structures :c:type:"
534536
"`PyTypeObject`, :c:type:`PyNumberMethods`, :c:type:`PySequenceMethods`, :c:"
535537
"type:`PyMappingMethods` and :c:type:`PyAsyncMethods` with an added ``Py_`` "
536538
"prefix. For example, use:"
537539
msgstr ""
538540

539-
#: ../../c-api/type.rst:477
541+
#: ../../c-api/type.rst:480
540542
msgid "``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`"
541543
msgstr ""
542544

543-
#: ../../c-api/type.rst:478
545+
#: ../../c-api/type.rst:481
544546
msgid "``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`"
545547
msgstr ""
546548

547-
#: ../../c-api/type.rst:479
549+
#: ../../c-api/type.rst:482
548550
msgid "``Py_sq_length`` to set :c:member:`PySequenceMethods.sq_length`"
549551
msgstr ""
550552

551-
#: ../../c-api/type.rst:481
553+
#: ../../c-api/type.rst:484
552554
msgid ""
553555
"The following “offset” fields cannot be set using :c:type:`PyType_Slot`:"
554556
msgstr ""
555557

556-
#: ../../c-api/type.rst:483
558+
#: ../../c-api/type.rst:486
557559
msgid ""
558560
":c:member:`~PyTypeObject.tp_weaklistoffset` (use :c:macro:"
559561
"`Py_TPFLAGS_MANAGED_WEAKREF` instead if possible)"
560562
msgstr ""
561563

562-
#: ../../c-api/type.rst:485
564+
#: ../../c-api/type.rst:488
563565
msgid ""
564566
":c:member:`~PyTypeObject.tp_dictoffset` (use :c:macro:"
565567
"`Py_TPFLAGS_MANAGED_DICT` instead if possible)"
566568
msgstr ""
567569

568-
#: ../../c-api/type.rst:487
570+
#: ../../c-api/type.rst:490
569571
msgid ""
570572
":c:member:`~PyTypeObject.tp_vectorcall_offset` (use "
571573
"``\"__vectorcalloffset__\"`` in :ref:`PyMemberDef <pymemberdef-offsets>`)"
572574
msgstr ""
573575

574-
#: ../../c-api/type.rst:491
576+
#: ../../c-api/type.rst:494
575577
msgid ""
576578
"If it is not possible to switch to a ``MANAGED`` flag (for example, for "
577579
"vectorcall or to support Python older than 3.12), specify the offset in :c:"
578580
"member:`Py_tp_members <PyTypeObject.tp_members>`. See :ref:`PyMemberDef "
579581
"documentation <pymemberdef-offsets>` for details."
580582
msgstr ""
581583

582-
#: ../../c-api/type.rst:497
584+
#: ../../c-api/type.rst:500
583585
msgid "The following fields cannot be set at all when creating a heap type:"
584586
msgstr ""
585587

586-
#: ../../c-api/type.rst:499
588+
#: ../../c-api/type.rst:502
587589
msgid ""
588590
":c:member:`~PyTypeObject.tp_vectorcall` (use :c:member:`~PyTypeObject."
589591
"tp_new` and/or :c:member:`~PyTypeObject.tp_init`)"
590592
msgstr ""
591593

592-
#: ../../c-api/type.rst:503
594+
#: ../../c-api/type.rst:506
593595
msgid ""
594596
"Internal fields: :c:member:`~PyTypeObject.tp_dict`, :c:member:`~PyTypeObject."
595597
"tp_mro`, :c:member:`~PyTypeObject.tp_cache`, :c:member:`~PyTypeObject."
596598
"tp_subclasses`, and :c:member:`~PyTypeObject.tp_weaklist`."
597599
msgstr ""
598600

599-
#: ../../c-api/type.rst:510
601+
#: ../../c-api/type.rst:513
600602
msgid ""
601603
"Setting :c:data:`Py_tp_bases` or :c:data:`Py_tp_base` may be problematic on "
602604
"some platforms. To avoid issues, use the *bases* argument of :c:func:"
603605
"`PyType_FromSpecWithBases` instead."
604606
msgstr ""
605607

606-
#: ../../c-api/type.rst:515
608+
#: ../../c-api/type.rst:518
607609
msgid "Slots in :c:type:`PyBufferProcs` may be set in the unlimited API."
608610
msgstr ""
609611

610-
#: ../../c-api/type.rst:518
612+
#: ../../c-api/type.rst:521
611613
msgid ""
612614
":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs."
613615
"bf_releasebuffer` are now available under the :ref:`limited API <limited-c-"
614616
"api>`."
615617
msgstr ""
616618

617-
#: ../../c-api/type.rst:525
619+
#: ../../c-api/type.rst:528
618620
msgid ""
619621
"The desired value of the slot. In most cases, this is a pointer to a "
620622
"function."
621623
msgstr ""
622624

623-
#: ../../c-api/type.rst:528
625+
#: ../../c-api/type.rst:531
624626
msgid "Slots other than ``Py_tp_doc`` may not be ``NULL``."
625627
msgstr ""
626628

0 commit comments

Comments
 (0)