Skip to content

Commit 45ba94c

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.11 (#394)
* sync with cpython c993ffa4 * sync with cpython 4a9dff0e * sync with cpython c485f0e3 * sync with cpython 91fb7c36 * sync with cpython 1b736838 * sync with cpython 01b21c32 * Update socket.po * Update bugs.po --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
1 parent 581e711 commit 45ba94c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+840
-782
lines changed

bugs.po

+32-24
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.11\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2022-08-04 00:16+0000\n"
16+
"POT-Creation-Date: 2023-02-07 00:17+0000\n"
1717
"PO-Revision-Date: 2022-08-31 12:34+0800\n"
1818
"Last-Translator: Steven Hsu <hsuhaochun@gmail.com>\n"
1919
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -65,6 +65,14 @@ msgstr ""
6565

6666
#: ../../bugs.rst:22
6767
msgid ""
68+
"You can also open a discussion item on our `Documentation Discourse forum "
69+
"<https://discuss.python.org/c/documentation/26>`_."
70+
msgstr ""
71+
"你也可以在我們的\\ `說明文件 Discourse 討論區 <https://discuss.python.org/c/documentation/26>`_\\ "
72+
"中新增一個討論事項。"
73+
74+
#: ../../bugs.rst:25
75+
msgid ""
6876
"If you're short on time, you can also email documentation bug reports to "
6977
"docs@python.org (behavioral bugs can be sent to python-list@python.org). "
7078
"'docs@' is a mailing list run by volunteers; your request will be noticed, "
@@ -74,58 +82,58 @@ msgstr ""
7482
"(程式碼執行的錯誤可以寄到 python-list@python.org)。「docs@」是一個由志工們"
7583
"所運行的郵寄清單;您的請求會被注意到,但可能需要一些時間才會被處理。"
7684

77-
#: ../../bugs.rst:30
85+
#: ../../bugs.rst:33
7886
msgid "`Documentation bugs`_"
7987
msgstr "`說明文件錯誤`_"
8088

81-
#: ../../bugs.rst:30
89+
#: ../../bugs.rst:33
8290
msgid ""
8391
"A list of documentation bugs that have been submitted to the Python issue "
8492
"tracker."
8593
msgstr "一系列已被提交至 Python 問題追蹤系統的有關說明文件的錯誤。"
8694

87-
#: ../../bugs.rst:33
95+
#: ../../bugs.rst:36
8896
msgid "`Issue Tracking <https://devguide.python.org/tracker/>`_"
8997
msgstr "`問題追蹤系統 <https://devguide.python.org/tracker/>`_"
9098

91-
#: ../../bugs.rst:33
99+
#: ../../bugs.rst:36
92100
msgid ""
93101
"Overview of the process involved in reporting an improvement on the tracker."
94102
msgstr "在追蹤系統上回報改進建議的過程簡介。"
95103

96-
#: ../../bugs.rst:36
104+
#: ../../bugs.rst:39
97105
msgid ""
98106
"`Helping with Documentation <https://devguide.python.org/docquality/#helping-"
99107
"with-documentation>`_"
100108
msgstr ""
101109
"`貢獻說明文件 <https://devguide.python.org/docquality/#helping-with-"
102110
"documentation>`_"
103111

104-
#: ../../bugs.rst:36
112+
#: ../../bugs.rst:39
105113
msgid ""
106114
"Comprehensive guide for individuals that are interested in contributing to "
107115
"Python documentation."
108116
msgstr "給有意成為 Python 說明文件貢獻者的綜合指南。"
109117

110-
#: ../../bugs.rst:38
118+
#: ../../bugs.rst:41
111119
msgid ""
112120
"`Documentation Translations <https://devguide.python.org/documenting/"
113121
"#translating>`_"
114122
msgstr "`說明文件翻譯 <https://devguide.python.org/documenting/#translating>`_"
115123

116-
#: ../../bugs.rst:39
124+
#: ../../bugs.rst:42
117125
msgid ""
118126
"A list of GitHub pages for documentation translation and their primary "
119127
"contacts."
120128
msgstr ""
121129
"一份 GitHub 網頁的清單,裡面有各個說明文件翻譯團隊的連結,以及他們的主要聯絡"
122130
"人。"
123131

124-
#: ../../bugs.rst:45
132+
#: ../../bugs.rst:48
125133
msgid "Using the Python issue tracker"
126134
msgstr "使用 Python 問題追蹤系統"
127135

128-
#: ../../bugs.rst:47
136+
#: ../../bugs.rst:50
129137
msgid ""
130138
"Issue reports for Python itself should be submitted via the GitHub issues "
131139
"tracker (https://github.com/python/cpython/issues). The GitHub issues "
@@ -136,7 +144,7 @@ msgstr ""
136144
"python/cpython/issues) 提交。這個 GitHub 問題追蹤系統提供了一個網頁表單,可以"
137145
"輸入並提交相關資訊給開發者。"
138146

139-
#: ../../bugs.rst:52
147+
#: ../../bugs.rst:55
140148
msgid ""
141149
"The first step in filing a report is to determine whether the problem has "
142150
"already been reported. The advantage in doing so, aside from saving the "
@@ -151,7 +159,7 @@ msgstr ""
151159
"本中修正了這個問題,也有可能需要更詳細的資訊(在這種情況下,如果可以,非常歡"
152160
"迎您提供資訊!)。要確認是否重複回報,請使用頁面頂端的搜尋框來搜尋追蹤系統。"
153161

154-
#: ../../bugs.rst:59
162+
#: ../../bugs.rst:62
155163
msgid ""
156164
"If the problem you're reporting is not already in the list, log in to "
157165
"GitHub. If you don't already have a GitHub account, create a new account "
@@ -161,26 +169,26 @@ msgstr ""
161169
"如果您想回報的問題還沒有在問題列表出現過,請登入 GitHub。如果您還沒有 GitHub "
162170
"帳戶,請點選「Sign up」連結來建立一個新的帳戶。您無法以匿名方式提交錯誤報告。"
163171

164-
#: ../../bugs.rst:64
172+
#: ../../bugs.rst:67
165173
msgid ""
166174
"Being now logged in, you can submit an issue. Click on the \"New issue\" "
167175
"button in the top bar to report a new issue."
168176
msgstr ""
169177
"如果已經登入,那您就可以提交問題了。請點選列表頂端區域的「New issue」按鈕,來"
170178
"回報一個新的問題。"
171179

172-
#: ../../bugs.rst:67
180+
#: ../../bugs.rst:70
173181
msgid "The submission form has two fields, \"Title\" and \"Comment\"."
174182
msgstr "提交的表單中有兩個欄位,「Title」及「Comment」。"
175183

176-
#: ../../bugs.rst:69
184+
#: ../../bugs.rst:72
177185
msgid ""
178186
"For the \"Title\" field, enter a *very* short description of the problem; "
179187
"less than ten words is good."
180188
msgstr ""
181189
"在「Title」欄位,輸入對該問題\\ *非常*\\ 簡短的描述;最好少於十個單字。"
182190

183-
#: ../../bugs.rst:72
191+
#: ../../bugs.rst:75
184192
msgid ""
185193
"In the \"Comment\" field, describe the problem in detail, including what you "
186194
"expected to happen and what did happen. Be sure to include whether any "
@@ -191,7 +199,7 @@ msgstr ""
191199
"確定說明中包含了涉及到的任何擴充模組,以及您當時所使用的硬體和軟體平台(視情"
192200
"況而定,可以附上版本資訊)。"
193201

194-
#: ../../bugs.rst:77
202+
#: ../../bugs.rst:80
195203
msgid ""
196204
"Each issue report will be reviewed by a developer who will determine what "
197205
"needs to be done to correct the problem. You will receive an update each "
@@ -200,42 +208,42 @@ msgstr ""
200208
"每一份問題報告都會被一位開發人員查核,並由他決定要做出什麼變更來修正這個問"
201209
"題。每當該問題有修正動作時,您會收到更新回報。"
202210

203-
#: ../../bugs.rst:86
211+
#: ../../bugs.rst:89
204212
msgid ""
205213
"`How to Report Bugs Effectively <https://www.chiark.greenend.org.uk/"
206214
"~sgtatham/bugs.html>`_"
207215
msgstr ""
208216
"`如何有效地回報錯誤 <https://www.chiark.greenend.org.uk/~sgtatham/bugs."
209217
"html>`_"
210218

211-
#: ../../bugs.rst:85
219+
#: ../../bugs.rst:88
212220
msgid ""
213221
"Article which goes into some detail about how to create a useful bug report. "
214222
"This describes what kind of information is useful and why it is useful."
215223
msgstr ""
216224
"這篇文章詳細說明如何建立一份有用的錯誤報告。它描述了什麼樣的資訊是有用的,以"
217225
"及這些資訊為什麼有用。"
218226

219-
#: ../../bugs.rst:89
227+
#: ../../bugs.rst:92
220228
msgid ""
221229
"`Bug Writing Guidelines <https://bugzilla.mozilla.org/page.cgi?id=bug-"
222230
"writing.html>`_"
223231
msgstr ""
224232
"`錯誤撰寫指南 <https://bugzilla.mozilla.org/page.cgi?id=bug-writing.html>`_"
225233

226-
#: ../../bugs.rst:89
234+
#: ../../bugs.rst:92
227235
msgid ""
228236
"Information about writing a good bug report. Some of this is specific to "
229237
"the Mozilla project, but describes general good practices."
230238
msgstr ""
231239
"撰寫一份優良錯誤報告的相關資訊。部分的文章內容是針對 Mozilla 專案,但它也描述"
232240
"了通用的好習慣。"
233241

234-
#: ../../bugs.rst:95
242+
#: ../../bugs.rst:98
235243
msgid "Getting started contributing to Python yourself"
236244
msgstr "開始讓自己貢獻 Python"
237245

238-
#: ../../bugs.rst:97
246+
#: ../../bugs.rst:100
239247
msgid ""
240248
"Beyond just reporting bugs that you find, you are also welcome to submit "
241249
"patches to fix them. You can find more information on how to get started "

c-api/exceptions.po

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.11\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
11+
"POT-Creation-Date: 2023-02-13 00:17+0000\n"
1212
"PO-Revision-Date: 2018-05-23 14:05+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -235,7 +235,7 @@ msgstr ""
235235

236236
#: ../../c-api/exceptions.rst:200 ../../c-api/exceptions.rst:208
237237
#: ../../c-api/exceptions.rst:217 ../../c-api/exceptions.rst:225
238-
#: ../../c-api/exceptions.rst:234 ../../c-api/exceptions.rst:243
238+
#: ../../c-api/exceptions.rst:233 ../../c-api/exceptions.rst:243
239239
msgid ":ref:`Availability <availability>`: Windows."
240240
msgstr ":ref:`適用 <availability>`:Windows。"
241241

@@ -763,8 +763,8 @@ msgstr ""
763763

764764
#: ../../c-api/exceptions.rst:735
765765
msgid ""
766-
"Get the *start* attribute of the given exception object and place it into *"
767-
"\\*start*. *start* must not be ``NULL``. Return ``0`` on success, ``-1`` "
766+
"Get the *start* attribute of the given exception object and place it into "
767+
"*\\*start*. *start* must not be ``NULL``. Return ``0`` on success, ``-1`` "
768768
"on failure."
769769
msgstr ""
770770

@@ -776,8 +776,8 @@ msgstr ""
776776

777777
#: ../../c-api/exceptions.rst:750
778778
msgid ""
779-
"Get the *end* attribute of the given exception object and place it into *"
780-
"\\*end*. *end* must not be ``NULL``. Return ``0`` on success, ``-1`` on "
779+
"Get the *end* attribute of the given exception object and place it into "
780+
"*\\*end*. *end* must not be ``NULL``. Return ``0`` on success, ``-1`` on "
781781
"failure."
782782
msgstr ""
783783

includes/wasm-notavail.po

+2-2
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: 2022-10-15 20:43+0000\n"
10+
"POT-Creation-Date: 2023-02-13 00:17+0000\n"
1111
"PO-Revision-Date: 2022-10-16 07:40+0800\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -17,7 +17,7 @@ msgstr ""
1717
"Content-Transfer-Encoding: 8bit\n"
1818
"X-Generator: Poedit 3.1.1\n"
1919

20-
#: ../../includes/wasm-notavail.rst:-1
20+
#: ../../includes/wasm-notavail.rst:3
2121
msgid ":ref:`Availability <availability>`: not Emscripten, not WASI."
2222
msgstr ""
2323

library/_thread.po

+3-3
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: 2022-10-15 20:43+0000\n"
10+
"POT-Creation-Date: 2023-02-13 00:17+0000\n"
1111
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
1212
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -140,7 +140,7 @@ msgid ""
140140
"after which the value may be recycled by the OS)."
141141
msgstr ""
142142

143-
#: ../../library/_thread.rst:122
143+
#: ../../library/_thread.rst:121
144144
msgid ""
145145
":ref:`Availability <availability>`: Windows, FreeBSD, Linux, macOS, OpenBSD, "
146146
"NetBSD, AIX."
@@ -165,7 +165,7 @@ msgid ""
165165
"information)."
166166
msgstr ""
167167

168-
#: ../../library/_thread.rst:-1
168+
#: ../../library/_thread.rst:143
169169
msgid ":ref:`Availability <availability>`: Windows, pthreads."
170170
msgstr ":ref:`適用 <availability>`:Windows, pthreads。"
171171

library/asynchat.po

+2-2
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: 2022-10-15 20:43+0000\n"
10+
"POT-Creation-Date: 2023-02-13 00:17+0000\n"
1111
"PO-Revision-Date: 2022-10-16 04:51+0800\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -56,7 +56,7 @@ msgid ""
5656
"connection requests."
5757
msgstr ""
5858

59-
#: ../../includes/wasm-notavail.rst:-1
59+
#: ../../includes/wasm-notavail.rst:3
6060
msgid ":ref:`Availability <availability>`: not Emscripten, not WASI."
6161
msgstr ""
6262

library/asyncio-eventloop.po

+4-4
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-01-11 00:15+0000\n"
10+
"POT-Creation-Date: 2023-02-13 00:17+0000\n"
1111
"PO-Revision-Date: 2022-02-20 12:36+0800\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -849,8 +849,8 @@ msgid ""
849849
"information about arguments to this method."
850850
msgstr ""
851851

852-
#: ../../library/asyncio-eventloop.rst:630
853-
#: ../../library/asyncio-eventloop.rst:770
852+
#: ../../library/asyncio-eventloop.rst:629
853+
#: ../../library/asyncio-eventloop.rst:769
854854
#: ../../library/asyncio-eventloop.rst:1195
855855
msgid ":ref:`Availability <availability>`: Unix."
856856
msgstr ":ref:`適用 <availability>`:Unix。"
@@ -2022,7 +2022,7 @@ msgstr ":ref:`適用 <availability>`:Unix、Windows。"
20222022
msgid "An event loop for Windows that uses \"I/O Completion Ports\" (IOCP)."
20232023
msgstr ""
20242024

2025-
#: ../../library/asyncio-eventloop.rst:1676
2025+
#: ../../library/asyncio-eventloop.rst:1675
20262026
msgid ":ref:`Availability <availability>`: Windows."
20272027
msgstr ":ref:`適用 <availability>`:Windows。"
20282028

library/asyncio-stream.po

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.11\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2023-02-04 00:16+0000\n"
11+
"POT-Creation-Date: 2023-02-13 00:17+0000\n"
1212
"PO-Revision-Date: 2022-10-31 16:28+0800\n"
1313
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -169,6 +169,10 @@ msgstr "與 :func:`open_connection` 相似,但是是操作 Unix sockets。"
169169
msgid "See also the documentation of :meth:`loop.create_unix_connection`."
170170
msgstr "另請參閱 :meth:`loop.create_unix_connection` 文件。"
171171

172+
#: ../../library/asyncio-stream.rst:151 ../../library/asyncio-stream.rst:181
173+
msgid ":ref:`Availability <availability>`: Unix."
174+
msgstr ":ref:`適用 <availability>`:Unix。"
175+
172176
#: ../../library/asyncio-stream.rst:153
173177
msgid ""
174178
"Added the *ssl_handshake_timeout* parameter. The *path* parameter can now be "
@@ -189,10 +193,6 @@ msgstr "與 :func:`start_server` 相似,但會是操作 Unix sockets。"
189193
msgid "See also the documentation of :meth:`loop.create_unix_server`."
190194
msgstr "另請參閱 :meth:`loop.create_unix_server` 文件。"
191195

192-
#: ../../library/asyncio-stream.rst:182
193-
msgid ":ref:`Availability <availability>`: Unix."
194-
msgstr ":ref:`適用 <availability>`:Unix。"
195-
196196
#: ../../library/asyncio-stream.rst:183
197197
msgid ""
198198
"Added the *ssl_handshake_timeout* and *start_serving* parameters. The *path* "
@@ -440,8 +440,8 @@ msgid ""
440440
"is closed, ensuring that all data has been flushed before e.g. exiting the "
441441
"program."
442442
msgstr ""
443-
"應當在 :meth:`close` 之後才被呼叫,這會持續等待直到底層的連線被關閉,"
444-
"以確保在這之前(例如在程式退出前)所有資料都已經被清空"
443+
"應當在 :meth:`close` 之後才被呼叫,這會持續等待直到底層的連線被關閉,以確保在"
444+
"這之前(例如在程式退出前)所有資料都已經被清空"
445445

446446
#: ../../library/asyncio-stream.rst:375
447447
msgid "Examples"

library/asyncio-task.po

+2-2
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: 2022-11-26 00:17+0000\n"
10+
"POT-Creation-Date: 2023-02-09 00:17+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:39+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1078,7 +1078,7 @@ msgstr ""
10781078
#: ../../library/asyncio-task.rst:1099
10791079
msgid ""
10801080
"The *file* argument is an I/O stream to which the output is written; by "
1081-
"default output is written to :data:`sys.stderr`."
1081+
"default output is written to :data:`sys.stdout`."
10821082
msgstr ""
10831083

10841084
#: ../../library/asyncio-task.rst:1104

0 commit comments

Comments
 (0)