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

Skip to content

Commit ac57bbe

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 481ec26 commit ac57bbe

File tree

6 files changed

+3957
-3862
lines changed

6 files changed

+3957
-3862
lines changed

library/dataclasses.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# Translators:
77
# Osamu NAKAMURA, 2018
8-
# tomo, 2018
8+
# tomo, 2019
99
#
1010
#, fuzzy
1111
msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414
"Report-Msgid-Bugs-To: \n"
1515
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1616
"PO-Revision-Date: 2018-06-29 21:06+0000\n"
17-
"Last-Translator: tomo, 2018\n"
17+
"Last-Translator: tomo, 2019\n"
1818
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -76,6 +76,9 @@ msgid ""
7676
"<variable annotation>`. With two exceptions described below, nothing in "
7777
":func:`dataclass` examines the type specified in the variable annotation."
7878
msgstr ""
79+
":func:`dataclass` デコレータは、``フィールド`` を探すためにクラスを検査します。\n"
80+
"``フィールド`` は :term:`型アノテーション <variable annotation>` を持つクラス変数として定義されます。\n"
81+
"後述する2つの例外を除き、 :func:`dataclass` は変数アノテーションで指定した型を検査しません。"
7982

8083
#: ../../library/dataclasses.rst:58
8184
msgid ""

reference/datamodel.po

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,8 @@ msgid ""
784784
"``None`` or a tuple of cells that contain bindings for the function's free "
785785
"variables. See below for information on the ``cell_contents`` attribute."
786786
msgstr ""
787+
"``None`` または関数の個々の自由変数 (引数以外の変数) に対して値を束縛しているセル (cell) 群からなるタプルになります。\n"
788+
"``cell_contents`` 属性についての情報は下を参照してください。"
787789

788790
#: ../../reference/datamodel.rst:519
789791
msgid ":attr:`__annotations__`"
@@ -827,6 +829,8 @@ msgid ""
827829
"A cell object has the attribute ``cell_contents``. This can be used to get "
828830
"the value of the cell, as well as set the value."
829831
msgstr ""
832+
"セルオブジェクトは属性 ``cell_contents`` を持っています。\n"
833+
"これはセルの値を設定するのに加えて、セルの値を得るのにも使えます。"
830834

831835
#: ../../reference/datamodel.rst:541
832836
msgid ""
@@ -962,6 +966,10 @@ msgid ""
962966
"exception is raised and the iterator will have reached the end of the set of"
963967
" values to be returned."
964968
msgstr ""
969+
":keyword:`yield` 文 (:ref:`yield` の節を参照) を使う関数もしくはメソッドは :dfn:`ジェネレータ関数` と呼ばれます。\n"
970+
"そのような関数が呼び出されたときは常に、関数の本体を実行するのに使えるイテレータオブジェクトを返します:\n"
971+
"イテレータの :meth:`iterator.__next__` メソッドを呼び出すと、 :keyword:`!yield` 文を使って値が提供されるまで関数を実行します。\n"
972+
"関数の :keyword:`return` 文を実行するか終端に達したときは、 :exc:`StopIteration` 例外が送出され、イテレータが返すべき値の最後まで到達しています。"
965973

966974
#: ../../reference/datamodel.rst:636
967975
msgid "Coroutine functions"
@@ -1091,6 +1099,13 @@ msgid ""
10911099
"object does not contain the code object used to initialize the module (since"
10921100
" it isn't needed once the initialization is done)."
10931101
msgstr ""
1102+
"モジュールは Python コードの基礎的な構成単位で、 :keyword:`import` 文あるいは "
1103+
":func:`importlib.import_module` や組み込みの :func:`__import__` "
1104+
"のような関数を呼び出すことで起動される :ref:`import system <importsystem>` "
1105+
"によって作成されます。モジュールオブジェクトは、辞書オブジェクト (これは、モジュール内で定義された関数の ``__globals__`` "
1106+
"属性から参照される辞書です) で実装された名前空間を持っています。属性の参照は、この辞書の検索に翻訳されます。例えば、 ``m.x`` は "
1107+
"``m.__dict__[\"x\"]`` と等価です。モジュールオブジェクトは、モジュールの初期化に使われるコードオブジェクトを含んでいません "
1108+
"(初期化が終わればもう必要ないからです)。"
10941109

10951110
#: ../../reference/datamodel.rst:713
10961111
msgid ""

