6
6
# Translators:
7
7
# tomo, 2020
8
8
# Masaaki Kobashi <murmur2winzcud37dle@gmail.com>, 2021
9
+ # Takanori Suzuki <takanori@takanory.net>, 2021
9
10
#
10
11
#, fuzzy
11
12
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
14
15
"Report-Msgid-Bugs-To :\n "
15
16
"POT-Creation-Date :2021-01-01 16:06+0000\n "
16
17
"PO-Revision-Date :2020-05-30 12:07+0000\n "
17
- "Last-Translator :Masaaki Kobashi <murmur2winzcud37dle@gmail.com >, 2021\n "
18
+ "Last-Translator :Takanori Suzuki <takanori@takanory.net >, 2021\n "
18
19
"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
19
20
"MIME-Version :1.0\n "
20
21
"Content-Type :text/plain; charset=UTF-8\n "
@@ -185,6 +186,9 @@ msgid ""
185
186
"introspection facilities; complex cases can be tackled by implementing "
186
187
":ref:`specific object APIs <pickle-inst>`);"
187
188
msgstr ""
189
+ "JSON は、デフォルトでは Python の組み込み型の一部しか表現することができず、カスタムクラスに対しても行えません; pickle "
190
+ "は極めて多くの Python 組み込み型を表現できます (その多くは賢い Python 内省機構によって自動的に行われます; 複雑なケースでは "
191
+ ":ref:`固有のオブジェクト API <pickle-inst>` によって対応できます)。"
188
192
189
193
#: ../../library/pickle.rst:110
190
194
msgid ""
@@ -240,6 +244,8 @@ msgid ""
240
244
"The higher the protocol used, the more recent the version of Python needed "
241
245
"to read the pickle produced."
242
246
msgstr ""
247
+ "現在 pickle 化には 6 種類のプロトコルを使用できます。より高いプロトコルを使用するほど、作成された pickle を読み込むためにより高い "
248
+ "Python のバージョンが必要になります。"
243
249
244
250
#: ../../library/pickle.rst:143
245
251
msgid ""
@@ -268,6 +274,8 @@ msgid ""
268
274
":class:`bytes` objects and cannot be unpickled by Python 2.x. This was the "
269
275
"default protocol in Python 3.0--3.7."
270
276
msgstr ""
277
+ "プロトコルバージョン 3 は Python 3 で追加されました。 :class:`bytes` オブジェクトを明示的にサポートしており、 Python"
278
+ " 2.x で unpickle することはできません。これは Python 3.0から3.7のデフォルトプロトコルでした。"
271
279
272
280
#: ../../library/pickle.rst:157
273
281
msgid ""
@@ -276,6 +284,9 @@ msgid ""
276
284
" It is the default protocol starting with Python 3.8. Refer to :pep:`3154` "
277
285
"for information about improvements brought by protocol 4."
278
286
msgstr ""
287
+ "プロトコルバージョン 4 は Python 3.4 で追加されました。このバージョンでは巨大なオブジェクトのサポート、より多くの種類のオブジェクトの "
288
+ "pickle 化、および一部のデータ形式の最適化が行われました。Python 3.8からのデフォルトプロトコルです。プロトコル 4 "
289
+ "による改良に関する情報は :pep:`3154` を参照してください。"
279
290
280
291
#: ../../library/pickle.rst:163
281
292
msgid ""
@@ -345,11 +356,11 @@ msgstr ""
345
356
346
357
#: ../../library/pickle.rst:207
347
358
msgid "The default protocol is 3."
348
- msgstr ""
359
+ msgstr "デフォルトプロトコルは3です。 "
349
360
350
361
#: ../../library/pickle.rst:211
351
362
msgid "The default protocol is 4."
352
- msgstr ""
363
+ msgstr "デフォルトプロトコルは4です。 "
353
364
354
365
#: ../../library/pickle.rst:213
355
366
msgid ""
@@ -363,6 +374,8 @@ msgid ""
363
374
" object` *file*. This is equivalent to ``Pickler(file, "
364
375
"protocol).dump(obj)``."
365
376
msgstr ""
377
+ "オブジェクト *obj* を pickle 化し、すでにオープンしている :term:`ファイルオブジェクト <file object>` *file*"
378
+ " に書き込みます。``Pickler(file, protocol).dump(obj)`` と等価です。"
366
379
367
380
#: ../../library/pickle.rst:222
368
381
msgid ""
@@ -373,13 +386,13 @@ msgstr ""
373
386
#: ../../library/pickle.rst:225 ../../library/pickle.rst:236
374
387
#: ../../library/pickle.rst:328
375
388
msgid "The *buffer_callback* argument was added."
376
- msgstr ""
389
+ msgstr "*buffer_callback* 引数が追加されました。 "
377
390
378
391
#: ../../library/pickle.rst:230
379
392
msgid ""
380
393
"Return the pickled representation of the object *obj* as a :class:`bytes` "
381
394
"object, instead of writing it to a file."
382
- msgstr ""
395
+ msgstr "ファイルに書く代わりに、:class:`bytes` オブジェクトとしてオブジェクト *obj* の pickle 表現を返します。 "
383
396
384
397
#: ../../library/pickle.rst:233
385
398
msgid ""
@@ -393,13 +406,17 @@ msgid ""
393
406
"object` *file* and return the reconstituted object hierarchy specified "
394
407
"therein. This is equivalent to ``Unpickler(file).load()``."
395
408
msgstr ""
409
+ "あるオブジェクトの pickle 表現を、オープンしている :term:`ファイルオブジェクト <file object>` *file* "
410
+ "から読み込み、その中で指定されているオブジェクト階層に再構成して返します。これは ``Unpickler(file).load()`` と等価です。"
396
411
397
412
#: ../../library/pickle.rst:245 ../../library/pickle.rst:260
398
413
msgid ""
399
414
"The protocol version of the pickle is detected automatically, so no protocol"
400
415
" argument is needed. Bytes past the pickled representation of the object "
401
416
"are ignored."
402
417
msgstr ""
418
+ "pickle のプロトコルバージョンは自動的に検出されます。したがって protocol 引数は必要ありません。pickle "
419
+ "化オブジェクト表現より後のバイト列は無視されます。"
403
420
404
421
#: ../../library/pickle.rst:249 ../../library/pickle.rst:264
405
422
msgid ""
@@ -410,7 +427,7 @@ msgstr ""
410
427
#: ../../library/pickle.rst:252 ../../library/pickle.rst:267
411
428
#: ../../library/pickle.rst:429
412
429
msgid "The *buffers* argument was added."
413
- msgstr ""
430
+ msgstr "*buffers* 引数が追加されました。 "
414
431
415
432
#: ../../library/pickle.rst:257
416
433
msgid ""
@@ -464,6 +481,8 @@ msgid ""
464
481
"The :mod:`pickle` module exports three classes, :class:`Pickler`, "
465
482
":class:`Unpickler` and :class:`PickleBuffer`:"
466
483
msgstr ""
484
+ ":mod:`pickle` モジュールでは、3 つのクラス :class:`Pickler`, :class:`Unpickler` および "
485
+ ":class:`Unpickler` を提供しています:"
467
486
468
487
#: ../../library/pickle.rst:301
469
488
msgid "This takes a binary file for writing a pickle data stream."
@@ -524,7 +543,7 @@ msgstr ""
524
543
msgid ""
525
544
"Write the pickled representation of *obj* to the open file object given in "
526
545
"the constructor."
527
- msgstr ""
546
+ msgstr "*obj* の pickle 化表現を、コンストラクターで与えられた、すでにオープンしているファイルオブジェクトに書き込みます。 "
528
547
529
548
#: ../../library/pickle.rst:338
530
549
msgid "Do nothing by default. This exists so a subclass can override it."
@@ -665,6 +684,8 @@ msgid ""
665
684
" in the constructor, and return the reconstituted object hierarchy specified"
666
685
" therein. Bytes past the pickled representation of the object are ignored."
667
686
msgstr ""
687
+ "コンストラクターで与えられたオープンしたファイルオブジェクトからオブジェクトの pickle "
688
+ "化表現を読み込み、その中で指定されたオブジェクト階層に再構成して返します。オブジェクトの pickle 化表現より後のバイト列は無視されます。"
668
689
669
690
#: ../../library/pickle.rst:441
670
691
msgid "Raise an :exc:`UnpicklingError` by default."
@@ -705,6 +726,8 @@ msgid ""
705
726
"Raises an :ref:`auditing event <auditing>` ``pickle.find_class`` with "
706
727
"arguments ``module``, ``name``."
707
728
msgstr ""
729
+ "引数 ``modulet``, ``name`` を指定して :ref:`監査イベント <auditing>` "
730
+ "``pickle.find_class`` を送出します。 "
708
731
709
732
#: ../../library/pickle.rst:464
710
733
msgid ""
@@ -917,13 +940,15 @@ msgstr ""
917
940
msgid ""
918
941
":meth:`__getnewargs__` will not be called if :meth:`__getnewargs_ex__` is "
919
942
"defined."
920
- msgstr ""
943
+ msgstr ":meth:`__getnewargs_ex__` が定義されていると :meth:`__getnewargs__` は呼び出しません。 "
921
944
922
945
#: ../../library/pickle.rst:607
923
946
msgid ""
924
947
"Before Python 3.6, :meth:`__getnewargs__` was called instead of "
925
948
":meth:`__getnewargs_ex__` in protocols 2 and 3."
926
949
msgstr ""
950
+ "Python 3.6以前のプロトコル 2 と 3 では、:meth:`__getnewargs_ex__` の代わりに "
951
+ ":meth:`__getnewargs__` が呼び出されていました。"
927
952
928
953
#: ../../library/pickle.rst:614
929
954
msgid ""
@@ -1025,6 +1050,8 @@ msgid ""
1025
1050
"Optional items can either be omitted, or ``None`` can be provided as their "
1026
1051
"value. The semantics of each item are in order:"
1027
1052
msgstr ""
1053
+ "タプルが返された場合、それは 2〜6 要素長でなければなりません。オプションのアイテムは省略することができます。あるいはそれらの値として "
1054
+ "``None`` を渡すことができます。各要素の意味は順に:"
1028
1055
1029
1056
#: ../../library/pickle.rst:678
1030
1057
msgid ""
@@ -1130,6 +1157,9 @@ msgid ""
1130
1157
"pickler and unpickler, :meth:`~Pickler.persistent_id` and "
1131
1158
":meth:`~Unpickler.persistent_load` respectively."
1132
1159
msgstr ""
1160
+ "そのような永続的 ID の分解能は :mod:`pickle` モジュールでは定義されていません; これはこの分解能を pickler および "
1161
+ "unpickler のそれぞれ :meth:`~Pickler.persistent_id` および "
1162
+ ":meth:`~Unpickler.persistent_load` 上でのユーザー定義メソッドに移譲します。"
1133
1163
1134
1164
#: ../../library/pickle.rst:744
1135
1165
msgid ""
@@ -1141,6 +1171,10 @@ msgid ""
1141
1171
"object, along with a marker so that the unpickler will recognize it as a "
1142
1172
"persistent ID."
1143
1173
msgstr ""
1174
+ "外部の永続的 ID を持つ pickle オブジェクトの pickler は、引数にオブジェクトを取り、``None`` かオブジェクトの永続的 ID "
1175
+ "を返すカスタム :meth:`~Pickler.persistent_id` メソッドを持たなくてはなりません。``None`` "
1176
+ "を返す場合、pickler は通常通りマーカーとともにオブジェクトを pickle 化するため、unpickler はそれを永続的 ID "
1177
+ "として認識します。"
1144
1178
1145
1179
#: ../../library/pickle.rst:751
1146
1180
msgid ""
@@ -1536,6 +1570,8 @@ msgid ""
1536
1570
"This is why :keyword:`lambda` functions cannot be pickled: all "
1537
1571
":keyword:`!lambda` functions share the same name: ``<lambda>``."
1538
1572
msgstr ""
1573
+ "なぜ :keyword:`lambda` 関数を pickle 化できないかというと、すべての :keyword:`!lambda` 関数は同じ名前: "
1574
+ "``<lambda>`` を共有しているからです。"
1539
1575
1540
1576
#: ../../library/pickle.rst:1194
1541
1577
msgid ""