@@ -404,6 +404,8 @@ msgid ""
404
404
"The class attribute ``C.z`` will be ``10``, the class attribute ``C.t`` will"
405
405
" be ``20``, and the class attributes ``C.x`` and ``C.y`` will not be set."
406
406
msgstr ""
407
+ "クラス属性 ``C.z`` は ``10`` 、クラス属性 ``C.t`` は ``20`` になり、クラス属性 ``C.x`` と ``C.y`` "
408
+ "には値が設定されません。"
407
409
408
410
#: ../../library/dataclasses.rst:265
409
411
msgid ""
@@ -412,27 +414,33 @@ msgid ""
412
414
"method (see below). Users should never instantiate a :class:`Field` object "
413
415
"directly. Its documented attributes are:"
414
416
msgstr ""
417
+ ":class:`Field` オブジェクトはそれぞれの定義されたフィールドを記述します。\n"
418
+ "このオブジェクトは内部で作られ、モジュールレベル関数の :func:`fields` によって返されます (下の解説を見てください)。\n"
419
+ "ユーザーは絶対に :class:`Field` オブジェクトを直接インスタンス化すべきではありません。\n"
420
+ "ドキュメント化されている属性は次の通りです:"
415
421
416
422
#: ../../library/dataclasses.rst:270
417
423
msgid "``name``: The name of the field."
418
- msgstr ""
424
+ msgstr "``name``: フィールド名 "
419
425
420
426
#: ../../library/dataclasses.rst:272
421
427
msgid "``type``: The type of the field."
422
- msgstr ""
428
+ msgstr "``type``: フィールドの型 "
423
429
424
430
#: ../../library/dataclasses.rst:274
425
431
msgid ""
426
432
"``default``, ``default_factory``, ``init``, ``repr``, ``hash``, ``compare``,"
427
433
" and ``metadata`` have the identical meaning and values as they do in the "
428
434
":func:`field` declaration."
429
435
msgstr ""
436
+ "``default``, ``default_factory``, ``init``, ``repr``, ``hash``, ``compare``,"
437
+ " ``metadata`` は :func:`field` の宣言と同じ意味と値を持ちます。"
430
438
431
439
#: ../../library/dataclasses.rst:278
432
440
msgid ""
433
441
"Other attributes may exist, but they are private and must not be inspected "
434
442
"or relied on."
435
- msgstr ""
443
+ msgstr "他の属性があることもありますが、それらはプライベートであり、調べたり、依存したりしてはなりません。 "
436
444
437
445
#: ../../library/dataclasses.rst:283
438
446
msgid ""
0 commit comments