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

Skip to content

Commit cb05079

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 678ccbf commit cb05079

File tree

8 files changed

+2761
-2736
lines changed

8 files changed

+2761
-2736
lines changed

library/argparse.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.6\n"
1010
"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"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: Osamu NAKAMURA, 2017\n"
1414
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -1005,8 +1005,8 @@ msgstr ""
10051005
#: ../../library/argparse.rst:983
10061006
msgid ""
10071007
"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 ""
10101010

10111011
#: ../../library/argparse.rst:995
10121012
msgid "type"

library/io.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,10 @@ msgid ""
672672
" only one system call is ever made. Fewer than *size* bytes may be returned"
673673
" if the operating system call returns fewer than *size* bytes."
674674
msgstr ""
675+
"オブジェクトを *size* バイトまで読み込み、それを返します。\n"
676+
"簡単のため、 *size* が指定されていないか -1 の場合は、 EOF までの全てのバイトを返します。\n"
677+
"そうでない場合は、システムコール呼び出しが一度だけ行われます。\n"
678+
"オペレーティングシステムコールから返ってきたものが *size* バイトより少なければ、 *size* バイトより少ない返り値になることがあります。"
675679

676680
#: ../../library/io.rst:392
677681
msgid ""
@@ -1459,6 +1463,8 @@ msgid ""
14591463
"If *line_buffering* is ``True``, :meth:`flush` is implied when a call to "
14601464
"write contains a newline character or a carriage return."
14611465
msgstr ""
1466+
"*line_buffering* が ``True`` の場合、 write への呼び出しが改行文字もしくはキャリッジリターンを含んでいれば、暗黙的に "
1467+
":meth:`flush` が呼び出されます。"
14621468

14631469
#: ../../library/io.rst:885
14641470
msgid ""

library/mmap.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.6\n"
1010
"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"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: Osamu NAKAMURA, 2017\n"
1414
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -207,8 +207,8 @@ msgstr "この例は :class:`~mmap.mmap` の簡潔な使い方を示すもので
207207
#: ../../library/mmap.rst:125
208208
msgid ""
209209
":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 ""
212212

213213
#: ../../library/mmap.rst:133
214214
msgid "Context manager support."

library/typing.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ msgstr ":class:`contextlib.AbstractContextManager` のジェネリック版で
657657
#: ../../library/typing.rst:671
658658
msgid ""
659659
"An ABC with async abstract :meth:`__aenter__` and :meth:`__aexit__` methods."
660-
msgstr ""
660+
msgstr "抽象メソッド :meth:`__aenter__` と :meth:`__aexit__` を備えた ABC です。"
661661

662662
#: ../../library/typing.rst:678
663663
msgid ""
@@ -765,6 +765,8 @@ msgid ""
765765
"``BinaryIO``, deriving from ``IO[str]`` and ``IO[bytes]``, respectively. "
766766
"These represent the types of I/O streams such as returned by :func:`open`."
767767
msgstr ""
768+
"これはジェネリック型 ``IO[AnyStr]`` を定義し、そのサブクラス ``TextIO`` と ``BinaryIO`` をそれぞれ ``IO[str]`` と ``IO[bytes]`` からの派生型として定義します。\n"
769+
"これらは :func:`open` によって返されるような I/O ストリームの型を表します。"
768770

769771
#: ../../library/typing.rst:789
770772
msgid ""
@@ -1121,3 +1123,5 @@ msgid ""
11211123
"interpreter runtime. Type annotations for local variables are not "
11221124
"evaluated, so the second annotation does not need to be enclosed in quotes."
11231125
msgstr ""
1126+
"1つ目の型アノテーションは引用符で囲って \"前方参照 (forward reference)\" にし、インタプリタのランタイムから ``expensive_mod`` への参照を隠さなければなりません。\n"
1127+
"ローカル変数への型アノテーションは評価されないので、2つ目のアノテーションは引用符で囲う必要はありません。"

library/unittest.po

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,9 @@ msgid ""
522522
"will identify the test case as a :dfn:`failure`. Any other exceptions will "
523523
"be treated as :dfn:`errors`."
524524
msgstr ""
525+
"何らかのテストを行うには、 :class:`TestCase` ベースクラスが提供する :meth:`assert\\*` メソッドのうちの一つを使用してください。\n"
526+
"テストが失敗した場合は、例外が説明のメッセージとともに送出され、 :mod:`unittest` はテスト結果を :dfn:`failure` とします。\n"
527+
"その他の例外は :dfn:`error` として扱われます。"
525528

