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

Commitecd63d4

Browse files
committed
feat: translatelibrary/sndhdr.po
1 parent7ae39a0 commitecd63d4

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

‎library/sndhdr.po‎

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +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"
1013
"POT-Creation-Date:2018-06-26 18:54+0800\n"
11-
"PO-Revision-Date:2015-12-09 17:51+0000\n"
12-
"Last-Translator:Liang-Bo Wang <me@liang2.tw>\n"
14+
"PO-Revision-Date:2021-12-18 13:24+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"
23+
"X-Generator:Poedit 3.0.1\n"
2024

2125
#:../../library/sndhdr.rst:2
2226
msgid":mod:`sndhdr` --- Determine type of sound file"
23-
msgstr""
27+
msgstr":mod:`sndhdr` --- 判定聲音檔案的型別"
2428

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

4763
#:../../library/sndhdr.rst:35
4864
msgid""
4965
"Determines the type of sound data stored in the file *filename* using :func:"
5066
"`whathdr`. If it succeeds, returns a namedtuple as described above, "
5167
"otherwise ``None`` is returned."
5268
msgstr""
69+
"使用 :func:`whathdr` 推測儲存在 *filename* 檔案中聲音資料的型別。如果成功,回"
70+
"傳上述的 namedtuple(附名元組),否則回傳 ``None``\\ 。"
5371

5472
#:../../library/sndhdr.rst:39../../library/sndhdr.rst:49
5573
msgid"Result changed from a tuple to a namedtuple."
56-
msgstr""
74+
msgstr"結果從 tuple 改為 namedtuple。"
5775

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp