11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2019, Python Software Foundation
2+ # Copyright (C) 2001 Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
6+ # Translators:
7+ # Elmo <work.elmoallistair@gmail.com>, 2021
8+ #
69#, fuzzy
710msgid ""
811msgstr ""
9- "Project-Id-Version : Python 3.8 \n "
12+ "Project-Id-Version : Python 3.14 \n "
1013"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2019-09-01 14:24+0000\n "
12- "PO-Revision-Date : 2017-02-16 17:42+0000\n "
13- "Language-Team : Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n "
14+ "POT-Creation-Date : 2025-05-09 14:19+0000\n "
15+ "PO-Revision-Date : 2021-06-28 00:52+0000\n "
16+ "Last-Translator : Elmo <work.elmoallistair@gmail.com>, 2021\n "
17+ "Language-Team : Indonesian (https://app.transifex.com/python-doc/teams/5390/id/)\n "
1418"MIME-Version : 1.0\n "
1519"Content-Type : text/plain; charset=UTF-8\n "
1620"Content-Transfer-Encoding : 8bit\n "
@@ -19,7 +23,7 @@ msgstr ""
1923
2024#: ../../extending/windows.rst:8
2125msgid "Building C and C++ Extensions on Windows"
22- msgstr ""
26+ msgstr "Membangun Ekstensi C dan C++ di Windows "
2327
2428#: ../../extending/windows.rst:10
2529msgid ""
@@ -30,6 +34,12 @@ msgid ""
3034"programmer interested in producing software which can be successfully built "
3135"on both Unix and Windows."
3236msgstr ""
37+ "Bab ini menjelaskan secara singkat cara membuat modul ekstensi Windows untuk"
38+ " Python menggunakan Microsoft Visual C++, dan diikuti dengan informasi latar"
39+ " belakang yang lebih rinci tentang cara kerjanya. Materi penjelasan berguna "
40+ "untuk pemrogram Windows yang belajar membuat ekstensi Python dan pemrogram "
41+ "Unix yang tertarik untuk memproduksi perangkat lunak yang dapat dibangun di "
42+ "Unix dan Windows."
3343
3444#: ../../extending/windows.rst:17
3545msgid ""
@@ -38,6 +48,10 @@ msgid ""
3848"still need the C compiler that was used to build Python; typically Microsoft"
3949" Visual C++."
4050msgstr ""
51+ "Penulis modul didorong untuk menggunakan pendekatan distutil untuk membangun"
52+ " modul ekstensi, daripada yang dijelaskan di bagian ini. Anda masih "
53+ "memerlukan kompiler C yang digunakan untuk membangun Python; biasanya "
54+ "Microsoft Visual C++."
4155
4256#: ../../extending/windows.rst:24
4357msgid ""
@@ -48,6 +62,12 @@ msgid ""
4862"working with. For example, if you are using Python 2.2.1, ``XY`` will "
4963"actually be ``22``."
5064msgstr ""
65+ "Bab ini menyebutkan sejumlah nama file yang menyertakan nomor versi Python "
66+ "yang disandikan. Nama file ini diwakili dengan nomor versi yang ditampilkan "
67+ "sebagai ``XY``; dalam praktiknya, ``'X'`` akan menjadi nomor versi utama dan"
68+ " ``'Y'`` akan menjadi nomor versi minor dari rilis Python yang sedang Anda "
69+ "kerjakan. Misalnya, jika Anda menggunakan Python 2.2.1, ``XY`` sebenarnya "
70+ "akan menjadi ``22``."
5171
5272#: ../../extending/windows.rst:34
5373msgid "A Cookbook Approach"
@@ -56,10 +76,10 @@ msgstr ""
5676#: ../../extending/windows.rst:36
5777msgid ""
5878"There are two approaches to building extension modules on Windows, just as "
59- "there are on Unix: use the :mod:`distutils ` package to control the build "
60- "process, or do things manually. The distutils approach works well for most "
61- "extensions; documentation on using :mod:`distutils ` to build and package "
62- "extension modules is available in :ref:`distutils -index`. If you find you "
79+ "there are on Unix: use the ``setuptools` ` package to control the build "
80+ "process, or do things manually. The setuptools approach works well for most"
81+ " extensions; documentation on using ``setuptools` ` to build and package "
82+ "extension modules is available in :ref:`setuptools -index`. If you find you "
6383"really need to do things manually, it may be instructive to study the "
6484"project file for the :source:`winsound <PCbuild/winsound.vcxproj>` standard "
6585"library module."
@@ -140,51 +160,96 @@ msgid ""
140160" create a separate copy."
141161msgstr ""
142162
143- #: ../../extending/windows.rst:103
163+ #: ../../extending/windows.rst:101
164+ msgid ""
165+ "Turn off the implicit, ``#pragma``-based linkage with the Python library, "
166+ "performed inside CPython header files."
167+ msgstr ""
168+
169+ #: ../../extending/windows.rst:110
144170msgid "Using DLLs in Practice"
145171msgstr ""
146172
147- #: ../../extending/windows.rst:108
173+ #: ../../extending/windows.rst:115
148174msgid ""
149175"Windows Python is built in Microsoft Visual C++; using other compilers may "
150- "or may not work (though Borland seems to). The rest of this section is "
151- "MSVC++ specific."
176+ "or may not work. The rest of this section is MSVC++ specific."
177+ msgstr ""
178+
179+ #: ../../extending/windows.rst:118
180+ msgid ""
181+ "When creating DLLs in Windows, you can use the CPython library in two ways:"
182+ msgstr ""
183+
184+ #: ../../extending/windows.rst:120
185+ msgid ""
186+ "By default, inclusion of :file:`PC/pyconfig.h` directly or via "
187+ ":file:`Python.h` triggers an implicit, configure-aware link with the "
188+ "library. The header file chooses :file:`pythonXY_d.lib` for Debug, "
189+ ":file:`pythonXY.lib` for Release, and :file:`pythonX.lib` for Release with "
190+ "the `Limited API <stable-application-binary-interface>`_ enabled."
191+ msgstr ""
192+
193+ #: ../../extending/windows.rst:126 ../../extending/windows.rst:144
194+ msgid ""
195+ "To build two DLLs, spam and ni (which uses C functions found in spam), you "
196+ "could use these commands::"
152197msgstr ""
153198
154- #: ../../extending/windows.rst:112
199+ #: ../../extending/windows.rst:129
155200msgid ""
156- "When creating DLLs in Windows, you must pass :file:`pythonXY.lib` to the "
157- "linker. To build two DLLs, spam and ni (which uses C functions found in "
158- "spam), you could use these commands::"
201+ "cl /LD /I/python/include spam.c\n"
202+ "cl /LD /I/python/include ni.c spam.lib"
159203msgstr ""
160204
161- #: ../../extending/windows.rst:119
205+ #: ../../extending/windows.rst:132
162206msgid ""
163207"The first command created three files: :file:`spam.obj`, :file:`spam.dll` "
164208"and :file:`spam.lib`. :file:`Spam.dll` does not contain any Python "
165209"functions (such as :c:func:`PyArg_ParseTuple`), but it does know how to find"
166- " the Python code thanks to :file:`pythonXY.lib`."
210+ " the Python code thanks to the implicitly linked :file:`pythonXY.lib`."
167211msgstr ""
168212
169- #: ../../extending/windows.rst:124
213+ #: ../../extending/windows.rst:137 ../../extending/windows.rst:155
170214msgid ""
171215"The second command created :file:`ni.dll` (and :file:`.obj` and "
172216":file:`.lib`), which knows how to find the necessary functions from spam, "
173217"and also from the Python executable."
174218msgstr ""
175219
176- #: ../../extending/windows.rst:128
220+ #: ../../extending/windows.rst:141
221+ msgid ""
222+ "Manually by defining :c:macro:`Py_NO_LINK_LIB` macro before including "
223+ ":file:`Python.h`. You must pass :file:`pythonXY.lib` to the linker."
224+ msgstr ""
225+
226+ #: ../../extending/windows.rst:147
227+ msgid ""
228+ "cl /LD /DPy_NO_LINK_LIB /I/python/include spam.c ../libs/pythonXY.lib\n"
229+ "cl /LD /DPy_NO_LINK_LIB /I/python/include ni.c spam.lib ../libs/pythonXY.lib"
230+ msgstr ""
231+
232+ #: ../../extending/windows.rst:150
233+ msgid ""
234+ "The first command created three files: :file:`spam.obj`, :file:`spam.dll` "
235+ "and :file:`spam.lib`. :file:`Spam.dll` does not contain any Python "
236+ "functions (such as :c:func:`PyArg_ParseTuple`), but it does know how to find"
237+ " the Python code thanks to :file:`pythonXY.lib`."
238+ msgstr ""
239+
240+ #: ../../extending/windows.rst:159
177241msgid ""
178242"Not every identifier is exported to the lookup table. If you want any other"
179243" modules (including Python) to be able to see your identifiers, you have to "
180244"say ``_declspec(dllexport)``, as in ``void _declspec(dllexport) "
181245"initspam(void)`` or ``PyObject _declspec(dllexport) *NiGetSpamData(void)``."
182246msgstr ""
183247
184- #: ../../extending/windows.rst:133
248+ #: ../../extending/windows.rst:164
185249msgid ""
186250"Developer Studio will throw in a lot of import libraries that you do not "
187251"really need, adding about 100K to your executable. To get rid of them, use "
188252"the Project Settings dialog, Link tab, to specify *ignore default "
189- "libraries*. Add the correct :file:`msvcrtxx.lib` to the list of libraries."
253+ "libraries*. Add the correct :file:`msvcrt{xx}.lib` to the list of "
254+ "libraries."
190255msgstr ""
0 commit comments