Skip to content
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

Translate time #921

Merged
merged 11 commits into from
Aug 14, 2024
Merged

Translate time #921

merged 11 commits into from
Aug 14, 2024

Conversation

ken71301
Copy link
Collaborator

No description provided.

ken71301 added 2 commits July 14, 2024 20:41
- 404 got a weird translation that need to be reviewed
@ken71301
Copy link
Collaborator Author

或者使用 ``nanosleep()``(
像這樣接左大括號就會失敗

@ken71301 ken71301 marked this pull request as ready for review July 16, 2024 16:08
@ken71301 ken71301 requested a review from mattwang44 July 17, 2024 13:33
Copy link
Collaborator

@beccalzh beccalzh left a comment

Choose a reason for hiding this comment

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

好囉~ 嘿嘿

library/time.po Outdated
@@ -497,20 +500,24 @@ msgid ""
"point of the returned value is undefined, so that only the difference "
"between the results of two calls is valid."
msgstr ""
"回傳性能計數器的值(以秒的小數部分表示),即具有最高可用解析度來測量短時間間"
"隔的時鐘。它包括睡眠期間經過的時間,並且涵蓋整個系統。回傳值的參考點沒有定"
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
"隔的時鐘。它包括睡眠期間經過的時間,並且涵蓋整個系統。回傳值的參考點沒有定"
"隔的時鐘。它包括睡眠經過的時間,並且涵蓋整個系統。回傳值的參考點沒有定"

期間好像就包含時間的意思,這樣會比較順嗎?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

還是用這個?

Suggested change
"隔的時鐘。它包括睡眠期間經過的時間,並且涵蓋整個系統。回傳值的參考點沒有定"
"隔的時鐘。它包括睡眠時經過的時間,並且涵蓋整個系統。回傳值的參考點沒有定"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

那個 期間 主要是翻給during用的就是了

library/time.po Outdated
@@ -520,35 +527,43 @@ msgid ""
"returned value is undefined, so that only the difference between the results "
"of two calls is valid."
msgstr ""
"回傳當前行程的系統和用戶 CPU 時間之和(以秒的小數部分表示)。它不包括睡眠期間"
Copy link
Collaborator

@beccalzh beccalzh Aug 4, 2024

Choose a reason for hiding this comment

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

Suggested change
"回傳當前行程的系統和用戶 CPU 時間之和(以秒的小數部分表示)。它不包括睡眠期間"
"回傳當前行程的系統和用戶 CPU 時間之和(以秒的小數部分表示)。它不包括睡眠時"

那這邊也是「期間」改成「時」~

library/time.po Outdated
@@ -560,35 +575,44 @@ msgid ""
"drivers/kernel/high-resolution-timers>`_ which provides resolution of 100 "
"nanoseconds. If *secs* is zero, ``Sleep(0)`` is used."
msgstr ""
"在 Windows 上,如果 *secs* 為零,則執行緒將其剩餘的時間片段讓給任何準備運行的"
"其他執行緒。如果沒有其他執行緒準備運行,該函式將立即回傳,而執行緒會繼續執"
"行。在 Windows 8.1 及更高版本中,此實作使用\\ `高解析度計時器 <https://docs."
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
"行。在 Windows 8.1 及更高版本中,此實作使用\\ `高解析度計時器 <https://docs."
"行。在 Windows 8.1 及更新版本中,此實作使用\\ `高解析度計時器 <https://docs."

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

總覺得會被看成 update那個更新所以

Suggested change
"行。在 Windows 8.1 及更高版本中,此實作使用\\ `高解析度計時器 <https://docs."
"行。在 Windows 8.1 及更新的版本中,此實作使用\\ `高解析度計時器 <https://docs."

library/time.po Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
library/time.po Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
beccalzh
beccalzh previously approved these changes Aug 6, 2024
Copy link
Collaborator

@beccalzh beccalzh left a comment

Choose a reason for hiding this comment

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

LGTM 💯

library/time.po Outdated Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
library/time.po Outdated Show resolved Hide resolved
Copy link
Collaborator

@mattwang44 mattwang44 left a comment

Choose a reason for hiding this comment

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

LGTM

@mattwang44 mattwang44 merged commit eceafb1 into python:3.12 Aug 14, 2024
1 check passed
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.

3 participants