Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff14e5a

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent fd314f4 commit ff14e5a

File tree

6 files changed

+125
-43
lines changed

6 files changed

+125
-43
lines changed

library/exceptions.po

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.8\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2021-04-03 16:57+0000\n"
14+
"POT-Creation-Date: 2021-04-30 17:15+0000\n"
1515
"PO-Revision-Date: 2020-05-30 12:02+0000\n"
1616
"Last-Translator: tomo, 2020\n"
1717
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -94,25 +94,21 @@ msgstr ""
9494
msgid ""
9595
"When raising a new exception (rather than using a bare ``raise`` to re-raise"
9696
" the exception currently being handled), the implicit exception context can "
97-
"be supplemented with an explicit cause by using :keyword:`from` with "
97+
"be supplemented with an explicit cause by using :keyword:`from<raise>` with "
9898
":keyword:`raise`::"
9999
msgstr ""
100-
"現在処理中の例外を ``raise`` を使って再送出するのではなく新規に例外を送出する場合、:keyword:`raise` と一緒に "
101-
":keyword:`from` を使うことで暗黙の例外コンテキストを捕捉することができます::"
102100

103101
#: ../../library/exceptions.rst:50
104102
msgid ""
105-
"The expression following :keyword:`from` must be an exception or ``None``. "
106-
"It will be set as :attr:`__cause__` on the raised exception. Setting "
107-
":attr:`__cause__` also implicitly sets the :attr:`__suppress_context__` "
108-
"attribute to ``True``, so that using ``raise new_exc from None`` effectively"
109-
" replaces the old exception with the new one for display purposes (e.g. "
110-
"converting :exc:`KeyError` to :exc:`AttributeError`), while leaving the old "
111-
"exception available in :attr:`__context__` for introspection when debugging."
112-
msgstr ""
113-
":keyword:`from` に続く式は例外か ``None`` でなくてはなりません。\n"
114-
"式は送出される例外の :attr:`__cause__` として設定されます。\n"
115-
":attr:`__cause__` を設定することは、 :attr:`__suppress_context__` 属性を暗黙的に ``True`` に設定することにもなるので、 ``raise new_exc from None`` を使うことで効率的に古い例外を新しいもので置き換えて表示する (例えば、 :exc:`KeyError` を :exc:`AttributeError` に置き換え)、古い例外はデバッグ時の調査で使えるよう :attr:`__context__` に残すことができます。"
103+
"The expression following :keyword:`from<raise>` must be an exception or "
104+
"``None``. It will be set as :attr:`__cause__` on the raised exception. "
105+
"Setting :attr:`__cause__` also implicitly sets the "
106+
":attr:`__suppress_context__` attribute to ``True``, so that using ``raise "
107+
"new_exc from None`` effectively replaces the old exception with the new one "
108+
"for display purposes (e.g. converting :exc:`KeyError` to "
109+
":exc:`AttributeError`), while leaving the old exception available in "
110+
":attr:`__context__` for introspection when debugging."
111+
msgstr ""
116112

117113
#: ../../library/exceptions.rst:59
118114
msgid ""

library/pickle.po

Lines changed: 44 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# tomo, 2020
88
# Masaaki Kobashi <[email protected]>, 2021
9+
# Takanori Suzuki <[email protected]>, 2021
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2021-01-01 16:06+0000\n"
1617
"PO-Revision-Date: 2020-05-30 12:07+0000\n"
17-
"Last-Translator: Masaaki Kobashi <[email protected]>, 2021\n"
18+
"Last-Translator: Takanori Suzuki <[email protected]>, 2021\n"
1819
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -185,6 +186,9 @@ msgid ""
185186
"introspection facilities; complex cases can be tackled by implementing "
186187
":ref:`specific object APIs <pickle-inst>`);"
187188
msgstr ""
189+
"JSON は、デフォルトでは Python の組み込み型の一部しか表現することができず、カスタムクラスに対しても行えません; pickle "
190+
"は極めて多くの Python 組み込み型を表現できます (その多くは賢い Python 内省機構によって自動的に行われます; 複雑なケースでは "
191+
":ref:`固有のオブジェクト API <pickle-inst>` によって対応できます)。"
188192

189193
#: ../../library/pickle.rst:110
190194
msgid ""
@@ -240,6 +244,8 @@ msgid ""
240244
"The higher the protocol used, the more recent the version of Python needed "
241245
"to read the pickle produced."
242246
msgstr ""
247+
"現在 pickle 化には 6 種類のプロトコルを使用できます。より高いプロトコルを使用するほど、作成された pickle を読み込むためにより高い "
248+
"Python のバージョンが必要になります。"
243249

244250
#: ../../library/pickle.rst:143
245251
msgid ""
@@ -268,6 +274,8 @@ msgid ""
268274
":class:`bytes` objects and cannot be unpickled by Python 2.x. This was the "
269275
"default protocol in Python 3.0--3.7."
270276
msgstr ""
277+
"プロトコルバージョン 3 は Python 3 で追加されました。 :class:`bytes` オブジェクトを明示的にサポートしており、 Python"
278+
" 2.x で unpickle することはできません。これは Python 3.0から3.7のデフォルトプロトコルでした。"
271279

272280
#: ../../library/pickle.rst:157
273281
msgid ""
@@ -276,6 +284,9 @@ msgid ""
276284
" It is the default protocol starting with Python 3.8. Refer to :pep:`3154` "
277285
"for information about improvements brought by protocol 4."
278286
msgstr ""
287+
"プロトコルバージョン 4 は Python 3.4 で追加されました。このバージョンでは巨大なオブジェクトのサポート、より多くの種類のオブジェクトの "
288+
"pickle 化、および一部のデータ形式の最適化が行われました。Python 3.8からのデフォルトプロトコルです。プロトコル 4 "
289+
"による改良に関する情報は :pep:`3154` を参照してください。"
279290

280291
#: ../../library/pickle.rst:163
281292
msgid ""
@@ -345,11 +356,11 @@ msgstr ""
345356

346357
#: ../../library/pickle.rst:207
347358
msgid "The default protocol is 3."
348-
msgstr ""
359+
msgstr "デフォルトプロトコルは3です。"
349360

350361
#: ../../library/pickle.rst:211
351362
msgid "The default protocol is 4."
352-
msgstr ""
363+
msgstr "デフォルトプロトコルは4です。"
353364

354365
#: ../../library/pickle.rst:213
355366
msgid ""
@@ -363,6 +374,8 @@ msgid ""
363374
" object` *file*. This is equivalent to ``Pickler(file, "
364375
"protocol).dump(obj)``."
365376
msgstr ""
377+
"オブジェクト *obj* を pickle 化し、すでにオープンしている :term:`ファイルオブジェクト <file object>` *file*"
378+
" に書き込みます。``Pickler(file, protocol).dump(obj)`` と等価です。"
366379

367380
#: ../../library/pickle.rst:222
368381
msgid ""
@@ -373,13 +386,13 @@ msgstr ""
373386
#: ../../library/pickle.rst:225 ../../library/pickle.rst:236
374387
#: ../../library/pickle.rst:328
375388
msgid "The *buffer_callback* argument was added."
376-
msgstr ""
389+
msgstr "*buffer_callback* 引数が追加されました。"
377390

378391
#: ../../library/pickle.rst:230
379392
msgid ""
380393
"Return the pickled representation of the object *obj* as a :class:`bytes` "
381394
"object, instead of writing it to a file."
382-
msgstr ""
395+
msgstr "ファイルに書く代わりに、:class:`bytes` オブジェクトとしてオブジェクト *obj* の pickle 表現を返します。"
383396

384397
#: ../../library/pickle.rst:233
385398
msgid ""
@@ -393,13 +406,17 @@ msgid ""
393406
"object` *file* and return the reconstituted object hierarchy specified "
394407
"therein. This is equivalent to ``Unpickler(file).load()``."
395408
msgstr ""
409+
"あるオブジェクトの pickle 表現を、オープンしている :term:`ファイルオブジェクト <file object>` *file* "
410+
"から読み込み、その中で指定されているオブジェクト階層に再構成して返します。これは ``Unpickler(file).load()`` と等価です。"
396411

397412
#: ../../library/pickle.rst:245 ../../library/pickle.rst:260
398413
msgid ""
399414
"The protocol version of the pickle is detected automatically, so no protocol"
400415
" argument is needed. Bytes past the pickled representation of the object "
401416
"are ignored."
402417
msgstr ""
418+
"pickle のプロトコルバージョンは自動的に検出されます。したがって protocol 引数は必要ありません。pickle "
419+
"化オブジェクト表現より後のバイト列は無視されます。"
403420

404421
#: ../../library/pickle.rst:249 ../../library/pickle.rst:264
405422
msgid ""
@@ -410,7 +427,7 @@ msgstr ""
410427
#: ../../library/pickle.rst:252 ../../library/pickle.rst:267
411428
#: ../../library/pickle.rst:429
412429
msgid "The *buffers* argument was added."
413-
msgstr ""
430+
msgstr "*buffers* 引数が追加されました。"
414431

415432
#: ../../library/pickle.rst:257
416433
msgid ""
@@ -464,6 +481,8 @@ msgid ""
464481
"The :mod:`pickle` module exports three classes, :class:`Pickler`, "
465482
":class:`Unpickler` and :class:`PickleBuffer`:"
466483
msgstr ""
484+
":mod:`pickle` モジュールでは、3 つのクラス :class:`Pickler`, :class:`Unpickler` および "
485+
":class:`Unpickler` を提供しています:"
467486

468487
#: ../../library/pickle.rst:301
469488
msgid "This takes a binary file for writing a pickle data stream."
@@ -524,7 +543,7 @@ msgstr ""
524543
msgid ""
525544
"Write the pickled representation of *obj* to the open file object given in "
526545
"the constructor."
527-
msgstr ""
546+
msgstr "*obj* の pickle 化表現を、コンストラクターで与えられた、すでにオープンしているファイルオブジェクトに書き込みます。"
528547

529548
#: ../../library/pickle.rst:338
530549
msgid "Do nothing by default. This exists so a subclass can override it."
@@ -665,6 +684,8 @@ msgid ""
665684
" in the constructor, and return the reconstituted object hierarchy specified"
666685
" therein. Bytes past the pickled representation of the object are ignored."
667686
msgstr ""
687+
"コンストラクターで与えられたオープンしたファイルオブジェクトからオブジェクトの pickle "
688+
"化表現を読み込み、その中で指定されたオブジェクト階層に再構成して返します。オブジェクトの pickle 化表現より後のバイト列は無視されます。"
668689

669690
#: ../../library/pickle.rst:441
670691
msgid "Raise an :exc:`UnpicklingError` by default."
@@ -705,6 +726,8 @@ msgid ""
705726
"Raises an :ref:`auditing event <auditing>` ``pickle.find_class`` with "
706727
"arguments ``module``, ``name``."
707728
msgstr ""
729+
"引数 ``modulet``, ``name`` を指定して :ref:`監査イベント <auditing>` "
730+
"``pickle.find_class`` を送出します。 "
708731

709732
#: ../../library/pickle.rst:464
710733
msgid ""
@@ -917,13 +940,15 @@ msgstr ""
917940
msgid ""
918941
":meth:`__getnewargs__` will not be called if :meth:`__getnewargs_ex__` is "
919942
"defined."
920-
msgstr ""
943+
msgstr ":meth:`__getnewargs_ex__` が定義されていると :meth:`__getnewargs__` は呼び出しません。"
921944

922945
#: ../../library/pickle.rst:607
923946
msgid ""
924947
"Before Python 3.6, :meth:`__getnewargs__` was called instead of "
925948
":meth:`__getnewargs_ex__` in protocols 2 and 3."
926949
msgstr ""
950+
"Python 3.6以前のプロトコル 2 と 3 では、:meth:`__getnewargs_ex__` の代わりに "
951+
":meth:`__getnewargs__` が呼び出されていました。"
927952

928953
#: ../../library/pickle.rst:614
929954
msgid ""
@@ -1025,6 +1050,8 @@ msgid ""
10251050
"Optional items can either be omitted, or ``None`` can be provided as their "
10261051
"value. The semantics of each item are in order:"
10271052
msgstr ""
1053+
"タプルが返された場合、それは 2〜6 要素長でなければなりません。オプションのアイテムは省略することができます。あるいはそれらの値として "
1054+
"``None`` を渡すことができます。各要素の意味は順に:"
10281055

10291056
#: ../../library/pickle.rst:678
10301057
msgid ""
@@ -1130,6 +1157,9 @@ msgid ""
11301157
"pickler and unpickler, :meth:`~Pickler.persistent_id` and "
11311158
":meth:`~Unpickler.persistent_load` respectively."
11321159
msgstr ""
1160+
"そのような永続的 ID の分解能は :mod:`pickle` モジュールでは定義されていません; これはこの分解能を pickler および "
1161+
"unpickler のそれぞれ :meth:`~Pickler.persistent_id` および "
1162+
":meth:`~Unpickler.persistent_load` 上でのユーザー定義メソッドに移譲します。"
11331163

11341164
#: ../../library/pickle.rst:744
11351165
msgid ""
@@ -1141,6 +1171,10 @@ msgid ""
11411171
"object, along with a marker so that the unpickler will recognize it as a "
11421172
"persistent ID."
11431173
msgstr ""
1174+
"外部の永続的 ID を持つ pickle オブジェクトの pickler は、引数にオブジェクトを取り、``None`` かオブジェクトの永続的 ID "
1175+
"を返すカスタム :meth:`~Pickler.persistent_id` メソッドを持たなくてはなりません。``None`` "
1176+
"を返す場合、pickler は通常通りマーカーとともにオブジェクトを pickle 化するため、unpickler はそれを永続的 ID "
1177+
"として認識します。"
11441178

11451179
#: ../../library/pickle.rst:751
11461180
msgid ""
@@ -1536,6 +1570,8 @@ msgid ""
15361570
"This is why :keyword:`lambda` functions cannot be pickled: all "
15371571
":keyword:`!lambda` functions share the same name: ``<lambda>``."
15381572
msgstr ""
1573+
"なぜ :keyword:`lambda` 関数を pickle 化できないかというと、すべての :keyword:`!lambda` 関数は同じ名前: "
1574+
"``<lambda>`` を共有しているからです。"
15391575

15401576
#: ../../library/pickle.rst:1194
15411577
msgid ""

0 commit comments

Comments
 (0)