Skip to content

Commit b2ea3e2

Browse files
sync with cpython 2f25d855
1 parent b1e2866 commit b2ea3e2

File tree

10 files changed

+1887
-1783
lines changed

10 files changed

+1887
-1783
lines changed

c-api/buffer.po

Lines changed: 90 additions & 88 deletions
Large diffs are not rendered by default.

library/argparse.po

Lines changed: 373 additions & 365 deletions
Large diffs are not rendered by default.

library/asyncio-task.po

Lines changed: 251 additions & 195 deletions
Large diffs are not rendered by default.

library/cmdline.po

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
10+
"POT-Creation-Date: 2024-09-24 23:08+0000\n"
1111
"PO-Revision-Date: 2023-10-14 16:03+0800\n"
1212
"Last-Translator: Matt Wang <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -170,61 +170,66 @@ msgid ":ref:`sqlite3 <sqlite3-cli>`"
170170
msgstr ":ref:`sqlite3 <sqlite3-cli>`"
171171

172172
#: ../../library/cmdline.rst:43
173+
#, fuzzy
174+
msgid ":ref:`symtable <symtable-cli>`"
175+
msgstr ":ref:`trace <trace-cli>`"
176+
177+
#: ../../library/cmdline.rst:44
173178
msgid ":ref:`sysconfig <sysconfig-cli>`"
174179
msgstr ":ref:`sysconfig <sysconfig-cli>`"
175180

176-
#: ../../library/cmdline.rst:44
181+
#: ../../library/cmdline.rst:45
177182
msgid ":mod:`tabnanny`"
178183
msgstr ":mod:`tabnanny`"
179184

180-
#: ../../library/cmdline.rst:45
185+
#: ../../library/cmdline.rst:46
181186
msgid ":ref:`tarfile <tarfile-commandline>`"
182187
msgstr ":ref:`tarfile <tarfile-commandline>`"
183188

184-
#: ../../library/cmdline.rst:46
189+
#: ../../library/cmdline.rst:47
185190
msgid ":mod:`!this`"
186191
msgstr ":mod:`!this`"
187192

188-
#: ../../library/cmdline.rst:47
193+
#: ../../library/cmdline.rst:48
189194
msgid ":ref:`timeit <timeit-command-line-interface>`"
190195
msgstr ":ref:`timeit <timeit-command-line-interface>`"
191196

192-
#: ../../library/cmdline.rst:48
197+
#: ../../library/cmdline.rst:49
193198
msgid ":ref:`tokenize <tokenize-cli>`"
194199
msgstr ":ref:`tokenize <tokenize-cli>`"
195200

196-
#: ../../library/cmdline.rst:49
201+
#: ../../library/cmdline.rst:50
197202
msgid ":ref:`trace <trace-cli>`"
198203
msgstr ":ref:`trace <trace-cli>`"
199204

200-
#: ../../library/cmdline.rst:50
205+
#: ../../library/cmdline.rst:51
201206
msgid ":mod:`turtledemo`"
202207
msgstr ":mod:`turtledemo`"
203208

204-
#: ../../library/cmdline.rst:51
209+
#: ../../library/cmdline.rst:52
205210
msgid ":ref:`unittest <unittest-command-line-interface>`"
206211
msgstr ":ref:`unittest <unittest-command-line-interface>`"
207212

208-
#: ../../library/cmdline.rst:52
213+
#: ../../library/cmdline.rst:53
209214
msgid ":ref:`uuid <uuid-cli>`"
210215
msgstr ":ref:`uuid <uuid-cli>`"
211216

212-
#: ../../library/cmdline.rst:53
217+
#: ../../library/cmdline.rst:54
213218
msgid ":mod:`venv`"
214219
msgstr ":mod:`venv`"
215220

216-
#: ../../library/cmdline.rst:54
221+
#: ../../library/cmdline.rst:55
217222
msgid ":mod:`webbrowser`"
218223
msgstr ":mod:`webbrowser`"
219224

220-
#: ../../library/cmdline.rst:55
225+
#: ../../library/cmdline.rst:56
221226
msgid ":ref:`zipapp <zipapp-command-line-interface>`"
222227
msgstr ":ref:`zipapp <zipapp-command-line-interface>`"
223228

224-
#: ../../library/cmdline.rst:56
229+
#: ../../library/cmdline.rst:57
225230
msgid ":ref:`zipfile <zipfile-commandline>`"
226231
msgstr ":ref:`zipfile <zipfile-commandline>`"
227232

228-
#: ../../library/cmdline.rst:58
233+
#: ../../library/cmdline.rst:59
229234
msgid "See also the :ref:`Python command-line interface <using-on-general>`."
230235
msgstr "另請見 :ref:`Python 命令列介面 <using-on-general>`。"

