Skip to content

Commit c75925b

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython 6d4d4ec5
1 parent a8ffd10 commit c75925b

File tree

6 files changed

+55
-49
lines changed

6 files changed

+55
-49
lines changed

library/hashlib.po

+3-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.7\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2021-09-29 00:11+0000\n"
10+
"POT-Creation-Date: 2021-10-12 19:07+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:03+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -584,9 +584,8 @@ msgstr ""
584584
msgid ""
585585
"Keyed hashing can be used for authentication as a faster and simpler "
586586
"replacement for `Hash-based message authentication code <https://en."
587-
"wikipedia.org/wiki/Hash-based_message_authentication_code>`_ (HMAC). BLAKE2 "
588-
"can be securely used in prefix-MAC mode thanks to the indifferentiability "
589-
"property inherited from BLAKE."
587+
"wikipedia.org/wiki/HMAC>`_ (HMAC). BLAKE2 can be securely used in prefix-MAC "
588+
"mode thanks to the indifferentiability property inherited from BLAKE."
590589
msgstr ""
591590

592591
#: ../../library/hashlib.rst:503

library/html.entities.po

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.7\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
10+
"POT-Creation-Date: 2021-10-12 19:07+0000\n"
1111
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
1212
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -61,5 +61,7 @@ msgid "Footnotes"
6161
msgstr "註解"
6262

6363
#: ../../library/html.entities.rst:47
64-
msgid "See https://www.w3.org/TR/html5/syntax.html#named-character-references"
64+
msgid ""
65+
"See https://html.spec.whatwg.org/multipage/syntax.html#named-character-"
66+
"references"
6567
msgstr ""

library/http.cookiejar.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.7\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-06-20 18:08+0800\n"
10+
"POT-Creation-Date: 2021-10-12 19:07+0000\n"
1111
"PO-Revision-Date: 2016-11-19 00:31+0000\n"
1212
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -165,7 +165,7 @@ msgid ""
165165
msgstr ""
166166

167167
#: ../../library/http.cookiejar.rst:129
168-
msgid "https://curl.haxx.se/rfc/cookie_spec.html"
168+
msgid "https://curl.se/rfc/cookie_spec.html"
169169
msgstr ""
170170

171171
#: ../../library/http.cookiejar.rst:126

library/ipaddress.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.7\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2021-09-29 00:11+0000\n"
10+
"POT-Creation-Date: 2021-10-12 19:07+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:04+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -674,7 +674,7 @@ msgstr ""
674674
#: ../../library/ipaddress.rst:683
675675
msgid ""
676676
"Note that currently expanded netmasks are not supported. That means ``2001:"
677-
"db00::0/24`` is a valid argument while ``2001:db00::0/ffff:ff00::`` not."
677+
"db00::0/24`` is a valid argument while ``2001:db00::0/ffff:ff00::`` is not."
678678
msgstr ""
679679

680680
#: ../../library/ipaddress.rst:687

library/json.po

+12-12
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2021-09-13 00:11+0000\n"
11+
"POT-Creation-Date: 2021-10-12 19:07+0000\n"
1212
"PO-Revision-Date: 2018-05-23 16:04+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -29,12 +29,12 @@ msgstr ""
2929

3030
#: ../../library/json.rst:14
3131
msgid ""
32-
"`JSON (JavaScript Object Notation) <http://json.org>`_, specified by :rfc:"
33-
"`7159` (which obsoletes :rfc:`4627`) and by `ECMA-404 <http://www.ecma-"
34-
"international.org/publications/standards/Ecma-404.htm>`_, is a lightweight "
35-
"data interchange format inspired by `JavaScript <https://en.wikipedia.org/"
36-
"wiki/JavaScript>`_ object literal syntax (although it is not a strict subset "
37-
"of JavaScript [#rfc-errata]_ )."
32+
"`JSON (JavaScript Object Notation) <https://json.org>`_, specified by :rfc:"
33+
"`7159` (which obsoletes :rfc:`4627`) and by `ECMA-404 <https://www.ecma-"
34+
"international.org/publications-and-standards/standards/ecma-404/>`_, is a "
35+
"lightweight data interchange format inspired by `JavaScript <https://en."
36+
"wikipedia.org/wiki/JavaScript>`_ object literal syntax (although it is not a "
37+
"strict subset of JavaScript [#rfc-errata]_ )."
3838
msgstr ""
3939

4040
#: ../../library/json.rst:21
@@ -582,11 +582,11 @@ msgstr ""
582582

