Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
sync with cpython 15857965
  • Loading branch information
github-actions[bot] authored May 9, 2022
commit 5a59876b4ff8131cd2bd1eacd2da4682f17f6f6f
29 changes: 19 additions & 10 deletions c-api/exceptions.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.10\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-04-03 00:14+0000\n"
"POT-Creation-Date: 2022-05-09 00:14+0000\n"
"PO-Revision-Date: 2018-05-23 14:05+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -912,9 +912,9 @@ msgstr ":exc:`BaseException`"

#: ../../c-api/exceptions.rst:892 ../../c-api/exceptions.rst:894
#: ../../c-api/exceptions.rst:896 ../../c-api/exceptions.rst:942
#: ../../c-api/exceptions.rst:954 ../../c-api/exceptions.rst:1070
msgid "\\(1)"
msgstr "\\(1)"
#: ../../c-api/exceptions.rst:954
msgid "[1]_"
msgstr ""

#: ../../c-api/exceptions.rst:894
msgid ":c:data:`PyExc_Exception`"
Expand Down Expand Up @@ -1204,10 +1204,6 @@ msgstr ":c:data:`PyExc_ReferenceError`"
msgid ":exc:`ReferenceError`"
msgstr ":exc:`ReferenceError`"

#: ../../c-api/exceptions.rst:964
msgid "\\(2)"
msgstr "\\(2)"

#: ../../c-api/exceptions.rst:966
msgid ":c:data:`PyExc_RuntimeError`"
msgstr ":c:data:`PyExc_RuntimeError`"
Expand Down Expand Up @@ -1382,8 +1378,8 @@ msgid ":c:data:`PyExc_WindowsError`"
msgstr ":c:data:`PyExc_WindowsError`"

#: ../../c-api/exceptions.rst:1029
msgid "\\(3)"
msgstr "\\(3)"
msgid "[2]_"
msgstr ""

#: ../../c-api/exceptions.rst:1032
msgid "These aliases used to be separate exception types."
Expand Down Expand Up @@ -1423,6 +1419,10 @@ msgstr ":c:data:`PyExc_Warning`"
msgid ":exc:`Warning`"
msgstr ":exc:`Warning`"

#: ../../c-api/exceptions.rst:1070
msgid "[3]_"
msgstr ""

#: ../../c-api/exceptions.rst:1072
msgid ":c:data:`PyExc_BytesWarning`"
msgstr ":c:data:`PyExc_BytesWarning`"
Expand Down Expand Up @@ -1510,3 +1510,12 @@ msgstr ":c:data:`PyExc_ResourceWarning`."
#: ../../c-api/exceptions.rst:1099
msgid "This is a base class for other standard warning categories."
msgstr ""

#~ msgid "\\(1)"
#~ msgstr "\\(1)"

#~ msgid "\\(2)"
#~ msgstr "\\(2)"

#~ msgid "\\(3)"
#~ msgstr "\\(3)"
38 changes: 19 additions & 19 deletions library/asyncio.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.10\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-16 19:33+0000\n"
"POT-Creation-Date: 2022-05-09 00:14+0000\n"
"PO-Revision-Date: 2021-11-23 12:40+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All @@ -20,15 +20,15 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.0\n"

#: ../../library/asyncio.rst:66
#: ../../library/asyncio.rst:65
msgid "High-level APIs"
msgstr "高階 API"

#: ../../library/asyncio.rst:77
#: ../../library/asyncio.rst:76
msgid "Low-level APIs"
msgstr "低階 API"

#: ../../library/asyncio.rst:87
#: ../../library/asyncio.rst:86
msgid "Guides and Tutorials"
msgstr "指南與教學"

Expand All @@ -40,15 +40,15 @@ msgstr ":mod:`asyncio` --- 非同步 I/O"
msgid "Hello World!"
msgstr "Hello World!"

#: ../../library/asyncio.rst:23
#: ../../library/asyncio.rst:22
msgid ""
"asyncio is a library to write **concurrent** code using the **async/await** "
"syntax."
msgstr ""
"asyncio 是讓使用者以 **async/await** 語法來編寫\\ *並行 (concurrent)* 程式碼"
"的函式庫 (library)。"