library/contextvars.po

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.13\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
8+
"POT-Creation-Date: 2024-09-24 23:08+0000\n"
99
"PO-Revision-Date: 2018-07-15 18:56+0800\n"
1010
"Last-Translator: \n"
1111
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -329,7 +329,7 @@ msgid ""
329329
" # without passing it explicitly to this function.\n"
330330
"\n"
331331
" client_addr = client_addr_var.get()\n"
332-
" return f'Good bye, client @ {client_addr}\\n'.encode()\n"
332+
" return f'Good bye, client @ {client_addr}\\r\\n'.encode()\n"
333333
"\n"
334334
"async def handle_request(reader, writer):\n"
335335
" addr = writer.transport.get_extra_info('socket').getpeername()\n"
@@ -343,9 +343,10 @@ msgid ""
343343
" print(line)\n"
344344
" if not line.strip():\n"
345345
" break\n"
346-
" writer.write(line)\n"
347346
"\n"
348-
" writer.write(render_goodbye())\n"
347+
" writer.write(b'HTTP/1.1 200 OK\\r\\n') # status line\n"
348+
" writer.write(b'\\r\\n') # headers\n"
349+
" writer.write(render_goodbye()) # body\n"
349350
" writer.close()\n"
350351
"\n"
351352
"async def main():\n"
@@ -357,6 +358,7 @@ msgid ""
357358
"\n"
358359
"asyncio.run(main())\n"
359360
"\n"
360-
"# To test it you can use telnet:\n"
361-
"# telnet 127.0.0.1 8081"
361+
"# To test it you can use telnet or curl:\n"
362+
"# telnet 127.0.0.1 8081\n"
363+
"# curl 127.0.0.1:8081"
362364
msgstr ""

library/logging.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
10+
"POT-Creation-Date: 2024-09-24 23:08+0000\n"
1111
"PO-Revision-Date: 2024-03-28 22:40+0800\n"
1212
"Last-Translator: RockLeon <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1634,11 +1634,11 @@ msgid ""
16341634
msgstr ""
16351635

16361636
#: ../../library/logging.rst:1101
1637-
msgid "Delegates to the underlying :attr:`!manager`` on *logger*."
1637+
msgid "Delegates to the underlying :attr:`!manager` on *logger*."
16381638
msgstr ""
16391639

16401640
#: ../../library/logging.rst:1105
1641-
msgid "Delegates to the underlying :meth:`!_log`` method on *logger*."
1641+
msgid "Delegates to the underlying :meth:`!_log` method on *logger*."
16421642
msgstr ""
16431643

16441644
#: ../../library/logging.rst:1107

library/secrets.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
10+
"POT-Creation-Date: 2024-09-24 23:08+0000\n"
1111
"PO-Revision-Date: 2022-11-30 13:42+0800\n"
1212
"Last-Translator: \n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -78,7 +78,8 @@ msgid "Return a random int in the range [0, *exclusive_upper_bound*)."
7878
msgstr "回傳一個 [0, *exclusive_upper_bound*) 範圍之內的隨機整數。"
7979

8080
#: ../../library/secrets.rst:55
81-
msgid "Return an int with *k* random bits."
81+
#, fuzzy
82+
msgid "Return a non-negative int with *k* random bits."
8283
msgstr "回傳一個具 *k* 個隨機位元的非負整數。"
8384

8485
#: ../../library/secrets.rst:59

library/tomllib.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
10+
"POT-Creation-Date: 2024-09-24 23:08+0000\n"
1111
"PO-Revision-Date: 2022-11-18 01:56+0800\n"
1212
"Last-Translator: Matt Wang <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -29,9 +29,9 @@ msgstr "**原始碼:**\\ :source:`Lib/tomllib`"
2929
#: ../../library/tomllib.rst:16
3030
#, fuzzy
3131
msgid ""
32-
"This module provides an interface for parsing TOML (Tom's Obvious Minimal "
33-
"Language, `https://toml.io <https://toml.io/en/>`_). This module does not "
34-
"support writing TOML."
32+
"This module provides an interface for parsing TOML 1.0.0 (Tom's Obvious "
33+
"Minimal Language, `https://toml.io <https://toml.io/en/>`_). This module "
34+
"does not support writing TOML."
3535
msgstr ""
3636
"此模組提供了剖析 TOML 1.0.0 (Tom's Obvious Minimal Language, `https://toml."
3737
"io <https://toml.io/en/>`_) 的一個介面,此模組並不支援寫入 TOML。"

0 commit comments

Comments
 (0)