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

Skip to content

Commit 909d7bd

Browse files
[po] auto sync
1 parent 48baa67 commit 909d7bd

5 files changed

Lines changed: 28 additions & 19 deletions

File tree

c-api/memory.po

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,8 @@ msgid ""
461461
"functions in this domain by the methods described in the :ref:`Customize "
462462
"Memory Allocators <customize-memory-allocators>` section."
463463
msgstr ""
464+
"当通过 :ref:`自定义内存分配器 <customize-memory-allocators>` "
465+
"部分描述的方法拦截该域中的分配函数时,无法保证这些分配器返回的内存可以被成功地转换成 Python 对象。"
464466

465467
#: ../../c-api/memory.rst:313
466468
msgid ""
@@ -636,7 +638,7 @@ msgstr "自定义内存分配器"
636638
msgid ""
637639
"Structure used to describe a memory block allocator. The structure has the "
638640
"following fields:"
639-
msgstr ""
641+
msgstr "用于描述内存块分配器的结构体。 该结构体下列字段:"
640642

641643
#: ../../c-api/memory.rst:409 ../../c-api/memory.rst:626
642644
msgid "Field"
@@ -881,40 +883,43 @@ msgid ""
881883
"``*(p+j)`` exclusive; note that the treatment of negative indices differs "
882884
"from a Python slice):"
883885
msgstr ""
886+
"让 *S* = ``sizeof(size_t)``。 将 ``2*S`` 个字节添加到每个被请求的 *N* 字节数据块的两端。 "
887+
"内存的布局像是这样,其中 p 代表由类似 malloc 或类似 realloc 的函数所返回的地址 (``p[i:j]`` 表示从 ``*(p+i)``"
888+
" 左侧开始到 ``*(p+j)`` 左侧止的字节数据切片;请注意对负索引号的处理与 Python 切片是不同的):"
884889

885890
#: ../../c-api/memory.rst:532
886891
msgid "``p[-2*S:-S]``"
887-
msgstr ""
892+
msgstr "``p[-2*S:-S]``"
888893

889894
#: ../../c-api/memory.rst:532
890895
msgid ""
891896
"Number of bytes originally asked for. This is a size_t, big-endian (easier "
892897
"to read in a memory dump)."
893-
msgstr ""
898+
msgstr "最初所要求的字节数。 这是一个 size_t,为大端序(易于在内存转储中读取)。"
894899

895900
#: ../../c-api/memory.rst:539
896901
msgid "``p[-S]``"
897-
msgstr ""
902+
msgstr "``p[-S]``"
898903

899904
#: ../../c-api/memory.rst:535
900905
msgid "API identifier (ASCII character):"
901906
msgstr "API 标识符(ASCII 字符):"
902907

903908
#: ../../c-api/memory.rst:537
904909
msgid "``'r'`` for :c:data:`PYMEM_DOMAIN_RAW`."
905-
msgstr ""
910+
msgstr "``'r'`` 表示 :c:data:`PYMEM_DOMAIN_RAW`。"
906911

907912
#: ../../c-api/memory.rst:538
908913
msgid "``'m'`` for :c:data:`PYMEM_DOMAIN_MEM`."
909-
msgstr ""
914+
msgstr "``'m'`` 表示 :c:data:`PYMEM_DOMAIN_MEM`。"
910915

911916
#: ../../c-api/memory.rst:539
912917
msgid "``'o'`` for :c:data:`PYMEM_DOMAIN_OBJ`."
913-
msgstr ""
918+
msgstr "``'o'`` 表示 :c:data:`PYMEM_DOMAIN_OBJ`。"
914919

915920
#: ../../c-api/memory.rst:542
916921
msgid "``p[-S+1:0]``"
917-
msgstr ""
922+
msgstr "``p[-S+1:0]``"
918923

919924
#: ../../c-api/memory.rst:542
920925
msgid "Copies of PYMEM_FORBIDDENBYTE. Used to catch under- writes and reads."

distutils/builtdist.po

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ msgstr ""
3030

3131
#: ../../distutils/builtdist.rst:5
3232
msgid "Creating Built Distributions"
33-
msgstr "创建构建分布"
33+
msgstr "创建构建分发版"
3434

3535
#: ../../distutils/_setuptools_disclaimer.rst:3
3636
msgid ""
@@ -51,6 +51,8 @@ msgid ""
5151
"word is already spoken for in Python. (And \"installer\" is a term specific"
5252
" to the world of mainstream desktop systems.)"
5353
msgstr ""
54+
"“构建分发版”即你通常所认为的“二进制包”或“安装程序”(取决于你的技术背景)。 但它并不一定是二进制的,因为它可能只包含 Python "
55+
"源代码和/或字节码;并且我们也不将其称为包,因为这个词在 Python 中已经被使用。 (而“安装程序”是主流桌面系统领域的一个专有术语。)"
5456