#: ../../library/asyncio.rst:26
#: ../../library/asyncio.rst:25
msgid ""
"asyncio is used as a foundation for multiple Python asynchronous frameworks "
"that provide high-performance network and web-servers, database connection "
Expand All @@ -57,48 +57,48 @@ msgstr ""
"asyncio 作為多個 Python 非同步框架的基礎,在高效能網路與網頁伺服器、資料庫連"
"線函式庫、分散式任務佇列等服務都可以看得到它。"

#: ../../library/asyncio.rst:30
#: ../../library/asyncio.rst:29
msgid ""
"asyncio is often a perfect fit for IO-bound and high-level **structured** "
"network code."
msgstr ""
"asyncio 往往是個建構 IO 密集型與高階層\\ **結構化**\\ 網路程式碼的完美選擇。"

#: ../../library/asyncio.rst:33
#: ../../library/asyncio.rst:32
msgid "asyncio provides a set of **high-level** APIs to:"
msgstr "asyncio 提供了一系列\\ **高階** API:"

#: ../../library/asyncio.rst:35
#: ../../library/asyncio.rst:34
msgid ""
":ref:`run Python coroutines <coroutine>` concurrently and have full control "
"over their execution;"
msgstr ""
"並行地\\ :ref:`運行 Python 協程 (coroutine) <coroutine>` 並擁有完整控制權;"

#: ../../library/asyncio.rst:38
#: ../../library/asyncio.rst:37
msgid "perform :ref:`network IO and IPC <asyncio-streams>`;"
msgstr "執行\\ :ref:`網路 IO 與 IPC <asyncio-streams>`;"

#: ../../library/asyncio.rst:40
#: ../../library/asyncio.rst:39
msgid "control :ref:`subprocesses <asyncio-subprocess>`;"
msgstr "控制\\ :ref:`子行程 (subprocess) <asyncio-subprocess>`;"

#: ../../library/asyncio.rst:42
#: ../../library/asyncio.rst:41
msgid "distribute tasks via :ref:`queues <asyncio-queues>`;"
msgstr "透過\\ :ref:`佇列 (queue) <asyncio-queues>` 分配任務;"

#: ../../library/asyncio.rst:44
#: ../../library/asyncio.rst:43
msgid ":ref:`synchronize <asyncio-sync>` concurrent code;"
msgstr ":ref:`同步 <asyncio-sync>`\\ 並行程式碼;"

#: ../../library/asyncio.rst:46
#: ../../library/asyncio.rst:45
msgid ""
"Additionally, there are **low-level** APIs for *library and framework "
"developers* to:"
msgstr ""
"此外,還有一些給\\ *函式庫與框架 (framework) 開發者*\\ 的\\ **低階** API:"

#: ../../library/asyncio.rst:49
#: ../../library/asyncio.rst:48
msgid ""
"create and manage :ref:`event loops <asyncio-event-loop>`, which provide "
"asynchronous APIs for :meth:`networking <loop.create_server>`, running :meth:"
Expand All @@ -110,26 +110,26 @@ msgstr ""
"subprocess_exec>`、處理\\ :meth:`作業系統訊號 <loop.add_signal_handler>`\\ 等"
"任務的非同步 API;"

#: ../../library/asyncio.rst:54
#: ../../library/asyncio.rst:53
msgid ""
"implement efficient protocols using :ref:`transports <asyncio-transports-"
"protocols>`;"
msgstr ""
"使用 :ref:`transports(asyncio 底層傳輸相關類別) <asyncio-transports-"
"protocols>`\\ 來實作高效能協定;"

#: ../../library/asyncio.rst:57
#: ../../library/asyncio.rst:56
msgid ""
":ref:`bridge <asyncio-futures>` callback-based libraries and code with async/"
"await syntax."
msgstr ""
"透過 async/await 語法來\\ :ref:`橋接 <asyncio-futures>`\\ 基於回呼 (callback-"
"based) 的函式庫與程式碼。"

#: ../../library/asyncio.rst:65
#: ../../library/asyncio.rst:64
msgid "Reference"
msgstr "參閱"

#: ../../library/asyncio.rst:96
#: ../../library/asyncio.rst:95
msgid "The source code for asyncio can be found in :source:`Lib/asyncio/`."
msgstr "asyncio 的原始碼可以在 :source:`Lib/asyncio/` 中找到。"
Loading