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

Skip to content

Commit 49e953e

Browse files
[po] auto sync
1 parent 71e210d commit 49e953e

21 files changed

Lines changed: 2606 additions & 2916 deletions

File tree

.stat.json

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

c-api/buffer.po

Lines changed: 127 additions & 128 deletions
Large diffs are not rendered by default.

c-api/typeobj.po

Lines changed: 400 additions & 401 deletions
Large diffs are not rendered by default.

distributing/index.po

Lines changed: 6 additions & 272 deletions
Original file line numberDiff line numberDiff line change
@@ -5,295 +5,29 @@
55
#
66
# Translators:
77
# Shengjing Zhu <[email protected]>, 2021
8-
# ww song <[email protected]>, 2021
9-
# 刘士 <[email protected]>, 2021
10-
# Alpha Du <[email protected]>, 2022
11-
# Freesand Leo <[email protected]>, 2023
128
#
139
#, fuzzy
1410
msgid ""
1511
msgstr ""
1612
"Project-Id-Version: Python 3.12\n"
1713
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
14+
"POT-Creation-Date: 2023-08-18 14:13+0000\n"
1915
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
20-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2023\n"
16+
"Last-Translator: Shengjing Zhu <zsj950618@gmail.com>, 2021\n"
2117
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2218
"MIME-Version: 1.0\n"
2319
"Content-Type: text/plain; charset=UTF-8\n"
2420
"Content-Transfer-Encoding: 8bit\n"
2521
"Language: zh_CN\n"
2622
"Plural-Forms: nplurals=1; plural=0;\n"
2723

28-
#: ../../distributing/index.rst:5
24+
#: ../../distributing/index.rst:10
2925
msgid "Distributing Python Modules"
3026
msgstr "分发 Python 模块"
3127

