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

Skip to content

Commit 15e330e

Browse files
[po] auto sync
1 parent 49e953e commit 15e330e

10 files changed

Lines changed: 30 additions & 8 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "89.80%", "updated_at": "2023-08-18T14:57:14Z"}
1+
{"translation": "89.83%", "updated_at": "2023-08-18T15:57:33Z"}

c-api/buffer.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,10 @@ msgid ""
296296
" ``NULL``. The maximum number of dimensions is given by "
297297
":c:macro:`PyBUF_MAX_NDIM`."
298298
msgstr ""
299+
"内存表示为 n 维数组形式对应的维度数。 如果为 ``0``,则 :c:member:`~Py_buffer.buf` 指向表示标量的单个条目。 "
300+
"在这种情况下,:c:member:`~Py_buffer.shape`, :c:member:`~Py_buffer.strides` 和 "
301+
":c:member:`~Py_buffer.suboffsets` 必须为 ``NULL``。 最大维度数由 "
302+
":c:macro:`PyBUF_MAX_NDIM` 给出。"
299303

300304
#: ../../c-api/buffer.rst:168
301305
msgid ""
@@ -837,6 +841,8 @@ msgid ""
837841
" Otherwise, raise :exc:`BufferError`, set ``view->obj`` to ``NULL`` and "
838842
"return ``-1``;"
839843
msgstr ""
844+
"成功时,将 ``view->obj`` 设为对 *exporter* 的新引用并返回 0。 否则,引发 :exc:`BufferError`,将 "
845+
"``view->obj`` 设为 ``NULL`` 并返回 ``-1``;"
840846

841847
#: ../../c-api/buffer.rst:541
842848
msgid ""

distributing/index.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# Shengjing Zhu <[email protected]>, 2021
8+
# Freesand Leo <[email protected]>, 2023
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2023-08-18 14:13+0000\n"
1516
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
16-
"Last-Translator: Shengjing Zhu <zsj950618@gmail.com>, 2021\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2023\n"
1718
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -31,3 +32,5 @@ msgid ""
3132
"been moved to the `Python Packaging User Guide`_, and the tutorial on "
3233
"`packaging Python projects`_."
3334
msgstr ""
35+
"有关分发 Python 模块和包的信息和指南已被移至 `Python Packaging User Guide`_,以及 `packaging "
36+
"Python projects`_ 中的教程。"

installing/index.po

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ msgid ""
5959
"creating and sharing your own Python projects, refer to the `Python "
6060
"packaging user guide`_."
6161
msgstr ""
62+
"本指南涵盖了安装部分的流程。 有关创建和共享自己的 Python 项目的指导,请参阅 `Python packaging user guide`_。"
6263

6364
#: ../../installing/index.rst:28
6465
msgid ""

library/logging.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
# Leo Li <[email protected]>, 2021
1313
# WH-2099 <[email protected]>, 2022
1414
# Bryan不可思议, 2023
15-
# Freesand Leo <[email protected]>, 2023
1615
# Rafael Fontenelle <[email protected]>, 2023
1716
# Yan Gao <[email protected]>, 2023
17+
# Freesand Leo <[email protected]>, 2023
1818
#
1919
#, fuzzy
2020
msgid ""
@@ -23,7 +23,7 @@ msgstr ""
2323
"Report-Msgid-Bugs-To: \n"
2424
"POT-Creation-Date: 2023-08-18 14:13+0000\n"
2525
"PO-Revision-Date: 2021-06-28 01:09+0000\n"
26-
"Last-Translator: Yan Gao <gao.yan.gg1994@gmail.com>, 2023\n"
26+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2023\n"
2727
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2828
"MIME-Version: 1.0\n"
2929
"Content-Type: text/plain; charset=UTF-8\n"
@@ -609,7 +609,7 @@ msgstr "数值"
609609

610610
#: ../../library/logging.rst:401
611611
msgid "What it means / When to use it"
612-
msgstr ""
612+
msgstr "何种含义 / 何时使用"
613613

614614
#: ../../library/logging.rst:403
615615
msgid "0"

using/configure.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ msgstr "``python.o`` 和静态库 ``libpython`` 被链接到最终程序 ``pytho
10691069

10701070
#: ../../using/configure.rst:697
10711071
msgid "C extensions are built by the Makefile (see :file:`Modules/Setup`)."
1072-
msgstr ""
1072+
msgstr "C 扩展是由 Makefile 构建的 (参见 :file:`Modules/Setup`)。"
10731073

