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

Translatelibrary/tempfile.po#186

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
mattwang44 merged 5 commits intopython:3.10frommattwang44:trans-library-tempfile
Jun 12, 2022

Conversation

mattwang44
Copy link
Collaborator

@mattwang44mattwang44 commentedDec 18, 2021
edited
Loading

resolve#185

preview:
image

@mattwang44mattwang44force-pushed thetrans-library-tempfile branch 4 times, most recently fromaf686ac toc5b8313CompareDecember 18, 2021 08:45
@mattwang44
Copy link
CollaboratorAuthor

@allen91wu, would you like to review this PR? (trying to slow your pace 😏)

allen91wu reacted with laugh emojiallen91wu reacted with eyes emoji

@allen91wuallen91wu self-requested a reviewDecember 19, 2021 16:15
@mattwang44
Copy link
CollaboratorAuthor

@allen91wu
Is there any chance you can finish reviewing this PR recently? Or should I assign it to another reviewer?

@mattwang44mattwang44 removed the request for review fromallen91wuMarch 30, 2022 12:18
Copy link
Collaborator

@ccwang002ccwang002 left a comment

Choose a reason for hiding this comment

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

我列了一些我覺得有點不順的詞句,你看看要不要修改。其餘部份都 ok 👍

mattwang44 reacted with hooray emoji
@@ -62,13 +73,20 @@ msgid ""
"rely on a temporary file created using this function having or not having a "
"visible name in the file system."
msgstr ""
"回傳一個可當作臨時儲存區域的 :term:`file-like object`\\ 。建立該檔案使用了"
"與 :func:`mkstemp` 相同的安全規則。它將在關閉(包括當物件被垃圾回收 (garbage "
"collect) 時所關閉)後立即銷毀。在 Unix 下,該檔案在目錄中的條目可能根本不被建"
Copy link
Collaborator

Choose a reason for hiding this comment

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

「被垃圾回收…時所關閉」沒有翻到 implicit,可以改成「被垃圾回收…時的隱式關閉」

Copy link
Collaborator

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
Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

對,原譯文不夠精確


#: ../../library/tempfile.rst:193
msgid ""
":func:`mkstemp` returns a tuple containing an OS-level handle to an open "
"file (as would be returned by :func:`os.open`) and the absolute pathname of "
"that file, in that order."
msgstr ""
":func:`mkstemp` 回傳一個 tuple,tuple 中,第一個元素是一個作業系統層級 (OS-"
Copy link
Collaborator

Choose a reason for hiding this comment

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

不確定「OS-level handle」是否翻成「作業系統層級控制程式」

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

原譯文是錯誤的,原本以為是 handler 所以翻成「控制程式」,但這邊的 handle 其實就是一個數字代號,改成「控制代碼」

ccwang002 reacted with thumbs up emoji
@mattwang44mattwang44force-pushed thetrans-library-tempfile branch 2 times, most recently from4e1733f toa712e4bCompareJune 12, 2022 07:15
Co-authored-by: Liang-Bo Wang <me@liang2.tw>
Copy link
Collaborator

@ccwang002ccwang002 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 and tai271828 reacted with hooray emoji
@mattwang44mattwang44 merged commit70f8c49 intopython:3.10Jun 12, 2022
@mattwang44mattwang44 deleted the trans-library-tempfile branchJune 12, 2022 13:27
beccalzh pushed a commit to beccalzh/python-docs-zh-tw that referenced this pull requestSep 4, 2024
* feat: translate `library/tempfile.po`* fix(library/tempfile): remove redundant `\\`* Apply suggestions from code reviewCo-authored-by: Liang-Bo Wang <me@liang2.tw>Co-authored-by: Liang-Bo Wang <me@liang2.tw>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ccwang002ccwang002ccwang002 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.

Translatelibrary/tempfile.po
2 participants
@mattwang44@ccwang002

[8]ページ先頭

©2009-2025 Movatter.jp