583583
#: ../../library/json.rst:546
584584
msgid ""
585-
"The JSON format is specified by :rfc:`7159` and by `ECMA-404 <http://www."
586-
"ecma-international.org/publications/standards/Ecma-404.htm>`_. This section "
587-
"details this module's level of compliance with the RFC. For simplicity, :"
588-
"class:`JSONEncoder` and :class:`JSONDecoder` subclasses, and parameters "
589-
"other than those explicitly mentioned, are not considered."
585+
"The JSON format is specified by :rfc:`7159` and by `ECMA-404 <https://www."
586+
"ecma-international.org/publications-and-standards/standards/ecma-404/>`_. "
587+
"This section details this module's level of compliance with the RFC. For "
588+
"simplicity, :class:`JSONEncoder` and :class:`JSONDecoder` subclasses, and "
589+
"parameters other than those explicitly mentioned, are not considered."
590590
msgstr ""
591591

592592
#: ../../library/json.rst:552

library/xml.dom.minidom.po

+32-27
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.7\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2021-09-13 00:11+0000\n"
10+
"POT-Creation-Date: 2021-10-12 19:07+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:15+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -189,13 +189,18 @@ msgid ""
189189
"the user."
190190
msgstr ""
191191

192-
#: ../../library/xml.dom.minidom.rst:161
192+
#: ../../library/xml.dom.minidom.rst:159 ../../library/xml.dom.minidom.rst:180
193+
#: ../../library/xml.dom.minidom.rst:199
194+
msgid "The *standalone* parameter was added."
195+
msgstr ""
196+
197+
#: ../../library/xml.dom.minidom.rst:164
193198
msgid ""
194199
"Return a string or byte string containing the XML represented by the DOM "
195200
"node."
196201
msgstr ""
197202

198-
#: ../../library/xml.dom.minidom.rst:164
203+
#: ../../library/xml.dom.minidom.rst:167
199204
msgid ""
200205
"With an explicit *encoding* [1]_ argument, the result is a byte string in "
201206
"the specified encoding. With no *encoding* argument, the result is a Unicode "
@@ -204,63 +209,63 @@ msgid ""
204209
"incorrect, since UTF-8 is the default encoding of XML."
205210
msgstr ""
206211

207-
#: ../../library/xml.dom.minidom.rst:171 ../../library/xml.dom.minidom.rst:187
212+
#: ../../library/xml.dom.minidom.rst:174 ../../library/xml.dom.minidom.rst:193
208213
msgid "The *standalone* argument behaves exactly as in :meth:`writexml`."
209214
msgstr ""
210215

211-
#: ../../library/xml.dom.minidom.rst:173
216+
#: ../../library/xml.dom.minidom.rst:176
212217
msgid ""
213218
"The :meth:`toxml` method now preserves the attribute order specified by the "
214219
"user."
215220
msgstr ""
216221

217-
#: ../../library/xml.dom.minidom.rst:180
222+
#: ../../library/xml.dom.minidom.rst:186
218223
msgid ""
219224
"Return a pretty-printed version of the document. *indent* specifies the "
220225
"indentation string and defaults to a tabulator; *newl* specifies the string "
221226
"emitted at the end of each line and defaults to ``\\n``."
222227
msgstr ""
223228

224-
#: ../../library/xml.dom.minidom.rst:184
229+
#: ../../library/xml.dom.minidom.rst:190
225230
msgid ""
226231
"The *encoding* argument behaves like the corresponding argument of :meth:"
227232
"`toxml`."
228233
msgstr ""
229234

230-
#: ../../library/xml.dom.minidom.rst:189
235+
#: ../../library/xml.dom.minidom.rst:195
231236
msgid ""
232237
"The :meth:`toprettyxml` method now preserves the attribute order specified "
233238
"by the user."
234239
msgstr ""
235240

236-
#: ../../library/xml.dom.minidom.rst:197
241+
#: ../../library/xml.dom.minidom.rst:205
237242
msgid "DOM Example"
238243
msgstr ""
239244

240-
#: ../../library/xml.dom.minidom.rst:199
245+
#: ../../library/xml.dom.minidom.rst:207
241246
msgid ""
242247
"This example program is a fairly realistic example of a simple program. In "
243248
"this particular case, we do not take much advantage of the flexibility of "
244249
"the DOM."
245250
msgstr ""
246251

247-
#: ../../library/xml.dom.minidom.rst:208
252+
#: ../../library/xml.dom.minidom.rst:216
248253
msgid "minidom and the DOM standard"
249254
msgstr ""
250255

251-
#: ../../library/xml.dom.minidom.rst:210
256+
#: ../../library/xml.dom.minidom.rst:218
252257
msgid ""
253258
"The :mod:`xml.dom.minidom` module is essentially a DOM 1.0-compatible DOM "
254259
"with some DOM 2 features (primarily namespace features)."
255260
msgstr ""
256261

257-
#: ../../library/xml.dom.minidom.rst:213
262+
#: ../../library/xml.dom.minidom.rst:221
258263
msgid ""
259264
"Usage of the DOM interface in Python is straight-forward. The following "
260265
"mapping rules apply:"
261266
msgstr ""
262267