526529
#: ../../library/unittest.rst:349
527530
msgid ""
@@ -570,6 +573,9 @@ msgid ""
570573
"to execute each individual test method. Thus `~TestCase.setUp`, "
571574
"`~TestCase.tearDown`, and `~TestCase.__init__` will be called once per test."
572575
msgstr ""
576+
"そのようなテストコードのための作業環境は :dfn:`テストフィクスチャ (test fixture)` と呼ばれます。\n"
577+
"新しい TestCase インスタンスはある単一のテストフィクスチャとして作成され、個々のテストメソッドを実行するのに使われます。\n"
578+
"従って、 `~TestCase.setUp`, `~TestCase.tearDown`, `~TestCase.__init__` は1回のテストにつき1回だけ呼び出されます。"
573579

574580
#: ../../library/unittest.rst:399
575581
msgid ""
@@ -580,6 +586,9 @@ msgid ""
580586
" do the right thing and collect all the module's test cases for you and "
581587
"execute them."
582588
msgstr ""
589+
"テストケースの実装では、テストする機能に従ってテストをまとめるのをお勧めします。\n"
590+
":mod:`unittest` はこのための機構、:mod:`unittest` の :class:`TestSuite` クラスで表現される :dfn:`test suite`、を提供します。\n"
591+
"たいていの場合 :func:`unittest.main` を呼び出しは正しい処理を行い、モジュールの全テストケースを集めて実行します。"
583592

584593
#: ../../library/unittest.rst:406
585594
msgid ""

whatsnew/2.6.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3746,7 +3746,7 @@ msgstr ""
37463746
msgid ""
37473747
"The ability to set new shapes for the turtle, and to define a new coordinate"
37483748
" system."
3749-
msgstr ""
3749+
msgstr "亀に新しい姿を設定できたり、新しい座標系を定義できるようになりました。"
37503750

37513751
#: ../../whatsnew/2.6.rst:2574
37523752
msgid "Turtles now have an :meth:`undo()` method that can roll back actions."
@@ -3756,19 +3756,19 @@ msgstr "亀に、動作を巻き戻せる :meth:`undo()` メソッドが増え
37563756
msgid ""
37573757
"Simple support for reacting to input events such as mouse and keyboard "
37583758
"activity, making it possible to write simple games."
3759-
msgstr ""
3759+
msgstr "マウスやキーボードからの入力イベントに反応するための簡易なサポートが入り、簡単なゲームを書けるようになりました。"
37603760

37613761
#: ../../whatsnew/2.6.rst:2577
37623762
msgid ""
37633763
"A :file:`turtle.cfg` file can be used to customize the starting appearance "
37643764
"of the turtle's screen."
3765-
msgstr ""
3765+
msgstr ":file:`turtle.cfg` を使って、turtle の画面の起動時の見た目をカスタマイズできるようになりました。"
37663766

37673767
#: ../../whatsnew/2.6.rst:2579
37683768
msgid ""
37693769
"The module's docstrings can be replaced by new docstrings that have been "
37703770
"translated into another language."
3771-
msgstr ""
3771+
msgstr "モジュールの docstring が、他の言語に翻訳された docstring に置き換えられるようになりました。"
37723772

37733773
#: ../../whatsnew/2.6.rst:2582
37743774
msgid "(:issue:`1513695`)"

whatsnew/3.0.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ msgid ""
542542
"intent is to encourage experimentation through metaclasses, decorators or "
543543
"frameworks."
544544
msgstr ""
545-
":pep:`3107`: 関数引数と戻り値のアノテーション。これは関数のパラメータと戻り値へのアノテーションを行う標準的な手段を提供します (訳注: "
545+
":pep:`3107`: 関数引数と戻り値のアノテーション。これは関数のパラメータと戻り値へのアノテーションを付ける標準的な手段を提供します (訳注: "
546546
"annotation を強いて訳せば「注釈」)。そのようなアノテーションには、実行時に :attr:`__annotations__` "
547547
"属性を調べること以外には何の意味付けもされていません。メタクラスやデコレータ、フレームワークを通じた実験を促進することが意図されています。"
548548

0 commit comments

Comments
 (0)
0