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

Skip to content

Commit 55388a7

Browse files
author
Github Actions
committed
[po] auto sync
1 parent 86e956f commit 55388a7

172 files changed

Lines changed: 13900 additions & 13309 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

c-api/allocation.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# 付裕如 <[email protected]>, 2017
88
# 操旭 <[email protected]>, 2017
99
# cdarlint <[email protected]>, 2017
10+
# Freesand Leo <[email protected]>, 2019
1011
#
1112
#, fuzzy
1213
msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516
"Report-Msgid-Bugs-To: \n"
1617
"POT-Creation-Date: 2019-09-01 14:24+0000\n"
1718
"PO-Revision-Date: 2017-02-16 17:32+0000\n"
18-
"Last-Translator: cdarlint <cdarling@126.com>, 2017\n"
19+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
1920
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2021
"MIME-Version: 1.0\n"
2122
"Content-Type: text/plain; charset=UTF-8\n"
@@ -52,6 +53,9 @@ msgid ""
5253
"the memory allocation is determined from the "
5354
":c:member:`~PyTypeObject.tp_basicsize` field of the type object."
5455
msgstr ""
56+
"使用 C 结构类型 *TYPE* 和 Python 类型对象 *type* 分配一个新的 Python 对象。 未在该 Python "
57+
"对象头中定义的字段不会被初始化;对象的引用计数将为一。 内存分配大小由 type 对象的 "
58+
":c:member:`~PyTypeObject.tp_basicsize` 字段来确定。"
5559

5660
#: ../../c-api/allocation.rst:41
5761
msgid ""

c-api/apiabiversion.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ msgstr "``1-8``"
6262

6363
#: ../../c-api/apiabiversion.rst:18
6464
msgid "``PY_MAJOR_VERSION`` (the ``3`` in ``3.4.1a2``)"
65-
msgstr "``PY_MAJOR_VERSION`` (``3.4.1a2`` 中的``3``)"
65+
msgstr "``PY_MAJOR_VERSION`` (``3.4.1a2`` 中的 ``3`` )"
6666

6767
#: ../../c-api/apiabiversion.rst:21
6868
msgid "``2``"
@@ -74,7 +74,7 @@ msgstr "``9-16``"
7474

7575
#: ../../c-api/apiabiversion.rst:21
7676
msgid "``PY_MINOR_VERSION`` (the ``4`` in ``3.4.1a2``)"
77-
msgstr "``PY_MINOR_VERSION`` (``3.4.1a2``中的``4``)"
77+
msgstr "``PY_MINOR_VERSION`` (``3.4.1a2`` 中的 ``4`` )"
7878

7979
#: ../../c-api/apiabiversion.rst:24
8080
msgid "``3``"
@@ -86,7 +86,7 @@ msgstr "``17-24``"
8686

8787
#: ../../c-api/apiabiversion.rst:24
8888
msgid "``PY_MICRO_VERSION`` (the ``1`` in ``3.4.1a2``)"
89-
msgstr "``PY_MICRO_VERSION`` (``3.4.1a2``中的``1``)"
89+
msgstr "``PY_MICRO_VERSION`` (``3.4.1a2`` 中的 ``1`` )"
9090

9191
#: ../../c-api/apiabiversion.rst:27
9292
msgid "``4``"
@@ -111,7 +111,7 @@ msgstr "``29-32``"
111111
#: ../../c-api/apiabiversion.rst:32
112112
msgid ""
113113
"``PY_RELEASE_SERIAL`` (the ``2`` in ``3.4.1a2``, zero for final releases)"
114-
msgstr "``PY_RELEASE_SERIAL`` (``3.4.1a2``中的``2``,最终版本用0)"
114+
msgstr "``PY_RELEASE_SERIAL`` ``3.4.1a2`` 中的 ``2`` ,最终版本用0)"
115115

116116
#: ../../c-api/apiabiversion.rst:36
117117
msgid "Thus ``3.4.1a2`` is hexversion ``0x030401a2``."

c-api/buffer.po

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
2020
"Project-Id-Version: Python 3.8\n"
2121
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2019-09-01 14:24+0000\n"
22+
"POT-Creation-Date: 2019-09-12 11:28+0000\n"
2323
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
2424
"Last-Translator: Vegetables <[email protected]>, 2019\n"
2525
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -673,44 +673,51 @@ msgstr ""
673673

674674
#: ../../c-api/buffer.rst:486
675675
msgid ""
676+
"Copy contiguous *len* bytes from *buf* to *view*. *fort* can be ``'C'`` or "
677+
"``'F'`` (for C-style or Fortran-style ordering). ``0`` is returned on "
678+
"success, ``-1`` on error."
679+
msgstr ""
680+
681+
#: ../../c-api/buffer.rst:493
682+
msgid ""
676683
"Copy *len* bytes from *src* to its contiguous representation in *buf*. "
677-
"*order* can be ``'C'`` or ``'F'`` (for C-style or Fortran-style ordering). "
678-
"``0`` is returned on success, ``-1`` on error."
684+
"*order* can be ``'C'`` or ``'F'`` or ``'A'`` (for C-style or Fortran-style "
685+
"ordering or either one). ``0`` is returned on success, ``-1`` on error."
679686
msgstr ""
680687

681-
#: ../../c-api/buffer.rst:490
688+
#: ../../c-api/buffer.rst:497
682689
msgid "This function fails if *len* != *src->len*."
683690
msgstr ""
684691

685-
#: ../../c-api/buffer.rst:495
692+
#: ../../c-api/buffer.rst:502
686693
msgid ""
687694
"Fill the *strides* array with byte-strides of a :term:`contiguous` (C-style "
688695
"if *order* is ``'C'`` or Fortran-style if *order* is ``'F'``) array of the "
689696
"given shape with the given number of bytes per element."
690697
msgstr ""
691698

692-
#: ../../c-api/buffer.rst:502
699+
#: ../../c-api/buffer.rst:509
693700
msgid ""
694701
"Handle buffer requests for an exporter that wants to expose *buf* of size "
695702
"*len* with writability set according to *readonly*. *buf* is interpreted as "
696703
"a sequence of unsigned bytes."
697704
msgstr ""
698705

699-
#: ../../c-api/buffer.rst:506
706+
#: ../../c-api/buffer.rst:513
700707
msgid ""
701708
"The *flags* argument indicates the request type. This function always fills "
702709
"in *view* as specified by flags, unless *buf* has been designated as read-"
703710
"only and :c:macro:`PyBUF_WRITABLE` is set in *flags*."
704711
msgstr ""
705712

706-
#: ../../c-api/buffer.rst:510
713+
#: ../../c-api/buffer.rst:517
707714
msgid ""
708715
"On success, set :c:member:`view->obj` to a new reference to *exporter* and "
709716
"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set "
710717
":c:member:`view->obj` to *NULL* and return ``-1``;"
711718
msgstr ""
712719

713-
#: ../../c-api/buffer.rst:514
720+
#: ../../c-api/buffer.rst:521
714721
msgid ""
715722
"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`,"
716723
" *exporter* MUST be set to the exporting object and *flags* must be passed "

c-api/complex.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,10 @@ msgid ""
168168
":meth:`__index__`. Upon failure, this method returns ``-1.0`` as a real "
169169
"value."
170170
msgstr ""
171+
"如果 *op* 不是一个 Python 复数对象,但是具有 :meth:`__complex__` 方法,此方法将首先被调用,将 *op* 转换为一个 "
172+
"Python 复数对象。 如果 ``__complex__()`` 未定义则将回退至 :meth:`__float__`,如果 "
173+
"``__float__()`` 未定义则将回退至 :meth:`__index__`。 如果失败,此方法将返回 ``-1.0`` 作为实数值。"
171174

172175
#: ../../c-api/complex.rst:137
173176
msgid "Use :meth:`__index__` if available."
174-
msgstr ""
177+
msgstr "如果可用将使用 :meth:`__index__`。"

c-api/conversion.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# ppcfish <[email protected]>, 2019
1010
# dannyvi <[email protected]>, 2019
1111
# Naisen Xu <[email protected]>, 2019
12+
# Meng Du <[email protected]>, 2019
1213
#
1314
#, fuzzy
1415
msgid ""
@@ -17,7 +18,7 @@ msgstr ""
1718
"Report-Msgid-Bugs-To: \n"
1819
"POT-Creation-Date: 2019-09-01 14:24+0000\n"
1920
"PO-Revision-Date: 2017-02-16 17:34+0000\n"
20-
"Last-Translator: Naisen Xu <723648649@qq.com>, 2019\n"
21+
"Last-Translator: Meng Du <alphanow@gmail.com>, 2019\n"
2122
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2223
"MIME-Version: 1.0\n"
2324
"Content-Type: text/plain; charset=UTF-8\n"
@@ -148,7 +149,7 @@ msgid ""
148149
"ValueError, and return ``-1.0``."
149150
msgstr ""
150151
"如果 ``endptr`` 不是 ``NULL`` ,尽可能多的转换字符串并将 ``*endptr`` "
151-
"设置为指向第一个未转换的字符。如果字符串的初始段不是浮点数的有效的表达方式,将 ``* endptr`` 设置为指向字符串的开头,引发 "
152+
"设置为指向第一个未转换的字符。如果字符串的初始段不是浮点数的有效的表达方式,将 ``*endptr`` 设置为指向字符串的开头,引发 "
152153
"ValueError 异常,并且返回 ``-1.0`` 。"
153154

154155
#: ../../c-api/conversion.rst:73

