8000 [skip ci] Update .po files · python/python-docs-ja@d4c6829 · GitHub
[go: up one dir, main page]

Skip to content

Commit d4c6829

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 401d413 commit d4c6829

File tree

4 files changed

+3722
-3691
lines changed

4 files changed

+3722
-3691
lines changed

library/dataclasses.po

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,9 @@ msgid ""
322322
" discussed below. It is an error to specify both ``default`` and "
323323
"``default_factory``."
324324
msgstr ""
325+
"``default_factory``: 提供されていた場合、0 引数の呼び出し可能オブジェクトでなければならず、このフィールドの初期値が必要になったときに呼び出されます。\n"
326+
"他の目的も含めて、下で議論されているように、フィールドに可変なデフォルト値を指定するのに使えます。\n"
327+
"``default`` と ``default_factory`` の両方を指定するとエラーになります。"
325328

326329
#: ../../library/dataclasses.rst:212
327330
msgid ""
@@ -541,7 +544,7 @@ msgid ""
541544
"on the call to :func:`replace` so that they can be passed to "
542545
":meth:`__init__` and :meth:`__post_init__`."
543546
msgstr ""
544-
"初期化のみ行われる変数でデフォルト値を持たないものがもしあれば、 :func:`replace` の呼び出し時に初期値が指定され、 "
547+
"初期化限定変数でデフォルト値を持たないものがもしあれば、 :func:`replace` の呼び出し時に初期値が指定され、 "
545548
":meth:`__init__` と :meth:`__post_init__` に渡せるようにしなければなりません。"
546549

547550
#: ../../library/dataclasses.rst:375
@@ -606,13 +609,17 @@ msgid ""
606609
"Among other uses, this allows for initializing field values that depend on "
607610
"one or more other fields. For example::"
608611
msgstr ""
612+
"他の機能と組み合わせることで、他の 1 つ以上のフィールドに依存しているフィールドが初期化できます。\n"
613+
"例えば次のようにできます::"
609614

610615
#: ../../library/dataclasses.rst:423
611616
msgid ""
612617
"See the section below on init-only variables for ways to pass parameters to "
613618
":meth:`__post_init__`. Also see the warning about how :func:`replace` "
614619
"handles ``init=False`` fields."
615620
msgstr ""
621+
"下にある初期化限定変数についての節で、 :meth:`__post_init__` にパラメータを渡す方法を参照してください。\n"
622+
":func:`replace` が ``init=False`` であるフィールドをどう取り扱うかについての警告も参照してください。"
616623

617624
#: ../../library/dataclasses.rst:428
618625
msgid "Class variables"
@@ -628,6 +635,10 @@ msgid ""
628635
"``ClassVar`` pseudo-fields are not returned by the module-level "
629636
":func:`fields` function."
630637
msgstr ""
638+
":func:`dataclass` が実際にフィールドの型の検査を行う 2 箇所のうち 1 つは、フィールドが :pep:`526` で定義されたクラス変数かどうかの判定です。\n"
639+
"その判定はフィールドの型が ``typing.ClassVar`` かどうかで行います。\n"
640+
"フィールドが ``ClassVar`` の場合、フィールドとは見なされなくなり、データクラスの機構からは無視されます。\n"
641+
"そのような ``ClassVar`` 疑似フィールドは、モジュールレベル関数 :func:`fields` の返り値には含まれません。"
631642

632643
#: ../../library/dataclasses.rst:439
633644
msgid "Init-only variables"
@@ -644,18 +655,26 @@ msgid ""
644655
"generated :meth:`__init__` method, and are passed to the optional "
645656
":meth:`__post_init__` method. They are not otherwise used by dataclasses."
646657
msgstr ""
658+
":func:`dataclass` が型アノテーションの検査を行うもう 1 つの箇所は、フィールドが初期化限定変数かどうかの判定です。\n"
659+
"その判定はフィールドの型が ``dataclasses.InitVar`` 型であるかどうかで行います。\n"
660+
"フィールドが ``InitVar`` の場合、初期化限定フィールドと呼ばれる疑似フィールドと見なされます。\n"
661+
"これは本物のフィールドではないので、モジュールレベル関数 :func:`fields` の返り値には含まれません。\n"
662+
"初期化限定フィールドは生成された :meth:`__init__` メソッドに引数として追加され、オプションの :meth:`__post_init__` メソッドにも渡されます。\n"
663+
"初期化限定フィールドは、データクラスからはそれ以外では使われません。"
647664

