From 577c6febd9bfb72ebba705fd0893385b1fb0a625 Mon Sep 17 00:00:00 2001 From: jordanSu Date: Wed, 8 Dec 2021 01:05:21 +0800 Subject: [PATCH] feat: translate library/audit_events.po and library/debug.po --- library/audit_events.po | 18 +++++++++++++----- library/debug.po | 13 ++++++++++--- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/library/audit_events.po b/library/audit_events.po index 5055ca7c12..202e21569a 100644 --- a/library/audit_events.po +++ b/library/audit_events.po @@ -8,18 +8,19 @@ msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-09-13 00:11+0000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"PO-Revision-Date: 2021-12-06 21:50+0800\n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" "Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Last-Translator: Jordan Su \n" +"X-Generator: Poedit 3.0\n" #: ../../library/audit_events.rst:6 msgid "Audit events table" -msgstr "" +msgstr "稽核事件表" #: ../../library/audit_events.rst:8 msgid "" @@ -27,12 +28,17 @@ msgid "" "`PySys_Audit` calls throughout the CPython runtime and the standard " "library. These calls were added in 3.8.0 or later (see :pep:`578`)." msgstr "" +"這張表包含了所有在 CPython 運行環境 (runtime) 與標準函式庫對於 :func:`sys." +"audit` 或 :c:func:`PySys_Audit` 的呼叫所觸發的事件。這些呼叫是在 3.8.0 或更新" +"的版本中被新增(請見 :pep:`578`\\ )。" #: ../../library/audit_events.rst:12 msgid "" "See :func:`sys.addaudithook` and :c:func:`PySys_AddAuditHook` for " "information on handling these events." msgstr "" +"請參考 :func:`sys.addaudithook` 及 :c:func:`PySys_AddAuditHook` 來了解如何處" +"理這些事件。" #: ../../library/audit_events.rst:17 msgid "" @@ -40,16 +46,18 @@ msgid "" "represent events raised by other implementations. See your runtime specific " "documentation for actual events raised." msgstr "" +"這張表是從 CPython 文件產生的,可能不包含其它實作所觸發的事件。請參考你的運行" +"環境 (runtime) 特定文件來了解實際會觸發的事件。" #: ../../library/audit_events.rst:23 msgid "" "The following events are raised internally and do not correspond to any " "public API of CPython:" -msgstr "" +msgstr "下列事件是內部觸發的,與任何 CPython 的公開 API 並無關係:" #: ../../library/audit_events.rst:27 msgid "Audit event" -msgstr "" +msgstr "稽核事件" #: ../../library/audit_events.rst:27 msgid "Arguments" diff --git a/library/debug.po b/library/debug.po index 4c57126cf1..5efc7af354 100644 --- a/library/debug.po +++ b/library/debug.po @@ -3,13 +3,14 @@ # This file is distributed under the same license as the Python package. # # Translators: +# Liang-Bo Wang , 2015 msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-06-20 18:08+0800\n" -"PO-Revision-Date: 2015-12-09 17:51+0000\n" -"Last-Translator: Liang-Bo Wang \n" +"PO-Revision-Date: 2021-12-08 00:47+0800\n" +"Last-Translator: Jordan Su \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" "Language: zh_TW\n" @@ -17,10 +18,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 3.0\n" #: ../../library/debug.rst:3 msgid "Debugging and Profiling" -msgstr "" +msgstr "除錯與效能分析" #: ../../library/debug.rst:5 msgid "" @@ -31,3 +33,8 @@ msgid "" "provide visibility into runtime behaviors that would otherwise require " "intrusive debugging or patching." msgstr "" +"這些函式庫幫助你進行 Python 程式開發:除錯器允許你在程式碼中單步 (step) 執" +"行、分析堆疊框 (stack frames) 以及設置中斷點 (breakpoints) 等,效能分析工具執" +"行程式碼並提供關於執行時間的詳細分析,讓你找到程式中的瓶頸 (bottlenecks)。事" +"件稽核 (auditing events) 提供執行時期行為的可見性,否則的話可能需要更侵入性的" +"除錯或修補。"