Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork214
Translatereference/import.po
#986
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ken71301 commentedOct 8, 2024
- 382 / 388 些微超譯
- 399 populated 用填充總覺得怪,換了個寫法
- 403 根據已棄用的 load_module 判斷其為接管載入模組之功能
Uh oh!
There was an error while loading.Please reload this page.
josix commentedOct 12, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Finished review translations before |
reference/import.po Outdated
#: ../../reference/import.rst:406 | ||
msgid "" | ||
"The import system has taken over the boilerplate responsibilities of " | ||
"loaders. These were previously performed by the :meth:`importlib.abc.Loader." | ||
"load_module` method." | ||
msgstr "" | ||
"引入系統已接管載入器中載入模組的功能。之前是由 :meth:`importlib.abc.Loader." |
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.
這句話翻成
引入系統已接管載入器的模板責任。
聽起來有夠怪,但是後面也有 boilerplate 這個詞出現,不知道這邊有沒有更好的用法
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.
「引入系統已接管載入器的模板責任。」我覺得不會到很奇怪(只是可惜 template 和 boilerplate 都只能翻成「模板」)。
從PEP 451 對於 loader 的說明來看,load_module()
過去 (Python 3.3) 的確訂定了 load module 時該做哪些事情,我覺得這就是原文稱他有 boilerplate responsibilities 的原因;而 PEP 451 就是針對 PEP 451 設計不良之處做修正、改為使用 ModuleSpec 後,在 3.5 開始load_module()
就被標為 deprecated(至今都還是 pending removal、仍有 load module 功能)。
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.
那我翻成模板責任吧,會付個原文
- 382 / 388 些微超譯- 399 populated 用填充總覺得怪,換了個寫法- 403 根據已棄用的 load_module 判斷其為接管載入模組之功能
- 需確認 boilerplate 是否需翻譯
03dcec6
to19d2787
CompareUh oh!
There was an error while loading.Please reload this page.
reference/import.po Outdated
#: ../../reference/import.rst:406 | ||
msgid "" | ||
"The import system has taken over the boilerplate responsibilities of " | ||
"loaders. These were previously performed by the :meth:`importlib.abc.Loader." | ||
"load_module` method." | ||
msgstr "" | ||
"引入系統已接管載入器中載入模組的功能。之前是由 :meth:`importlib.abc.Loader." |
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.
「引入系統已接管載入器的模板責任。」我覺得不會到很奇怪(只是可惜 template 和 boilerplate 都只能翻成「模板」)。
從PEP 451 對於 loader 的說明來看,load_module()
過去 (Python 3.3) 的確訂定了 load module 時該做哪些事情,我覺得這就是原文稱他有 boilerplate responsibilities 的原因;而 PEP 451 就是針對 PEP 451 設計不良之處做修正、改為使用 ModuleSpec 後,在 3.5 開始load_module()
就被標為 deprecated(至今都還是 pending removal、仍有 load module 功能)。
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
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.
LGTM
再請@josix 幫忙最後 review
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.
LGTM~
2efe0c8
intopython:3.13Uh oh!
There was an error while loading.Please reload this page.