Skip to content

翻譯 #: ../../library/os.rst:11 #599

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

Merged
merged 4 commits into from
Aug 30, 2023
Merged

Conversation

ddays1112
Copy link
Contributor

@ddays1112 ddays1112 commented Aug 20, 2023

Issue: #594

library/os.po Outdated
@@ -37,10 +37,15 @@ msgid ""
"mod:`tempfile` module, and for high-level file and directory handling see "
"the :mod:`shutil` module."
msgstr ""
"該模塊提供了一種便利的操作系統相關功能。如果你只想讀取或寫入文件,請參閱 :"
Copy link
Contributor

@weijay0804 weijay0804 Aug 22, 2023

Choose a reason for hiding this comment

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

  • 這邊的 operating system 好像沒有翻譯出來
  • module 這個詞台灣比較常用 模組
Suggested change
"該模塊提供了一種便利的操作系統相關功能。如果你只想讀取或寫入文件,請參閱 :"
"該模組提供了一種便利的方式來操作與作業系統相關的功能。如果你只想讀取或寫入檔案,請參閱 :"

library/os.po Outdated
Comment on lines 41 to 42
"func:`open` ,如果你想操作路徑,請參閱 :mod:`os.path` 模組,如果你想讀取全部"
"的文件中的所有內容在命令行上查看 :mod:`fileinput` 模組。要創建臨時文件和目"
Copy link
Contributor

@weijay0804 weijay0804 Aug 22, 2023

Choose a reason for hiding this comment

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

這邊的 path 應該是指 OS 中的檔案路徑

Suggested change
"func:`open` ,如果你想操作路徑,請參閱 :mod:`os.path` 模組,如果你想讀取全部"
"的文件中的所有內容在命令行上查看 :mod:`fileinput` 模組。要創建臨時文件和目"
"func:`open`,如果你想操作檔案路徑,請參閱 :mod:`os.path` 模組,如果你想透過命令行"
"查看所有檔案中的所有內容,請查看 :mod:`fileinput` 模組。要建立臨時檔案和目"

library/os.po Outdated
Comment on lines 43 to 44
"錄,請參閱 :mod:`tempfile` module 模塊,對於高級檔案和目錄處理,請參閱 :mod:"
"`shutil` 模組。"
Copy link
Contributor

@weijay0804 weijay0804 Aug 22, 2023

Choose a reason for hiding this comment

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

Suggested change
"錄,請參閱 :mod:`tempfile` module 模塊,對於高級檔案和目錄處理,請參閱 :mod:"
"`shutil` 模組。"
"錄,請參閱 :mod:`tempfile` 模組,對於高級檔案和目錄處理,請參閱 :mod:"
"`shutil` 模組。"

Copy link
Collaborator

Choose a reason for hiding this comment

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

想要修正一下,請遵循繁中翻譯習慣:

  • 簡中習慣 file 翻為「文件」、document 翻為「文檔」
  • 繁中則是 file 翻為「檔案」、document 翻為「文件」

Copy link
Contributor

Choose a reason for hiding this comment

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

好的!

library/os.po Outdated

#: ../../library/os.rst:19
msgid "Notes on the availability of these functions:"
msgstr ""
msgstr "關於這些功能可用性的說明:"
Copy link
Contributor

Choose a reason for hiding this comment

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

小小的建議

Suggested change
msgstr "關於這些功能可用性的說明:"
msgstr "關於這些功能的可用性說明:"

@weijay0804
Copy link
Contributor

@ddays1112
想問一下,你有興趣繼續完成這個 PR 嗎?

@ddays1112
Copy link
Contributor Author

有~還在嘗試中!

@weijay0804
Copy link
Contributor

有~還在嘗試中!

OK~~ 你慢慢來沒關係
有什麼問題都可以提出來喔

@ddays1112
Copy link
Contributor Author

image

這裡我有點卡住了😓

@weijay0804
Copy link
Contributor

image

這裡我有點卡住了😓

你可以先用 git branch 查看你目前的分支,看起來你應該是在 3.12 分之上
之後你可以用 git checkout <分支名稱> 切換到你的開發分支上,記得沒錯的話,上次應該是取名成 os
之後再用 git status 查看目前的狀態,如果有顯示出更新的檔案就沒問題
之後再用 VERSION=3.12 make all 來 render,如果沒有出現錯誤就可以新增一個 commit 並 push 的你的 repo 上

@weijay0804
Copy link
Contributor

image

這裡我有點卡住了😓

可以參考 wiki 這邊的操作

如果有什麼問題歡迎再提出來~

@ddays1112
Copy link
Contributor Author

ddays1112 commented Aug 30, 2023 via email

@rockleona
Copy link
Collaborator

@ddays1112 我們移到 discord 討論好嗎?這樣比較方便了解你的問題

我們就在 pydoc-zhtw-forum 開一個討論串討論

