Skip to content

Commit 80195c1

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent a13547c commit 80195c1

32 files changed

+15534
-15313
lines changed

c-api/arg.po

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.14\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2025-06-20 14:21+0000\n"
17+
"POT-Creation-Date: 2025-06-27 14:20+0000\n"
1818
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1919
"Last-Translator: Taichi Haradaguchi, 2025\n"
2020
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -685,7 +685,7 @@ msgstr ""
685685
msgid "Allow :class:`bytearray` objects."
686686
msgstr ":class:`bytearray` を受け付けるようになりました。"
687687

688-
#: ../../c-api/arg.rst:300 ../../c-api/arg.rst:695
688+
#: ../../c-api/arg.rst:300 ../../c-api/arg.rst:701
689689
msgid "``C`` (:class:`str` of length 1) [int]"
690690
msgstr "``C`` (長さ 1 の :class:`str`) [int]"
691691

@@ -697,15 +697,15 @@ msgstr ""
697697
"長さ 1 の :class:`str` オブジェクトとして表現されている Python キャラクタを "
698698
"C の :c:expr:`int` 型に変換します。"
699699

700-
#: ../../c-api/arg.rst:304 ../../c-api/arg.rst:702
700+
#: ../../c-api/arg.rst:304 ../../c-api/arg.rst:708
701701
msgid "``f`` (:class:`float`) [float]"
702702
msgstr "``f`` (:class:`float`) [float]"
703703

704704
#: ../../c-api/arg.rst:305
705705
msgid "Convert a Python floating-point number to a C :c:expr:`float`."
706706
msgstr ""
707707

708-
#: ../../c-api/arg.rst:307 ../../c-api/arg.rst:699
708+
#: ../../c-api/arg.rst:307 ../../c-api/arg.rst:705
709709
msgid "``d`` (:class:`float`) [double]"
710710
msgstr "``d`` (:class:`float`) [double]"
711711

@@ -725,7 +725,7 @@ msgstr "Python の複素数型を、 C の :c:type:`Py_complex` 構造体に変
725725
msgid "Other objects"
726726
msgstr "その他のオブジェクト"
727727

728-
#: ../../c-api/arg.rst:316 ../../c-api/arg.rst:708
728+
#: ../../c-api/arg.rst:316 ../../c-api/arg.rst:714
729729
msgid "``O`` (object) [PyObject \\*]"
730730
msgstr "``O`` (object) [PyObject \\*]"
731731

@@ -1363,43 +1363,51 @@ msgstr "C の :c:type:`Py_ssize_t` を Python の整数オブジェクトに変
13631363
msgid "Convert a C :c:expr:`int` to a Python :class:`bool` object."
13641364
msgstr ""
13651365

1366-
#: ../../c-api/arg.rst:691
1366+
#: ../../c-api/arg.rst:689
1367+
msgid ""
1368+
"Be aware that this format requires an ``int`` argument. Unlike most other "
1369+
"contexts in C, variadic arguments are not coerced to a suitable type "
1370+
"automatically. You can convert another type (for example, a pointer or a "
1371+
"float) to a suitable ``int`` value using ``(x) ? 1 : 0`` or ``!!x``."
1372+
msgstr ""
1373+
1374+
#: ../../c-api/arg.rst:697
13671375
msgid "``c`` (:class:`bytes` of length 1) [char]"
13681376
msgstr "``c`` (長さが 1 の :class:`bytes`) [char]"
13691377

1370-
#: ../../c-api/arg.rst:692
1378+
#: ../../c-api/arg.rst:698
13711379
msgid ""
13721380
"Convert a C :c:expr:`int` representing a byte to a Python :class:`bytes` "
13731381
"object of length 1."
13741382
msgstr ""
13751383
"バイトを表す通常の C の :c:expr:`int` を、長さ 1 の Python の :class:`bytes` "
13761384
"オブジェクトに変換します。"
13771385

1378-
#: ../../c-api/arg.rst:696
1386+
#: ../../c-api/arg.rst:702
13791387
msgid ""
13801388
"Convert a C :c:expr:`int` representing a character to Python :class:`str` "
13811389
"object of length 1."
13821390
msgstr ""
13831391
"文字を表す通常の C の :c:expr:`int` を、長さ 1 の Python の :class:`str` オブ"
13841392
"ジェクトに変換します。"
13851393

1386-
#: ../../c-api/arg.rst:700
1394+
#: ../../c-api/arg.rst:706
13871395
msgid "Convert a C :c:expr:`double` to a Python floating-point number."
13881396
msgstr ""
13891397

1390-
#: ../../c-api/arg.rst:703
1398+
#: ../../c-api/arg.rst:709
13911399
msgid "Convert a C :c:expr:`float` to a Python floating-point number."
13921400
msgstr ""
13931401