10741074
#: ../../using/configure.rst:700
10751075
msgid "Main Makefile targets"
@@ -1166,6 +1166,8 @@ msgid ""
11661166
":c:macro:`PyMODINIT_FUNC` macros of :file:`Include/pyport.h` are defined "
11671167
"differently depending if the ``Py_BUILD_CORE_MODULE`` macro is defined:"
11681168
msgstr ""
1169+
":c:macro:`PyAPI_FUNC()`, :c:macro:`PyAPI_DATA()` 和 :c:macro:`PyMODINIT_FUNC`"
1170+
" 等宏在 :file:`Include/pyport.h` 中的定义将因是否定义了 ``Py_BUILD_CORE_MODULE`` 宏而不同:"
11691171

11701172
#: ../../using/configure.rst:753
11711173
msgid "Use ``Py_EXPORTED_SYMBOL`` if the ``Py_BUILD_CORE_MODULE`` is defined"
@@ -1217,6 +1219,7 @@ msgid ""
12171219
"value to be able to build extension modules using the directories specified "
12181220
"in the environment variables."
12191221
msgstr ""
1222+
":envvar:`CPPFLAGS` 和 :envvar:`LDFLAGS` 都需要包含 shell 的值以便能够使用环境变量中指定的目录构建扩展模块。"
12201223

12211224
#: ../../using/configure.rst:791
12221225
msgid ""
@@ -1261,6 +1264,8 @@ msgid ""
12611264
"extensions. Use it when a compiler flag should *not* be part of "
12621265
":envvar:`CFLAGS` once Python is installed (:gh:`65320`)."
12631266
msgstr ""
1267+
":envvar:`CFLAGS_NODIST` 用于构建解释器和 stdlib C 扩展。 一旦装好 Python 则当某个编译器旗标 *不应* 成为 "
1268+
":envvar:`CFLAGS` 的一部分时将可使用它 (:gh:`65320`)。"
12641269

12651270
#: ../../using/configure.rst:822
12661271
msgid "In particular, :envvar:`CFLAGS` should not contain:"
@@ -1416,6 +1421,8 @@ msgid ""
14161421
":envvar:`CFLAGS_NODIST`. Use it when a linker flag should *not* be part of "
14171422
":envvar:`LDFLAGS` once Python is installed (:gh:`65320`)."
14181423
msgstr ""
1424+
":envvar:`LDFLAGS_NODIST` 的使用方式与 :envvar:`CFLAGS_NODIST` 相同。 一旦装好 Python "
1425+
"则当某个链接器旗标 *不应* 成为 :envvar:`LDFLAGS` 的一部分时将可使用它 (:gh:`65320`)。"
14191426

14201427
#: ../../using/configure.rst:952
14211428
msgid "In particular, :envvar:`LDFLAGS` should not contain:"

using/mac.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ msgstr "安装额外的 Python 包"
237237

238238
#: ../../using/mac.rst:128
239239
msgid "This section has moved to the `Python Packaging User Guide`_."
240-
msgstr ""
240+
msgstr "本小节已移至 `Python Packaging User Guide`_。"
241241

242242
#: ../../using/mac.rst:134
243243
msgid "GUI Programming on the Mac"

using/windows.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2318,6 +2318,9 @@ msgid ""
23182318
"have done this, you can distribute your application without requiring your "
23192319
"users to install Python."
23202320
msgstr ""
2321+
"`cx_Freeze <https://cx-freeze.readthedocs.io/en/latest/>`_ 将 Python "
2322+
"脚本包装成可执行的 Windows 程序 (:file:`{*}.exe` 文件)。 当你完成此操作后,你就可以分发你的应用程序而无需用户安装 "
2323+
"Python。"
23212324

23222325
#: ../../using/windows.rst:1256
23232326
msgid "Compiling Python on Windows"

whatsnew/3.1.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ msgid ""
764764
"calling a destructor. The old type had a problematic API and is now "
765765
"deprecated."
766766
msgstr ""
767+
"增加了 :c:type:`PyCapsule` 作为 :c:type:`!PyCObject` API 的替代。 "
768+
"主要区别在于新类型拥有一个定义良好的接口用来传递类型安全信息以及一个较低复杂度的签名用来调用析构器。 旧类型的 API 存在问题且现已被弃用。"
767769

768770
#: ../../whatsnew/3.1.rst:519
769771
msgid "(Contributed by Larry Hastings; :issue:`5630`.)"

whatsnew/3.12.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2950,7 +2950,7 @@ msgstr "而新版本将生成::"
29502950
msgid ""
29512951
"Additionally, there may be some minor behavioral changes as a consequence of"
29522952
" the changes required to support :pep:`701`. Some of these changes include:"
2953-
msgstr ""
2953+
msgstr "此外,支持 :pep:`701` 所需的改变还可能会导致一些细微的行为改变。 这些变化包括:"
29542954

29552955
#: ../../whatsnew/3.12.rst:1582
29562956
msgid ""

0 commit comments

Comments
 (0)