Skip to content

Commit c58201f

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 184ff3f commit c58201f

File tree

15 files changed

+3895
-3868
lines changed

15 files changed

+3895
-3868
lines changed

howto/descriptor.po

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-09-12 09:20+0900\n"
11+
"POT-Creation-Date: 2018-09-15 09:11+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: Nozomu Kaneko <nozom.kaneko@gmail.com>, 2017\n"
1414
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -49,14 +49,11 @@ msgstr "概要"
4949
#: ../../howto/descriptor.rst:13
5050
msgid ""
5151
"Defines descriptors, summarizes the protocol, and shows how descriptors are "
52-
"called. Examines a custom descriptor and several built-in python "
52+
"called. Examines a custom descriptor and several built-in Python "
5353
"descriptors including functions, properties, static methods, and class "
5454
"methods. Shows how each works by giving a pure Python equivalent and a "
5555
"sample application."
5656
msgstr ""
57-
"デスクリプタを定義し、プロトコルを要約し、デスクリプタがどのように呼び出されるか示します。カスタムのデスクリプタや、関数、プロパティ、静的メソッド、クラスメソッドを含む、いくつかの組み込み"
58-
" Python デスクリプタを考察します。等価な pure Python "
59-
"版やサンプルアプリケーションを与えることにより、それぞれがどのように働くかを示します。"
6057

6158
#: ../../howto/descriptor.rst:18
6259
msgid ""
@@ -387,7 +384,7 @@ msgid ""
387384
"To support method calls, functions include the :meth:`__get__` method for "
388385
"binding methods during attribute access. This means that all functions are "
389386
"non-data descriptors which return bound methods when they are invoked from "
390-
"an object. In pure python, it works like this::"
387+
"an object. In pure Python, it works like this::"
391388
msgstr ""
392389

393390
#: ../../howto/descriptor.rst:288

howto/instrumentation.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
11+
"POT-Creation-Date: 2018-09-15 09:11+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: SHIMIZU Taku <shimizu.taku@gmail.com>, 2017\n"
1414
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -324,14 +324,14 @@ msgstr ""
324324
#: ../../howto/instrumentation.rst:371
325325
msgid ""
326326
"This probe point indicates that execution of a Python function has begun. It"
327-
" is only triggered for pure-python (bytecode) functions."
327+
" is only triggered for pure-Python (bytecode) functions."
328328
msgstr ""
329329

330330
#: ../../howto/instrumentation.rst:376
331331
msgid ""
332332
"This probe point is the converse of :c:func:`python.function.return`, and "
333333
"indicates that execution of a Python function has ended (either via "
334-
"``return``, or via an exception). It is only triggered for pure-python "
334+
"``return``, or via an exception). It is only triggered for pure-Python "
335335
"(bytecode) functions."
336336
msgstr ""
337337

library/dataclasses.po

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ msgstr ""
303303

304304
#: ../../library/dataclasses.rst:200
305305
msgid "The parameters to :func:`field` are:"
306-
msgstr ":func:`field` の引数は:"
306+
msgstr ":func:`field` の引数は次の通りです:"
307307

308308
#: ../../library/dataclasses.rst:202
309309
msgid ""
@@ -352,6 +352,11 @@ msgid ""
352352
"field should be considered in the hash if it's used for comparisons. "
353353
"Setting this value to anything other than ``None`` is discouraged."
354354
msgstr ""
355+
"``hash``: これは真偽値あるいは ``None`` に設定できます。\n"
356+
"真の場合、このフィールドは、生成された :meth:`__hash__` メソッドに含まれます。\n"
357+
"(デフォルトの) ``None`` の場合、 ``compare`` の値を使います: こうすることは普通は期待通りの振る舞いになります。\n"
358+
"比較で使われるフィールドはハッシュに含まれるものと考えるべきです。\n"
359+
"この値を ``None`` 以外に設定することは推奨されません。"
355360

356361
#: ../../library/dataclasses.rst:229
357362
msgid ""
@@ -361,6 +366,8 @@ msgid ""
361366
"hash value. Even if a field is excluded from the hash, it will still be "
362367
"used for comparisons."
363368
msgstr ""
369+
"フィールドのハッシュ値を計算するコストが高い場合に、 ``hash=False`` だが ``compare=True`` と設定する理由が 1 つあるとすれば、フィールドが等価検査に必要かつ、その型のハッシュ値を計算するのに他のフィールドも使われることです。\n"
370+
"フィールドがハッシュから除外されていたとしても、比較には使えます。"
364371

365372
#: ../../library/dataclasses.rst:235
366373
msgid ""
@@ -371,6 +378,11 @@ msgid ""
371378
"Multiple third-parties can each have their own key, to use as a namespace in"
372379
" the metadata."
373380
msgstr ""
381+
"``metadata``: これはマッピングあるいは ``None`` に設定できます。\n"
382+
"``None`` は空の辞書として扱われます。\n"
383+
"この値は :func:`~types.MappingProxyType` でラップされ、読み出し専用になり、 :class:`Field` オブジェクトに公開されます。\n"
384+
"これはデータクラスから使われることはなく、サードパーティーの拡張機構として提供されます。\n"
385+
"複数のサードパーティーが各々のキーを持て、メタデータの名前空間として使えます。"
374386

375387
#: ../../library/dataclasses.rst:243
376388
msgid ""
@@ -382,6 +394,10 @@ msgid ""
382394
"fields, just as if the default value itself were specified. For example, "
383395
"after::"
384396
msgstr ""
397+
":func:`field()` の呼び出しでフィールドのデフォルト値が指定されている場合は、このフィールドのクラス属性は、その指定された ``default`` 値で置き換えられます。\n"
398+
"``default`` が提供されていない場合は、そのクラス属性は削除されます。\n"
399+
"こうする意図は、 :func:`dataclass` デコレータが実行された後には、ちょうどデフォルト値そのものが指定されたかのように、クラス属性がデフォルト値を全て持っているようにすることです。\n"
400+
"例えば、次のような場合::"
385401

386402
#: ../../library/dataclasses.rst:259
387403
msgid ""

0 commit comments

Comments
 (0)