Skip to content

feat: translate library/audit_events.po and library/debug.po #165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions library/audit_events.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,48 +8,56 @@ 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 <EMAIL@ADDRESS>\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 <[email protected]>\n"
"X-Generator: Poedit 3.0\n"

#: ../../library/audit_events.rst:6
msgid "Audit events table"
msgstr ""
msgstr "稽核事件表"

#: ../../library/audit_events.rst:8
msgid ""
"This table contains all events raised by :func:`sys.audit` or :c:func:"
"`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 ""
"This table is generated from the CPython documentation, and may not "
"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"
Expand Down
13 changes: 10 additions & 3 deletions library/debug.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,26 @@
# This file is distributed under the same license as the Python package.
#
# Translators:
# Liang-Bo Wang <[email protected]>, 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 <[email protected]>\n"
"PO-Revision-Date: 2021-12-08 00:47+0800\n"
"Last-Translator: Jordan Su <[email protected]>\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"
"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 ""
Expand All @@ -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) 提供執行時期行為的可見性,否則的話可能需要更侵入性的"
"除錯或修補。"