263-
#: ../../library/xml.dom.minidom.rst:216
268+
#: ../../library/xml.dom.minidom.rst:224
264269
msgid ""
265270
"Interfaces are accessed through instance objects. Applications should not "
266271
"instantiate the classes themselves; they should use the creator functions "
@@ -269,50 +274,50 @@ msgid ""
269274
"operations."
270275
msgstr ""
271276

272-
#: ../../library/xml.dom.minidom.rst:221
277+
#: ../../library/xml.dom.minidom.rst:229
273278
msgid ""
274279
"Operations are used as methods. Since the DOM uses only :keyword:`in` "
275280
"parameters, the arguments are passed in normal order (from left to right). "
276281
"There are no optional arguments. ``void`` operations return ``None``."
277282
msgstr ""
278283

279-
#: ../../library/xml.dom.minidom.rst:225
284+
#: ../../library/xml.dom.minidom.rst:233
280285
msgid ""
281286
"IDL attributes map to instance attributes. For compatibility with the OMG "
282287
"IDL language mapping for Python, an attribute ``foo`` can also be accessed "
283288
"through accessor methods :meth:`_get_foo` and :meth:`_set_foo`. "
284289
"``readonly`` attributes must not be changed; this is not enforced at runtime."
285290
msgstr ""
286291

287-
#: ../../library/xml.dom.minidom.rst:230
292+
#: ../../library/xml.dom.minidom.rst:238
288293
msgid ""
289294
"The types ``short int``, ``unsigned int``, ``unsigned long long``, and "
290295
"``boolean`` all map to Python integer objects."
291296
msgstr ""
292297

293-
#: ../../library/xml.dom.minidom.rst:233
298+
#: ../../library/xml.dom.minidom.rst:241
294299
msgid ""
295300
"The type ``DOMString`` maps to Python strings. :mod:`xml.dom.minidom` "
296301
"supports either bytes or strings, but will normally produce strings. Values "
297302
"of type ``DOMString`` may also be ``None`` where allowed to have the IDL "
298303
"``null`` value by the DOM specification from the W3C."
299304
msgstr ""
300305

301-
#: ../../library/xml.dom.minidom.rst:238
306+
#: ../../library/xml.dom.minidom.rst:246
302307
msgid ""
303308
"``const`` declarations map to variables in their respective scope (e.g. "
304309
"``xml.dom.minidom.Node.PROCESSING_INSTRUCTION_NODE``); they must not be "
305310
"changed."
306311
msgstr ""
307312

308-
#: ../../library/xml.dom.minidom.rst:241
313+
#: ../../library/xml.dom.minidom.rst:249
309314
msgid ""
310315
"``DOMException`` is currently not supported in :mod:`xml.dom.minidom`. "
311316
"Instead, :mod:`xml.dom.minidom` uses standard Python exceptions such as :exc:"
312317
"`TypeError` and :exc:`AttributeError`."
313318
msgstr ""
314319

315-
#: ../../library/xml.dom.minidom.rst:245
320+
#: ../../library/xml.dom.minidom.rst:253
316321
msgid ""
317322
":class:`NodeList` objects are implemented using Python's built-in list type. "
318323
"These objects provide the interface defined in the DOM specification, but "
@@ -321,30 +326,30 @@ msgid ""
321326
"recommendations."
322327
msgstr ""
323328

324-
#: ../../library/xml.dom.minidom.rst:251
329+
#: ../../library/xml.dom.minidom.rst:259
325330
msgid ""
326331
"The following interfaces have no implementation in :mod:`xml.dom.minidom`:"
327332
msgstr ""
328333

329-
#: ../../library/xml.dom.minidom.rst:253
334+
#: ../../library/xml.dom.minidom.rst:261
330335
msgid ":class:`DOMTimeStamp`"
331336
msgstr ""
332337

333-
#: ../../library/xml.dom.minidom.rst:255
338+
#: ../../library/xml.dom.minidom.rst:263
334339
msgid ":class:`EntityReference`"
335340
msgstr ""
336341

337-
#: ../../library/xml.dom.minidom.rst:257
342+
#: ../../library/xml.dom.minidom.rst:265
338343
msgid ""
339344
"Most of these reflect information in the XML document that is not of general "
340345
"utility to most DOM users."
341346
msgstr ""
342347

343-
#: ../../library/xml.dom.minidom.rst:261
348+
#: ../../library/xml.dom.minidom.rst:269
344349
msgid "Footnotes"
345350
msgstr "註解"
346351

347-
#: ../../library/xml.dom.minidom.rst:262
352+
#: ../../library/xml.dom.minidom.rst:270
348353
msgid ""
349354
"The encoding name included in the XML output should conform to the "
350355
"appropriate standards. For example, \"UTF-8\" is valid, but \"UTF8\" is not "

0 commit comments

Comments
 (0)