Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Library/contextvars#1128

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Dr-XYZ merged 30 commits intopython:3.13fromhusohome:library/contextvars
Jul 31, 2025
Merged

Library/contextvars#1128

Dr-XYZ merged 30 commits intopython:3.13fromhusohome:library/contextvars
Jul 31, 2025

Conversation

@husohome
Copy link
Contributor

contextvars.po

註: effective 的翻法:
因為英文中 effective 不一定是指有效的,有時是 in effect 或甚至 in fact 的意思

#: ../../library/contextvars.rst:147
Each thread has its own "effective" stack of :class:!Context objects. The :term:current context is the :class:!Context object at the top of the current thread's stack. All :class:!Context objects in the stacks are considered to beentered.
這裡翻成「目前執行緒堆疊頂端的」是因為這個 effective stack 並不是專有名詞,他就是指實際上正在主控的那個 stack

#: ../../library/contextvars.rst:170
Exiting a context "effectively" reverts any changes made to context variables while the context was entered (if needed, the values can be restored by re-entering the context).
這裡的 effectively 也不是有效的,而是「實際上的效果是」的意思

josix reacted with thumbs up emoji
@mattwang44mattwang44 requested a review fromDr-XYZJuly 17, 2025 15:00
"return the default value for the context variable, if it was created with "
"one; or"
msgstr""
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
msgstr "回傳情境變數的預設值(如果是用情境變量建立的的話);否則"
msgstr "回傳情境變數的預設值(如果它在建立時有指定的話);否則"

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

想請問這麼建議翻有沒有什麼理由?
因為我會把那個 if it was created with "one" 的 "one" 解釋成 context variable,而且中文語境其實沒有那麼常用「它」,比較常重複「它」所直接指涉的對象,我也不太確定翻成「指定」是不是哪裡的慣例還是?
請大大指教

Copy link
Collaborator

@Dr-XYZDr-XYZJul 26, 2025
edited
Loading

Choose a reason for hiding this comment

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

我覺得那個 one 是指 default value

或許可以參考簡體中文的翻譯來翻

image

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

感謝!已照著簡體版翻

husohomeand others added8 commitsJuly 23, 2025 23:03
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
nice! thanks!Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
@mattwang44
Copy link
Collaborator

mattwang44 commentedJul 24, 2025
edited
Loading

Hi@husohome

提醒一下,還有一些 xyz 的 review comments 還沒處理到image
husohome reacted with thumbs up emojihusohome reacted with eyes emoji

husohomeand others added16 commitsJuly 30, 2025 21:56
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
@mattwang44mattwang44 requested a review fromDr-XYZJuly 31, 2025 02:26
@Dr-XYZDr-XYZ merged commit9072af0 intopython:3.13Jul 31, 2025
1 check passed
@husohome
Copy link
ContributorAuthor

感謝大大們的指教

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@Dr-XYZDr-XYZDr-XYZ approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@husohome@mattwang44@Dr-XYZ

[8]ページ先頭

©2009-2025 Movatter.jp