-
- Notifications
You must be signed in to change notification settings - Fork 219
Translate library/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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
af686ac
to c5b8313
Compare @allen91wu, would you like to review this PR? (trying to slow your pace 😏) |
c5b8313
to 4af3ed8
Compare 4af3ed8
to 0a07591
Compare @allen91wu |
2686544
to ecb5f5c
Compare ecb5f5c
to 372e87a
Compare 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.
我列了一些我覺得有點不順的詞句,你看看要不要修改。其餘部份都 ok 👍
library/tempfile.po Outdated
msgstr "" | ||
"回傳一個可當作臨時儲存區域的 :term:`file-like object`\\ 。建立該檔案使用了" | ||
"與 :func:`mkstemp` 相同的安全規則。它將在關閉(包括當物件被垃圾回收 (garbage " | ||
"collect) 時所關閉)後立即銷毀。在 Unix 下,該檔案在目錄中的條目可能根本不被建" |
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.
「被垃圾回收…時所關閉」沒有翻到 implicit,可以改成「被垃圾回收…時的隱式關閉」
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.
對,原譯文不夠精確
"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-" |
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.
不確定「OS-level handle」是否翻成「作業系統層級控制程式」
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.
原譯文是錯誤的,原本以為是 handler 所以翻成「控制程式」,但這邊的 handle 其實就是一個數字代號,改成「控制代碼」
4e1733f
to a712e4b
Compare Co-authored-by: Liang-Bo Wang <me@liang2.tw>
a712e4b
to c17dcda
Compare 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! 辛苦啦~
* feat: translate `library/tempfile.po` * fix(library/tempfile): remove redundant `\\` * Apply suggestions from code review Co-authored-by: Liang-Bo Wang <me@liang2.tw> Co-authored-by: Liang-Bo Wang <me@liang2.tw>
resolve #185
preview:
