Skip to content

Commit f259b2c

Browse files
committed
Fix markup mismatches
1 parent c017cc8 commit f259b2c

1 file changed

Lines changed: 31 additions & 38 deletions

File tree

c-api/allocation.po

Lines changed: 31 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ msgstr ""
1818
"Project-Id-Version: Python 3.14\n"
1919
"Report-Msgid-Bugs-To: \n"
2020
"POT-Creation-Date: 2026-07-25 12:59+0330\n"
21-
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
21+
"PO-Revision-Date: 2026-07-25 14:55+0330\n"
2222
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
23-
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/"
24-
"fa/)\n"
23+
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/fa/)\n"
2524
"Language: fa\n"
2625
"MIME-Version: 1.0\n"
2726
"Content-Type: text/plain; charset=UTF-8\n"
2827
"Content-Transfer-Encoding: 8bit\n"
2928
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
29+
"X-Generator: Poedit 3.6\n"
3030

3131
#: ../../c-api/allocation.rst:6
3232
#, fuzzy
@@ -35,9 +35,9 @@ msgstr "تخصیص اشیاء روی پشته"
3535

3636
#: ../../c-api/allocation.rst:17
3737
msgid ""
38-
"Initialize a newly allocated object *op* with its type and initial "
39-
"reference. Returns the initialized object. Other fields of the object are "
40-
"not initialized. Despite its name, this function is unrelated to the "
38+
"Initialize a newly allocated object *op* with its type and initial reference. "
39+
"Returns the initialized object. Other fields of the object are not "
40+
"initialized. Despite its name, this function is unrelated to the "
4141
"object's :meth:`~object.__init__` method (:c:member:`~PyTypeObject.tp_init` "
4242
"slot). Specifically, this function does **not** call the object's :meth:`!"
4343
"__init__` method."
@@ -62,22 +62,22 @@ msgid ""
6262
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
6363
"length information for a variable-size object."
6464
msgstr ""
65-
"این تابع همهٔ کارهایی را انجام می‌دهد که :c:func:`PyObject_Init` انجام می‌دهد، "
66-
"و همچنین اطلاعات مربوط به طول را برای یک شیء با اندازهٔ متغیر مقداردهی می‌کند."
65+
"این تابع همهٔ کارهایی را انجام می‌دهد که :c:func:`PyObject_Init` انجام می‌دهد، و "
66+
"همچنین اطلاعات مربوط به طول را برای یک شیء با اندازهٔ متغیر مقداردهی می‌کند."
6767

6868
#: ../../c-api/allocation.rst:42
6969
msgid ""
70-
"This function only initializes some of the object's memory. It does not "
71-
"zero the rest."
70+
"This function only initializes some of the object's memory. It does not zero "
71+
"the rest."
7272
msgstr ""
7373

7474
#: ../../c-api/allocation.rst:48
7575
msgid ""
76-
"Allocates a new Python object using the C structure type *TYPE* and the "
77-
"Python type object *typeobj* (``PyTypeObject*``) by "
78-
"calling :c:func:`PyObject_Malloc` to allocate memory and initializing it "
79-
"like :c:func:`PyObject_Init`. The caller will own the only reference to the "
80-
"object (i.e. its reference count will be one)."
76+
"Allocates a new Python object using the C structure type *TYPE* and the Python "
77+
"type object *typeobj* (``PyTypeObject*``) by calling :c:func:`PyObject_Malloc` "
78+
"to allocate memory and initializing it like :c:func:`PyObject_Init`. The "
79+
"caller will own the only reference to the object (i.e. its reference count "
80+
"will be one)."
8181
msgstr ""
8282

8383
#: ../../c-api/allocation.rst:54 ../../c-api/allocation.rst:107
@@ -104,8 +104,7 @@ msgstr ""
104104
#: ../../c-api/allocation.rst:65
105105
msgid ""
106106
"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set "
107-
"in :c:member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_New` "
108-
"instead."
107+
"in :c:member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_New` instead."
109108
msgstr ""
110109

111110
#: ../../c-api/allocation.rst:68
@@ -116,14 +115,14 @@ msgstr ""
116115

