8000 Update translations from Transifex · python/python-docs-ja@6343e3b · GitHub
[go: up one dir, main page]

Skip to content

Commit 6343e3b

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 70c56e0 commit 6343e3b

21 files changed

+2512
-2645
lines changed

c-api/bool.po

Lines changed: 20 additions & 30 deletions
< 8000 /tr>
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-06-09 14:13+0000\n"
15+
"POT-Creation-Date: 2023-06-30 14:13+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1717
"Last-Translator: Tetsuo Koyama <tkoyama010@gmail.com>, 2021\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -30,14 +30,10 @@ msgstr "Boolean オブジェクト"
3030
#: ../../c-api/bool.rst:8
3131
msgid ""
3232
"Booleans in Python are implemented as a subclass of integers. There are "
33-
"only two booleans, :const:`Py_False` and :const:`Py_True`. As such, the "
33+
"only two booleans, :c:data:`Py_False` and :c:data:`Py_True`. As such, the "
3434
"normal creation and deletion functions don't apply to booleans. The "
3535
"following macros are available, however."
3636
msgstr ""
37-
"Python の Bool 型は整数のサブクラスとして実装されています。ブール型の値は、 :"
38-
"const:`Py_False` と :const:`Py_True` の 2 つしかありません。従って、通常の生"
39-
"成/削除関数はブール型にはあてはまりません。とはいえ、以下のマクロが利用でき"
40-
"ます。"
4137

4238
#: ../../c-api/bool.rst:16
4339
msgid ""
@@ -49,40 +45,34 @@ msgstr ""
4945

5046
#: ../../c-api/bool.rst:22
5147
msgid ""
52-
"The Python ``False`` object. This object has no methods. It needs to be "
53-
"treated just like any other object with respect to reference counts."
48+
"The Python ``False`` object. This object has no methods and is `immortal "
49+
"<https://peps.python.org/pep-0683/>`_."
5450
msgstr ""
55-
"Python における ``False`` オブジェクトです。このオブジェクトはメソッドを持ち"
56-
"ません。参照カウントの点では、他のオブジェクトと同様に扱う必要があります。"
5751

58-
#: ../../c-api/bool.rst:28
52+
#: ../../c-api/bool.rst:25
53+
msgid ":c:data:`Py_False` is immortal."
54+
msgstr ""
55+
56+
#: ../../c-api/bool.rst:31
5957
msgid ""
60-
"The Python ``True`` object. This object has no methods. It needs to be "
61-
"treated just like any other object with respect to reference counts."
58+
"The Python ``True`` object. This object has no methods and is `immortal "
59+
"<https://peps.python.org/pep-0683/>`_."
6260
msgstr ""
63-
"Python における ``True`` オブジェクトです。このオブジェクトはメソッドを持ちま"
64-
"せん。参照カウントの点では、他のオブジェクトと同様に扱う必要があります。"
6561

6662
#: ../../c-api/bool.rst:34
67-
msgid ""
68-
"Return :const:`Py_False` from a function, properly incrementing its "
69-
"reference count."
63+
msgid ":c:data:`Py_True` is immortal."
7064
msgstr ""
71-
":const:`Py_False` に適切な参照カウントのインクリメントを行って、関数から返す"
72-
"ためのマクロです。"
7365

7466
#: ../../c-api/bool.rst:40
75-
msgid ""
76-
"Return :const:`Py_True` from a function, properly incrementing its reference "
77-
"count."
67+
msgid "Return :c:data:`Py_False` from a function."
68+
msgstr ""
69+
70+
#: ../../c-api/bool.rst:45
71+
msgid "Return :c:data:`Py_True` from a function."
7872
msgstr ""
79-
":const:`Py_True` に適切な参照カウントのインクリメントを行って、関数から返すた"
80-
"めのマクロです。"
8173

82-
#: ../../c-api/bool.rst:46
74+
#: ../../c-api/bool.rst:50
8375
msgid ""
84-
"Return a new reference to :const:`Py_True` or :const:`Py_False` depending on "
85-
"the truth value of *v*."
76+
"Return :c:data:`Py_True` or :c:data:`Py_False`, depending on the truth value "
77+
"of *v*."
8678
msgstr ""
87-
"*v* の値に応じて :const:`Py_True` または :const:`Py_False` への新しい参照を返"
88-
"します。"

c-api/dict.po

