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