reference/import.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
# 秘湯 <xwhhsprings@gmail.com>, 2017
1010
# Arihiro TAKASE, 2017
1111
# Nozomu Kaneko <nozom.kaneko@gmail.com>, 2017
12-
# tomo, 2018
1312
# yudetamago <yudetamago.orz@gmail.com>, 2018
1413
# 永田 大和 <gey3933@gmail.com>, 2019
14+
# tomo, 2019
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
2222
"PO-Revision-Date: 2017-02-16 23:38+0000\n"
23-
"Last-Translator: 永田 大和 <gey3933@gmail.com>, 2019\n"
23+
"Last-Translator: tomo, 2019\n"
2424
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -56,6 +56,11 @@ msgid ""
5656
":keyword:`!import` statement for the exact details of that name binding "
5757
"operation."
5858
msgstr ""
59+
":keyword:`import` 文は 2 つの処理を連続して行っています; "
60+
"ある名前のモジュールを探し、その検索結果をローカルスコープの名前に束縛します。 :keyword:`!import` 文の検索処理は、適切な引数で "
61+
":func:`__import__` 関数を呼び出すこととして定義されています。 :func:`__import__` の戻り値は "
62+
":keyword:`!import` 文の名前束縛処理の実行で使われます。名前束縛処理の厳密な詳細は :keyword:`!import` "
63+
"文を参照してください。"
5964

6065
#: ../../reference/import.rst:25
6166
msgid ""
@@ -1129,7 +1134,7 @@ msgstr ""
11291134

11301135
#: ../../reference/import.rst:680
11311136
msgid "Cached bytecode invalidation"
1132-
msgstr ""
1137+
msgstr "キャッシュされたバイトコードの無効化"
11331138

11341139
#: ../../reference/import.rst:682
11351140
msgid ""

reference/simple_stmts.po

Lines changed: 45 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,8 @@ msgid ""
437437
"interpreter evaluates the target except for the last :meth:`__setitem__` or "
438438
":meth:`__setattr__` call."
439439
msgstr ""
440+
"右辺がある場合、注釈代入はアノテーション (有効であれば) を評価する前に、実際に代入を行います。\n"
441+
"対象となる式の右辺が無い場合は、インタプリタは最後の :meth:`__setitem__` や :meth:`__setattr__` 呼び出し以外の対象の式を評価します。"
440442

441443
#: ../../reference/simple_stmts.rst:362
442444
msgid ":pep:`526` - Syntax for Variable Annotations"
@@ -447,7 +449,7 @@ msgid ""
447449
"The proposal that added syntax for annotating the types of variables "
448450
"(including class variables and instance variables), instead of expressing "
449451
"them through comments."
450-
msgstr ""
452+
msgstr "(クラス変数やインスタンス変数を含んだ) 変数の型注釈を付ける、コメントで表現するのではない文法の追加提案。"
451453

452454
#: ../../reference/simple_stmts.rst:366
453455
msgid ":pep:`484` - Type hints"
@@ -458,11 +460,11 @@ msgid ""
458460
"The proposal that added the :mod:`typing` module to provide a standard "
459461
"syntax for type annotations that can be used in static analysis tools and "
460462
"IDEs."
461-
msgstr ""
463+
msgstr ":mod:`typing` モジュールを追加し、静的解析ツールや IDE で使える型アノテーションの標準的な文法を提供する提案。"
462464

463465
#: ../../reference/simple_stmts.rst:373
464466
msgid "The :keyword:`!assert` statement"
465-
msgstr ""
467+
msgstr ":keyword:`!assert` 文"
466468

467469
#: ../../reference/simple_stmts.rst:380
468470
msgid ""
@@ -490,6 +492,11 @@ msgid ""
490492
"it is unnecessary to include the source code for the expression that failed "
491493
"in the error message; it will be displayed as part of the stack trace."
492494
msgstr ""
495+
"上記の等価関係は、 ``__debug__`` と :exc:`AssertionError` "
496+
"が、同名の組み込み変数を参照しているという前提の上に成り立っています。現在の実装では、組み込み変数 ``__debug__`` は通常の状況では "
497+
"``True`` であり、最適化が要求された場合(コマンドラインオプション :option:`-O`)は ``False`` "
498+
"です。現状のコード生成器は、コンパイル時に最適化が要求されていると assert "
499+
"文のコードを一切出力しません。実行に失敗した式のソースコードをエラーメッセージ内に入れる必要はありません; コードはスタックトレース内で表示されます。"
493500

494501
#: ../../reference/simple_stmts.rst:409
495502
msgid ""
@@ -499,7 +506,7 @@ msgstr ":const:`__debug__` への代入は不正な操作です。組み込み
499506

