Skip to content

Translate library/sys.monitoring #892

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 2 commits into from
Nov 22, 2024

Conversation

mattwang44
Copy link
Collaborator

@mattwang44 mattwang44 commented May 6, 2024

resolve #891

preview image

@mattwang44 mattwang44 marked this pull request as draft May 6, 2024 07:09
@mattwang44 mattwang44 changed the base branch from 3.12 to 3.13 October 20, 2024 20:41
@mattwang44 mattwang44 force-pushed the library/sys.monitoring branch 3 times, most recently from 482a212 to 456e831 Compare October 28, 2024 06:53
@mattwang44 mattwang44 marked this pull request as ready for review October 28, 2024 06:53

#: ../../library/sys.monitoring.rst:41
msgid ""
"Before registering or activating events, a tool should choose an identifier. "
"Identifiers are integers in the range 0 to 5 inclusive."
msgstr ""
"在註冊或啟動事件之前,工具應選擇一個識別器。識別器是 0 到 5 範圍內的整數。"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

這裡要跟 line 95 翻的一樣嗎, line 118 還有一個一樣的

Suggested change
"在註冊或啟動事件之前,工具應選擇一個識別器。識別器是 0 到 5 範圍內的整數"
"在註冊或啟動事件之前,工具應選擇一個識別器。識別器是 0 到 5 範圍內(含)的整數"

然後不太確定那個 (含) 是不是放前面比較合適

Suggested change
"在註冊或啟動事件之前,工具應選擇一個識別器。識別器是 0 到 5 範圍內的整數。"
"在註冊或啟動事件之前,工具應選擇一個識別器。識別器是 0 到 5(含)範圍內的整數。"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

統一為「 0 到 5(含)範圍內」


#: ../../library/sys.monitoring.rst:269
msgid ""
"Activates all the local events for *code* which are set in *event_set*. "
"Raises a :exc:`ValueError` if *tool_id* is not in use."
msgstr ""
"啟動 *event_set* 中設定 *code* 的所有區域事件。如果 *tool_id* 並未正在被使"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

這樣會順一點嗎

Suggested change
"啟動 *event_set* 中設定 *code* 的所有區域事件。如果 *tool_id* 並未正在被使"
"針對 *code* 啟動 *event_set* 中設定的所有區域事件。如果 *tool_id* 並未正在被使"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

小改一下,變成「啟動 event_set 中針對 code 設定的所有區域事件」

Co-authored-by: mindihx <ymhuang.ymh@gmail.com>
@mattwang44 mattwang44 force-pushed the library/sys.monitoring branch from 9123ecb to 6282e78 Compare November 20, 2024 09:31
@mattwang44 mattwang44 requested a review from mindihx November 20, 2024 09:32
@mattwang44 mattwang44 merged commit 9e4dde8 into python:3.13 Nov 22, 2024
1 check passed
@mattwang44 mattwang44 deleted the library/sys.monitoring branch November 22, 2024 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Translate library/sys.monitoring
2 participants