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

Skip to content

Commit 6657fc6

Browse files
[po] auto sync
1 parent 3978262 commit 6657fc6

5 files changed

Lines changed: 6927 additions & 6910 deletions

File tree

library/asyncio-eventloop.po

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
2020
"Project-Id-Version: Python 3.9\n"
2121
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
22+
"POT-Creation-Date: 2021-05-20 06:27+0000\n"
2323
"PO-Revision-Date: 2017-02-16 17:48+0000\n"
2424
"Last-Translator: Freesand Leo <[email protected]>, 2021\n"
2525
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -656,11 +656,9 @@ msgstr ""
656656
#: ../../library/asyncio-eventloop.rst:442
657657
msgid ""
658658
"*local_addr*, if given, is a ``(local_host, local_port)`` tuple used to bind"
659-
" the socket to locally. The *local_host* and *local_port* are looked up "
660-
"using ``getaddrinfo()``, similarly to *host* and *port*."
659+
" the socket locally. The *local_host* and *local_port* are looked up using "
660+
"``getaddrinfo()``, similarly to *host* and *port*."
661661
msgstr ""
662-
"如果给出 *local_addr*,它应当是一个用来在本地绑定套接字的 ``(local_host, local_port)`` 元组。 "
663-
"*local_host* 和 *local_port* 会使用 ``getaddrinfo()`` 来查找,这与 *host* 和 *port* 类似。"
664662

665663
#: ../../library/asyncio-eventloop.rst:446
666664
#: ../../library/asyncio-eventloop.rst:799
@@ -781,11 +779,9 @@ msgstr "成功时返回一个 ``(transport, protocol)`` 元组。"
781779
#: ../../library/asyncio-eventloop.rst:520
782780
msgid ""
783781
"*local_addr*, if given, is a ``(local_host, local_port)`` tuple used to bind"
784-
" the socket to locally. The *local_host* and *local_port* are looked up "
785-
"using :meth:`getaddrinfo`."
782+
" the socket locally. The *local_host* and *local_port* are looked up using "
783+
":meth:`getaddrinfo`."
786784
msgstr ""
787-
"*local_addr*,如果指定的话,就是一个 ``(local_host, local_port)`` 元组,用于在本地绑定套接字。 "
788-
"*local_host* 和 *local_port* 是使用 :meth:`getaddrinfo` 来查找的。"
789785

790786
#: ../../library/asyncio-eventloop.rst:524
791787
msgid ""

library/importlib.metadata.po

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.9\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2021-04-24 06:08+0000\n"
16+
"POT-Creation-Date: 2021-05-20 06:27+0000\n"
1717
"PO-Revision-Date: 2019-09-01 14:41+0000\n"
1818
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
1919
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -27,13 +27,13 @@ msgstr ""
2727
msgid "Using :mod:`!importlib.metadata`"
2828
msgstr ""
2929

30-
#: ../../library/importlib.metadata.rst:10
30+
#: ../../library/importlib.metadata.rst:13
3131
msgid ""
3232
"This functionality is provisional and may deviate from the usual version "
3333
"semantics of the standard library."
3434
msgstr ""
3535

36-
#: ../../library/importlib.metadata.rst:13
36+
#: ../../library/importlib.metadata.rst:16
3737
msgid ""
3838
"``importlib.metadata`` is a library that provides for access to installed "
3939
"package metadata. Built in part on Python's import system, this library "
@@ -44,7 +44,7 @@ msgid ""
4444
"efficient ``pkg_resources`` package."
4545
msgstr ""
4646

47-
#: ../../library/importlib.metadata.rst:22
47+
#: ../../library/importlib.metadata.rst:25
4848
msgid ""
4949
"By \"installed package\" we generally mean a third-party package installed "
5050
"into Python's ``site-packages`` directory via tools such as `pip "
@@ -55,52 +55,52 @@ msgid ""
5555
" Through an extension mechanism, the metadata can live almost anywhere."
5656
msgstr ""
5757

58-
#: ../../library/importlib.metadata.rst:33
58+
#: ../../library/importlib.metadata.rst:36
5959
msgid "Overview"
6060
msgstr "概述"
6161

62-
#: ../../library/importlib.metadata.rst:35
62+
#: ../../library/importlib.metadata.rst:38
6363
msgid ""
6464
"Let's say you wanted to get the version string for a package you've "
6565
"installed using ``pip``. We start by creating a virtual environment and "
6666
"installing something into it:"
6767
msgstr ""
6868

69-
#: ../../library/importlib.metadata.rst:45
69+
#: ../../library/importlib.metadata.rst:48
7070
msgid "You can get the version string for ``wheel`` by running the following:"
7171
msgstr ""
7272

73-
#: ../../library/importlib.metadata.rst:54
73+
#: ../../library/importlib.metadata.rst:57
7474
msgid ""
7575
"You can also get the set of entry points keyed by group, such as "
7676
"``console_scripts``, ``distutils.commands`` and others. Each group contains"
7777
" a sequence of :ref:`EntryPoint <entry-points>` objects."
7878
msgstr ""
7979

80-
#: ../../library/importlib.metadata.rst:58
80+
#: ../../library/importlib.metadata.rst:61
8181
msgid "You can get the :ref:`metadata for a distribution <metadata>`::"
8282
msgstr ""
8383

84-
#: ../../library/importlib.metadata.rst:63
84+
#: ../../library/importlib.metadata.rst:66
8585
msgid ""
8686
"You can also get a :ref:`distribution's version number <version>`, list its "
8787
":ref:`constituent files <files>`, and get a list of the distribution's "
8888
":ref:`requirements`."
8989
msgstr ""
9090

91-
#: ../../library/importlib.metadata.rst:69
91+
#: ../../library/importlib.metadata.rst:72
9292
msgid "Functional API"
9393
msgstr "可用 API"
9494

95-
#: ../../library/importlib.metadata.rst:71
95+
#: ../../library/importlib.metadata.rst:74
9696
msgid "This package provides the following functionality via its public API."
9797
msgstr ""
9898

99-
#: ../../library/importlib.metadata.rst:77
99+
#: ../../library/importlib.metadata.rst:80
100100
msgid "Entry points"
101101
msgstr ""
102102

103-
#: ../../library/importlib.metadata.rst:79
103+
#: ../../library/importlib.metadata.rst:82
104104
msgid ""
105105
"The ``entry_points()`` function returns a dictionary of all entry points, "
106106
"keyed by group. Entry points are represented by ``EntryPoint`` instances; "
@@ -110,7 +110,7 @@ msgid ""
110110
"``.value`` attribute::"
111111
msgstr ""
112112

113-
#: ../../library/importlib.metadata.rst:103
113+
#: ../../library/importlib.metadata.rst:106
114114
msgid ""
115115
"The ``group`` and ``name`` are arbitrary values defined by the package "
116116
"author and usually a client will wish to resolve all entry points for a "
@@ -120,37 +120,37 @@ msgid ""
120120
"their definition, and usage."
121121
msgstr ""
122122

123-
#: ../../library/importlib.metadata.rst:113
123+
#: ../../library/importlib.metadata.rst:116
124124
msgid "Distribution metadata"
125125
msgstr ""
126126

127-
#: ../../library/importlib.metadata.rst:115
127+
#: ../../library/importlib.metadata.rst:118
128128
msgid ""
129129
"Every distribution includes some metadata, which you can extract using the "
130130
"``metadata()`` function::"
131131
msgstr ""
132132

133-
#: ../../library/importlib.metadata.rst:120
133+
#: ../../library/importlib.metadata.rst:123
134134
msgid ""
135135
"The keys of the returned data structure [#f1]_ name the metadata keywords, "
136136
"and their values are returned unparsed from the distribution metadata::"
137137
msgstr ""
138138

139-
#: ../../library/importlib.metadata.rst:130
139+
#: ../../library/importlib.metadata.rst:133
140140
msgid "Distribution versions"
141141
msgstr ""
142142

143-
#: ../../library/importlib.metadata.rst:132
143+
#: ../../library/importlib.metadata.rst:135
144144
msgid ""
145145
"The ``version()`` function is the quickest way to get a distribution's "
146146
"version number, as a string::"
147147
msgstr ""
148148

149-
#: ../../library/importlib.metadata.rst:142
149+
#: ../../library/importlib.metadata.rst:145
150150
msgid "Distribution files"
151151
msgstr ""
152152

153-
#: ../../library/importlib.metadata.rst:144
153+
#: ../../library/importlib.metadata.rst:147
154154
msgid ""
155155
"You can also get the full set of files contained within a distribution. The"
156156
" ``files()`` function takes a distribution package name and returns all of "
@@ -160,11 +160,11 @@ msgid ""
160160
"For example::"
161161
msgstr ""
162162

163-
#: ../../library/importlib.metadata.rst:160
163+
#: ../../library/importlib.metadata.rst:163
164164
msgid "Once you have the file, you can also read its contents::"
165165
msgstr ""
166166

167-
#: ../../library/importlib.metadata.rst:171
167+
#: ../../library/importlib.metadata.rst:174
168168
msgid ""
169169
"In the case where the metadata file listing files (RECORD or SOURCES.txt) is"
170170
" missing, ``files()`` will return ``None``. The caller may wish to wrap "
@@ -174,51 +174,51 @@ msgid ""
174174
" known to have the metadata present."
175175
msgstr ""
176176

177-
#: ../../library/importlib.metadata.rst:182
177+
#: ../../library/importlib.metadata.rst:185
178178
msgid "Distribution requirements"
179179
msgstr ""
180180

181-
#: ../../library/importlib.metadata.rst:184
181+
#: ../../library/importlib.metadata.rst:187
182182
msgid ""
183183
"To get the full set of requirements for a distribution, use the "
184184
"``requires()`` function::"
185185
msgstr ""
186186

187-
#: ../../library/importlib.metadata.rst:192
187+
#: ../../library/importlib.metadata.rst:195
188188
msgid "Distributions"
189189
msgstr ""
190190

191-
#: ../../library/importlib.metadata.rst:194
191+
#: ../../library/importlib.metadata.rst:197
192192
msgid ""
193193
"While the above API is the most common and convenient usage, you can get all"
194194
" of that information from the ``Distribution`` class. A ``Distribution`` is"
195195
" an abstract object that represents the metadata for a Python package. You "
196196
"can get the ``Distribution`` instance::"
197197
msgstr ""
198198

199-
#: ../../library/importlib.metadata.rst:202
199+
#: ../../library/importlib.metadata.rst:205
200200
msgid ""
201201
"Thus, an alternative way to get the version number is through the "
202202
"``Distribution`` instance::"
203203
msgstr ""
204204

205-
#: ../../library/importlib.metadata.rst:208
205+
#: ../../library/importlib.metadata.rst:211
206206
msgid ""
207207
"There are all kinds of additional metadata available on the ``Distribution``"
208208
" instance::"
209209
msgstr ""
210210

211-
#: ../../library/importlib.metadata.rst:216
211+
#: ../../library/importlib.metadata.rst:219
212212
msgid ""
213213
"The full set of available metadata is not described here. See :pep:`566` "
214214
"for additional details."
215215
msgstr ""
216216

217-
#: ../../library/importlib.metadata.rst:221
217+
#: ../../library/importlib.metadata.rst:224
218218
msgid "Extending the search algorithm"
219219
msgstr ""
220220

221-
#: ../../library/importlib.metadata.rst:223
221+
#: ../../library/importlib.metadata.rst:226
222222
msgid ""
223223
"Because package metadata is not available through :data:`sys.path` searches,"
224224
" or package loaders directly, the metadata for a package is found through "
@@ -227,14 +227,14 @@ msgid ""
227227
"path finders <meta path finder>` on :data:`sys.meta_path`."
228228
msgstr ""
229229

230-
#: ../../library/importlib.metadata.rst:229
230+
#: ../../library/importlib.metadata.rst:232
231231
msgid ""
232232
"The default ``PathFinder`` for Python includes a hook that calls into "
233233
"``importlib.metadata.MetadataPathFinder`` for finding distributions loaded "
234234
"from typical file-system-based paths."
235235
msgstr ""
236236

237-
#: ../../library/importlib.metadata.rst:233
237+
#: ../../library/importlib.metadata.rst:236
238238
msgid ""
239239
"The abstract class :py:class:`importlib.abc.MetaPathFinder` defines the "
240240
"interface expected of finders by Python's import system. "
@@ -244,14 +244,14 @@ msgid ""
244244
"base class, which defines this abstract method::"
245245
msgstr ""
246246

247-
#: ../../library/importlib.metadata.rst:247
247+
#: ../../library/importlib.metadata.rst:250
248248
msgid ""
249249
"The ``DistributionFinder.Context`` object provides ``.path`` and ``.name`` "
250250
"properties indicating the path to search and name to match and may supply "
251251
"other relevant context."
252252
msgstr ""
253253

254-
#: ../../library/importlib.metadata.rst:251
254+
#: ../../library/importlib.metadata.rst:254
255255
msgid ""
256256
"What this means in practice is that to support finding distribution package "
257257
"metadata in locations other than the file system, subclass ``Distribution`` "
@@ -260,11 +260,11 @@ msgid ""
260260
"method."
261261
msgstr ""
262262

263-
#: ../../library/importlib.metadata.rst:264
263+
#: ../../library/importlib.metadata.rst:267
264264
msgid "Footnotes"
265265
msgstr "备注"
266266

267-
#: ../../library/importlib.metadata.rst:265
267+
#: ../../library/importlib.metadata.rst:268
268268
msgid ""
269269
"Technically, the returned distribution metadata object is an "
270270
":class:`email.message.EmailMessage` instance, but this is an implementation "

0 commit comments

Comments
 (0)