Skip to content

Commit c914217

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 1cc83bb commit c914217

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

library/asyncio-future.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# tomo, 2019
8+
# Naoki Nakamura <agent@sohzoh.com>, 2020
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2020-02-10 04:47+0000\n"
1516
"PO-Revision-Date: 2019-09-01 03:10+0000\n"
16-
"Last-Translator: tomo, 2019\n"
17+
"Last-Translator: Naoki Nakamura <agent@sohzoh.com>, 2020\n"
1718
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -128,7 +129,7 @@ msgstr ""
128129

129130
#: ../../library/asyncio-future.rst:85
130131
msgid "Added support for the :mod:`contextvars` module."
131-
msgstr ""
132+
msgstr ":mod:`contextvars` モジュールのサポートを追加。"
132133

133134
#: ../../library/asyncio-future.rst:90
134135
msgid "Return the result of the Future."

library/asyncio-task.po

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# SHIMIZU Taku <shimizu.taku@gmail.com>, 2019
1010
# Yuto <ogran.std@gmail.com>, 2019
1111
# Osamu NAKAMURA, 2019
12+
# Naoki Nakamura <agent@sohzoh.com>, 2020
1213
#
1314
#, fuzzy
1415
msgid ""
@@ -17,7 +18,7 @@ msgstr ""
1718
"Report-Msgid-Bugs-To: \n"
1819
"POT-Creation-Date: 2020-02-10 04:47+0000\n"
1920
"PO-Revision-Date: 2019-09-01 03:30+0000\n"
20-
"Last-Translator: Osamu NAKAMURA, 2019\n"
21+
"Last-Translator: Naoki Nakamura <agent@sohzoh.com>, 2020\n"
2122
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2223
"MIME-Version: 1.0\n"
2324
"Content-Type: text/plain; charset=UTF-8\n"
@@ -187,6 +188,8 @@ msgid ""
187188
"Future objects in asyncio are needed to allow callback-based code to be used"
188189
" with async/await."
189190
msgstr ""
191+
"asyncio での Future オブジェクトは、async/await "
192+
"と共に使用できるようにするため、コールバック形式のコードを使用できるように設計すべきです。"
190193

191194
#: ../../library/asyncio-task.rst:191
192195
msgid ""
@@ -213,7 +216,7 @@ msgstr "非同期プログラムの実行"
213216

214217
#: ../../library/asyncio-task.rst:215
215218
msgid "Execute the :term:`coroutine` *coro* and return the result."
216-
msgstr ""
219+
msgstr ":term:`coroutine` *coro* を実行し、結果を返します。"
217220

218221
#: ../../library/asyncio-task.rst:217
219222
msgid ""
@@ -345,6 +348,9 @@ msgid ""
345348
"awaitables in the *aws* sequence **won't be cancelled** and will continue to"
346349
" run."
347350
msgstr ""
351+
"*return_exceptions* が ``False`` である場合(デフォルト)、``gather()`` で await "
352+
"しているタスクに対して、最初の例外が直接伝えられます。*aws* に並んでいる他の awaitable は、**キャンセルされずに** "
353+
"引き続いて実行されます。"
348354

349355
#: ../../library/asyncio-task.rst:329
350356
msgid ""
@@ -479,7 +485,7 @@ msgstr ""
479485

480486
#: ../../library/asyncio-task.rst:476
481487
msgid "Waiting Primitives"
482-
msgstr ""
488+
msgstr "要素の待機"
483489

484490
#: ../../library/asyncio-task.rst:481
485491
msgid ""
@@ -725,34 +731,44 @@ msgid ""
725731
"coroutine. If a coroutine is awaiting on a Future object during "
726732
"cancellation, the Future object will be cancelled."
727733
msgstr ""
734+
"実行中のタスクをキャンセルするためには、:meth:`cancel` "
735+
"メソッドを使用します。このメソッドを呼ぶと、タスクはそれを内包するコルーチンに対して :exc:`CancelledError` "
736+
"例外を送出します。キャンセルの際にコルーチンが Future オブジェクトを待っていた場合、その Future オブジェクトはキャンセルされます。"
728737

729738
#: ../../library/asyncio-task.rst:678
730739
msgid ""
731740
":meth:`cancelled` can be used to check if the Task was cancelled. The method"
732741
" returns ``True`` if the wrapped coroutine did not suppress the "
733742
":exc:`CancelledError` exception and was actually cancelled."
734743
msgstr ""
744+
":meth:`cancelled` は、タスクがキャンセルされたかを調べるのに使用できます。タスクを内包するコルーチンで "
745+
":exc:`CancelledError` 例外が抑制されておらず、かつタスクが実際にキャンセルされている場合に、このメソッドは ``True`` "
746+
"を変えます。"
735747

736748
#: ../../library/asyncio-task.rst:683
737749
msgid ""
738750
":class:`asyncio.Task` inherits from :class:`Future` all of its APIs except "
739751
":meth:`Future.set_result` and :meth:`Future.set_exception`."
740752
msgstr ""
753+
":class:`asyncio.Task` は、:meth:`Future.set_result` と "
754+
":meth:`Future.set_exception` を除いて、:class:`Future` の API をすべて継承しています。"
741755

742756
#: ../../library/asyncio-task.rst:687
743757
msgid ""
744758
"Tasks support the :mod:`contextvars` module. When a Task is created it "
745759
"copies the current context and later runs its coroutine in the copied "
746760
"context."
747761
msgstr ""
762+
"Task は :mod:`contextvars` モジュールをサポートします。Task が作られたときに現在のコンテキストがコピーされ、のちに "
763+
"Task のコルーチンを実行する際に、コピーされたコンテキストが使用されます。"
748764

749765
#: ../../library/asyncio-task.rst:691
750766
msgid "Added support for the :mod:`contextvars` module."
751-
msgstr ""
767+
msgstr ":mod:`contextvars` モジュールのサポートを追加。"
752768

753769
#: ../../library/asyncio-task.rst:696
754770
msgid "Request the Task to be cancelled."
755-
msgstr ""
771+
msgstr "このタスクに、自身のキャンセルを要求します。"
756772

757773
#: ../../library/asyncio-task.rst:698
758774
msgid ""

0 commit comments

Comments
 (0)