File tree Expand file tree Collapse file tree 8 files changed +2761
-2736
lines changed Expand file tree Collapse file tree 8 files changed +2761
-2736
lines changed Original file line number Diff line number Diff line change 8
8
msgstr ""
9
9
"Project-Id-Version : Python 3.6\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2018-01-05 15:01+0000 \n "
11
+ "POT-Creation-Date : 2018-05-20 13:20+0900 \n "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : Osamu NAKAMURA, 2017\n "
14
14
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -1005,8 +1005,8 @@ msgstr ""
1005
1005
#: ../../library/argparse.rst:983
1006
1006
msgid ""
1007
1007
"Providing ``default=argparse.SUPPRESS`` causes no attribute to be added if "
1008
- "the command-line argument was not present. ::"
1009
- msgstr "``default=argparse.SUPPRESS`` を渡すと、コマンドライン引数が存在しないときに属性の追加をしなくなります。:: "
1008
+ "the command-line argument was not present::"
1009
+ msgstr ""
1010
1010
1011
1011
#: ../../library/argparse.rst:995
1012
1012
msgid "type"
Original file line number Diff line number Diff line change @@ -672,6 +672,10 @@ msgid ""
672
672
" only one system call is ever made. Fewer than *size* bytes may be returned"
673
673
" if the operating system call returns fewer than *size* bytes."
674
674
msgstr ""
675
+ "オブジェクトを *size* バイトまで読み込み、それを返します。\n"
676
+ "簡単のため、 *size* が指定されていないか -1 の場合は、 EOF までの全てのバイトを返します。\n"
677
+ "そうでない場合は、システムコール呼び出しが一度だけ行われます。\n"
678
+ "オペレーティングシステムコールから返ってきたものが *size* バイトより少なければ、 *size* バイトより少ない返り値になることがあります。"
675
679
676
680
#: ../../library/io.rst:392
677
681
msgid ""
@@ -1459,6 +1463,8 @@ msgid ""
1459
1463
"If *line_buffering* is ``True``, :meth:`flush` is implied when a call to "
1460
1464
"write contains a newline character or a carriage return."
1461
1465
msgstr ""
1466
+ "*line_buffering* が ``True`` の場合、 write への呼び出しが改行文字もしくはキャリッジリターンを含んでいれば、暗黙的に "
1467
+ ":meth:`flush` が呼び出されます。"
1462
1468
1463
1469
#: ../../library/io.rst:885
1464
1470
msgid ""
Original file line number Diff line number Diff line change 8
8
msgstr ""
9
9
"Project-Id-Version : Python 3.6\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2018-01-05 15:01+0000 \n "
11
+ "POT-Creation-Date : 2018-05-20 13:20+0900 \n "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : Osamu NAKAMURA, 2017\n "
14
14
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -207,8 +207,8 @@ msgstr "この例は :class:`~mmap.mmap` の簡潔な使い方を示すもので
207
207
#: ../../library/mmap.rst:125
208
208
msgid ""
209
209
":class:`~mmap.mmap` can also be used as a context manager in a "
210
- ":keyword:`with` statement. ::"
211
- msgstr ":class:`~mmap.mmap` は :keyword:`with` 文の中でコンテキストマネージャとしても使えます:: "
210
+ ":keyword:`with` statement::"
211
+ msgstr ""
212
212
213
213
#: ../../library/mmap.rst:133
214
214
msgid "Context manager support."
Original file line number Diff line number Diff line change @@ -657,7 +657,7 @@ msgstr ":class:`contextlib.AbstractContextManager` のジェネリック版で
657
657
#: ../../library/typing.rst:671
658
658
msgid ""
659
659
"An ABC with async abstract :meth:`__aenter__` and :meth:`__aexit__` methods."
660
- msgstr ""
660
+ msgstr "抽象メソッド :meth:`__aenter__` と :meth:`__aexit__` を備えた ABC です。 "
661
661
662
662
#: ../../library/typing.rst:678
663
663
msgid ""
@@ -765,6 +765,8 @@ msgid ""
765
765
"``BinaryIO``, deriving from ``IO[str]`` and ``IO[bytes]``, respectively. "
766
766
"These represent the types of I/O streams such as returned by :func:`open`."
767
767
msgstr ""
768
+ "これはジェネリック型 ``IO[AnyStr]`` を定義し、そのサブクラス ``TextIO`` と ``BinaryIO`` をそれぞれ ``IO[str]`` と ``IO[bytes]`` からの派生型として定義します。\n"
769
+ "これらは :func:`open` によって返されるような I/O ストリームの型を表します。"
768
770
769
771
#: ../../library/typing.rst:789
770
772
msgid ""
@@ -1121,3 +1123,5 @@ msgid ""
1121
1123
"interpreter runtime. Type annotations for local variables are not "
1122
1124
"evaluated, so the second annotation does not need to be enclosed in quotes."
1123
1125
msgstr ""
1126
+ "1つ目の型アノテーションは引用符で囲って \" 前方参照 (forward reference)\" にし、インタプリタのランタイムから ``expensive_mod`` への参照を隠さなければなりません。\n"
1127
+ "ローカル変数への型アノテーションは評価されないので、2つ目のアノテーションは引用符で囲う必要はありません。"
Original file line number Diff line number Diff line change @@ -522,6 +522,9 @@ msgid ""
522
522
"will identify the test case as a :dfn:`failure`. Any other exceptions will "
523
523
"be treated as :dfn:`errors`."
524
524
msgstr ""
525
+ "何らかのテストを行うには、 :class:`TestCase` ベースクラスが提供する :meth:`assert\\ *` メソッドのうちの一つを使用してください。\n"
526
+ "テストが失敗した場合は、例外が説明のメッセージとともに送出され、 :mod:`unittest` はテスト結果を :dfn:`failure` とします。\n"
527
+ "その他の例外は :dfn:`error` として扱われます。"
525
528
526
529
#: ../../library/unittest.rst:349
527
530
msgid ""
@@ -570,6 +573,9 @@ msgid ""
570
573
"to execute each individual test method. Thus `~TestCase.setUp`, "
571
574
"`~TestCase.tearDown`, and `~TestCase.__init__` will be called once per test."
572
575
msgstr ""
576
+ "そのようなテストコードのための作業環境は :dfn:`テストフィクスチャ (test fixture)` と呼ばれます。\n"
577
+ "新しい TestCase インスタンスはある単一のテストフィクスチャとして作成され、個々のテストメソッドを実行するのに使われます。\n"
578
+ "従って、 `~TestCase.setUp`, `~TestCase.tearDown`, `~TestCase.__init__` は1回のテストにつき1回だけ呼び出されます。"
573
579
574
580
#: ../../library/unittest.rst:399
575
581
msgid ""
@@ -580,6 +586,9 @@ msgid ""
580
586
" do the right thing and collect all the module's test cases for you and "
581
587
"execute them."
582
588
msgstr ""
589
+ "テストケースの実装では、テストする機能に従ってテストをまとめるのをお勧めします。\n"
590
+ ":mod:`unittest` はこのための機構、:mod:`unittest` の :class:`TestSuite` クラスで表現される :dfn:`test suite`、を提供します。\n"
591
+ "たいていの場合 :func:`unittest.main` を呼び出しは正しい処理を行い、モジュールの全テストケースを集めて実行します。"
583
592
584
593
#: ../../library/unittest.rst:406
585
594
msgid ""
Original file line number Diff line number Diff line change @@ -3746,7 +3746,7 @@ msgstr ""
3746
3746
msgid ""
3747
3747
"The ability to set new shapes for the turtle, and to define a new coordinate"
3748
3748
" system."
3749
- msgstr ""
3749
+ msgstr "亀に新しい姿を設定できたり、新しい座標系を定義できるようになりました。 "
3750
3750
3751
3751
#: ../../whatsnew/2.6.rst:2574
3752
3752
msgid "Turtles now have an :meth:`undo()` method that can roll back actions."
@@ -3756,19 +3756,19 @@ msgstr "亀に、動作を巻き戻せる :meth:`undo()` メソッドが増え
3756
3756
msgid ""
3757
3757
"Simple support for reacting to input events such as mouse and keyboard "
3758
3758
"activity, making it possible to write simple games."
3759
- msgstr ""
3759
+ msgstr "マウスやキーボードからの入力イベントに反応するための簡易なサポートが入り、簡単なゲームを書けるようになりました。 "
3760
3760
3761
3761
#: ../../whatsnew/2.6.rst:2577
3762
3762
msgid ""
3763
3763
"A :file:`turtle.cfg` file can be used to customize the starting appearance "
3764
3764
"of the turtle's screen."
3765
- msgstr ""
3765
+ msgstr ":file:`turtle.cfg` を使って、turtle の画面の起動時の見た目をカスタマイズできるようになりました。 "
3766
3766
3767
3767
#: ../../whatsnew/2.6.rst:2579
3768
3768
msgid ""
3769
3769
"The module's docstrings can be replaced by new docstrings that have been "
3770
3770
"translated into another language."
3771
- msgstr ""
3771
+ msgstr "モジュールの docstring が、他の言語に翻訳された docstring に置き換えられるようになりました。 "
3772
3772
3773
3773
#: ../../whatsnew/2.6.rst:2582
3774
3774
msgid "(:issue:`1513695`)"
Original file line number Diff line number Diff line change @@ -542,7 +542,7 @@ msgid ""
542
542
"intent is to encourage experimentation through metaclasses, decorators or "
543
543
"frameworks."
544
544
msgstr ""
545
- ":pep:`3107`: 関数引数と戻り値のアノテーション。これは関数のパラメータと戻り値へのアノテーションを行う標準的な手段を提供します (訳注: "
545
+ ":pep:`3107`: 関数引数と戻り値のアノテーション。これは関数のパラメータと戻り値へのアノテーションを付ける標準的な手段を提供します (訳注: "
546
546
"annotation を強いて訳せば「注釈」)。そのようなアノテーションには、実行時に :attr:`__annotations__` "
547
547
"属性を調べること以外には何の意味付けもされていません。メタクラスやデコレータ、フレームワークを通じた実験を促進することが意図されています。"
548
548
You can’t perform that action at this time.
0 commit comments