500507
#: ../../reference/simple_stmts.rst:416
501508
msgid "The :keyword:`!pass` statement"
502-
msgstr ""
509+
msgstr ":keyword:`!pass` 文"
503510

504511
#: ../../reference/simple_stmts.rst:426
505512
msgid ""
@@ -558,7 +565,7 @@ msgstr "以前は、ある名前がネストしたブロックの自由変数と
558565

559566
#: ../../reference/simple_stmts.rst:477
560567
msgid "The :keyword:`!return` statement"
561-
msgstr ""
568+
msgstr ":keyword:`!return` 文"
562569

563570
#: ../../reference/simple_stmts.rst:487
564571
msgid ""
@@ -584,6 +591,8 @@ msgid ""
584591
" a :keyword:`finally` clause, that :keyword:`!finally` clause is executed "
585592
"before really leaving the function."
586593
msgstr ""
< E377 /td>
594+
":keyword:`return` によって、 :keyword:`finally` 節をともなう :keyword:`try` "
595+
"文の外に処理が引き渡されると、実際に関数から抜ける前に :keyword:`!finally` 節が実行されます。"
587596

588597
#: ../../reference/simple_stmts.rst:501
589598
msgid ""
@@ -603,10 +612,12 @@ msgid ""
603612
":exc:`StopAsyncIteration` to be raised. A non-empty :keyword:`!return` "
604613
"statement is a syntax error in an asynchronous generator function."
605614
msgstr ""
615+
"非同期ジェネレータ関数では、引数無しの :keyword:`return` 文は非同期ジェネレータの終わりを示し、 :exc:`StopAsyncIteration` を送出させます。\n"
616+
"引数ありの :keyword:`!return` 文は、非同期ジェネレータ関数では文法エラーです。"
606617

607618
#: ../../reference/simple_stmts.rst:514
608619
msgid "The :keyword:`!yield` statement"
609-
msgstr ""
620+
msgstr ":keyword:`!yield` 文"
610621

611622
#: ../../reference/simple_stmts.rst:526
612623
msgid ""
@@ -640,7 +651,7 @@ msgstr ":keyword:`yield` の意味の完全な説明は、 :ref:`yieldexpr` 節
640651

641652
#: ../../reference/simple_stmts.rst:550
642653
msgid "The :keyword:`!raise` statement"
643-
msgstr ""
654+
msgstr ":keyword:`!raise` 文"
644655

645656
#: ../../reference/simple_stmts.rst:561
646657
msgid ""
@@ -730,7 +741,7 @@ msgstr "``__suppress_context__`` 属性の設定で、例外のコンテキス
730741

731742
#: ../../reference/simple_stmts.rst:653
732743
msgid "The :keyword:`!break` statement"
733-
msgstr ""
744+
msgstr ":keyword:`!break` 文"
734745

735746
#: ../../reference/simple_stmts.rst:664
736747
msgid ""
@@ -746,6 +757,8 @@ msgid ""
746757
"It terminates the nearest enclosing loop, skipping the optional "
747758
":keyword:`!else` clause if the loop has one."
748759
msgstr ""
760+
":keyword:`break` 文は、文を囲う最も内側のループを終了させ、ループにオプションの :keyword:`!else` "
761+
"節がある場合にはそれをスキップします。"
749762

750763
#: ../../reference/simple_stmts.rst:674
751764
msgid ""
@@ -760,10 +773,12 @@ msgid ""
760773
"a :keyword:`finally` clause, that :keyword:`!finally` clause is executed "
761774
"before really leaving the loop."
762775
msgstr ""
776+
":keyword:`break` が :keyword:`finally` 節を伴う :keyword:`try` "
777+
"文の外側に処理を渡す際には、ループを実際に抜ける前にその :keyword:`!finally` 節が実行されます。"
763778

764779
#: ../../reference/simple_stmts.rst:687
765780
msgid "The :keyword:`!continue` statement"
766-
msgstr ""
781+
msgstr ":keyword:`!continue` 文"
767782

768783
#: ../../reference/simple_stmts.rst:699
769784
msgid ""
@@ -782,10 +797,12 @@ msgid ""
782797
"with a :keyword:`finally` clause, that :keyword:`!finally` clause is "
783798
"executed before really starting the next loop cycle."
784799
msgstr ""
800+
":keyword:`continue` が :keyword:`finally` 句を持った :keyword:`try` 文を抜けるとき、その "
801+
":keyword:`!finally` 句が次のループサイクルを始める前に実行されます。"
785802