@ddays1112
Copy link
Contributor Author

ddays1112 commented Aug 30, 2023 via email

Copy link
Contributor

@weijay0804 weijay0804 left a comment

Choose a reason for hiding this comment

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

好像有的地方沒有更改到喔~

library/os.po Outdated
Comment on lines 40 to 44
"該模組提供了一種便利的操作系統相關功能。如果你只想讀取或寫入檔案,請參閱 :"
"func:`open` ,如果你想操作檔案路徑,請參閱 :mod:`os.path` 模組,如果你想讀取"
"全部的檔案中的所有內容在命令行上查看 :mod:`fileinput` 模組。要創建臨時檔案和"
"目錄,請參閱 :mod:`tempfile` module 模組,對於高級檔案和目錄處理,請參閱 :"
"mod:`shutil` 模組。"
Copy link
Contributor

Choose a reason for hiding this comment

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

  • 這邊的 operating system 好像還是沒有翻譯到。
Suggested change
"該模組提供了一種便利的操作系統相關功能。如果你只想讀取或寫入檔案,請參閱 :"
"func:`open` ,如果你想操作檔案路徑,請參閱 :mod:`os.path` 模組,如果你想讀取"
"全部的檔案中的所有內容在命令行上查看 :mod:`fileinput` 模組。要創建臨時檔案和"
"目錄,請參閱 :mod:`tempfile` module 模組,對於高級檔案和目錄處理,請參閱 :"
"mod:`shutil` 模組。"
"該模組提供了一種便利的方式來操作與作業系統相關的功能。如果你只想讀取或寫入檔案,請參閱 :"
"func:`open` ,如果你想操作檔案路徑,請參閱 :mod:`os.path` 模組,如果你想透過命令行"
"查看所有檔案中的所有內容,請查看 :mod:`fileinput` 模組。要建立臨時檔案和"
"目錄,請參閱 :mod:`tempfile` module 模組,對於高級檔案和目錄處理,請參閱 :"
"mod:`shutil` 模組。"

@ddays1112
Copy link
Contributor Author

ddays1112 commented Aug 30, 2023 via email

Copy link
Contributor

@weijay0804 weijay0804 left a comment

Choose a reason for hiding this comment

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

還是有一些地方沒有修改到喔
再麻煩妳修改一下~

library/os.po Outdated
Comment on lines 42 to 43
"如果你想讀取全部的檔案中的所有內容在命令行上查看 :mod:`fileinput` 模組。要創"
"建臨時檔案和目錄,請參閱 :mod:`tempfile` module 模組,對於高級檔案和目錄處"
Copy link
Contributor

Choose a reason for hiding this comment

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

  • 修改一下語句讓它更通順
  • 創建 改成 建立 比較好喔
Suggested change
"如果你想讀取全部的檔案中的所有內容在命令行上查看 :mod:`fileinput` 模組。要創"
"建臨時檔案和目錄,請參閱 :mod:`tempfile` module 模組,對於高級檔案和目錄處"
"如果你想透過命令行查看所有檔案中的所有內容,請查看 :mod:`fileinput` 模組。要建"
"立臨時檔案和目錄,請參閱 :mod:`tempfile` module 模組,對於高級檔案和目錄處"

@ddays1112
Copy link
Contributor Author

ddays1112 commented Aug 30, 2023 via email

Copy link
Contributor

@weijay0804 weijay0804 left a comment

Choose a reason for hiding this comment

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

嗯嗯 最新的 commit 是 建立 沒錯,但這部分好像還是沒有改到喔

library/os.po Outdated
@@ -37,10 +37,15 @@ msgid ""
"mod:`tempfile` module, and for high-level file and directory handling see "
"the :mod:`shutil` module."
msgstr ""
"該模組提供了一種便利的方式來操作與作業系統相關的功能。如果你想讀取或寫入檔"
"案,請參閱 :func:`open` ,如果你想操作檔案路徑,請參閱 :mod:`os.path` 模組,"
"如果你想讀取全部的檔案中的所有內容在命令行上查看 :mod:`fileinput` 模組。要建"
Copy link
Contributor

Choose a reason for hiding this comment

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

這邊好像還是沒改到😂

Suggested change
"如果你想讀取全部的檔案中的所有內容在命令行上查看 :mod:`fileinput` 模組。要建"
"如果你想透過命令行查看所有檔案中的所有內容,請查看 :mod:`fileinput` 模組。要建"

@weijay0804
Copy link
Contributor

好像還是沒有喔😂

@weijay0804
Copy link
Contributor

@rockleona 我這邊看起來沒什麼問題囉~

Copy link
Collaborator

@rockleona rockleona left a comment

Choose a reason for hiding this comment

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

LGTM!

@weijay0804 weijay0804 merged commit db17157 into python:pycon-sprints Aug 30, 2023
@ddays1112 ddays1112 deleted the os branch September 11, 2023 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants