55#
66# Translators:
77# tomo, 2019
8+ # Takanori Suzuki <takanori@takanory.net>, 2021
89#
910#, fuzzy
1011msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314"Report-Msgid-Bugs-To : \n "
1415"POT-Creation-Date : 2021-01-01 16:02+0000\n "
1516"PO-Revision-Date : 2019-09-01 03:20+0000\n "
16- "Last-Translator : tomo, 2019 \n "
17+ "Last-Translator : Takanori Suzuki <takanori@takanory.net>, 2021 \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 "
@@ -116,6 +117,14 @@ msgid ""
116117"recognize the end of, or an important breakpoint in, an incoming "
117118"transmission from the remote endpoint."
118119msgstr ""
120+ ":class:`asyncore.dispatcher` と違い、 :class:`async_chat` では *producer* の "
121+ ":abbr:`FIFO (first-in, first-out)` キューを作成する事ができます。producerは :meth:`more` "
122+ "メソッドを必ず持ち、このメソッドでチャネル上に送出するデータを返します。producerが枯渇状態 (*i.e.* "
123+ "これ以上のデータを持たない状態)にある場合、 :meth:`more` は空のバイトオブジェクトを返します。この時、 "
124+ ":class:`async_chat` "
125+ "は枯渇状態にあるproducerをキューから除去し、次のproducerが存在すればそのproducerを使用します。キューにproducerが存在しない場合、"
126+ " :meth:`handle_write` は何もしません。リモート端点からの入力の終了や重要な中断点を検出する場合は、 "
127+ ":meth:`set_terminator` に記述します。"
119128
120129#: ../../library/asynchat.rst:76
121130msgid ""
@@ -132,6 +141,7 @@ msgid ""
132141"Pushes a ``None`` on to the producer queue. When this producer is popped off"
133142" the queue it causes the channel to be closed."
134143msgstr ""
144+ "producer キューのトップに ``None`` をプッシュします。このproducerがキューからポップされると、チャネルがクローズします。"
135145
136146#: ../../library/asynchat.rst:90
137147msgid ""
@@ -146,7 +156,7 @@ msgstr ""
146156msgid ""
147157"In emergencies this method will discard any data held in the input and/or "
148158"output buffers and the producer queue."
149- msgstr ""
159+ msgstr "非常用のメソッドで、全ての入出力バッファとproducer キューを廃棄します。 "
150160
151161#: ../../library/asynchat.rst:103
152162msgid ""
@@ -171,6 +181,8 @@ msgid ""
171181"although it is possible to use your own producers in more complex schemes to"
172182" implement encryption and chunking, for example."
173183msgstr ""
184+ "チャネルのキューにデータをプッシュして転送します。データをチャネルに書き出すために必要なのはこれだけですが、データの暗号化やチャンク化などを行う場合には独自の"
185+ " producer を使用する事もできます。"
174186
175187#: ../../library/asynchat.rst:124
176188msgid ""
@@ -179,6 +191,8 @@ msgid ""
179191"channel will consume this producer's data by calling its :meth:`more` method"
180192" and send the data to the remote endpoint."
181193msgstr ""
194+ "指定したproducerオブジェクトをチャネルのキューに追加します。これより前にpushされたproducerが全て枯渇した後、チャネルはこのproducer"
195+ " から :meth:`more` メソッドでデータを取得し、リモート端点に送信します。"
182196
183197#: ../../library/asynchat.rst:132
184198msgid ""
0 commit comments