Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcbc5998

Browse files
committed
feat: translatelibrary/sndhdr.po
1 parent5bf1082 commitcbc5998

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

‎library/sndhdr.po

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,28 @@
33
# This file is distributed under the same license as the Python package.
44
#
55
# Translators:
6+
# Liang-Bo Wang <me@liang2.tw>, 2015
7+
# Matt Wang <mattwang44@gmail.com>, 2021
8+
#
69
msgid ""
710
msgstr ""
811
"Project-Id-Version:Python 3.10\n"
912
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2022-05-21 17:35+0000\n"
11-
"PO-Revision-Date:2022-05-22 02:13+0800\n"
12-
"Last-Translator:Liang-Bo Wang <me@liang2.tw>\n"
13+
"POT-Creation-Date:2018-06-26 18:54+0800\n"
14+
"PO-Revision-Date:2022-06-11 15:40+0800\n"
15+
"Last-Translator:Matt Wang <mattwang44@gmail.com>\n"
1316
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1417
"tw)\n"
1518
"Language:zh_TW\n"
1619
"MIME-Version:1.0\n"
1720
"Content-Type:text/plain; charset=UTF-8\n"
1821
"Content-Transfer-Encoding:8bit\n"
1922
"Plural-Forms:nplurals=1; plural=0;\n"
20-
"X-Generator:Poedit 3.0.1\n"
23+
"X-Generator:Poedit 3.1\n"
2124

2225
#:../../library/sndhdr.rst:2
2326
msgid":mod:`sndhdr` --- Determine type of sound file"
24-
msgstr":mod:`imghdr` ---推測音檔種類"
27+
msgstr":mod:`sndhdr` ---判定聲音檔案的型別"
2528

2629
#:../../library/sndhdr.rst:11
2730
msgid"**Source code:** :source:`Lib/sndhdr.py`"
@@ -33,7 +36,7 @@ msgid ""
3336
"details and alternatives)."
3437
msgstr""
3538
":mod:`sndhdr` 模組 (module) 即將被棄用(詳情與替代方案請見 :pep:`PEP 594 "
36-
"<594#sndhdr>`\\)。"
39+
"<594#sndhdr>`)。"
3740

3841
#:../../library/sndhdr.rst:23
3942
msgid""
@@ -52,21 +55,36 @@ msgid ""
5255
"the tuple, *bits_per_sample*, will either be the sample size in bits or "
5356
"``'A'`` for A-LAW or ``'U'`` for u-LAW."
5457
msgstr""
58+
":mod:`sndhdr` 提供了企圖猜測檔案中聲音資料型別的工具函式。當這些函式可以推測"
59+
"出儲存在檔案中聲音資料的型別,它們分別回傳一個 :func:`collections."
60+
"namedtuple`,包含了五種屬性:(``filetype``、``framerate``、``nchannels``、"
61+
"``nframes``、``sampwidth``)。這些 *type* 的值表示資料的型別,會是以下字串之"
62+
"一:``'aifc'``、``'aiff'``、``'au'``、``'hcom'``、``'sndr'``、``'sndt'``、"
63+
"``'voc'``、``'wav'``、``'8svx'``、``'sb'``、``'ub'`` 或 ``'ul'``。"
64+
"*sampling_rate*\\ (取樣頻率)可能是實際值、或者當未知或者難以解碼時為 "
65+
"``0``。同樣的,*channels*\\ (影像通道數)也會回傳實際值或者在無法推測或難以"
66+
"解碼時回傳 ``0``。*frames*\\ (幀數)則是實際值或 ``-1``。tuple 的最後一項,"
67+
"*bits_per_sample* 為位元表示的取樣大小,或者在 A-LAW 時為 ``'A'``,u-LAW 時"
68+
"為 ``'U'``。"
5569

5670
#:../../library/sndhdr.rst:40
5771
msgid""
5872
"Determines the type of sound data stored in the file *filename* using :func:"
5973
"`whathdr`. If it succeeds, returns a namedtuple as described above, "
6074
"otherwise ``None`` is returned."
6175
msgstr""
76+
"使用 :func:`whathdr` 推測儲存在 *filename* 檔案中聲音資料的型別。如果成功,回"
77+
"傳上述的 namedtuple(附名元組),否則回傳 ``None``。"
6278

6379
#:../../library/sndhdr.rst:44../../library/sndhdr.rst:54
6480
msgid"Result changed from a tuple to a namedtuple."
65-
msgstr""
81+
msgstr"結果從 tuple 改為 namedtuple。"
6682

6783
#:../../library/sndhdr.rst:50
6884
msgid""
6985
"Determines the type of sound data stored in a file based on the file "
7086
"header. The name of the file is given by *filename*. This function returns "
7187
"a namedtuple as described above on success, or ``None``."
7288
msgstr""
89+
"根據檔案標頭 (header) 推測儲存在檔案中的聲音資料型別。檔名由 *filename* 給"
90+
"定。這個函式在成功時回傳上述 namedtuple,或在失敗時回傳 ``None``。"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp