Skip to content

Commit fea86f0

Browse files
committed
update python-newest.c-api--mapping/id.po with latest contents from transifex
1 parent 7e6ffdc commit fea86f0

File tree

1 file changed

+90
-39
lines changed
  • python-newest.c-api--mapping

1 file changed

+90
-39
lines changed

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

Lines changed: 90 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2021, Python Software Foundation
2+
# Copyright (C) 2001-2025, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Andika Chandra <Androganteng432@gmail.com>, 2020
7+
# Andika Chandra <Androganteng432@gmail.com>, 2021
8+
# Ahmad Mustafid, 2024
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
12-
"Project-Id-Version: Python 3.9\n"
13+
"Project-Id-Version: Python 3.13\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
15-
"PO-Revision-Date: 2017-02-16 17:37+0000\n"
16-
"Last-Translator: Andika Chandra <Androganteng432@gmail.com>, 2020\n"
17-
"Language-Team: Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n"
15+
"POT-Creation-Date: 2025-04-25 14:19+0000\n"
16+
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
17+
"Last-Translator: Ahmad Mustafid, 2024\n"
18+
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/id/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
2021
"Content-Transfer-Encoding: 8bit\n"
@@ -35,13 +36,12 @@ msgstr ""
3536

3637
#: ../../c-api/mapping.rst:14
3738
msgid ""
38-
"Return ``1`` if the object provides mapping protocol or supports slicing, "
39-
"and ``0`` otherwise. Note that it returns ``1`` for Python classes with a "
40-
":meth:`__getitem__` method since in general case it is impossible to "
41-
"determine what type of keys it supports. This function always succeeds."
39+
"Return ``1`` if the object provides the mapping protocol or supports "
40+
"slicing, and ``0`` otherwise. Note that it returns ``1`` for Python classes"
41+
" with a :meth:`~object.__getitem__` method, since in general it is "
42+
"impossible to determine what type of keys the class supports. This function "
43+
"always succeeds."
4244
msgstr ""
43-
"Kembali``1`` jika objek menyediakan protokol pemetaan atau mendukung "
44-
"irisan,dan ``0``jika tidak.catatan bahwa kembal"
4545

4646
#: ../../c-api/mapping.rst:25
4747
msgid ""
@@ -51,72 +51,123 @@ msgstr ""
5151

5252
#: ../../c-api/mapping.rst:31
5353
msgid ""
54-
"Return element of *o* corresponding to the string *key* or ``NULL`` on "
55-
"failure. This is the equivalent of the Python expression ``o[key]``. See "
56-
"also :c:func:`PyObject_GetItem`."
54+
"This is the same as :c:func:`PyObject_GetItem`, but *key* is specified as a "
55+
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
56+
":c:expr:`PyObject*`."
5757
msgstr ""
5858

5959
#: ../../c-api/mapping.rst:38
6060
msgid ""
61-
"Map the string *key* to the value *v* in object *o*. Returns ``-1`` on "
62-
"failure. This is the equivalent of the Python statement ``o[key] = v``. See"
63-
" also :c:func:`PyObject_SetItem`. This function *does not* steal a "
64-
"reference to *v*."
61+
"Variant of :c:func:`PyObject_GetItem` which doesn't raise :exc:`KeyError` if"
62+
" the key is not found."
6563
msgstr ""
6664

67-
#: ../../c-api/mapping.rst:46
65+
#: ../../c-api/mapping.rst:41
6866
msgid ""
69-
"Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
70-
"on failure. This is equivalent to the Python statement ``del o[key]``. This"
71-
" is an alias of :c:func:`PyObject_DelItem`."
67+
"If the key is found, return ``1`` and set *\\*result* to a new :term:`strong"
68+
" reference` to the corresponding value. If the key is not found, return "
69+
"``0`` and set *\\*result* to ``NULL``; the :exc:`KeyError` is silenced. If "
70+
"an error other than :exc:`KeyError` is raised, return ``-1`` and set "
71+
"*\\*result* to ``NULL``."
7272
msgstr ""
7373

7474
#: ../../c-api/mapping.rst:53
7575
msgid ""
76-
"Remove the mapping for the string *key* from the object *o*. Return ``-1`` "
77-
"on failure. This is equivalent to the Python statement ``del o[key]``."
76+
"This is the same as :c:func:`PyMapping_GetOptionalItem`, but *key* is "
77+
"specified as a :c:expr:`const char*` UTF-8 encoded bytes string, rather than"
78+
" a :c:expr:`PyObject*`."
79+
msgstr ""
80+
81+
#: ../../c-api/mapping.rst:62
82+
msgid ""
83+
"This is the same as :c:func:`PyObject_SetItem`, but *key* is specified as a "
84+
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
85+
":c:expr:`PyObject*`."
86+
msgstr ""
87+
88+
#: ../../c-api/mapping.rst:69
89+
msgid "This is an alias of :c:func:`PyObject_DelItem`."
90+
msgstr ""
91+
92+
#: ../../c-api/mapping.rst:74
93+
msgid ""
94+
"This is the same as :c:func:`PyObject_DelItem`, but *key* is specified as a "
95+
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
96+
":c:expr:`PyObject*`."
97+
msgstr ""
98+
99+
#: ../../c-api/mapping.rst:81
100+
msgid ""
101+
"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
102+
"This is equivalent to the Python expression ``key in o``. On failure, return"
103+
" ``-1``."
104+
msgstr ""
105+
106+
#: ../../c-api/mapping.rst:90
107+
msgid ""
108+
"This is the same as :c:func:`PyMapping_HasKeyWithError`, but *key* is "
109+
"specified as a :c:expr:`const char*` UTF-8 encoded bytes string, rather than"
110+
" a :c:expr:`PyObject*`."
78111
msgstr ""
79112

80-
#: ../../c-api/mapping.rst:59 ../../c-api/mapping.rst:70
113+
#: ../../c-api/mapping.rst:99
81114
msgid ""
82115
"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
83116
"This is equivalent to the Python expression ``key in o``. This function "
84117
"always succeeds."
85118
msgstr ""
86119

87-
#: ../../c-api/mapping.rst:63
120+
#: ../../c-api/mapping.rst:105
88121
msgid ""
89-
"Note that exceptions which occur while calling the :meth:`__getitem__` "
90-
"method will get suppressed. To get error reporting use "
122+
"Exceptions which occur when this calls :meth:`~object.__getitem__` method "
123+
"are silently ignored. For proper error handling, use "
124+
":c:func:`PyMapping_HasKeyWithError`, :c:func:`PyMapping_GetOptionalItem` or "
91125
":c:func:`PyObject_GetItem()` instead."
92126
msgstr ""
93127

94-
#: ../../c-api/mapping.rst:74
128+
#: ../../c-api/mapping.rst:113
95129
msgid ""
96-
"Note that exceptions which occur while calling the :meth:`__getitem__` "
97-
"method and creating a temporary string object will get suppressed. To get "
98-
"error reporting use :c:func:`PyMapping_GetItemString()` instead."
130+
"This is the same as :c:func:`PyMapping_HasKey`, but *key* is specified as a "
131+
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
132+
":c:expr:`PyObject*`."
99133
msgstr ""
100134

101-
#: ../../c-api/mapping.rst:81
135+
#: ../../c-api/mapping.rst:119
136+
msgid ""
137+
"Exceptions that occur when this calls :meth:`~object.__getitem__` method or "
138+
"while creating the temporary :class:`str` object are silently ignored. For "
139+
"proper error handling, use :c:func:`PyMapping_HasKeyStringWithError`, "
140+
":c:func:`PyMapping_GetOptionalItemString` or "
141+
":c:func:`PyMapping_GetItemString` instead."
142+
msgstr ""
143+
144+
#: ../../c-api/mapping.rst:129
102145
msgid ""
103146
"On success, return a list of the keys in object *o*. On failure, return "
104147
"``NULL``."
105148
msgstr ""
106149

107-
#: ../../c-api/mapping.rst:84 ../../c-api/mapping.rst:93
108-
#: ../../c-api/mapping.rst:102
150+
#: ../../c-api/mapping.rst:132 ../../c-api/mapping.rst:141
151+
#: ../../c-api/mapping.rst:150
109152
msgid "Previously, the function returned a list or a tuple."
110153
msgstr ""
111154

112-
#: ../../c-api/mapping.rst:90
155+
#: ../../c-api/mapping.rst:138
113156
msgid ""
114157
"On success, return a list of the values in object *o*. On failure, return "
115158
"``NULL``."
116159
msgstr ""
117160

118-
#: ../../c-api/mapping.rst:99
161+
#: ../../c-api/mapping.rst:147
119162
msgid ""
120163
"On success, return a list of the items in object *o*, where each item is a "
121164
"tuple containing a key-value pair. On failure, return ``NULL``."
122165
msgstr ""
166+
167+
#: ../../c-api/mapping.rst:23
168+
msgid "built-in function"
169+
msgstr "fungsi bawaan"
170+
171+
#: ../../c-api/mapping.rst:23
172+
msgid "len"
173+
msgstr ""

0 commit comments

Comments
 (0)