Skip to content

Commit be5cc55

Browse files
committed
update python-newest.c-api--file/id.po with latest contents from transifex
1 parent bacd4f1 commit be5cc55

File tree

1 file changed

+68
-102
lines changed
  • python-newest.c-api--file

1 file changed

+68
-102
lines changed

python-newest.c-api--file/id.po

Lines changed: 68 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,193 +1,159 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2020, 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.
5-
#
5+
#
66
# Translators:
77
# Elmo Allistair, 2021
8-
#
8+
# oon arfiandwi <oon.arfiandwi@gmail.com>, 2023
9+
#
10+
#, fuzzy
911
msgid ""
1012
msgstr ""
11-
"Project-Id-Version: Python 3.9\n"
13+
"Project-Id-Version: Python 3.14\n"
1214
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2020-10-21 04:23+0000\n"
14-
"PO-Revision-Date: 2021-04-02 20:35+0700\n"
15-
"Last-Translator: Elmo Allistair, 2021\n"
16-
"Language-Team: Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n"
15+
"POT-Creation-Date: 2025-05-09 14:19+0000\n"
16+
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
17+
"Last-Translator: oon arfiandwi <oon.arfiandwi@gmail.com>, 2023\n"
18+
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/id/)\n"
1719
"MIME-Version: 1.0\n"
1820
"Content-Type: text/plain; charset=UTF-8\n"
1921
"Content-Transfer-Encoding: 8bit\n"
2022
"Language: id\n"
2123
"Plural-Forms: nplurals=1; plural=0;\n"
22-
"Last-Translator: \n"
23-
"X-Generator: Poedit 2.2\n"
2424

2525
#: ../../c-api/file.rst:6
2626
msgid "File Objects"
27-
msgstr "Objek File"
27+
msgstr ""
2828

2929
#: ../../c-api/file.rst:10
3030
msgid ""
3131
"These APIs are a minimal emulation of the Python 2 C API for built-in file "
32-
"objects, which used to rely on the buffered I/O (:c:type:`FILE*`) support "
33-
"from the C standard library. In Python 3, files and streams use the new :"
34-
"mod:`io` module, which defines several layers over the low-level unbuffered "
35-
"I/O of the operating system. The functions described below are convenience "
36-
"C wrappers over these new APIs, and meant mostly for internal error "
37-
"reporting in the interpreter; third-party code is advised to access the :"
38-
"mod:`io` APIs instead."
39-
msgstr ""
40-
"API ini adalah emulasi minimal Python 2 C API untuk objek file bawaan, yang "
41-
"biasanya mengandalkan dukungan I/O (:c:type:`FILE*`) yang di-buffer dari "
42-
"pustaka standar C. Dalam Python 3, file dan aliran menggunakan modul baru :"
43-
"mod:`io`, yang mendefinisikan beberapa lapisan di atas I/O tanpa buffer "
44-
"dari sistem operasi tingkat rendah . Fungsi yang dijelaskan di bawah ini "
45-
"adalah pembungkus kenyamanan C atas API baru ini, dan sebagian besar "
46-
"dimaksudkan untuk pelaporan kesalahan internal di interpreter; kode pihak "
47-
"ketiga disarankan untuk mengakses :mod:`io` APIs sebagai gantinya."
32+
"objects, which used to rely on the buffered I/O (:c:expr:`FILE*`) support "
33+
"from the C standard library. In Python 3, files and streams use the new "
34+
":mod:`io` module, which defines several layers over the low-level unbuffered"
35+
" I/O of the operating system. The functions described below are convenience"
36+
" C wrappers over these new APIs, and meant mostly for internal error "
37+
"reporting in the interpreter; third-party code is advised to access the "
38+
":mod:`io` APIs instead."
39+
msgstr ""
4840

4941
#: ../../c-api/file.rst:22
5042
msgid ""
5143
"Create a Python file object from the file descriptor of an already opened "
5244
"file *fd*. The arguments *name*, *encoding*, *errors* and *newline* can be "
5345
"``NULL`` to use the defaults; *buffering* can be *-1* to use the default. "
5446
"*name* is ignored and kept for backward compatibility. Return ``NULL`` on "
55-
"failure. For a more comprehensive description of the arguments, please "
56-
"refer to the :func:`io.open` function documentation."
47+
"failure. For a more comprehensive description of the arguments, please refer"
48+
" to the :func:`io.open` function documentation."
5749
msgstr ""
58-
"Membuat objek file Python dari deskriptor file dari file yang sudah dibuka "
59-
"*fd*. Argumen *name*, *encoding*, *errors* dan * newline* bisa ``NULL`` "
60-
"untuk menggunakan nilai default; *buffering* bisa *-1* untuk menggunakan "
61-
"default. *name* diabaikan dan disimpan untuk kompatibilitas ke belakang. "
62-
"Mengembalikan ``NULL`` jika gagal. Untuk penjelasan yang lebih lengkap "
63-
"tentang argumen, silakan merujuk ke dokumentasi fungsi :func:`io.open`."
6450