c-api/file.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,39 +98,44 @@ msgstr ""
9898
msgid ""
9999
"Overrides the normal behavior of :func:`io.open_code` to pass its parameter "
100100
"through the provided handler."
101-
msgstr ""
101+
msgstr "重载 :func:`io.open_code` 的正常行为,将其形参通过所提供的处理程序来传递。"
102102

103103
#: ../../c-api/file.rst:68
104104
msgid ""
105105
"The handler is a function of type :c:type:`PyObject *(\\*)(PyObject *path, "
106106
"void *userData)`, where *path* is guaranteed to be "
107107
":c:type:`PyUnicodeObject`."
108108
msgstr ""
109+
"处理程序是一个类型为 :c:type:`PyObject *(\\*)(PyObject *path, void *userData)` 的函数,其中 "
110+
"*path* 确保为 :c:type:`PyUnicodeObject`。"
109111

110112
#: ../../c-api/file.rst:71
111113
msgid ""
112114
"The *userData* pointer is passed into the hook function. Since hook "
113115
"functions may be called from different runtimes, this pointer should not "
114116
"refer directly to Python state."
115-
msgstr ""
117+
msgstr "*userData* 指针会被传入钩子函数。 因于钩子函数可能由不同的运行时调用,该指针不应直接指向 Python 状态。"
116118

117119
#: ../../c-api/file.rst:75
118120
msgid ""
119121
"As this hook is intentionally used during import, avoid importing new "
120122
"modules during its execution unless they are known to be frozen or available"
121123
" in ``sys.modules``."
122124
msgstr ""
125+
"鉴于这个钩子专门在导入期间使用的,请避免在新模块执行期间进行导入操作,除非已知它们为冻结状态或者是在 ``sys.modules`` 中可用。"
123126

124127
#: ../../c-api/file.rst:79
125128
msgid ""
126129
"Once a hook has been set, it cannot be removed or replaced, and later calls "
127130
"to :c:func:`PyFile_SetOpenCodeHook` will fail. On failure, the function "
128131
"returns -1 and sets an exception if the interpreter has been initialized."
129132
msgstr ""
133+
"一旦钩子被设定,它就不能被移除或替换,之后对 :c:func:`PyFile_SetOpenCodeHook` "
134+
"的调用也将失败,如果解释器已经被初始化,函数将返回 -1 并设置一个异常。"
130135

131136
#: ../../c-api/file.rst:83
132137
msgid "This function is safe to call before :c:func:`Py_Initialize`."
133-
msgstr ""
138+
msgstr "此函数可以安全地在 :c:func:`Py_Initialize` 之前调用。"
134139

135140
#: ../../c-api/file.rst:93
136141
msgid ""

c-api/float.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,14 @@ msgid ""
7777
"This method returns ``-1.0`` upon failure, so one should call "
7878
":c:func:`PyErr_Occurred` to check for errors."
7979
msgstr ""
80+
"返回一个 C :c:type:`double` 代表 *pyfloat* 的内容。 如果 *pyfloat* 不是一个 Python 浮点数对象但是具有"
81+
" :meth:`__float__` 方法,此方法将首先被调用,将 *pyfloat* 转换成一个数点数。 如果 ``__float__()`` "
82+
"未定义则将回退至 :meth:`__index__`。 如果失败,此方法将返回 ``-1.0``,因此开发者应当调用 "
83+
":c:func:`PyErr_Occurred` 来检查错误。"
8084

8185
#: ../../c-api/float.rst:54
8286
msgid "Use :meth:`__index__` if available."
83-
msgstr ""
87+
msgstr "如果可用将使用 :meth:`__index__`。"
8488

8589
#: ../../c-api/float.rst:60
8690
msgid ""

c-api/gcsupport.po

Lines changed: 4 additions & 2 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]>, 2019
87
# makdon <[email protected]>, 2019
8+
# Freesand Leo <[email protected]>, 2019
99
#
1010
#, fuzzy
1111
msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414
"Report-Msgid-Bugs-To: \n"
1515
"POT-Creation-Date: 2019-09-01 14:24+0000\n"
1616
"PO-Revision-Date: 2017-02-16 17:35+0000\n"
17-
"Last-Translator: makdon <[email protected]>, 2019\n"
17+
"Last-Translator: Freesand Leo <[email protected]>, 2019\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"
@@ -151,6 +151,8 @@ msgid ""
151151
"The :c:func:`_PyObject_GC_TRACK` and :c:func:`_PyObject_GC_UNTRACK` macros "
152152
"have been removed from the public C API."
153153
msgstr ""
154+
":c:func:`_PyObject_GC_TRACK` 和 :c:func:`_PyObject_GC_UNTRACK` 宏已从公有 C API "
155+
"中移除。"
154156

155157
#: ../../c-api/gcsupport.rst:93
156158
msgid ""

0 commit comments

Comments
 (0)