32-
#: ../../distributing/index.rst:0
33-
msgid "Email"
34-
msgstr "电子邮箱"
35-
36-
#: ../../distributing/index.rst:7
37-
38-
39-
40-
#: ../../distributing/index.rst:10
41-
msgid ""
42-
"As a popular open source development project, Python has an active "
43-
"supporting community of contributors and users that also make their software"
44-
" available for other Python developers to use under open source license "
45-
"terms."
46-
msgstr ""
47-
"作为一个流行的开源开发项目,Python拥有一个活跃的贡献者和用户支持社区,这些社区也可以让他们的软件可供其他Python开发人员在开源许可条款下使用。"
48-
4928
#: ../../distributing/index.rst:14
5029
msgid ""
51-
"This allows Python users to share and collaborate effectively, benefiting "
52-
"from the solutions others have already created to common (and sometimes even"
53-
" rare!) problems, as well as potentially contributing their own solutions to"
54-
" the common pool."
55-
msgstr "这允许Python用户有效地共享和协作,从其他人已经创建的解决方案中受益于常见(有时甚至是罕见的)问题,以及可以提供他们自己的解决方案。"
56-
57-
#: ../../distributing/index.rst:19
58-
msgid ""
59-
"This guide covers the distribution part of the process. For a guide to "
60-
"installing other Python projects, refer to the :ref:`installation guide "
61-
"<installing-index>`."
62-
msgstr "本指南涵盖了分发部分的流程。有关安装其他Python项目的指南,请参阅 :ref:`安装指南<installing-index>`。"
63-
64-
#: ../../distributing/index.rst:25
65-
msgid ""
66-
"For corporate and other institutional users, be aware that many "
67-
"organisations have their own policies around using and contributing to open "
68-
"source software. Please take such policies into account when making use of "
69-
"the distribution and installation tools provided with Python."
70-
msgstr "对于企业和其他机构用户,请注意许多组织都有自己的政策来使用和贡献开源软件。在使用Python提供的分发和安装工具时,请考虑这些政策。"
71-
72-
#: ../../distributing/index.rst:32
73-
msgid "Key terms"
74-
msgstr "关键术语"
75-
76-
#: ../../distributing/index.rst:34
77-
msgid ""
78-
"the `Python Package Index <https://pypi.org>`__ is a public repository of "
79-
"open source licensed packages made available for use by other Python users"
80-
msgstr ""
81-
"`Python Package Index <https://pypi.org>`__ 是一个开源许可的软件包公共存储库,可供所有 Python "
82-
"用户使用。"
83-
84-
#: ../../distributing/index.rst:37
85-
msgid ""
86-
"the `Python Packaging Authority <https://www.pypa.io/>`__ are the group of "
87-
"developers and documentation authors responsible for the maintenance and "
88-
"evolution of the standard packaging tools and the associated metadata and "
89-
"file format standards. They maintain a variety of tools, documentation and "
90-
"issue trackers on `GitHub <https://github.com/pypa>`__."
91-
msgstr ""
92-
"`Python Packaging Authority <https://www.pypa.io/>`__ "
93-
"是负责标准打包工具以及相关元数据和文件格式标准的维护与改进的开发人员和文档作者团队。 他们基于在 `GitHub "
94-
"<https://github.com/pypa>`__ 上维护着各种工具、文档和问题追踪系统。"
95-
96-
#: ../../distributing/index.rst:43
97-
msgid ""
98-
"``distutils`` is the original build and distribution system first added to "
99-
"the Python standard library in 1998. While direct use of ``distutils`` is "
100-
"being phased out, it still laid the foundation for the current packaging and"
101-
" distribution infrastructure, and it not only remains part of the standard "
102-
"library, but its name lives on in other ways (such as the name of the "
103-
"mailing list used to coordinate Python packaging standards development)."
104-
msgstr ""
105-
"``distutils`` 是最初的构建和分发系统,于 1998 年首次加入 Python 标准库。 虽然直接使用 ``distutils`` "
106-
"的方式已被淘汰,它仍然是当前打包和分发架构的基础,而且它不仅仍然是标准库的一部分,这个名称还以其他方式存在(例如用于协调 Python "
107-
"打包标准开发流程的邮件列表就以此命名)。"
108-
109-
#: ../../distributing/index.rst:50
110-
msgid ""
111-
"`setuptools`_ is a (largely) drop-in replacement for ``distutils`` first "
112-
"published in 2004. Its most notable addition over the unmodified "
113-
"``distutils`` tools was the ability to declare dependencies on other "
114-
"packages. It is currently recommended as a more regularly updated "
115-
"alternative to ``distutils`` that offers consistent support for more recent "
116-
"packaging standards across a wide range of Python versions."
117-
msgstr ""
118-
"`setuptools`_ 是(主要)作为最初发布于 2004 年的 ``distutils`` 的直接取代者。 它对未经修改的 "
119-
"``distutils`` 工具最重要的补充是能够声明对其他包的依赖。 目前它被推荐作为 ``distutils`` 定期更新的替代品,在更为多样的 "
120-
"Python 版本上为最新的打包标准提供持续的支持。"
121-
122-
#: ../../distributing/index.rst:56
123-
msgid ""
124-
"`wheel`_ (in this context) is a project that adds the ``bdist_wheel`` "
125-
"command to ``distutils``/`setuptools`_. This produces a cross platform "
126-
"binary packaging format (called \"wheels\" or \"wheel files\" and defined in"
127-
" :pep:`427`) that allows Python libraries, even those including binary "
128-
"extensions, to be installed on a system without needing to be built locally."
30+
"Information and guidance on distributing Python modules and packages has "
31+
"been moved to the `Python Packaging User Guide`_, and the tutorial on "
32+
"`packaging Python projects`_."
12933
msgstr ""
130-
"`wheel`_ (在此上下文中) 是一个将 ``bdist_wheel`` 命令添加到 ``distutils``/`setuptools`_ "
131-
"的项目。 这会产生一个跨平台的二进制打包格式 (称为 \"wheels\"\"wheel 文件\" 并在 :pep:`427` "
132-
"中定义),它允许将各种 Python 库,甚至包括二进制扩展的库安装到系统中而无需在本地进行构建。"
133-
134-
#: ../../distributing/index.rst:67
135-
msgid "Open source licensing and collaboration"
136-
msgstr "开源许可与协作"
137-
138-
#: ../../distributing/index.rst:69
139-
msgid ""
140-
"In most parts of the world, software is automatically covered by copyright. "
141-
"This means that other developers require explicit permission to copy, use, "
142-
"modify and redistribute the software."
143-
msgstr "在世界上大多数地方,软件自动受版权保护。这意味着其他开发人员需要明确的权限来复制,使用,修改和重新分发软件。"
144-
145-
#: ../../distributing/index.rst:73
146-
msgid ""
147-
"Open source licensing is a way of explicitly granting such permission in a "
148-
"relatively consistent way, allowing developers to share and collaborate "
149-
"efficiently by making common solutions to various problems freely available."
150-
" This leaves many developers free to spend more time focusing on the "
151-
"problems that are relatively unique to their specific situation."
152-
msgstr ""
153-
"开源许可是一种以相对一致的方式明确授予此类权限的方式,允许开发人员通过为各种问题免费提供通用解决方案来有效地共享和协作。这使得许多开发人员可以将更多时间用于关注他们特定情况相对独特的问题。"
154-
155-
#: ../../distributing/index.rst:79
156-
msgid ""
157-
"The distribution tools provided with Python are designed to make it "
158-
"reasonably straightforward for developers to make their own contributions "
159-
"back to that common pool of software if they choose to do so."
160-
msgstr "Python提供的分发工具旨在使开发人员选择开源时,可以合理地直接将其自己的贡献回馈到该公共软件池。"
161-
162-
#: ../../distributing/index.rst:83
163-
msgid ""
164-
"The same distribution tools can also be used to distribute software within "
165-
"an organisation, regardless of whether that software is published as open "
166-
"source software or not."
167-
msgstr "无论该软件是否作为开源软件发布,相同的分发工具也可用于在组织内分发软件。"
168-
169-
#: ../../distributing/index.rst:89
170-
msgid "Installing the tools"
171-
msgstr "安装相关工具"
172-
173-
#: ../../distributing/index.rst:91
174-
msgid ""
175-
"The standard library does not include build tools that support modern Python"
176-
" packaging standards, as the core development team has found that it is "
177-
"important to have standard tools that work consistently, even on older "
178-
"versions of Python."
179-
msgstr ""
180-
"标准库不包括支持现代Python打包标准的构建工具,因为核心开发团队已经发现,即使在旧版本的Python上,使用一致工作的标准工具也很重要。"
181-
182-
#: ../../distributing/index.rst:96
183-
msgid ""
184-
"The currently recommended build and distribution tools can be installed by "
185-
"invoking the ``pip`` module at the command line::"
186-
msgstr "可以通过在命令行调用 ``pip`` 模块来安装当前推荐的构建和分发工具::"
187-
188-
#: ../../distributing/index.rst:103
189-
msgid ""
190-
"For POSIX users (including macOS and Linux users), these instructions assume"
191-
" the use of a :term:`virtual environment`."
192-
msgstr ""
193-
"对于 POSIX 用户(包括 macOS 和 Linux 用户),这些说明假定使用了 :term:`virtual environment` 。"
194-
195-
#: ../../distributing/index.rst:106
196-
msgid ""
197-
"For Windows users, these instructions assume that the option to adjust the "
198-
"system PATH environment variable was selected when installing Python."
199-
msgstr "对于Windows用户,这些说明假定在安装Python时选择了调整系统PATH环境变量的选项。"
200-
201-
#: ../../distributing/index.rst:110
202-
msgid ""
203-
"The Python Packaging User Guide includes more details on the `currently "
204-
"recommended tools`_."
205-
msgstr "Python 打包用户指南包含有关 `当前推荐工具的`_ 的更多详细信息。"
206-
207-
#: ../../distributing/index.rst:122
208-
msgid "Reading the Python Packaging User Guide"
209-
msgstr "阅读 Python 打包用户指南"
210-
211-
#: ../../distributing/index.rst:124
212-
msgid ""
213-
"The Python Packaging User Guide covers the various key steps and elements "
214-
"involved in creating and publishing a project:"
215-
msgstr "“Python 打包用户指南”介绍了创建和发布项目所涉及的各个关键步骤和元素:"
216-
217-
#: ../../distributing/index.rst:127
218-
msgid "`Project structure`_"
219-
msgstr "`项目的结构`_"
220-
221-
#: ../../distributing/index.rst:128
222-
msgid "`Building and packaging the project`_"
223-
msgstr "`项目的构建与打包`_"
224-
225-
#: ../../distributing/index.rst:129
226-
msgid "`Uploading the project to the Python Package Index`_"
227-
msgstr "`Uploading the project to the Python Package Index`_"
228-
229-
#: ../../distributing/index.rst:130
230-
msgid "`The .pypirc file`_"
231-
msgstr "`The .pypirc file`_"
232-
233-
#: ../../distributing/index.rst:139
234-
msgid "How do I...?"
235-
msgstr "我该如何...?"
236-
237-
#: ../../distributing/index.rst:141
238-
msgid "These are quick answers or links for some common tasks."
239-
msgstr "这是一些常见任务的快速解答或相关链接。"
240-
241-
#: ../../distributing/index.rst:144
242-
msgid "... choose a name for my project?"
243-
msgstr "...为我的项目选择一个名字?"
244-
245-
#: ../../distributing/index.rst:146
246-
msgid "This isn't an easy topic, but here are a few tips:"
247-
msgstr "这不是一个简单的主题,但这里有一些提示:"
248-
249-
#: ../../distributing/index.rst:148
250-
msgid "check the Python Package Index to see if the name is already in use"
251-
msgstr "检查 Python Package Index 以查看该名称是否已被使用"
252-
253-
#: ../../distributing/index.rst:149
254-
msgid ""
255-
"check popular hosting sites like GitHub, Bitbucket, etc to see if there is "
256-
"already a project with that name"
257-
msgstr "检查流行的托管网站如 GitHub,Bitbucket 等等,看是否已有一个该名称的项目"
258-
259-
#: ../../distributing/index.rst:151
260-
msgid "check what comes up in a web search for the name you're considering"
261-
msgstr "检查您正在考虑的名称在网络搜索中出现的内容"
262-
263-
#: ../../distributing/index.rst:152
264-
msgid ""
265-
"avoid particularly common words, especially ones with multiple meanings, as "
266-
"they can make it difficult for users to find your software when searching "
267-
"for it"
268-
msgstr "避免使用特别常见的单词,尤其是具有多重含义的单词,因为它们会使用户在搜索时难以找到您的软件"
269-
270-
#: ../../distributing/index.rst:158
271-
msgid "... create and distribute binary extensions?"
272-
msgstr "...创建和分发二进制扩展?"
273-
274-
#: ../../distributing/index.rst:160
275-
msgid ""
276-
"This is actually quite a complex topic, with a variety of alternatives "
277-
"available depending on exactly what you're aiming to achieve. See the Python"
278-
" Packaging User Guide for more information and recommendations."
279-
msgstr "这实际上是一个非常复杂的主题,根据您的目标,可以提供各种替代方案。 有关更多信息和建议,请参阅 Python 打包用户指南。"
280-
281-
#: ../../distributing/index.rst:166
282-
msgid ""
283-
"`Python Packaging User Guide: Binary Extensions "
284-
"<https://packaging.python.org/guides/packaging-binary-extensions/>`__"
285-
msgstr ""
286-
"`Python 打包用户指南:二进制扩展 <https://packaging.python.org/guides/packaging-binary-"
287-
"extensions/>`__"
288-
289-
#: ../../distributing/index.rst:115
290-
msgid "Python Package Index (PyPI)"
291-
msgstr "Python Package Index (PyPI)"
292-
293-
#: ../../distributing/index.rst:115
294-
msgid "PyPI"
295-
msgstr "PyPI"
296-
297-
#: ../../distributing/index.rst:115
298-
msgid "(see Python Package Index (PyPI))"
299-
msgstr "(参见 Python Package Index (PyPI))"

extending/extending.po

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.12\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2023-07-29 02:08+0000\n"
19+
"POT-Creation-Date: 2023-08-18 14:13+0000\n"
2020
"PO-Revision-Date: 2021-06-28 00:51+0000\n"
2121
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2222
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -387,9 +387,9 @@ msgstr ""
387387

388388
#: ../../extending/extending.rst:245
389389
msgid ""
390-
"We discuss the use of ``PyMODINIT_FUNC`` as a function return type later in "
391-
"this sample."
392-
msgstr "一会讨论 ``PyMODINIT_FUNC`` 作为函数返回类型的用法。"
390+
"We discuss the use of :c:macro:`PyMODINIT_FUNC` as a function return type "
391+
"later in this sample."
392+
msgstr ""
393393

394394
#: ../../extending/extending.rst:248
395395
msgid ""
@@ -527,12 +527,10 @@ msgstr ""
527527

528528
#: ../../extending/extending.rst:366
529529
msgid ""
530-
"Note that PyMODINIT_FUNC declares the function as ``PyObject *`` return "
531-
"type, declares any special linkage declarations required by the platform, "
532-
"and for C++ declares the function as ``extern \"C\"``."
530+
"Note that :c:macro:`PyMODINIT_FUNC` declares the function as ``PyObject *`` "
531+
"return type, declares any special linkage declarations required by the "
532+
"platform, and for C++ declares the function as ``extern \"C\"``."
533533
msgstr ""
534-
"注意 PyMODINIT_FUNC 将函数声明为 ``PyObject *`` 返回类型,声明了任何平台所要求的特殊链接声明,并针对 C++ "
535-
"将函数声明为 ``extern \"C\"``。"
536534

537535
#: ../../extending/extending.rst:370
538536
msgid ""

0 commit comments

Comments
 (0)