786803
#: ../../reference/simple_stmts.rst:713
787804
msgid "The :keyword:`!import` statement"
788-
msgstr ""
805+
msgstr ":keyword:`!import` 文"
789806

790807
#: ../../reference/simple_stmts.rst:734
791808
msgid ""
@@ -893,6 +910,8 @@ msgid ""
893910
" the name in the :keyword:`!as` clause if it is present, otherwise using the"
894911
" attribute name"
895912
msgstr ""
913+
"属性が見付かった場合は、 :keyword:`!as` "
914+
"節があるならそこの名前、そうでないなら属性名を使って、その値への参照がローカル名前空間に保存される"
896915

897916
#: ../../reference/simple_stmts.rst:788
898917
msgid "Examples::"
@@ -1019,7 +1038,7 @@ msgstr "その他の future 文。"
10191038
msgid ""
10201039
"The only feature in Python 3.7 that requires using the future statement is "
10211040
"``annotations``."
1022-
msgstr ""
1041+
msgstr "future 文を使う必要がある Python 3.7 の唯一の機能は ``annotations`` です。"
10231042

10241043
#: ../../reference/simple_stmts.rst:874
10251044
msgid ""
@@ -1030,6 +1049,9 @@ msgid ""
10301049
"redundant because they are always enabled, and only kept for backwards "
10311050
"compatibility."
10321051
msgstr ""
1052+
"future 文で有効にできる歴史的な機能は、今でも Python 3 が認識します。\n"
1053+
"そのリストは ``absolute_import``, ``division``, ``generator_stop``, ``generators``, ``unicode_literals``, ``print_function``, ``nested_scopes``, ``with_statement`` です。\n"
1054+
"これらは既に全てが有効になっていて、後方互換性のためだけに残されているため、冗長なだけです。"
10331055

10341056
#: ../../reference/simple_stmts.rst:881
10351057
msgid ""
@@ -1112,7 +1134,7 @@ msgstr "__future__ 機構の原案"
11121134

11131135
#: ../../reference/simple_stmts.rst:927
11141136
msgid "The :keyword:`!global` statement"
1115-
msgstr ""
1137+
msgstr ":keyword:`!global` 文"
11161138

11171139
#: ../../reference/simple_stmts.rst:937
11181140
msgid ""
@@ -1122,12 +1144,17 @@ msgid ""
11221144
"variable without :keyword:`!global`, although free variables may refer to "
11231145
"globals without being declared global."
11241146
msgstr ""
1147+
":keyword:`global` 文は、現在のコードブロック全体で維持される宣言文です。 :keyword:`global` "
1148+
"文は、列挙した識別子をグローバル変数として解釈するよう指定することを意味します。 :keyword:`!global` "
1149+
"を使わずにグローバル変数に代入を行うことは不可能ですが、自由変数を使えばその変数をグローバルであると宣言せずにグローバル変数を参照することができます。"
11251150

11261151
#: ../../reference/simple_stmts.rst:943
11271152
msgid ""
11281153
"Names listed in a :keyword:`global` statement must not be used in the same "
11291154
"code block textually preceding that :keyword:`!global` statement."
11301155
msgstr ""
1156+
":keyword:`global` 文で列挙する名前は、同じコードブロック中で、プログラムテキスト上 :keyword:`!global` "
1157+
"文より前に使ってはなりません。"
11311158

11321159
#: ../../reference/simple_stmts.rst:946
11331160
msgid ""
@@ -1158,10 +1185,15 @@ msgid ""
11581185
" containing the function call. The same applies to the :func:`eval` and "
11591186
":func:`compile` functions."
11601187
msgstr ""
1188+
"**プログラマのための注意点:** :keyword:`global` はパーザに対する指示句 (directive) です。この指示句は、 "
1189+
":keyword:`!global` 文と同時に読み込まれたコードに対してのみ適用されます。特に、組み込みの :func:`exec` "
1190+
"関数内に入っている :keyword:`!global` 文は、関数の呼び出しを *含んでいる* "
1191+
"コードブロック内に効果を及ぼすことはなく、そのような文字列に含まれているコードは、関数の呼び出しを含むコード内の :keyword:`!global` "
1192+
"文に影響を受けません。同様のことが、関数 :func:`eval` および :func:`compile` にも当てはまります。"
11611193

11621194
#: ../../reference/simple_stmts.rst:974
11631195
msgid "The :keyword:`!nonlocal` statement"
1164-
msgstr ""
1196+
msgstr ":keyword:`!nonlocal` 文"
11651197

11661198
#: ../../reference/simple_stmts.rst:986
11671199
msgid ""

0 commit comments

Comments
 (0)
0