1
1
# Copyright (C) 2001-2024, Python Software Foundation
2
2
# This file is distributed under the same license as the Python package.
3
3
# Translators:
4
- # Matt Wang <mattwang44@gmail.com>, 2021
4
+ # Matt Wang <mattwang44@gmail.com>, 2024
5
5
msgid ""
6
6
msgstr ""
7
- "Project-Id-Version : Python 3.12 \n "
7
+ "Project-Id-Version : Python 3.13 \n "
8
8
"Report-Msgid-Bugs-To : \n "
9
9
"POT-Creation-Date : 2024-10-19 01:58+0800\n "
10
10
"PO-Revision-Date : 2024-10-21 17:51+0800\n "
@@ -81,7 +81,8 @@ msgid ""
81
81
"Before registering or activating events, a tool should choose an identifier. "
82
82
"Identifiers are integers in the range 0 to 5 inclusive."
83
83
msgstr ""
84
- "在註冊或啟動事件之前,工具應選擇一個識別器。識別器是 0 到 5 範圍內的整數。"
84
+ "在註冊或啟動事件之前,工具應選擇一個識別器。識別器是 0 到 5(含)範圍內的整"
85
+ "數。"
85
86
86
87
#: ../../library/sys.monitoring.rst:45
87
88
msgid "Registering and using tools"
@@ -92,7 +93,7 @@ msgid ""
92
93
"Must be called before *tool_id* can be used. *tool_id* must be in the range "
93
94
"0 to 5 inclusive. Raises a :exc:`ValueError` if *tool_id* is in use."
94
95
msgstr ""
95
- "必須在使用 *tool_id* 之前呼叫。*tool_id* 必須在 0 到 5 範圍內 (含)。如果 "
96
+ "必須在使用 *tool_id* 之前呼叫。*tool_id* 必須在 0 到 5(含)範圍內 。如果 "
96
97
"*tool_id* 正在使用,則引發 :exc:`ValueError`。"
97
98
98
99
#: ../../library/sys.monitoring.rst:55
@@ -107,23 +108,23 @@ msgid ""
107
108
"no longer in use."
108
109
msgstr ""
109
110
":func:`free_tool_id` 不會停用與 *tool_id* 相關的全域或區域事件,也不會取消註"
110
- "冊任何回呼函式。這個函式只是用來通知虛擬機器不再使用特定的 *tool_id*。"
111
+ "冊任何回呼函式。這個函式只是用來通知虛擬機器 (VM) 不再使用特定的 *tool_id*。"
111
112
112
113
#: ../../library/sys.monitoring.rst:66
113
114
msgid ""
114
115
"Returns the name of the tool if *tool_id* is in use, otherwise it returns "
115
116
"``None``. *tool_id* must be in the range 0 to 5 inclusive."
116
117
msgstr ""
117
118
"如果 *tool_id* 正在使用,則回傳該工具的名稱,否則回傳 ``None``。*tool_id* 必"
118
- "須在 0 到 5 範圍內 (含)。"
119
+ "須在 0 到 5(含)範圍內 。"
119
120
120
121
#: ../../library/sys.monitoring.rst:70
121
122
msgid ""
122
123
"All IDs are treated the same by the VM with regard to events, but the "
123
124
"following IDs are pre-defined to make co-operation of tools easier::"
124
125
msgstr ""
125
- "對於事件,VM 對所有 ID 的處理都是相同的,但預先定義了以下 ID,以使工具間的協 "
126
- "作更容易: "
126
+ "對於事件,虛擬機器對所有 ID 的處理都是相同的,但預先定義了以下 ID,以使工具間 "
127
+ "的協作更容易: :: "
127
128
128
129
#: ../../library/sys.monitoring.rst:73
129
130
msgid ""
@@ -157,21 +158,21 @@ msgstr "Python 程式碼中的呼叫(事件發生在呼叫之前)。"
157
158
msgid ""
158
159
"An exception raised from any callable, except for Python functions (event "
159
160
"occurs after the exit)."
160
- msgstr "從任何可呼叫物件引發的例外,除 Python 函式外(在退出後發生的事件 )。"
161
+ msgstr "從任何可呼叫物件引發的例外,除 Python 函式外(事件發生在退出之後 )。"
161
162
162
163
#: ../../library/sys.monitoring.rst:98
163
164
msgid ""
164
165
"Return from any callable, except for Python functions (event occurs after "
165
166
"the return)."
166
- msgstr "從任何可呼叫函式回傳,除 Python 函式外(在回傳後發生的事件 )。"
167
+ msgstr "從任何可呼叫函式回傳,除 Python 函式外(事件發生在回傳之後 )。"
167
168
168
169
#: ../../library/sys.monitoring.rst:102
169
170
msgid "An exception is handled."
170
171
msgstr "一個例外被處理。"
171
172
172
173
#: ../../library/sys.monitoring.rst:106
173
174
msgid "A VM instruction is about to be executed."
174
- msgstr "即將被執行的 VM 指令 。"
175
+ msgstr "虛擬機器指令即將被執行 。"
175
176
176
177
#: ../../library/sys.monitoring.rst:110
177
178
msgid "An unconditional jump in the control flow graph is made."
@@ -223,13 +224,13 @@ msgid ""
223
224
"An exception is raised, except those that cause a :monitoring-event:"
224
225
"`STOP_ITERATION` event."
225
226
msgstr ""
226
- "例外會被引發 ,除了那些會導致 :monitoring-event:`STOP_ITERATION` 的事件外。"
227
+ "例外被引發 ,除了那些會導致 :monitoring-event:`STOP_ITERATION` 的事件外。"
227
228
228
229
#: ../../library/sys.monitoring.rst:146
229
230
msgid ""
230
231
"An exception is re-raised, for example at the end of a :keyword:`finally` "
231
232
"block."
232
- msgstr "例外會被重新引發 (re-raise),例如在 :keyword:`finally` 區塊的最後。"
233
+ msgstr "例外被重新引發 (re-raise),例如在 :keyword:`finally` 區塊的最後。"
233
234
234
235
#: ../../library/sys.monitoring.rst:150
235
236
msgid ""
@@ -454,7 +455,7 @@ msgstr "預設沒有有效事件。"
454
455
455
456
#: ../../library/sys.monitoring.rst:256
456
457
msgid "Per code object events"
457
- msgstr "每個程式碼物件事件 "
458
+ msgstr "各別程式碼物件事件 "
458
459
459
460
#: ../../library/sys.monitoring.rst:258
460
461
msgid ""
@@ -463,7 +464,7 @@ msgid ""
463
464
"accept a look-alike object from functions which are not defined in Python "
464
465
"(see :ref:`c-api-monitoring`)."
465
466
msgstr ""
466
- "事件還可以基於每個程式碼物件進行控制 。下面定義的、接受 :class:`types."
467
+ "事件還可以基於各別程式碼物件進行控制 。下面定義的、接受 :class:`types."
467
468
"CodeType` 的函式應該準備好接受來自 Python 中未定義函式的類似物件(請參閱 :"
468
469
"ref:`c-api-monitoring`)。"
469
470
@@ -476,8 +477,8 @@ msgid ""
476
477
"Activates all the local events for *code* which are set in *event_set*. "
477
478
"Raises a :exc:`ValueError` if *tool_id* is not in use."
478
479
msgstr ""
479
- "啟動 *event_set* 中設定 *code* 的所有區域事件 。如果 *tool_id* 並未正在被使 "
480
- "用 ,則引發 :exc:`ValueError`。"
480
+ "啟動 *event_set* 中針對 *code* 設定的所有區域事件 。如果 *tool_id* 並未正在被 "
481
+ "使用 ,則引發 :exc:`ValueError`。"
481
482
482
483
#: ../../library/sys.monitoring.rst:272
483
484
msgid ""
@@ -528,11 +529,11 @@ msgstr "註冊回呼函式"
528
529
529
530
#: ../../library/sys.monitoring.rst:305
530
531
msgid "To register a callable for events call"
531
- msgstr "註冊事件呼叫的可呼叫物件 "
532
+ msgstr "用來註冊對事件呼叫的可呼叫物件 "
532
533
533
534
#: ../../library/sys.monitoring.rst:309
534
535
msgid "Registers the callable *func* for the *event* with the given *tool_id*"
535
- msgstr "使用給定的 *tool_id* 來註冊 *event* 的可呼叫物件 *func*"
536
+ msgstr "使用給定的 *tool_id* 來註冊對 *event* 的可呼叫物件 *func*"
536
537
537
538
#: ../../library/sys.monitoring.rst:311
538
539
msgid ""
@@ -548,18 +549,18 @@ msgid ""
548
549
"Functions can be unregistered by calling ``sys.monitoring."
549
550
"register_callback(tool_id, event, None)``."
550
551
msgstr ""
551
- "可以透過呼叫 ``sys.monitoring.register_callback(tool_id, event, None)`` 來註 "
552
- "銷函式 。"
552
+ "可以透過呼叫 ``sys.monitoring.register_callback(tool_id, event, None)`` 來取 "
553
+ "消註冊函式 。"
553
554
554
555
#: ../../library/sys.monitoring.rst:319
555
556
msgid "Callback functions can be registered and unregistered at any time."
556
- msgstr "回呼函式可以隨時被註冊和註銷 。"
557
+ msgstr "回呼函式可以隨時被註冊和取消註冊 。"
557
558
558
559
#: ../../library/sys.monitoring.rst:321
559
560
msgid ""
560
561
"Registering or unregistering a callback function will generate a :func:`sys."
561
562
"audit` event."
562
- msgstr "註冊或註銷回呼函式將產生 :func:`sys.audit` 事件。"
563
+ msgstr "註冊或取消註冊回呼函式將產生 :func:`sys.audit` 事件。"
563
564
564
565
#: ../../library/sys.monitoring.rst:325
565
566
msgid "Callback function arguments"
0 commit comments