Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fbf323d

Browse files
[po] auto sync
1 parent 6ede601 commit fbf323d

2 files changed

Lines changed: 22 additions & 15 deletions

File tree

library/aifc.po

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <[email protected]>, 2020
87
# Arisaka97 <[email protected]>, 2020
8+
# Freesand Leo <[email protected]>, 2020
99
#
1010
#, fuzzy
1111
msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414
"Report-Msgid-Bugs-To: \n"
1515
"POT-Creation-Date: 2020-08-20 14:53+0000\n"
1616
"PO-Revision-Date: 2020-05-30 11:55+0000\n"
17-
"Last-Translator: Arisaka97 <solitaire2312@gmail.com>, 2020\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
1818
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -198,33 +198,34 @@ msgid ""
198198
"Create an AIFF file. The default is that an AIFF-C file is created, unless "
199199
"the name of the file ends in ``'.aiff'`` in which case the default is an "
200200
"AIFF file."
201-
msgstr ""
201+
msgstr "创建一个 AIFF 文件,默认创建 AIFF-C 文件,除非文件名以 ``'.aiff'`` 为后缀,在此情况下默认创建 AIFF 文件。"
202202

203203
#: ../../library/aifc.rst:156
204204
msgid ""
205205
"Create an AIFF-C file. The default is that an AIFF-C file is created, "
206206
"unless the name of the file ends in ``'.aiff'`` in which case the default is"
207207
" an AIFF file."
208208
msgstr ""
209+
"创建一个 AIFF-C 文件。 默认创建 AIFF-C 文件,除非文件名以 ``'.aiff'`` 为后缀,在此情况下默认创建 AIFF 文件。"
209210

210211
#: ../../library/aifc.rst:163
211212
msgid "Specify the number of channels in the audio file."
212-
msgstr ""
213+
msgstr "指明音频文件中的通道数。"
213214

214215
#: ../../library/aifc.rst:168
215216
msgid "Specify the size in bytes of audio samples."
216-
msgstr ""
217+
msgstr "指明以字节为单位的音频采样大小。"
217218

218219
#: ../../library/aifc.rst:173
219220
msgid "Specify the sampling frequency in frames per second."
220-
msgstr ""
221+
msgstr "指明以每秒帧数表示的采样频率。"
221222

222223
#: ../../library/aifc.rst:178
223224
msgid ""
224225
"Specify the number of frames that are to be written to the audio file. If "
225226
"this parameter is not set, or not set correctly, the file needs to support "
226227
"seeking."
227-
msgstr ""
228+
msgstr "指明要写入到音频文件的帧数。 如果未设定此形参或者未正确设定,则文件需要支持位置查找。"
228229

229230
#: ../../library/aifc.rst:189
230231
msgid ""

library/ctypes.po

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2980,7 +2980,7 @@ msgstr "数组与指针"
29802980

29812981
#: ../../library/ctypes.rst:2513
29822982
msgid "Abstract base class for arrays."
2983-
msgstr ""
2983+
msgstr "数组的抽象基类。"
29842984

29852985
#: ../../library/ctypes.rst:2515
29862986
msgid ""
@@ -2991,33 +2991,36 @@ msgid ""
29912991
"and slice accesses; for slice reads, the resulting object is *not* itself an"
29922992
" :class:`Array`."
29932993
msgstr ""
2994+
"创建实际数组类型的推荐方式是通过将任意 :mod:`ctypes` 类型与一个正整数相乘。 作为替代方式,你也可以子类化这个类型并定义 "
2995+
":attr:`_length_` 和 :attr:`_type_` 类变量。 数组元素可使用标准的抽取和切片方式来读写;对于切片读取,结果对象本身 "
2996+
"*并非* 一个 :class:`Array`。"
29942997

29952998
#: ../../library/ctypes.rst:2525
29962999
msgid ""
29973000
"A positive integer specifying the number of elements in the array. Out-of-"
29983001
"range subscripts result in an :exc:`IndexError`. Will be returned by "
29993002
":func:`len`."
3000-
msgstr ""
3003+
msgstr "一个指明数组中元素数量的正整数。 超出范围的抽取会导致 :exc:`IndexError`。 该值将由 :func:`len` 返回。"
30013004

30023005
#: ../../library/ctypes.rst:2532
30033006
msgid "Specifies the type of each element in the array."
3004-
msgstr ""
3007+
msgstr "指明数组中每个元素的类型。"
30053008

30063009
#: ../../library/ctypes.rst:2535
30073010
msgid ""
30083011
"Array subclass constructors accept positional arguments, used to initialize "
30093012
"the elements in order."
3010-
msgstr ""
3013+
msgstr "Array 子类构造器可接受位置参数,用来按顺序初始化元素。"
30113014

30123015
#: ../../library/ctypes.rst:2541
30133016
msgid "Private, abstract base class for pointers."
3014-
msgstr ""
3017+
msgstr "私有对象,指针的抽象基类。"
30153018

30163019
#: ../../library/ctypes.rst:2543
30173020
msgid ""
30183021
"Concrete pointer types are created by calling :func:`POINTER` with the type "
30193022
"that will be pointed to; this is done automatically by :func:`pointer`."
3020-
msgstr ""
3023+
msgstr "实际的指针类型是通过调用 :func:`POINTER` 并附带其将指向的类型来创建的;这会由 :func:`pointer` 自动完成。"
30213024

30223025
#: ../../library/ctypes.rst:2547
30233026
msgid ""
@@ -3027,13 +3030,16 @@ msgid ""
30273030
" the memory *before* the pointer (as in C), and out-of-range subscripts will"
30283031
" probably crash with an access violation (if you're lucky)."
30293032
msgstr ""
3033+
"如果一个指针指向的是数组,则其元素可使用标准的抽取和切片方式来读写。 指针对象没有长度,因此 :func:`len` 将引发 "
3034+
":exc:`TypeError`。 抽取负值将会从指针 *之前* 的内存中读取(与 C "
3035+
"一样),并且超出范围的抽取将可能因非法访问而导致崩溃(视你的运气而定)。"
30303036

30313037
#: ../../library/ctypes.rst:2557
30323038
msgid "Specifies the type pointed to."
3033-
msgstr ""
3039+
msgstr "指明所指向的类型。"
30343040

30353041
#: ../../library/ctypes.rst:2561
30363042
msgid ""
30373043
"Returns the object to which to pointer points. Assigning to this attribute "
30383044
"changes the pointer to point to the assigned object."
3039-
msgstr ""
3045+
msgstr "返回指针所指向的对象。 对此属性赋值会使指针改为指向所赋值的对象。"

0 commit comments

Comments
 (0)