66msgstr ""
77"Project-Id-Version : Python 3.14\n "
88"Report-Msgid-Bugs-To : \n "
9- "POT-Creation-Date : 2026-02-07 00:19+0000\n "
9+ "POT-Creation-Date : 2026-03-04 00:19+0000\n "
1010"PO-Revision-Date : 2018-05-23 16:15+0000\n "
1111"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
1212"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -31,8 +31,8 @@ msgid ""
3131"Audio \" WAVE\" (or \" WAV\" ) file format. Only uncompressed PCM encoded wave "
3232"files are supported."
3333msgstr ""
34- ":mod:`!wave` 模組為波形音訊檔案格式「WAVE」(或稱「WAV」)提供了便捷的介面。僅 "
35- "支援未壓縮的 PCM 編碼波形檔。"
34+ ":mod:`!wave` 模組為波形音訊檔案格式「WAVE」(或稱「WAV」)提供了便捷的介面。"
35+ "僅支援未壓縮的 PCM 編碼波形檔。"
3636
3737#: ../../library/wave.rst:20
3838msgid ""
@@ -271,18 +271,33 @@ msgid "Set the number of channels."
271271msgstr "設定音訊的通道數量。"
272272
273273#: ../../library/wave.rst:204
274+ #, fuzzy
275+ msgid "Return the number of channels."
276+ msgstr "設定音訊的通道數量。"
277+
278+ #: ../../library/wave.rst:209
274279msgid "Set the sample width to *n* bytes."
275280msgstr "設定取樣寬度為 *n* 個位元組。"
276281
277- #: ../../library/wave.rst:209
282+ #: ../../library/wave.rst:214
283+ #, fuzzy
284+ msgid "Return the sample width in bytes."
285+ msgstr "回傳以位元組表示的取樣寬度 (sample width)。"
286+
287+ #: ../../library/wave.rst:219
278288msgid "Set the frame rate to *n*."
279289msgstr "設定取樣頻率為 *n*。"
280290
281- #: ../../library/wave.rst:211
291+ #: ../../library/wave.rst:221
282292msgid "A non-integral input to this method is rounded to the nearest integer."
283293msgstr "此方法的非整數輸入會被將四捨五入到最接近的整數。"
284294
285- #: ../../library/wave.rst:218
295+ #: ../../library/wave.rst:228
296+ #, fuzzy
297+ msgid "Return the frame rate."
298+ msgstr "設定取樣頻率為 *n*。"
299+
300+ #: ../../library/wave.rst:233
286301msgid ""
287302"Set the number of frames to *n*. This will be changed later if the number "
288303"of frames actually written is different (this update attempt will raise an "
@@ -291,13 +306,27 @@ msgstr ""
291306"設定幀數為 *n*。如果實際寫入的幀數不同,則稍後將進行更改(如果輸出串流不可搜"
292307"尋,則此嘗試將引發錯誤)。"
293308
294- #: ../../library/wave.rst:225
309+ #: ../../library/wave.rst:240
310+ #, fuzzy
311+ msgid "Return the number of audio frames written so far."
312+ msgstr "回傳音訊幀數。"
313+
314+ #: ../../library/wave.rst:245
295315msgid ""
296316"Set the compression type and description. At the moment, only compression "
297317"type ``NONE`` is supported, meaning no compression."
298318msgstr "設定壓縮類型和描述。目前只支援壓縮類型為 ``NONE``,表示無壓縮。"
299319
300- #: ../../library/wave.rst:231
320+ #: ../../library/wave.rst:251
321+ #, fuzzy
322+ msgid "Return the compression type (``'NONE'``)."
323+ msgstr "回傳壓縮類型(僅支援 ``'NONE'`` 類型)。"
324+
325+ #: ../../library/wave.rst:256
326+ msgid "Return the human-readable compression type name."
327+ msgstr ""
328+
329+ #: ../../library/wave.rst:261
301330msgid ""
302331"The *tuple* should be ``(nchannels, sampwidth, framerate, nframes, comptype, "
303332"compname)``, with values valid for the ``set*()`` methods. Sets all "
@@ -306,23 +335,32 @@ msgstr ""
306335"這個 *tuple* 應該是 ``(nchannels, sampwidth, framerate, nframes, comptype, "
307336"compname)``,值需要是符合 ``set*()`` 方法的參數。設定所有參數。"
308337
309- #: ../../library/wave.rst:238
338+ #: ../../library/wave.rst:268
339+ #, fuzzy
340+ msgid ""
341+ "Return a :func:`~collections.namedtuple` ``(nchannels, sampwidth, framerate, "
342+ "nframes, comptype, compname)`` containing the current output parameters."
343+ msgstr ""
344+ "回傳一個 :func:`~collections.namedtuple` ``(nchannels, sampwidth, framerate, "
345+ "nframes, comptype, compname)``,等同於 ``get*()`` 方法的輸出。"
346+
347+ #: ../../library/wave.rst:275
310348msgid ""
311349"Return current position in the file, with the same disclaimer for the :meth:"
312350"`Wave_read.tell` and :meth:`Wave_read.setpos` methods."
313351msgstr ""
314352"回傳檔案中的指標位置,其指標位置含意與 :meth:`Wave_read.tell` 和 :meth:"
315353"`Wave_read.setpos` 是一致的。"
316354
317- #: ../../library/wave.rst:244
355+ #: ../../library/wave.rst:281
318356msgid "Write audio frames, without correcting *nframes*."
319357msgstr "寫入音訊幀,不修正 *nframes*。"
320358
321- #: ../../library/wave.rst:246 ../../library/wave.rst:257
359+ #: ../../library/wave.rst:283 ../../library/wave.rst:294
322360msgid "Any :term:`bytes-like object` is now accepted."
323361msgstr "現在可接受任何 :term:`bytes-like object`。"
324362
325- #: ../../library/wave.rst:252
363+ #: ../../library/wave.rst:289
326364msgid ""
327365"Write audio frames and make sure *nframes* is correct. It will raise an "
328366"error if the output stream is not seekable and the total number of frames "
@@ -332,7 +370,7 @@ msgstr ""
332370"寫入音訊幀並確保 *nframes* 正確。如果輸出串流不可搜尋,並且在寫入 *data* 後已"
333371"寫入的總幀數與先前設定的 *nframes* 值不符,則會引發錯誤。"
334372
335- #: ../../library/wave.rst:260
373+ #: ../../library/wave.rst:297
336374msgid ""
337375"Note that it is invalid to set any parameters after calling :meth:"
338376"`writeframes` or :meth:`writeframesraw`, and any attempt to do so will "
0 commit comments