Skip to content

Commit 031fc7a

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 4370f4c commit 031fc7a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+817
-318
lines changed

c-api/allocation.po

Lines changed: 64 additions & 9 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: 2025-05-30 14:22+0000\n"
14+
"POT-Creation-Date: 2025-09-17 14:21+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
@@ -33,18 +33,30 @@ msgid ""
3333
"slot). Specifically, this function does **not** call the object's :meth:`!"
3434
"__init__` method."
3535
msgstr ""
36+
"Menginisialisasi objek *op* yang baru dialokasikan dengan tipe dan referensi "
37+
"awalnya. Mengembalikan objek yang telah diinisialisasi. Bidang lain dari "
38+
"objek tidak diinisialisasi. Terlepas dari namanya, fungsi ini tidak terkait "
39+
"dengan metode :meth:`~object.__init__` objek (slot:c:member:`~PyTypeObject."
40+
"tp_init` ). Secara khusus, fungsi ini tidak **tidak** memanggil metode :"
41+
"meth:`!__init__` objek."
3642

3743
msgid ""
3844
"In general, consider this function to be a low-level routine. Use :c:member:"
3945
"`~PyTypeObject.tp_alloc` where possible. For implementing :c:member:`!"
4046
"tp_alloc` for your type, prefer :c:func:`PyType_GenericAlloc` or :c:func:"
4147
"`PyObject_New`."
4248
msgstr ""
49+
"Secara umum, anggaplah fungsi ini sebagai rutinitas tingkat rendah. Gunakan :"
50+
"c:member:`~PyTypeObject.tp_alloc` jika memungkinkan. Untuk "
51+
"mengimplementasikan :c:member:`!tp_alloc` untuk tipe Anda, pilih :c:func:"
52+
"`PyType_GenericAlloc` atau :c:func:`PyObject_New`."
4353

4454
msgid ""
4555
"This function only initializes the object's memory corresponding to the "
4656
"initial :c:type:`PyObject` structure. It does not zero the rest."
4757
msgstr ""
58+
"Fungsi ini hanya menginisialisasi memori objek yang sesuai dengan struktur "
59+
"awal :c:type:`PyObject`. Fungsi ini tidak mengosongkan sisanya."
4860

4961
msgid ""
5062
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
@@ -57,6 +69,8 @@ msgid ""
5769
"This function only initializes some of the object's memory. It does not "
5870
"zero the rest."
5971
msgstr ""
72+
"Fungsi ini hanya menginisialisasi sebagian memori objek. Fungsi ini tidak "
73+
"mengosongkan sisanya."
6074

6175
msgid ""
6276
"Allocates a new Python object using the C structure type *TYPE* and the "
@@ -65,99 +79,140 @@ msgid ""
6579
"`PyObject_Init`. The caller will own the only reference to the object (i.e. "
6680
"its reference count will be one)."
6781
msgstr ""
82+
"Mengalokasikan objek Python baru menggunakan tipe struktur C *TYPE* dan "
83+
"objek tipe Python *typeobj* (``PyTypeObject*``) dengan memanggil :c:func:"
84+
"`PyObject_Malloc` untuk mengalokasikan memori dan menginisialisasinya "
85+
"sebagai :c:func:`PyObject_Init`. Pemanggil akan memiliki satu-satunya "
86+
"referensi ke objek tersebut (misal: jumlah referensinya adalah satu)."
6887

6988
msgid ""
7089
"Avoid calling this directly to allocate memory for an object; call the "
7190
"type's :c:member:`~PyTypeObject.tp_alloc` slot instead."
7291
msgstr ""
92+
"Hindari memanggil ini secara langsung untuk mengalokasikan memori untuk "
93+
"sebuah objek; panggil slot :c:member:`~PyTypeObject.tp_alloc` dari tipe "
94+
"sebagai gantinya."
7395

7496
msgid ""
7597
"When populating a type's :c:member:`~PyTypeObject.tp_alloc` slot, :c:func:"
7698
"`PyType_GenericAlloc` is preferred over a custom function that simply calls "
7799
"this macro."
78100
msgstr ""
101+
"Ketika mengisi slot tipe :c:member:`~PyTypeObject.tp_alloc` , :c:func:"
102+
"`PyType_GenericAlloc` lebih direkomendasikan daripada fungsi kustom yang "
103+
"hanya memanggil makro ini."
79104

80105
msgid ""
81106
"This macro does not call :c:member:`~PyTypeObject.tp_alloc`, :c:member:"
82107
"`~PyTypeObject.tp_new` (:meth:`~object.__new__`), or :c:member:"
83108
"`~PyTypeObject.tp_init` (:meth:`~object.__init__`)."
84109
msgstr ""
110+
"Makro ini tidak memanggil :c:member:`~PyTypeObject.tp_alloc`, :c:member:"
111+
"`~PyTypeObject.tp_new` (:meth:`~object.__new__`), atau :c:member:"
112+
"`~PyTypeObject.tp_init` (:meth:`~object.__init__`)."
85113

86114
msgid ""
87115
"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:"
88116
"member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_New` instead."
89117
msgstr ""
118+
"Ini tidak dapat digunakan untuk objek dengan :c:macro:`Py_TPFLAGS_HAVE_GC` "
119+
"yang diatur di :c:member:`~PyTypeObject.tp_flags`; gunakan :c:macro:"
120+
"`PyObject_GC_New` sebagai gantinya."
90121

91122
msgid ""
92123
"Memory allocated by this macro must be freed with :c:func:`PyObject_Free` "
93124
"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)."
94125
msgstr ""
126+
"Memori yang dialokasikan oleh makro ini harus dibebaskan dengan :c:func:"
127+
"`PyObject_Free` (biasanya dipanggil melalui slot objek :c:member:"
128+
"`~PyTypeObject.tp_free` )."
95129