648665
#: ../../library/dataclasses.rst:451
649666
msgid ""
650667
"For example, suppose a field will be initialized from a database, if a value"
651668
" is not provided when creating the class::"
652-
msgstr ""
669+
msgstr "例えば、あるフィールドがデータベースから初期化されると仮定して、クラスを作成するときには値が与えられない次の場合を考えます::"
653670

654671
#: ../../library/dataclasses.rst:466
655672
msgid ""
656673
"In this case, :func:`fields` will return :class:`Field` objects for ``i`` "
657674
"and ``j``, but not for ``database``."
658675
msgstr ""
676+
"このケースでは、 :func:`fields` は ``i`` と ``j`` の :class:`Field` オブジェクトは返しますが、 "
677+
"``database`` の :class:`Field` オブジェクトは返しません。"
659678

660679
#: ../../library/dataclasses.rst:470
661680
msgid "Frozen instances"

library/email.header.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: 秘湯 <xwhhsprings@gmail.com>, 2017\n"
13+
"Last-Translator: takey <taketakeyyy@gmail.com>, 2018\n"
1414
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=UTF-8\n"
@@ -35,6 +35,9 @@ msgid ""
3535
"that need to completely control the character sets used when encoding "
3636
"headers."
3737
msgstr ""
38+
"このモジュールはレガシー(``Compat32``)な電子メールAPIの一部です。現在のAPIではヘッダのエンコードとデコードは "
39+
":class:`~email.message.EmailMessage` "
40+
"クラスの辞書的なAPIによって透過的に処理されます。レガシーコードでの使用に加えて、このモジュールは、ヘッダーをエンコードする際に使用される文字セットを完全に制御する必要があるアプリケーションで役立ちます"
3841

3942
#: ../../library/email.header.rst:17
4043
msgid ""
@@ -260,6 +263,8 @@ msgid ""
260263
"(``\\n``), but ``\\r\\n`` can be specified in order to produce headers with "
261264
"RFC-compliant line separators."
262265
msgstr ""
266+
"*linesep* "
267+
"は、折り返しヘッダの行を区切る文字を指定します。デフォルトではPythonアプリケーションコードに最も有用な値(``\\n``)になりますが、RFC準拠の行区切り文字でヘッダを生成するために``\\r\\n``を指定することができます。"
263268

264269
#: ../../library/email.header.rst:143
265270
msgid "Added the *linesep* argument."
@@ -279,6 +284,9 @@ msgid ""
279284
"charset of ``'unknown-8bit'`` are decoded as ASCII using the ``'replace'`` "
280285
"error handler."
281286
msgstr ""
287+
":class:`Header` "
288+
"の概要を文字列として返します。無制限の行長を使用します。すべての箇所は、指定されたエンコーディングを使用してUnicodeに変換され、適切に結合されます。文字セット"
289+
" ``'unknown-8bit'`` を持つ箇所は、 ``'replace'`` エラーハンドラを使ってASCIIとしてデコードされます。"
282290

283291
#: ../../library/email.header.rst:158
284292
msgid "Added handling for the ``'unknown-8bit'`` charset."

library/html.po

Lines changed: 2 additions & 5 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-10-03 09:21+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: E. Kawashima, 2017\n"
1414
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -45,14 +45,11 @@ msgstr ""
4545
#: ../../library/html.rst:26
4646
msgid ""
4747
"Convert all named and numeric character references (e.g. ``&gt;``, "
48-
"``&#62;``, ``&x3e;``) in the string *s* to the corresponding unicode "
48+
"``&#62;``, ``&#x3e;``) in the string *s* to the corresponding Unicode "
4949
"characters. This function uses the rules defined by the HTML 5 standard for"
5050
" both valid and invalid character references, and the :data:`list of HTML 5 "
5151
"named character references <html.entities.html5>`."
5252
msgstr ""
53-
"文字列 *s* 中の名前や数字による参照 (e.g. ``&gt;``, ``&#62;``, ``&x3e;``) "
54-
"を全て対応するユニコード文字に変換します。この関数は HTML 5 標準規格で定められた規則を用います。対象は有効な文字参照および無効な文字参照、そして"
55-
" :data:`list of HTML 5 named character references <html.entities.html5>` です。"
5653

5754
#: ../../library/html.rst:36
5855
msgid "Submodules in the ``html`` package are:"

0 commit comments

Comments
 (0)
0