1394-
#: ../../c-api/arg.rst:705
1402+
#: ../../c-api/arg.rst:711
13951403
msgid "``D`` (:class:`complex`) [Py_complex \\*]"
13961404
msgstr "``D`` (:class:`complex`) [Py_complex \\*]"
13971405

1398-
#: ../../c-api/arg.rst:706
1406+
#: ../../c-api/arg.rst:712
13991407
msgid "Convert a C :c:type:`Py_complex` structure to a Python complex number."
14001408
msgstr "C の :c:type:`Py_complex` 構造体を Python の複素数型に変換します。"
14011409

1402-
#: ../../c-api/arg.rst:709
1410+
#: ../../c-api/arg.rst:715
14031411
msgid ""
14041412
"Pass a Python object untouched but create a new :term:`strong reference` to "
14051413
"it (i.e. its reference count is incremented by one). If the object passed in "
@@ -1409,30 +1417,30 @@ msgid ""
14091417
"no exception has been raised yet, :exc:`SystemError` is set."
14101418
msgstr ""
14111419

1412-
#: ../../c-api/arg.rst:718
1420+
#: ../../c-api/arg.rst:724
14131421
msgid "``S`` (object) [PyObject \\*]"
14141422
msgstr "``S`` (object) [PyObject \\*]"
14151423

1416-
#: ../../c-api/arg.rst:719
1424+
#: ../../c-api/arg.rst:725
14171425
msgid "Same as ``O``."
14181426
msgstr "``O`` と同じです。"
14191427

1420-
#: ../../c-api/arg.rst:721
1428+
#: ../../c-api/arg.rst:727
14211429
msgid "``N`` (object) [PyObject \\*]"
14221430
msgstr "``N`` (object) [PyObject \\*]"
14231431

1424-
#: ../../c-api/arg.rst:722
1432+
#: ../../c-api/arg.rst:728
14251433
msgid ""
14261434
"Same as ``O``, except it doesn't create a new :term:`strong reference`. "
14271435
"Useful when the object is created by a call to an object constructor in the "
14281436
"argument list."
14291437
msgstr ""
14301438

1431-
#: ../../c-api/arg.rst:726
1439+
#: ../../c-api/arg.rst:732
14321440
msgid "``O&`` (object) [*converter*, *anything*]"
14331441
msgstr "``O&`` (object) [*converter*, *anything*]"
14341442

1435-
#: ../../c-api/arg.rst:727
1443+
#: ../../c-api/arg.rst:733
14361444
msgid ""
14371445
"Convert *anything* to a Python object through a *converter* function. The "
14381446
"function is called with *anything* (which should be compatible with :c:expr:"
@@ -1444,31 +1452,31 @@ msgstr ""
14441452
"て呼び出され、\"新たな\" オブジェクトを返すか、失敗した場合には ``NULL`` を返"
14451453
"すようにしなければなりません。"
14461454

1447-
#: ../../c-api/arg.rst:732
1455+
#: ../../c-api/arg.rst:738
14481456
msgid "``(items)`` (:class:`tuple`) [*matching-items*]"
14491457
msgstr "``(items)`` (:class:`tuple`) [*matching-items*]"
14501458

1451-
#: ../../c-api/arg.rst:733
1459+
#: ../../c-api/arg.rst:739
14521460
msgid ""
14531461
"Convert a sequence of C values to a Python tuple with the same number of "
14541462
"items."
14551463
msgstr "C の値からなる配列を、同じ要素数を持つ Python のタプルに変換します。"
14561464

1457-
#: ../../c-api/arg.rst:735
1465+
#: ../../c-api/arg.rst:741
14581466
msgid "``[items]`` (:class:`list`) [*matching-items*]"
14591467
msgstr "``[items]`` (:class:`list`) [*matching-items*]"
14601468

1461-
#: ../../c-api/arg.rst:736
1469+
#: ../../c-api/arg.rst:742
14621470
msgid ""
14631471
"Convert a sequence of C values to a Python list with the same number of "
14641472
"items."
14651473
msgstr "C の値からなる配列を、同じ要素数を持つ Python のリストに変換します。"
14661474

1467-
#: ../../c-api/arg.rst:738
1475+
#: ../../c-api/arg.rst:744
14681476
msgid "``{items}`` (:class:`dict`) [*matching-items*]"
14691477
msgstr "``{items}`` (:class:`dict`) [*matching-items*]"
14701478