117116
#: ../../c-api/allocation.rst:73 ../../c-api/allocation.rst:123
118117
msgid ""
119-
"The returned memory is not guaranteed to have been completely zeroed before "
120-
"it was initialized."
118+
"The returned memory is not guaranteed to have been completely zeroed before it "
119+
"was initialized."
121120
msgstr ""
122121

123122
#: ../../c-api/allocation.rst:78 ../../c-api/allocation.rst:128
124123
msgid ""
125-
"This macro does not construct a fully initialized object of the given type; "
126-
"it merely allocates memory and prepares it for further initialization "
124+
"This macro does not construct a fully initialized object of the given type; it "
125+
"merely allocates memory and prepares it for further initialization "
127126
"by :c:member:`~PyTypeObject.tp_init`. To construct a fully initialized "
128127
"object, call *typeobj* instead. For example::"
129128
msgstr ""
@@ -168,9 +167,9 @@ msgstr ""
168167
#: ../../c-api/allocation.rst:102
169168
msgid ""
170169
"This is useful for implementing objects like tuples, which are able to "
171-
"determine their size at construction time. Embedding the array of fields "
172-
"into the same allocation decreases the number of allocations, improving the "
173-
"memory management efficiency."
170+
"determine their size at construction time. Embedding the array of fields into "
171+
"the same allocation decreases the number of allocations, improving the memory "
172+
"management efficiency."
174173
msgstr ""
175174

176175
#: ../../c-api/allocation.rst:114
@@ -187,8 +186,7 @@ msgid ""
187186
msgstr ""
188187

189188
#: ../../c-api/allocation.rst:133
190-
msgid ""
191-
"PyObject *list_instance = PyObject_CallNoArgs((PyObject *)&PyList_Type);"
189+
msgid "PyObject *list_instance = PyObject_CallNoArgs((PyObject *)&PyList_Type);"
192190
msgstr ""
193191

194192
#: ../../c-api/allocation.rst:138
@@ -202,8 +200,8 @@ msgid ""
202200
"object."
203201
msgstr ""
204202
"شیء ای که در پایتون به صورت ``None`` قابل مشاهده است\n"
205-
"این فقط باید با استفاده از ماکرو :c:macro:`Py_None`، که به یک اشاره گر به "
206-
"این شی ارزیابی می شود، دسترسی پیدا کند."
203+
"این فقط باید با استفاده از ماکرو :c:macro:`Py_None`، که به یک اشاره گر به این "
204+
"شی ارزیابی می شود، دسترسی پیدا کند."
207205

208206
#: ../../c-api/allocation.rst:152
209207
msgid ":ref:`moduleobjects`"
@@ -232,30 +230,25 @@ msgid "Function"
232230
msgstr ""
233231

234232
#: ../../c-api/allocation.rst:172
235-
#, fuzzy
236233
msgid ":c:macro:`PyObject_New`"
237-
msgstr "همانند :c:func:`PyObject_Free`"
234+
msgstr "همانند :c:macro:`PyObject_New`"
238235

239236
#: ../../c-api/allocation.rst:174
240237
msgid ":c:macro:`PyObject_NewVar`"
241238
msgstr ""
242239

243240
#: ../../c-api/allocation.rst:176
244-
#, fuzzy
245241
msgid ":c:func:`PyObject_Init`"
246-
msgstr "همانند :c:func:`PyObject_Free`"
242+
msgstr "همانند :c:func:`PyObject_Init`"
247243

248244
#: ../../c-api/allocation.rst:178
249-
#, fuzzy
250245
msgid ":c:func:`PyObject_InitVar`"
251-
msgstr "همانند :c:func:`PyObject_Free`"
246+
msgstr "همانند :c:func:`PyObject_InitVar`"
252247

253248
#: ../../c-api/allocation.rst:180
254-
#, fuzzy
255249
msgid ":c:func:`PyObject_Malloc`"
256-
msgstr "همانند :c:func:`PyObject_Free`"
250+
msgstr "همانند :c:func:`PyObject_Malloc`"
257251

258252
#: ../../c-api/allocation.rst:182
259-
#, fuzzy
260253
msgid ":c:func:`PyObject_Realloc`"
261-
msgstr "همانند :c:func:`PyObject_Free`"
254+
msgstr "همانند :c:func:`PyObject_Realloc`"

0 commit comments

Comments
 (0)