Lines changed: 39 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-06-16 14:12+0000\n"
16+
"POT-Creation-Date: 2023-06-30 14:13+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1818
"Last-Translator: Nozomu Kaneko <nozom.kaneko@gmail.com>, 2023\n"
1919
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -151,24 +151,20 @@ msgstr ""
151151
"キー *key* が存在しない場合には ``NULL`` を返しますが、例外をセット *しません"
152152
"*。"
153153

154-
#: ../../c-api/dict.rst:101
154+
#: ../../c-api/dict.rst:103
155155
msgid ""
156-
"Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
157-
"`__eq__` methods will get suppressed. To get error reporting use :c:func:"
158-
"`PyDict_GetItemWithError()` instead."
156+
"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
157+
"`~object.__eq__` methods are silently ignored. Prefer the :c:func:"
158+
"`PyDict_GetItemWithError` function instead."
159159
msgstr ""
160-
":meth:`__hash__` メソッドや :meth:`__eq__` メソッドの呼び出し中に起こる例外は"
161-
"抑制されることに注意してください。\n"
162-
"エラーを報告させるには、代わりに :c:func:`PyDict_GetItemWithError()` を使って"
163-
"ください。"
164160

165-
#: ../../c-api/dict.rst:105
161+
#: ../../c-api/dict.rst:107
166162
msgid ""
167163
"Calling this API without :term:`GIL` held had been allowed for historical "
168164
"reason. It is no longer allowed."
169165
msgstr ""
170166

171-
#: ../../c-api/dict.rst:112
167+
#: ../../c-api/dict.rst:114
172168
msgid ""
173169
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
174170
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
@@ -178,26 +174,23 @@ msgstr ""
178174
"例外が発生した場合は、例外をセット **した上で** ``NULL`` を返します。\n"
179175
"キーが存在しなかった場合は、例外をセット **せずに** ``NULL`` を返します。"
180176

181-
#: ../../c-api/dict.rst:120
177+
#: ../../c-api/dict.rst:122
182178
msgid ""
183179
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
184180
"expr:`const char*`, rather than a :c:expr:`PyObject*`."
185181
msgstr ""
186182
":c:func:`PyDict_GetItem` と同じですが、 *key* は :c:expr:`PyObject*` ではな"
187183
"く :c:expr:`const char*` で指定します。"
188184

189-
#: ../../c-api/dict.rst:123
185+
#: ../../c-api/dict.rst:127
190186
msgid ""
191-
"Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
192-
"`__eq__` methods and creating a temporary string object will get suppressed. "
193-
"To get error reporting use :c:func:`PyDict_GetItemWithError()` instead."
187+
"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
188+
"`~object.__eq__` methods or while creating the temporary :class:`str` object "
189+
"are silently ignored. Prefer using the :c:func:`PyDict_GetItemWithError` "
190+
"function with your own :c:func:`PyUnicode_FromString` *key* instead."
194191
msgstr ""
195-
":meth:`__hash__` メソッドや :meth:`__eq__` メソッドの呼び出し中や、一時的な文"
196-
"字列オブジェクトの作成中に起こる例外は抑制されることに注意してください。\n"
197-
"エラーを報告させるには、代わりに :c:func:`PyDict_GetItemWithError()` を使って"
198-
"ください。"
199192

200-
#: ../../c-api/dict.rst:131
193+
#: ../../c-api/dict.rst:136
201194
msgid ""
202195
"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
203196
"it returns the value corresponding to *key* from the dictionary *p*. If the "
@@ -212,30 +205,30 @@ msgstr ""
212205
"この関数は、 *key* のハッシュ値を検索と挿入ごとに別々に評価するのではなく、一"
213206
"度だけしか評価しません。"
214207

215-
#: ../../c-api/dict.rst:141
208+
#: ../../c-api/dict.rst:146
216209
msgid ""
217210
"Return a :c:type:`PyListObject` containing all the items from the dictionary."
218211
msgstr "辞書内の全ての要素対が入った :c:type:`PyListObject` を返します。"
219212

220-
#: ../../c-api/dict.rst:146
213+
#: ../../c-api/dict.rst:151
221214
msgid ""
222215
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
223216
msgstr "辞書内の全てのキーが入った :c:type:`PyListObject` を返します。"
224217

225-
#: ../../c-api/dict.rst:151
218+
#: ../../c-api/dict.rst:156
226219
msgid ""
227220
"Return a :c:type:`PyListObject` containing all the values from the "
228221
"dictionary *p*."
229222
msgstr "辞書 *p* 内の全ての値が入った :c:type:`PyListObject` を返します。"
230223

231-
#: ../../c-api/dict.rst:159
224+
#: ../../c-api/dict.rst:164
232225
msgid ""
233226
"Return the number of items in the dictionary. This is equivalent to "
234227
"``len(p)`` on a dictionary."
235228
msgstr ""
236229
"辞書内の要素の数を返します。辞書に対して ``len(p)`` を実行するのと同じです。"
237230

238-
#: ../../c-api/dict.rst:165
231+
#: ../../c-api/dict.rst:170
239232
msgid ""
240233
"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
241234
"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -261,11 +254,11 @@ msgstr ""
261254
"この値は内部的な辞書構造体のオフセットを表現しており、構造体はスパースなの"
262255
"で、オフセットの値に一貫性がないためです。"
263256

264-
#: ../../c-api/dict.rst:176
257+
#: ../../c-api/dict.rst:181
265258
msgid "For example::"
266259
msgstr "例えば::"
267260

268-
#: ../../c-api/dict.rst:186
261+
#: ../../c-api/dict.rst:191
269262
msgid ""
270263
"The dictionary *p* should not be mutated during iteration. It is safe to "
271264
"modify the values of the keys as you iterate over the dictionary, but only "
@@ -275,7 +268,7 @@ msgstr ""
275268
"応する値を変更しても大丈夫になりましたが、キーの集合を変更しないことが前提で"
276269
"す。以下に例を示します::"
277270

278-
#: ../../c-api/dict.rst:211
271+
#: ../../c-api/dict.rst:216
279272
msgid ""
280273
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
281274
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -292,7 +285,7 @@ msgstr ""
292285
"行います。成功した場合には ``0`` を返し、例外が送出された場合には ``-1`` を返"
293286
"します。"
294287

295-
#: ../../c-api/dict.rst:221
288+
#: ../../c-api/dict.rst:226
296289
msgid ""
297290
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
298291
"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -305,7 +298,7 @@ msgstr ""
305298
"性を持たない場合にキー/値ペアのシーケンスを反復することはありません。成功した"
306299
"場合には ``0`` を返し、例外が送出された場合には ``-1`` を返します。"
307300

308-
#: ../../c-api/dict.rst:230
301+
#: ../../c-api/dict.rst:235
309302
msgid ""
310303
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
311304
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -321,49 +314,49 @@ msgstr ""
321314
"は ``-1`` を返します。(戻り値以外は) 等価な Python コードを書くと、以下のよう"
322315
"になります::"
323316

324-
#: ../../c-api/dict.rst:244
317+
#: ../../c-api/dict.rst:249
325318
msgid ""
326319
"Register *callback* as a dictionary watcher. Return a non-negative integer "
327320
"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
328321
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
329322
"exception."
330323
msgstr ""
331324

332-
#: ../../c-api/dict.rst:253
325+
#: ../../c-api/dict.rst:258
333326
msgid ""
334327
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
335328
"`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. if the "
336329
"given *watcher_id* was never registered.)"
337330
msgstr ""
338331

339-
#: ../../c-api/dict.rst:261
332+
#: ../../c-api/dict.rst:266
340333
msgid ""
341334
"Mark dictionary *dict* as watched. The callback granted *watcher_id* by :c:"
342335
"func:`PyDict_AddWatcher` will be called when *dict* is modified or "
343336
"deallocated. Return ``0`` on success or ``-1`` on error."
344337
msgstr ""
345338

346-
#: ../../c-api/dict.rst:269
339+
#: ../../c-api/dict.rst:274
347340
msgid ""
348341
"Mark dictionary *dict* as no longer watched. The callback granted "
349342
"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
350343
"*dict* is modified or deallocated. The dict must previously have been "
351344
"watched by this watcher. Return ``0`` on success or ``-1`` on error."
352345
msgstr ""
353346

354-
#: ../../c-api/dict.rst:278
347+
#: ../../c-api/dict.rst:283
355348
msgid ""
356349
"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
357350
"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
358351
"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or "
359352
"``PyDict_EVENT_DEALLOCATED``."
360353
msgstr ""
361354

362-
#: ../../c-api/dict.rst:286
355+
#: ../../c-api/dict.rst:291
363356
msgid "Type of a dict watcher callback function."
364357
msgstr ""
365358

366-
#: ../../c-api/dict.rst:288
359+
#: ../../c-api/dict.rst:293
367360
msgid ""
368361
"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both "
369362
"*key* and *new_value* will be ``NULL``. If *event* is ``PyDict_EVENT_ADDED`` "
@@ -372,22 +365,22 @@ msgid ""
372365
"dictionary and *new_value* will be ``NULL``."
373366
msgstr ""
374367

375-
#: ../../c-api/dict.rst:294
368+
#: ../../c-api/dict.rst:299
376369
msgid ""
377370
"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
378371
"dict is merged into it. To maintain efficiency of this operation, per-key "
379372
"``PyDict_EVENT_ADDED`` events are not issued in this case; instead a single "
380373
"``PyDict_EVENT_CLONED`` is issued, and *key* will be the source dictionary."
381374
msgstr ""
382375

383-
#: ../../c-api/dict.rst:300
376+
#: ../../c-api/dict.rst:305
384377
msgid ""
385378
"The callback may inspect but must not modify *dict*; doing so could have "
386379
"unpredictable effects, including infinite recursion. Do not trigger Python "
387380
"code execution in the callback, as it could modify the dict as a side effect."
388381
msgstr ""
389382

390-
#: ../../c-api/dict.rst:304
383+
#: ../../c-api/dict.rst:309
391384
msgid ""
392385
"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
393386
"callback to the about-to-be-destroyed dictionary will resurrect it and "
@@ -396,20 +389,20 @@ msgid ""
396389
"again."
397390
msgstr ""
398391

399-
#: ../../c-api/dict.rst:310
392+
#: ../../c-api/dict.rst:315
400393
msgid ""
401394
"Callbacks occur before the notified modification to *dict* takes place, so "
402395
"the prior state of *dict* can be inspected."
403396
msgstr ""
404397

405-
#: ../../c-api/dict.rst:313
398+
#: ../../c-api/dict.rst:318
406399
msgid ""
407400
"If the callback sets an exception, it must return ``-1``; this exception "
408401
"will be printed as an unraisable exception using :c:func:"
409402
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
410403
msgstr ""
411404

412-
#: ../../c-api/dict.rst:317
405+
#: ../../c-api/dict.rst:322
413406
msgid ""
414407
"There may already be a pending exception set on entry to the callback. In "
415408
"this case, the callback should return ``0`` with the same exception still "
@@ -430,10 +423,10 @@ msgstr "dictionary"
430423
msgid "PyUnicode_FromString()"
431424
msgstr "PyUnicode_FromString()"
432425

433-
#: ../../c-api/dict.rst:157
426+
#: ../../c-api/dict.rst:162
434427
msgid "built-in function"
435428
msgstr "組み込み関数"
436429

437-
#: ../../c-api/dict.rst:157
430+
#: ../../c-api/dict.rst:162
438431
msgid "len"
439432
msgstr "len"

c-api/none.po

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-06-09 14:13+0000\n"
14+
"POT-Creation-Date: 2023-06-30 14:13+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
1616
"Last-Translator: tomo, 2023\n"
1717
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -41,20 +41,16 @@ msgstr ""
4141
#: ../../c-api/none.rst:18
4242
msgid ""
4343
"The Python ``None`` object, denoting lack of value. This object has no "
44-
"methods. It needs to be treated just like any other object with respect to "
45-
"reference counts."
44+
"methods and is `immortal <https://peps.python.org/pep-0683/>`_."
4645
msgstr ""
47-
"Python における ``None`` オブジェクトで、値がないことを表します。このオブジェ"
48-
"クトにはメソッドがありません。参照カウントについては、このオブジェクトも他の"
49-
"オブジェクトと同様に扱う必要があります。"
5046

51-
#: ../../c-api/none.rst:25
52-
msgid ""
53-
"Properly handle returning :c:data:`Py_None` from within a C function (that "
54-
"is, increment the reference count of ``None`` and return it.)"
47+
#: ../../c-api/none.rst:21
48+
msgid ":c:data:`Py_None` is immortal."
49+
msgstr ""
50+
51+
#: ../../c-api/none.rst:26
52+
msgid "Return :c:data:`Py_None` from a function."
5553
msgstr ""
56-
"C 関数からの :c:data:`Py_None` の返却を適切に扱います。\n"
57-
"(これは ``None`` の参照カウントをインクリメントして返します。)"
5854

5955
#: ../../c-api/none.rst:8
6056
msgid "object"

0 commit comments

Comments
 (0)
0