8000 sync with cpython e0d951d6 · python/python-docs-zh-tw@2620c59 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2620c59

Browse files
sync with cpython e0d951d6
1 parent 358dd08 commit 2620c59

File tree

2 files changed

+21
-17
lines changed

2 files changed

+21
-17
lines changed

reference/expressions.po

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-06-08 00:17+0000\n"
10+
"POT-Creation-Date: 2023-07-03 07:57+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:17+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -313,8 +313,8 @@ msgstr ""
313313

314314
#: ../../reference/expressions.rst:307
315315
msgid ""
316-
"A dictionary display is a possibly empty series of key/datum pairs enclosed "
317-
"in curly braces:"
316+
"A dictionary display is a possibly empty series of dict items (key/value "
317+
"pairs) enclosed in curly braces:"
318318
msgstr ""
319319

320320
#: ../../reference/expressions.rst:316
@@ -323,20 +323,20 @@ msgstr ""
323323

324324
#: ../../reference/expressions.rst:318
325325
msgid ""
326-
"If a comma-separated sequence of key/datum pairs is given, they are "
327-
"evaluated from left to right to define the entries of the dictionary: each "
328-
"key object is used as a key into the dictionary to store the corresponding "
329-
"datum. This means that you can specify the same key multiple times in the "
330-
"key/datum list, and the final dictionary's value for that key will be the "
331-
"last one given."
326+
"If a comma-separated sequence of dict items is given, they are evaluated "
327+
"from left to right to define the entries of the dictionary: each key object "
328+
"is used as a key into the dictionary to store the corresponding value. This "
329+
"means that you can specify the same key multiple times in the dict item "
330+
"list, and the final dictionary's value for that key will be the last one "
331+
"given."
332332
msgstr ""
333333

334334
#: ../../reference/expressions.rst:328
335335
msgid ""
336336
"A double asterisk ``**`` denotes :dfn:`dictionary unpacking`. Its operand "
337337
"must be a :term:`mapping`. Each mapping item is added to the new "
338-
"dictionary. Later values replace values already set by earlier key/datum "
339-
"pairs and earlier dictionary unpackings."
338+
"dictionary. Later values replace values already set by earlier dict items "
339+
"and earlier dictionary unpackings."
340340
msgstr ""
341341

342342
#: ../../reference/expressions.rst:333
@@ -356,7 +356,7 @@ msgid ""
356356
"Restrictions on the types of the key values are listed earlier in section :"
357357
"ref:`types`. (To summarize, the key type should be :term:`hashable`, which "
358358
"excludes all mutable objects.) Clashes between duplicate keys are not "
359-
"detected; the last datum (textually rightmost in the display) stored for a "
359+
"detected; the last value (textually rightmost in the display) stored for a "
360360
"given key value prevails."
361361
msgstr ""
362362

@@ -2420,11 +2420,12 @@ msgid "key"
24202420
msgstr "key(鍵)"
24212421

24222422
#: ../../reference/expressions.rst:298
2423-
msgid "datum"
2424-
msgstr "datum(資料元)"
2423+
msgid "value"
2424+
msgstr ""
24252425

24262426
#: ../../reference/expressions.rst:298
2427-
msgid "key/datum pair"
2427+
#, fuzzy
2428+
msgid "key/value pair"
24282429
msgstr "key/datum pair(鍵/資料元對)"
24292430

24302431
#: ../../reference/expressions.rst:298
@@ -2992,3 +2993,6 @@ msgstr "order(順序)"
29922993
#: ../../reference/expressions.rst:1901
29932994
msgid "precedence"
29942995
msgstr "precedence(優先順序)"
2996+
2997+
#~ msgid "datum"
2998+
#~ msgstr "datum(資料元)"

reference/simple_stmts.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-05-09 00:15+0000\n"
10+
"POT-Creation-Date: 2023-07-03 07:57+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:17+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -205,7 +205,7 @@ msgstr ""
205205
msgid ""
206206
"If the primary is a mapping object (such as a dictionary), the subscript "
207207
"must have a type compatible with the mapping's key type, and the mapping is "
208-
"then asked to create a key/datum pair which maps the subscript to the "
208+
"then asked to create a key/value pair which maps the subscript to the "
209209
"assigned object. This can either replace an existing key/value pair with "
210210
"the same key value, or insert a new key/value pair (if no key with the same "
211211
"value existed)."

0 commit comments

Comments
 (0)
0