Skip to content

Commit c25b3c9

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 6925f35 commit c25b3c9

File tree

8 files changed

+4081
-4033
lines changed

8 files changed

+4081
-4033
lines changed

library/dataclasses.po

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.7\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2018-08-25 08:59+0900\n"
15+
"POT-Creation-Date: 2018-12-25 10:09+0900\n"
1616
"PO-Revision-Date: 2018-06-29 21:06+0000\n"
1717
"Last-Translator: tomo, 2018\n"
1818
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -72,13 +72,10 @@ msgstr "この関数は、後述する :term:`special method` を生成し、ク
7272
#: ../../library/dataclasses.rst:52
7373
msgid ""
7474
"The :func:`dataclass` decorator examines the class to find ``field``\\s. A "
75-
"``field`` is defined as class variable that has a type annotation. With two"
76-
" exceptions described below, nothing in :func:`dataclass` examines the type "
77-
"specified in the variable annotation."
75+
"``field`` is defined as class variable that has a :term:`type annotation "
76+
"<variable annotation>`. With two exceptions described below, nothing in "
77+
":func:`dataclass` examines the type specified in the variable annotation."
7878
msgstr ""
79-
":func:`dataclass` デコレータは、``フィールド`` を探すためにクラスを検査します。``フィールド`` "
80-
"の定義は型アノテーションを持つクラス変数です。後述する2つの例外を除き、:func:`dataclass` "
81-
"は、変数アノテーションで指定した型を検査しません。"
8279

8380
#: ../../library/dataclasses.rst:58
8481
msgid ""

library/functions.po

Lines changed: 169 additions & 166 deletions
Large diffs are not rendered by default.

library/types.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.7\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
19+
"POT-Creation-Date: 2018-12-25 10:09+0900\n"
2020
"PO-Revision-Date: 2017-02-16 23:32+0000\n"
2121
"Last-Translator: tomo, 2017\n"
2222
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -36,9 +36,9 @@ msgstr "**ソースコード:** :source:`Lib/types.py`"
3636

3737
#: ../../library/types.rst:11
3838
msgid ""
39-
"This module defines utility function to assist in dynamic creation of new "
39+
"This module defines utility functions to assist in dynamic creation of new "
4040
"types."
41-
msgstr "このモジュールは新しい型の動的な生成を支援するユーティリティ関数を定義しています。"
41+
msgstr ""
4242

4343
#: ../../library/types.rst:14
4444
msgid ""

reference/compound_stmts.po

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.7\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2018-12-20 10:06+0900\n"
19+
"POT-Creation-Date: 2018-12-25 10:09+0900\n"
2020
"PO-Revision-Date: 2017-02-16 23:38+0000\n"
2121
"Last-Translator: tomo, 2018\n"
2222
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -596,19 +596,19 @@ msgstr ""
596596

597597
#: ../../reference/compound_stmts.rst:573
598598
msgid ""
599-
"Parameters may have annotations of the form \"``: expression``\" following "
600-
"the parameter name. Any parameter may have an annotation even those of the "
601-
"form ``*identifier`` or ``**identifier``. Functions may have \"return\" "
602-
"annotation of the form \"``-> expression``\" after the parameter list. "
603-
"These annotations can be any valid Python expression. The presence of "
604-
"annotations does not change the semantics of a function. The annotation "
605-
"values are available as values of a dictionary keyed by the parameters' "
606-
"names in the :attr:`__annotations__` attribute of the function object. If "
607-
"the ``annotations`` import from :mod:`__future__` is used, annotations are "
608-
"preserved as strings at runtime which enables postponed evaluation. "
609-
"Otherwise, they are evaluated when the function definition is executed. In "
610-
"this case annotations may be evaluated in a different order than they appear"
611-
" in the source code."
599+
"Parameters may have an :term:`annotation <function annotation>` of the form "
600+
"\"``: expression``\" following the parameter name. Any parameter may have "
601+
"an annotation, even those of the form ``*identifier`` or ``**identifier``. "
602+
"Functions may have \"return\" annotation of the form \"``-> expression``\" "
603+
"after the parameter list. These annotations can be any valid Python "
604+
"expression. The presence of annotations does not change the semantics of a "
605+
"function. The annotation values are available as values of a dictionary "
606+
"keyed by the parameters' names in the :attr:`__annotations__` attribute of "
607+
"the function object. If the ``annotations`` import from :mod:`__future__` "
608+
"is used, annotations are preserved as strings at runtime which enables "
609+
"postponed evaluation. Otherwise, they are evaluated when the function "
610+
"definition is executed. In this case annotations may be evaluated in a "
611+
"different order than they appear in the source code."
612612
msgstr ""
613613

614614
#: ../../reference/compound_stmts.rst:588

reference/expressions.po

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ msgid ""
260260
" This ensures that names assigned to in the target list don't \"leak\" into "
261261
"the enclosing scope."
262262
msgstr ""
263-
"なお、最も左にある :keyword:`!for` 節のイテラブル式を除いて、内包表記は暗黙的にネストされた個別のスコープで実行されます。\n"
263+
"ただし、最も左にある :keyword:`!for` 節のイテラブル式を除いて、内包表記は暗黙的にネストされた個別のスコープで実行されます。\n"
264264
"この仕組みのおかげで、対象のリスト内で代入された名前が外側のスコープに \"漏れる\" ことはありません。"
265265

266266
#: ../../reference/expressions.rst:198
@@ -272,6 +272,9 @@ msgid ""
272272
"enclosing scope as they may depend on the values obtained from the leftmost "
273273
"iterable. For example: ``[x*y for x in range(10) for y in range(x, x+10)]``."
274274
msgstr ""
275+
"最も左にある :keyword:`!for` 節のイテラブル式は、それを直接囲んでいるスコープでそのまま評価され、暗黙的な入れ子のスコープに引数として渡されます。\n"
276+
"後に続く :keyword:`!for` 節と、最も左にある :keyword:`!for` 節のフィルター条件はイテラブル式を直接囲んでいるスコープでは評価できません。というのは、それらは最も左のイテラブルから得られる値に依存しているかもしれないからです。\n"
277+
"例えば次の通りです: ``[x*y for x in range(10) for y in range(x, x+10)]`` 。"
275278

276279
#: ../../reference/expressions.rst:205
277280
msgid ""
@@ -281,6 +284,10 @@ msgid ""
281284
":exc:`DeprecationWarning` when compiled, in Python 3.8+ they will emit "
282285
":exc:`SyntaxError`)."
283286
msgstr ""
287+
"内包表記が常に適切な型のコンテナになるのを保証するために、 ``yield`` 式や ``yield from`` "
288+
"式は暗黙的な入れ子のスコープでは禁止されています (Python 3.7 では、そのような式はコンパイル時に "
289+
":exc:`DeprecationWarning` を発生させ、 Python 3.8 以降では :exc:`SyntaxError` "
290+
"を発生させます)。"
284291

285292
#: ../../reference/expressions.rst:213
286293
msgid ""
@@ -295,6 +302,11 @@ msgid ""
295302
"asynchronous comprehension may suspend the execution of the coroutine "
296303
"function in which it appears. See also :pep:`530`."
297304
msgstr ""
305+
"Python 3.6 から、 :keyword:`async def` 関数では :keyword:`!async for` 節が :term:`asynchronous iterator` の反復処理をするのに使われることがありました。\n"
306+
":keyword:`!async def` 関数に含まれる内包表記が、先頭の式に続く :keyword:`!for` 節あるいは :keyword:`!async for` 節で構成されていることや、追加の :keyword:`!for` 節あるいは :keyword:`!async for` 節を含んでいること、そのうえ :keyword:`await` 式を使っていることがあるかもしれません。\n"
307+
"内包表記が :keyword:`!async for` 節あるいは :keyword:`!await` 式を含んでいる場合、それは :dfn:`非同期内包表記` と呼ばれます。\n"
308+
"非同期内包表記は、それが現れるコルーチン関数の実行を中断させるかもしれません。\n"
309+
":pep:`530` も参照してください。"
298310