96130
msgid ""
97131
"The returned memory is not guaranteed to have been completely zeroed before "
98132
"it was initialized."
99133
msgstr ""
134+
"Memori yang dikembalikan tidak dijamin telah di-nol-kan sepenuhnya sebelum "
135+
"diinisialisasi."
100136

101137
msgid ""
102138
"This macro does not construct a fully initialized object of the given type; "
103139
"it merely allocates memory and prepares it for further initialization by :c:"
104140
"member:`~PyTypeObject.tp_init`. To construct a fully initialized object, "
105141
"call *typeobj* instead. For example::"
106142
msgstr ""
143+
"Makro ini tidak membuat objek yang diinisialisasi penuh dari tipe yang "
144+
"diberikan; makro ini hanya mengalokasikan memori dan mempersiapkannya untuk "
145+
"inisialisasi lebih lanjut oleh :c:member:`~PyTypeObject.tp_init`. Untuk "
146+
"membuat objek yang diinisialisasi secara penuh, panggil *typeobj* sebagai "
147+
"gantinya. Sebagai contoh::"
107148

108149
msgid "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);"
109-
msgstr ""
150+
msgstr "PyObject * foo = PyObject_CallNoArgs((PyObject *) & PyFoo_Type);"
110151

111152
msgid ":c:func:`PyObject_Free`"
112153
msgstr ":c:func:`PyObject_Free`"
113154

114155
msgid ":c:macro:`PyObject_GC_New`"
115-
msgstr ""
156+
msgstr ":c:macro:`PyObject_GC_New`"
116157

117158
msgid ":c:func:`PyType_GenericAlloc`"
118-
msgstr ""
159+
msgstr ":c:func:`PyType_GenericAlloc`"
119160

120161
msgid ":c:member:`~PyTypeObject.tp_alloc`"
121162
msgstr ":c:member:`~PyTypeObject.tp_alloc`"
122163

123164
msgid "Like :c:macro:`PyObject_New` except:"
124-
msgstr ""
165+
msgstr "Seperti :c:macro:`PyObject_New` kecuali:"
125166

126167
msgid ""
127168
"It allocates enough memory for the *TYPE* structure plus *size* "
128169
"(``Py_ssize_t``) fields of the size given by the :c:member:`~PyTypeObject."
129170
"tp_itemsize` field of *typeobj*."
130171
msgstr ""
172+
"Ini mengalokasikan cukup memori untuk struktur *TYPE* ditambah bidang *size* "
173+
"(``Py_ssize_t``) dengan ukuran yang diberikan oleh bidang :c:member:"
174+
"`~PyTypeObject.tp_itemsize` dari *typeobj*."
131175

132176
msgid "The memory is initialized like :c:func:`PyObject_InitVar`."
133-
msgstr ""
177+
msgstr "Memori diinisialisasi seperti :c:func:`PyObject_InitVar`."
134178

135179
msgid ""
136180
"This is useful for implementing objects like tuples, which are able to "
137181
"determine their size at construction time. Embedding the array of fields "
138182
"into the same allocation decreases the number of allocations, improving the "
139183
"memory management efficiency."
140184
msgstr ""
185+
"Hal ini berguna untuk mengimplementasikan objek seperti tuple, yang dapat "
186+
"menentukan ukurannya pada saat konstruksi. Menanamkan array of fields ke "
187+
"dalam alokasi yang sama akan mengurangi jumlah alokasi, sehingga "
188+
"meningkatkan efisiensi manajemen memori."
141189

142190
msgid ""
143191
"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:"
144192
"member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_NewVar` instead."
145193
msgstr ""
194+
"Ini tidak dapat digunakan untuk objek dengan :c:macro:`Py_TPFLAGS_HAVE_GC` "
195+
"yang diatur di :c:member:`~PyTypeObject.tp_flags`; gunakan :c:macro:"
196+
"`PyObject_GC_NewVar` sebagai gantinya."
146197

147198
msgid ""
148199
"Memory allocated by this function must be freed with :c:func:`PyObject_Free` "
149200
"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)."
150201
msgstr ""
202+
"Memori yang dialokasikan oleh fungsi ini harus dibebaskan dengan :c:func:"
203+
"`PyObject_Free` (biasanya dipanggil melalui slot :c:member:`~PyTypeObject."
204+
"tp_free` objek)."
151205

152206
msgid ""
153207
"PyObject *list_instance = PyObject_CallNoArgs((PyObject *)&PyList_Type);"
154208
msgstr ""
209+
"PyObject * list_instance = PyObject_CallNoArgs((PyObject *) & PyList_Type);"
155210

156211
msgid ":c:macro:`PyObject_GC_NewVar`"
157-
msgstr ""
212+
msgstr ":c:macro:`PyObject_GC_NewVar`"
158213

159214
msgid "Same as :c:func:`PyObject_Free`."
160-
msgstr ""
215+
msgstr "Sama seperti :c:func:`PyObject_Free`."
161216

162217
msgid ""
163218
"Object which is visible in Python as ``None``. This should only be accessed "
@@ -169,7 +224,7 @@ msgstr ""
169224
"pointer ke object ini."
170225

171226
msgid ":ref:`moduleobjects`"
172-
msgstr ""
227+
msgstr ":ref:`moduleobjects`"
173228

174229
msgid "To allocate and create extension modules."
175230
msgstr "Untuk mengalokasikan dan membuat modul ekstensi."

0 commit comments

Comments
 (0)