5557
#: ../../distutils/builtdist.rst:16
5658
msgid ""
@@ -274,6 +276,7 @@ msgid ""
274276
"requires external :program:`rpm` utility, version 3.0.4 or better (use ``rpm"
275277
" --version`` to find out which version you have)"
276278
msgstr ""
279+
"需要有外部 :program:`rpm` 工具,版本号为 3.0.4 或以上(可使用 ``rpm --version`` 查看你所使用的版本)"
277280

278281
#: ../../distutils/builtdist.rst:125
279282
msgid ""
@@ -327,7 +330,7 @@ msgstr "bdist_msi 从 Python 3.9 起被弃用。"
327330
msgid ""
328331
"The following sections give details on the individual :command:`bdist_\\*` "
329332
"commands."
330-
msgstr ""
333+
msgstr "以下小节提供了每个 :command:`bdist_\\*` 命令的详情。"
331334

332335
#: ../../distutils/builtdist.rst:163
333336
msgid "Creating RPM packages"
@@ -584,7 +587,7 @@ msgstr ""
584587

585588
#: ../../distutils/builtdist.rst:260
586589
msgid "create the source RPM"
587-
msgstr ""
590+
msgstr "创建源 RPM"
588591

589592
#: ../../distutils/builtdist.rst:262
590593
msgid ""

extending/newtypes.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,15 +334,15 @@ msgstr "含意"
334334

335335
#: ../../extending/newtypes.rst:300
336336
msgid ":const:`READONLY`"
337-
msgstr ""
337+
msgstr ":const:`READONLY`"
338338

339339
#: ../../extending/newtypes.rst:300
340340
msgid "Never writable."
341341
msgstr "没有可写的"
342342

343343
#: ../../extending/newtypes.rst:302
344344
msgid ":const:`PY_AUDIT_READ`"
345-
msgstr ""
345+
msgstr ":const:`PY_AUDIT_READ`"
346346

347347
#: ../../extending/newtypes.rst:302
348348
msgid ""

library/compileall.po

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# walkinrain <[email protected]>, 2021
88
# 1lin24 <[email protected]>, 2021
9+
# Freesand Leo <[email protected]>, 2022
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2022-06-16 06:28+0000\n"
1617
"PO-Revision-Date: 2021-06-28 00:57+0000\n"
17-
"Last-Translator: 1lin24 <1lin24@sina.com>, 2021\n"
18+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2022\n"
1819
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -24,11 +25,11 @@ msgstr ""
2425

2526
#: ../../library/compileall.rst:2
2627
msgid ":mod:`compileall` --- Byte-compile Python libraries"
27-
msgstr ""
28+
msgstr ":mod:`compileall` --- 字节编译 Python 库"
2829

2930
#: ../../library/compileall.rst:7
3031
msgid "**Source code:** :source:`Lib/compileall.py`"
31-
msgstr ""
32+
msgstr "**源代码:** :source:`Lib/compileall.py`"
3233

3334
#: ../../library/compileall.rst:11
3435
msgid ""
@@ -41,7 +42,7 @@ msgstr ""
4142

4243
#: ../../library/compileall.rst:19
4344
msgid "Command-line use"
44-
msgstr ""
45+
msgstr "使用命令行"
4546

4647
#: ../../library/compileall.rst:21
4748
msgid ""
@@ -165,7 +166,7 @@ msgstr ""
165166

166167
#: ../../library/compileall.rst:129
167168
msgid "Added the ``--invalidation-mode`` option."
168-
msgstr ""
169+
msgstr "增加了 ``--invalidation-mode`` 选项。"
169170

170171
#: ../../library/compileall.rst:132
171172
msgid ""

library/winreg.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ msgstr ""
7474
msgid ""
7575
"Establishes a connection to a predefined registry handle on another "
7676
"computer, and returns a :ref:`handle object <handle-object>`."
77-
msgstr "建立到另一台计算上上的预定义注册表句柄的连接,并返回一个 :ref:`handle 对象 <handle-object>`."
77+
msgstr "建立到另一台计算机上的预定义注册表句柄的连接,并返回一个 :ref:`句柄对象 <handle-object>`"
7878

7979
#: ../../library/winreg.rst:48
8080
msgid ""

0 commit comments

Comments
 (0)