-
-
Notifications
You must be signed in to change notification settings - Fork 216
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3.13
Are you sure you want to change the base?
Library/contextvars #1128
Conversation
… of the original text, otherwise it wouldn't be understandable in chinese
library/contextvars.po
Outdated
|
||
#: ../../library/contextvars.rst:63 | ||
msgid "" | ||
"return the default value for the context variable, if it was created with " | ||
"one; or" | ||
msgstr "" | ||
msgstr "回傳情境變數的預設值(如果是用情境變量建立的的話);否則" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
msgstr "回傳情境變數的預設值(如果是用情境變量建立的的話);否則" | |
msgstr "回傳情境變數的預設值(如果它在建立時有指定的話);否則" |
There was a problem hiding this comment.
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,而且中文語境其實沒有那麼常用「它」,比較常重複「它」所直接指涉的對象,我也不太確定翻成「指定」是不是哪裡的慣例還是?
請大大指教
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感謝!已照著簡體版翻
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>
Hi @husohome |
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>
Co-authored-by: Dr.XYZ <dr.xyz.tw@gmail.com>
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 be entered.這裡翻成「目前執行緒堆疊頂端的」是因為這個 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 也不是有效的,而是「實際上的效果是」的意思