1471-
#: ../../c-api/arg.rst:739
1479+
#: ../../c-api/arg.rst:745
14721480
msgid ""
14731481
"Convert a sequence of C values to a Python dictionary. Each pair of "
14741482
"consecutive C values adds one item to the dictionary, serving as key and "
@@ -1477,15 +1485,15 @@ msgstr ""
14771485
"C の値からなる配列を Python の辞書に変換します。一連のペアからなる C の値が、"
14781486
"それぞれキーおよび値となって辞書に追加されます。"
14791487

1480-
#: ../../c-api/arg.rst:743
1488+
#: ../../c-api/arg.rst:749
14811489
msgid ""
14821490
"If there is an error in the format string, the :exc:`SystemError` exception "
14831491
"is set and ``NULL`` returned."
14841492
msgstr ""
14851493
"書式文字列に関するエラーが生じると、 :exc:`SystemError` 例外をセットして "
14861494
"``NULL`` を返します。"
14871495

1488-
#: ../../c-api/arg.rst:748
1496+
#: ../../c-api/arg.rst:754
14891497
msgid ""
14901498
"Identical to :c:func:`Py_BuildValue`, except that it accepts a va_list "
14911499
"rather than a variable number of arguments."

c-api/extension-modules.po

Lines changed: 3 additions & 3 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-06-20 14:21+0000\n"
14+
"POT-Creation-Date: 2025-06-27 14:20+0000\n"
1515
"PO-Revision-Date: 2025-06-20 14:22+0000\n"
1616
"Last-Translator: tomo, 2025\n"
1717
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -355,6 +355,6 @@ msgstr ""
355355

356356
#: ../../c-api/extension-modules.rst:245
357357
msgid ""
358-
"``_testsinglephase`` is an internal module used \\ in CPython's self-test "
359-
"suite; your installation may or may not \\ include it."
358+
"``_testsinglephase`` is an internal module used in CPython's self-test "
359+
"suite; your installation may or may not include it."
360360
msgstr ""

c-api/function.po

Lines changed: 35 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-06-13 14:21+0000\n"
15+
"POT-Creation-Date: 2025-06-27 14:20+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1717
"Last-Translator: Taichi Haradaguchi, 2024\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -127,8 +127,8 @@ msgstr ""
127127
"関数オブジェクト *op* の引数のデフォルト値を設定します。\n"
128128
"*defaults* は ``Py_None`` かタプルでなければいけません。"
129129

130-
#: ../../c-api/function.rst:86 ../../c-api/function.rst:109
131-
#: ../../c-api/function.rst:123
130+
#: ../../c-api/function.rst:86 ../../c-api/function.rst:116
131+
#: ../../c-api/function.rst:130
132132
msgid "Raises :exc:`SystemError` and returns ``-1`` on failure."
133133
msgstr "失敗した時は、 :exc:`SystemError` を発生させ、 ``-1`` を返します。"
134134

@@ -142,15 +142,21 @@ msgid ""
142142
"unaltered (default) vectorcall function!"
143143
msgstr ""
144144

145-
#: ../../c-api/function.rst:100
145+
#: ../../c-api/function.rst:101
146+
msgid ""
147+
"Return the keyword-only argument default values of the function object *op*. "
148+
"This can be a dictionary of arguments or ``NULL``."
149+
msgstr ""
150+
151+
#: ../../c-api/function.rst:107
146152
msgid ""
147153
"Return the closure associated with the function object *op*. This can be "
148154
"``NULL`` or a tuple of cell objects."
149155
msgstr ""
150156
"関数オブジェクト *op* に設定されたクロージャを返します。\n"
151157
"``NULL`` か cell オブジェクトのタプルです。"
152158

153-
#: ../../c-api/function.rst:106
159+
#: ../../c-api/function.rst:113
154160
msgid ""
155161
"Set the closure associated with the function object *op*. *closure* must be "
156162
"``Py_None`` or a tuple of cell objects."
@@ -159,81 +165,88 @@ msgstr ""
159165
"*closure* は、``Py_None`` もしくは cell オブジェクトのタプルでなければなりま"
160166
"せん。"
161167

162-
#: ../../c-api/function.rst:114
168+
#: ../../c-api/function.rst:121
163169
msgid ""
164170
"Return the annotations of the function object *op*. This can be a mutable "
165171
"dictionary or ``NULL``."
166172
msgstr ""
167173
"関数オブジェクト *op* のアノテーションを返します。\n"
168174
"返り値は修正可能な辞書か ``NULL`` になります。"
169175

170-
#: ../../c-api/function.rst:120
176+
#: ../../c-api/function.rst:127
171177
msgid ""
172178
"Set the annotations for the function object *op*. *annotations* must be a "
173179
"dictionary or ``Py_None``."
174180
msgstr ""
175181
"関数オブジェクト *op* のアノテーションを設定します。\n"
176182
"*annotations* は辞書か、``Py_None`` でなければなりません。"
177183

