-
-
Notifications
You must be signed in to change notification settings - Fork 214
Add translation for tutorial.modules #14
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
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.
感謝!蠻喜歡這個翻譯的✨,不過有一些小細節會需要修正一下,主要是一致性的問題。再麻煩你了!
@@ -34,6 +35,11 @@ msgid "" | |||
"You may also want to use a handy function that you've written in several " | |||
"programs without copying its definition into each program." | |||
msgstr "" | |||
"如果從 Python 編譯器離開後又再次進入,之前(幫函式或變數)做的定義都會消失。" |
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.
s/編譯器/直譯器/g
@@ -34,6 +35,11 @@ msgid "" | |||
"You may also want to use a handy function that you've written in several " | |||
"programs without copying its definition into each program." | |||
msgstr "" | |||
"如果從 Python 編譯器離開後又再次進入,之前(幫函式或變數)做的定義都會消失。" | |||
"因此,想要寫一些比較長的程式時,你最好使用編輯器來準備要給編譯器的輸入,並且" | |||
"用該檔案來運行它。這就是一個*腳本*。隨著你的程式越變越長,你可能會想要把它分" |
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.
這邊的 rST 語法有個小細節需要注意一下,這兩個星號前後應該要遵照翻譯守則中的 rST 語法注意事項,增加倒斜線以及分號,否則 rST 語法在前後沒有空格的情況下會認不得這兩個星號。結果應該像這樣:
這就是一個\ *腳本*\ 。
另外,我覺得腳本算是專有名詞,建議可以增加括弧注釋來說明原文的名詞叫做「script」:*腳本(script)*
"如果從 Python 編譯器離開後又再次進入,之前(幫函式或變數)做的定義都會消失。" | ||
"因此,想要寫一些比較長的程式時,你最好使用編輯器來準備要給編譯器的輸入,並且" | ||
"用該檔案來運行它。這就是一個*腳本*。隨著你的程式越變越長,你可能會想要把它分" | ||
"開成幾個段落,讓它比較好維護。你可能也會想用一個你之前已經在其他程式寫好的功" |
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.
原文是說「you may want to split it into several files」,應該是分開成幾個「檔案」。
"因此,想要寫一些比較長的程式時,你最好使用編輯器來準備要給編譯器的輸入,並且" | ||
"用該檔案來運行它。這就是一個*腳本*。隨著你的程式越變越長,你可能會想要把它分" | ||
"開成幾個段落,讓它比較好維護。你可能也會想用一個你之前已經在其他程式寫好的功" | ||
"能,不過不要複製該功能的原始定義到所有使用它的程式裡。" |
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.
s/功能/函式/g
@PatinaHo Thanks for your contribution! I've fixed the suggestions by myself and merged the PR. |
operator & operand: 操作子 & 操作元 -> 運算子 & 運算元
Tutorial/module.po WIP