299311
#: ../../reference/expressions.rst:225
300312
msgid "Asynchronous comprehensions were introduced."
@@ -303,7 +315,7 @@ msgstr "非同期内包表記が導入されました。"
303315
#: ../../reference/expressions.rst:228 ../../reference/expressions.rst:395
304316
msgid ""
305317
"``yield`` and ``yield from`` deprecated in the implicitly nested scope."
306-
msgstr ""
318+
msgstr "``yield`` および ``yield from`` は暗黙的な入れ子のスコープでは非推奨となりました。"
307319

308320
#: ../../reference/expressions.rst:235
309321
msgid "List displays"
@@ -395,7 +407,7 @@ msgstr ""
395407

396408
#: ../../reference/expressions.rst:324
397409
msgid "Unpacking into dictionary displays, originally proposed by :pep:`448`."
398-
msgstr ""
410+
msgstr "辞書表示のアンパッキングは最初に :pep:`448` で提案されました。"
399411

400412
#: ../../reference/expressions.rst:327
401413
msgid ""
@@ -447,6 +459,10 @@ msgid ""
447459
"scope as they may depend on the values obtained from the leftmost iterable. "
448460
"For example: ``(x*y for x in range(10) for y in range(x, x+10))``."
449461
msgstr ""
462+
"ジェネレータ式の中で使われている変数は、 (通常のジェネレータと同じように) そのジェネレータオブジェクトに対して :meth:`~generator.__next__` メソッドが呼ばれるときまで評価が遅延されます。\n"
463+
"ただし、最も左にある :keyword:`!for` 節のイテラブル式は直ちに評価されます。そのためそこで生じたエラーは、最初の値が得られた時点ではなく、ジェネレータ式が定義された時点で発せられます。\n"
464+
"後に続く :keyword:`!for` 節と、最も左にある :keyword:`!for` 節のフィルター条件はイテラブル式を直接囲んでいるスコープでは評価できません。というのは、それらは最も左のイテラブルから得られる値に依存しているかもしれないからです。\n"
465+
"例えば次の通りです: ``(x*y for x in range(10) for y in range(x, x+10))`` 。"
450466

451467
#: ../../reference/expressions.rst:372
452468
msgid ""
@@ -462,6 +478,10 @@ msgid ""
462478
":exc:`DeprecationWarning` when compiled, in Python 3.8+ they will emit "
463479
":exc:`SyntaxError`)."
464480
msgstr ""
481+
"ジェネレータ式自身の期待される動作を妨げないために、 ``yield`` 式や ``yield from`` "
482+
"式は暗黙的に定義されたジェネレータでは禁止されています (Python 3.7 では、そのような式はコンパイル時に "
483+
":exc:`DeprecationWarning` を発生させ、 Python 3.8 以降では :exc:`SyntaxError` "
484+
"を発生させます)。"
465485

466486
#: ../../reference/expressions.rst:381
467487
msgid ""
@@ -471,6 +491,8 @@ msgid ""
471491
"asynchronous generator object, which is an asynchronous iterator (see :ref"
472492
":`async-iterators`)."
473493
msgstr ""
494+
"ジェネレータ式が :keyword:`!async for` 節あるいは :keyword:`await` 式を含んでいる場合、それは :dfn:`非同期ジェネレータ式` と呼ばれます。\n"
495+
"非同期ジェネレータ式は、非同期イテレータである新しい非同期ジェネレータオブジェクトを返します (:ref:`async-iterators` を参照してください)。"
474496