178-
#: ../../c-api/function.rst:128
184+
#: ../../c-api/function.rst:141
185+
msgid ""
186+
"These functions are similar to their ``PyFunction_Get*`` counterparts, but "
187+
"do not do type checking. Passing anything other than an instance of :c:data:"
188+
"`PyFunction_Type` is undefined behavior."
189+
msgstr ""
190+
191+
#: ../../c-api/function.rst:148
179192
msgid ""
180193
"Register *callback* as a function watcher for the current interpreter. "
181194
"Return an ID which may be passed to :c:func:`PyFunction_ClearWatcher`. In "
182195
"case of error (e.g. no more watcher IDs available), return ``-1`` and set an "
183196
"exception."
184197
msgstr ""
185198

186-
#: ../../c-api/function.rst:138
199+
#: ../../c-api/function.rst:158
187200
msgid ""
188201
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
189202
"`PyFunction_AddWatcher` for the current interpreter. Return ``0`` on "
190203
"success, or ``-1`` and set an exception on error (e.g. if the given "
191204
"*watcher_id* was never registered.)"
192205
msgstr ""
193206

194-
#: ../../c-api/function.rst:148
207+
#: ../../c-api/function.rst:168
195208
msgid "Enumeration of possible function watcher events:"
196209
msgstr ""
197210

198-
#: ../../c-api/function.rst:150
211+
#: ../../c-api/function.rst:170
199212
msgid "``PyFunction_EVENT_CREATE``"
200213
msgstr ""
201214

202-
#: ../../c-api/function.rst:151
215+
#: ../../c-api/function.rst:171
203216
msgid "``PyFunction_EVENT_DESTROY``"
204217
msgstr ""
205218

206-
#: ../../c-api/function.rst:152
219+
#: ../../c-api/function.rst:172
207220
msgid "``PyFunction_EVENT_MODIFY_CODE``"
208221
msgstr ""
209222

210-
#: ../../c-api/function.rst:153
223+
#: ../../c-api/function.rst:173
211224
msgid "``PyFunction_EVENT_MODIFY_DEFAULTS``"
212225
msgstr ""
213226

214-
#: ../../c-api/function.rst:154
227+
#: ../../c-api/function.rst:174
215228
msgid "``PyFunction_EVENT_MODIFY_KWDEFAULTS``"
216229
msgstr ""
217230

218-
#: ../../c-api/function.rst:161
231+
#: ../../c-api/function.rst:181
219232
msgid "Type of a function watcher callback function."
220233
msgstr ""
221234

222-
#: ../../c-api/function.rst:163
235+
#: ../../c-api/function.rst:183
223236
msgid ""
224237
"If *event* is ``PyFunction_EVENT_CREATE`` or ``PyFunction_EVENT_DESTROY`` "
225238
"then *new_value* will be ``NULL``. Otherwise, *new_value* will hold a :term:"
226239
"`borrowed reference` to the new value that is about to be stored in *func* "
227240
"for the attribute that is being modified."
228241
msgstr ""
229242

230-
#: ../../c-api/function.rst:168
243+
#: ../../c-api/function.rst:188
231244
msgid ""
232245
"The callback may inspect but must not modify *func*; doing so could have "
233246
"unpredictable effects, including infinite recursion."
234247
msgstr ""
235248

236-
#: ../../c-api/function.rst:171
249+
#: ../../c-api/function.rst:191
237250
msgid ""
238251
"If *event* is ``PyFunction_EVENT_CREATE``, then the callback is invoked "
239252
"after *func* has been fully initialized. Otherwise, the callback is invoked "
@@ -245,22 +258,22 @@ msgid ""
245258
"semantics of the Python code being executed."
246259
msgstr ""
247260

248-
#: ../../c-api/function.rst:180
261+
#: ../../c-api/function.rst:200
249262
msgid ""
250263
"If *event* is ``PyFunction_EVENT_DESTROY``, Taking a reference in the "
251264
"callback to the about-to-be-destroyed function will resurrect it, preventing "
252265
"it from being freed at this time. When the resurrected object is destroyed "
253266
"later, any watcher callbacks active at that time will be called again."
254267
msgstr ""
255268

256-
#: ../../c-api/function.rst:185
269+
#: ../../c-api/function.rst:205
257270
msgid ""
258271
"If the callback sets an exception, it must return ``-1``; this exception "
259272
"will be printed as an unraisable exception using :c:func:"
260273
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
261274
msgstr ""
262275

263-
#: ../../c-api/function.rst:189
276+
#: ../../c-api/function.rst:209
264277
msgid ""
265278
"There may already be a pending exception set on entry to the callback. In "
266279
"this case, the callback should return ``0`` with the same exception still "

0 commit comments

Comments
 (0)