From bc9db1d0d7dc1e71c826ef3326d63d5364e8a054 Mon Sep 17 00:00:00 2001 From: Steven Hsu <81967953+StevenHsuYL@users.noreply.github.com> Date: Tue, 7 Jun 2022 17:39:12 +0800 Subject: [PATCH 1/3] update tutorial tutorial/inputoutput.po tutorial/introduction.po --- tutorial/inputoutput.po | 8 +++++--- tutorial/introduction.po | 13 ++++++++----- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/tutorial/inputoutput.po b/tutorial/inputoutput.po index fdf622a676..835cc39e4d 100644 --- a/tutorial/inputoutput.po +++ b/tutorial/inputoutput.po @@ -4,14 +4,14 @@ # # Translators: # jerrychen , 2016 -# Steven Hsu , 2021 +# Steven Hsu , 2022 msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-05-21 17:35+0000\n" -"PO-Revision-Date: 2022-05-22 02:40+0800\n" -"Last-Translator: Adrian Liaw \n" +"PO-Revision-Date: 2022-06-07 17:05+0800\n" +"Last-Translator: Steven Hsu \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" "Language: zh_TW\n" @@ -670,6 +670,8 @@ msgid "" "JSON files must be encoded in UTF-8. Use ``encoding=\"utf-8\"`` when opening " "JSON file as a :term:`text file` for both of reading and writing." msgstr "" +"JSON 檔案必須以 UTF-8 格式被編碼。在開啟 JSON 檔案作為一個可讀取與寫入的 :" +"term:`text file` 時,要用 ``encoding=\"utf-8\"`` 。" #: ../../tutorial/inputoutput.rst:506 msgid "" diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 18a5b57c4e..283a8cbda9 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -3,16 +3,16 @@ # This file is distributed under the same license as the Python package. # # Translators: -# Ching-Hao Liu , 2018 -# Liang-Bo Wang , 2016 # Liang-Bo Wang , 2016 +# Ching-Hao Liu , 2018 +# Steven Hsu , 2022 msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-21 15:40+0000\n" -"PO-Revision-Date: 2021-06-08 13:21+0800\n" -"Last-Translator: Ching-Hao Liu \n" +"PO-Revision-Date: 2022-06-07 16:52+0800\n" +"Last-Translator: Steven Hsu \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" "Language: zh_TW\n" @@ -20,7 +20,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 2.4.3\n" +"X-Generator: Poedit 3.0.1\n" #: ../../tutorial/introduction.rst:5 msgid "An Informal Introduction to Python" @@ -47,6 +47,9 @@ msgid "" "output for an example, then you can easily copy and paste the input lines " "into your interpreter." msgstr "" +"在範例區域中,你可以點擊右上角的 ``>>>`` 來切換是否要顯示提示符及輸出。若你隱" +"藏了範例中的提示符及輸出,那麼你就能夠輕易地複製輸入的內容,並貼上到你的直譯" +"器中。" #: ../../tutorial/introduction.rst:23 msgid "" From b9af3c7baaee3a8481a41a568127e2671fed700e Mon Sep 17 00:00:00 2001 From: Steven Hsu Date: Wed, 8 Jun 2022 11:26:54 +0800 Subject: [PATCH 2/3] Apply most suggestions "prompt" would be modified by the next committing. Co-authored-by: Wei-Hsiang (Matt) Wang --- tutorial/inputoutput.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorial/inputoutput.po b/tutorial/inputoutput.po index 835cc39e4d..a3f48b2b2b 100644 --- a/tutorial/inputoutput.po +++ b/tutorial/inputoutput.po @@ -4,7 +4,7 @@ # # Translators: # jerrychen , 2016 -# Steven Hsu , 2022 +# Steven Hsu , 2021-2022 msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" @@ -670,8 +670,8 @@ msgid "" "JSON files must be encoded in UTF-8. Use ``encoding=\"utf-8\"`` when opening " "JSON file as a :term:`text file` for both of reading and writing." msgstr "" -"JSON 檔案必須以 UTF-8 格式被編碼。在開啟 JSON 檔案作為一個可讀取與寫入的 :" -"term:`text file` 時,要用 ``encoding=\"utf-8\"`` 。" +"JSON 檔案必須以 UTF-8 格式編碼。在開啟 JSON 檔案以作為一個可讀取與寫入的 :" +"term:`text file` 時,要用 ``encoding=\"utf-8\"``。" #: ../../tutorial/inputoutput.rst:506 msgid "" From a70b14bed74699b8171ff94b521eeaa7c58f151a Mon Sep 17 00:00:00 2001 From: Steven Hsu Date: Wed, 8 Jun 2022 11:41:53 +0800 Subject: [PATCH 3/3] Update introduction.po MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "prompt" -> "提示字元" --- tutorial/introduction.po | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 283a8cbda9..20a9b640ca 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -35,10 +35,10 @@ msgid "" "that a secondary prompt on a line by itself in an example means you must " "type a blank line; this is used to end a multi-line command." msgstr "" -"在下面的例子中,輸入與輸出的區別在於有無提示符(prompt,\\ :term:`>>>` 和 :" -"term:`...`\\ ):如果要重做範例,你必須在提示符出現的時候,輸入提示符後方的所" -"有內容;那些非提示符開始的文字行是直譯器的輸出。注意到在範例中,若出現單行只" -"有次提示符時,代表該行你必須直接換行;這被使用在多行指令結束輸入時。" +"在下面的例子中,輸入與輸出的區別在於有無提示字元(prompt,\\ :term:`>>>` 和 :" +"term:`...`\\ ):如果要重做範例,你必須在提示字元出現的時候,輸入提示字元後方的所" +"有內容;那些非提示字元開始的文字行是直譯器的輸出。注意到在範例中,若出現單行只" +"有次提示字元時,代表該行你必須直接換行;這被使用在多行指令結束輸入時。" #: ../../tutorial/introduction.rst:16 msgid "" @@ -47,8 +47,8 @@ msgid "" "output for an example, then you can easily copy and paste the input lines " "into your interpreter." msgstr "" -"在範例區域中,你可以點擊右上角的 ``>>>`` 來切換是否要顯示提示符及輸出。若你隱" -"藏了範例中的提示符及輸出,那麼你就能夠輕易地複製輸入的內容,並貼上到你的直譯" +"在範例區域中,你可以點擊右上角的 ``>>>`` 來切換是否要顯示提示字元及輸出。若你隱" +"藏了範例中的提示字元及輸出,那麼你就能夠輕易地複製輸入的內容,並貼上到你的直譯" "器中。" #: ../../tutorial/introduction.rst:23 @@ -83,7 +83,7 @@ msgid "" "Let's try some simple Python commands. Start the interpreter and wait for " "the primary prompt, ``>>>``. (It shouldn't take long.)" msgstr "" -"讓我們來試試一些簡單的 Python 指令。啟動直譯器並等待第一個主提示符 ``>>>`` 出" +"讓我們來試試一些簡單的 Python 指令。啟動直譯器並等待第一個主提示字元 ``>>>`` 出" "現。(應該不會等太久)" #: ../../tutorial/introduction.rst:51 @@ -140,7 +140,7 @@ msgid "" "The equal sign (``=``) is used to assign a value to a variable. Afterwards, " "no result is displayed before the next interactive prompt::" msgstr "" -"等於符號 (``=``) 可以用於為變數賦值。賦值完之後,在下個指示符前並不會顯示任何" +"等於符號 (``=``) 可以用於為變數賦值。賦值完之後,在下個指示字元前並不會顯示任何" "結果:\n" "\n" "::" @@ -634,7 +634,7 @@ msgid "" "(since the parser cannot guess when you have typed the last line). Note " "that each line within a basic block must be indented by the same amount." msgstr "" -"迴圈的主體會\\ *縮排*\\ :縮排在 Python 中用來關連一群陳述式。在互動式提示符" +"迴圈的主體會\\ *縮排*\\ :縮排在 Python 中用來關連一群陳述式。在互動式提示字元" "中,你必須在迴圈內的每一行一開始鍵入 tab 或者(數個)空白來維持縮排。實務上," "你會先在文字編輯器中準備好比較複雜的輸入;多數編輯器都有自動縮排的功能。當一" "個複合陳述式以互動地方式輸入,必須在結束時多加一行空行來代表結束(因為語法剖"