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

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

Merged
josix merged 6 commits intopython:3.13fromken71301:translate-reference-import
Nov 11, 2024

Conversation

ken71301
Copy link
Collaborator

  • 382 / 388 些微超譯
  • 399 populated 用填充總覺得怪,換了個寫法
  • 403 根據已棄用的 load_module 判斷其為接管載入模組之功能

mattwang44 reacted with thumbs up emoji
@ken71301ken71301 changed the titlefix: to rst: 406Translate reference/import.poOct 8, 2024
@ken71301ken71301 changed the titleTranslate reference/import.poTranslatereference/import.poOct 8, 2024
@josix
Copy link
Collaborator

josix commentedOct 12, 2024
edited
Loading

Finished review translations before../../reference/import.rst:406


#: ../../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."
Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

這句話翻成
引入系統已接管載入器的模板責任。
聽起來有夠怪,但是後面也有 boilerplate 這個詞出現,不知道這邊有沒有更好的用法

Copy link
Collaborator

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 功能)。

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

那我翻成模板責任吧,會付個原文

mattwang44 reacted with thumbs up emoji
@ken71301ken71301 marked this pull request as ready for reviewNovember 4, 2024 14:18
@ken71301ken71301 requested a review fromjosixNovember 4, 2024 14:18
- 382 / 388 些微超譯- 399 populated 用填充總覺得怪,換了個寫法- 403 根據已棄用的 load_module 判斷其為接管載入模組之功能
- 需確認 boilerplate 是否需翻譯
@ken71301ken71301force-pushed thetranslate-reference-import branch from03dcec6 to19d2787CompareNovember 4, 2024 14:22

#: ../../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."
Copy link
Collaborator

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 功能)。

Copy link
Collaborator

@mattwang44mattwang44 left a comment

Choose a reason for hiding this comment

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

LGTM
再請@josix 幫忙最後 review

Copy link
Collaborator

@josixjosix left a comment

Choose a reason for hiding this comment

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

LGTM~

@josixjosix merged commit2efe0c8 intopython:3.13Nov 11, 2024
1 check passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@josixjosixjosix approved these changes

@mattwang44mattwang44mattwang44 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
@ken71301@josix@mattwang44

[8]ページ先頭

©2009-2025 Movatter.jp