475497
#: ../../reference/expressions.rst:387
476498
msgid "Asynchronous generator expressions were introduced."
@@ -482,6 +504,8 @@ msgid ""
482504
" :keyword:`async def` coroutines. Starting with 3.7, any function can use "
483505
"asynchronous generator expressions."
484506
msgstr ""
507+
"Python 3.7 より前では、非同期ジェネレータ式は :keyword:`async def` コルーチンでしか使えませんでした。\n"
508+
"3.7 からは、任意の関数で非同期ジェネレータ式が使えるようになりました。"
485509

486510
#: ../../reference/expressions.rst:402
487511
msgid "Yield expressions"

reference/simple_stmts.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.7\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2018-12-20 10:06+0900\n"
18+
"POT-Creation-Date: 2018-12-25 10:09+0900\n"
1919
"PO-Revision-Date: 2017-02-16 23:39+0000\n"
2020
"Last-Translator: tomo, 2018\n"
2121
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -389,9 +389,10 @@ msgstr "注釈付き代入文 (annotated assignment statements)"
389389

390390
#: ../../reference/simple_stmts.rst:328
391391
msgid ""
392-
"Annotation assignment is the combination, in a single statement, of a "
393-
"variable or attribute annotation and an optional assignment statement:"
394-
msgstr "注釈代入は、1 つの文の中で、変数や属性のアノテーションとオプションの代入文を組み合わせたものです:"
392+
":term:`Annotation <variable annotation>` assignment is the combination, in a"
393+
" single statement, of a variable or attribute annotation and an optional "
394+
"assignment statement:"
395+
msgstr ""
395396

396397
#: ../../reference/simple_stmts.rst:334
397398
msgid ""

tutorial/controlflow.po

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
2020
"Project-Id-Version: Python 3.7\n"
2121
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2018-12-20 10:06+0900\n"
22+
"POT-Creation-Date: 2018-12-25 10:09+0900\n"
2323
"PO-Revision-Date: 2017-02-16 23:40+0000\n"
2424
"Last-Translator: tomo, 2018\n"
2525
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -676,19 +676,16 @@ msgstr ""
676676

677677
#: ../../tutorial/controlflow.rst:685
678678
msgid ""
679-
"Annotations are stored in the :attr:`__annotations__` attribute of the "
680-
"function as a dictionary and have no effect on any other part of the "
681-
"function. Parameter annotations are defined by a colon after the parameter "
682-
"name, followed by an expression evaluating to the value of the annotation. "
683-
"Return annotations are defined by a literal ``->``, followed by an "
684-
"expression, between the parameter list and the colon denoting the end of the"
685-
" :keyword:`def` statement. The following example has a positional argument,"
686-
" a keyword argument, and the return value annotated::"
687-
msgstr ""
688-
"アノテーションは関数の :attr:`__annotations__` "
689-
"属性に辞書として格納され、関数の他の部分には何も影響がありません。パラメータアノテーションは、パラメータ名の後にコロンを続けることによって定義され、その後にアノテーションの値として評価される式が置かれます。戻り値アノテーションは、パラメータリストと"
690-
" :keyword:`def` ステートメントの終わりを表すコロンの間に置かれたリテラル ``->`` "
691-
"によって定義され、その後に式が続きます。次の例は位置引数とキーワード引数、そして戻り値アノテーションを持っています::"
679+
":term:`Annotations <function annotation>` are stored in the "
680+
":attr:`__annotations__` attribute of the function as a dictionary and have "
681+
"no effect on any other part of the function. Parameter annotations are "
682+
"defined by a colon after the parameter name, followed by an expression "
683+
"evaluating to the value of the annotation. Return annotations are defined "
684+
"by a literal ``->``, followed by an expression, between the parameter list "
685+
"and the colon denoting the end of the :keyword:`def` statement. The "
686+
"following example has a positional argument, a keyword argument, and the "
687+
"return value annotated::"
688+
msgstr ""
692689

693690
#: ../../tutorial/controlflow.rst:707
694691
msgid "Intermezzo: Coding Style"

0 commit comments

Comments
 (0)