6551
#: ../../c-api/file.rst:31
6652
msgid ""
6753
"Since Python streams have their own buffering layer, mixing them with OS-"
6854
"level file descriptors can produce various issues (such as unexpected "
6955
"ordering of data)."
7056
msgstr ""
71-
"Karena aliran Python memiliki lapisan penyangga sendiri, mencampurnya "
72-
"dengan deskriptor file tingkat OS dapat menghasilkan berbagai masalah "
73-
"(seperti pengurutan data yang tidak terduga)."
7457

7558
#: ../../c-api/file.rst:35
7659
msgid "Ignore *name* attribute."
77-
msgstr "Abaikan atribut *name*."
60+
msgstr ""
7861

7962
#: ../../c-api/file.rst:41
8063
msgid ""
81-
"Return the file descriptor associated with *p* as an :c:type:`int`. If the "
82-
"object is an integer, its value is returned. If not, the object's :meth:"
83-
"`~io.IOBase.fileno` method is called if it exists; the method must return "
84-
"an integer, which is returned as the file descriptor value. Sets an "
64+
"Return the file descriptor associated with *p* as an :c:expr:`int`. If the "
65+
"object is an integer, its value is returned. If not, the object's "
66+
":meth:`~io.IOBase.fileno` method is called if it exists; the method must "
67+
"return an integer, which is returned as the file descriptor value. Sets an "
8568
"exception and returns ``-1`` on failure."
8669
msgstr ""
87-
"Mengembalikan deskriptor file yang terkait dengan *p* sebagai :c:type:"
88-
"`int`. Jika objek adalah bilangan bulat, nilainya dikembalikan. Jika tidak, "
89-
"metode objek :meth:`~io.IOBase.fileno` akan dipanggil jika ada; metode "
90-
"harus mengembalikan bilangan bulat, yang dikembalikan sebagai nilai "
91-
"deskriptor file. Menetapkan pengecualian dan mengembalikan ``-1`` jika "
92-
"gagal."
9370

9471
#: ../../c-api/file.rst:52
9572
msgid ""
9673
"Equivalent to ``p.readline([n])``, this function reads one line from the "
97-
"object *p*. *p* may be a file object or any object with a :meth:`~io."
98-
"IOBase.readline` method. If *n* is ``0``, exactly one line is read, "
99-
"regardless of the length of the line. If *n* is greater than ``0``, no "
100-
"more than *n* bytes will be read from the file; a partial line can be "
101-
"returned. In both cases, an empty string is returned if the end of the "
102-
"file is reached immediately. If *n* is less than ``0``, however, one line "
103-
"is read regardless of length, but :exc:`EOFError` is raised if the end of "
104-
"the file is reached immediately."
105-
msgstr ""
106-
"Setara dengan ``p.readline([n])``, fungsi ini membaca satu baris dari objek "
107-
"*p*. *p* dapat berupa objek file atau objek apa pun dengan metode :meth:"
108-
"`~io.IOBase.readline`. Jika *n* adalah ``0``, tepat satu baris terbaca, "
109-
"berapa pun panjang barisnya. Jika *n* lebih besar dari ``0``, tidak lebih "
110-
"dari *n* byte yang akan dibaca dari file; garis parsial dapat dikembalikan. "
111-
"Dalam kedua kasus, string kosong dikembalikan jika akhir file dicapai "
112-
"dengan segera. Jika *n* lebih kecil dari ``0``, bagaimanapun, satu baris "
113-
"dibaca berapa pun panjangnya, tapi :exc:`EOFError` dimunculkan jika akhir "
114-
"file dicapai dengan segera."
74+
"object *p*. *p* may be a file object or any object with a "
75+
":meth:`~io.IOBase.readline` method. If *n* is ``0``, exactly one line is "
76+
"read, regardless of the length of the line. If *n* is greater than ``0``, "
77+
"no more than *n* bytes will be read from the file; a partial line can be "
78+
"returned. In both cases, an empty string is returned if the end of the file"
79+
" is reached immediately. If *n* is less than ``0``, however, one line is "
80+
"read regardless of length, but :exc:`EOFError` is raised if the end of the "
81+
"file is reached immediately."
82+
msgstr ""
11583

11684
#: ../../c-api/file.rst:65
11785
msgid ""
11886
"Overrides the normal behavior of :func:`io.open_code` to pass its parameter "
11987
"through the provided handler."
12088
msgstr ""
121-
"Mengganti perilaku normal :func:`io.open_code` untuk meneruskan "
122-
"parameternya melalui penangan yang disediakan."
12389

12490
#: ../../c-api/file.rst:68
91+
msgid "The *handler* is a function of type:"
92+
msgstr ""
93+
94+
#: ../../c-api/file.rst:73
12595
msgid ""
126-
"The handler is a function of type :c:type:`PyObject *(\\*)(PyObject *path, "
127-
"void *userData)`, where *path* is guaranteed to be :c:type:"
128-
"`PyUnicodeObject`."
96+
"Equivalent of :c:expr:`PyObject *(\\*)(PyObject *path, void *userData)`, "
97+
"where *path* is guaranteed to be :c:type:`PyUnicodeObject`."
12998
msgstr ""
130-
"Handler adalah fungsi dari tipe :c:type:`PyObject *(\\*)(PyObject *path, "
131-
"void *userData)`, di mana *path* dijamin menjadi :c:type:`PyUnicodeObject`."
13299

133-
#: ../../c-api/file.rst:71
100+
#: ../../c-api/file.rst:77
134101
msgid ""
135102
"The *userData* pointer is passed into the hook function. Since hook "
136103
"functions may be called from different runtimes, this pointer should not "
137104
"refer directly to Python state."
138105
msgstr ""
139-
"Pointer *userData* diteruskan ke fungsi hook. Karena fungsi hook dapat "
140-
"dipanggil dari runtime yang berbeda, pointer ini tidak boleh merujuk "
141-
"langsung ke status Python."
142106

143-
#: ../../c-api/file.rst:75
107+
#: ../../c-api/file.rst:81
144108
msgid ""
145109
"As this hook is intentionally used during import, avoid importing new "
146-
"modules during its execution unless they are known to be frozen or "
147-
"available in ``sys.modules``."
110+
"modules during its execution unless they are known to be frozen or available"
111+
" in ``sys.modules``."
148112
msgstr ""
149-
"Karena hook ini sengaja digunakan selama impor, hindari mengimpor modul "
150-
"baru selama eksekusinya kecuali jika mereka diketahui telah dibekukan atau "
151-
"tersedia di ``sys.modules``."
152113

153-
#: ../../c-api/file.rst:79
114+
#: ../../c-api/file.rst:85
154115
msgid ""
155116
"Once a hook has been set, it cannot be removed or replaced, and later calls "
156117
"to :c:func:`PyFile_SetOpenCodeHook` will fail. On failure, the function "
157118
"returns -1 and sets an exception if the interpreter has been initialized."
158119
msgstr ""
159-
"Setelah hook diatur, hook tidak dapat dilepas atau diganti, dan panggilan "
160-
"ke :c:func:`PyFile_SetOpenCodeHook` akan gagal. Jika gagal, fungsi "
161-
"mengembalikan -1 dan mengatur pengecualian jika interpreter telah "
162-
"diinisialisasi."
163120

164-
#: ../../c-api/file.rst:83
121+
#: ../../c-api/file.rst:89
165122
msgid "This function is safe to call before :c:func:`Py_Initialize`."
166-
msgstr "Fungsi ini aman untuk dipanggil sebelum :c:func:`Py_Initialize`."
123+
msgstr ""
167124

168-
#: ../../c-api/file.rst:86
125+
#: ../../c-api/file.rst:91
169126
msgid ""
170127
"Raises an :ref:`auditing event <auditing>` ``setopencodehook`` with no "
171128
"arguments."
172129
msgstr ""
173130

174-
#: ../../c-api/file.rst:95
131+
#: ../../c-api/file.rst:101
175132
msgid ""
176133
"Write object *obj* to file object *p*. The only supported flag for *flags* "
177-
"is :const:`Py_PRINT_RAW`; if given, the :func:`str` of the object is "
134+
"is :c:macro:`Py_PRINT_RAW`; if given, the :func:`str` of the object is "
178135
"written instead of the :func:`repr`. Return ``0`` on success or ``-1`` on "
179136
"failure; the appropriate exception will be set."
180137
msgstr ""
181-
"Menulis objek *obj* ke file objek *p*. Satu-satunya tanda yang didukung "
182-
"untuk *flags* adalah :const:`Py_PRINT_RAW`; jika diberikan, fungsi :func:"
183-
"`str` dari objek akan dituliskan sebagai pengganti :func:`repr`. "
184-
"Mengembalikan ``0`` saat sukses atau ``-1`` saat gagal; pengecualian yang "
185-
"sesuai akan ditetapkan."
186138

187-
#: ../../c-api/file.rst:103
139+
#: ../../c-api/file.rst:109
188140
msgid ""
189141
"Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on "
190142
"failure; the appropriate exception will be set."
191143
msgstr ""
192-
"Menulis string *s* ke file objek *p*. Mengembalikan ``0`` saat sukses atau "
193-
"``-1`` saat gagal; pengecualian yang sesuai akan ditetapkan."
144+
145+
#: ../../c-api/file.rst:8
146+
msgid "object"
147+
msgstr "objek"
148+
149+
#: ../../c-api/file.rst:8
150+
msgid "file"
151+
msgstr ""
152+
153+
#: ../../c-api/file.rst:50
154+
msgid "EOFError (built-in exception)"
155+
msgstr ""
156+
157+
#: ../../c-api/file.rst:99
158+
msgid "Py_PRINT_RAW (C macro)"
159+
msgstr ""

0 commit comments

Comments
 (0)