From ceddf9c80df6a7206ad43e15ce71b10fe5fd5546 Mon Sep 17 00:00:00 2001 From: nienzu Date: Sun, 14 Oct 2018 10:05:26 +0800 Subject: [PATCH 1/2] [tutorial] Review fuzzy string --- tutorial/datastructures.po | 7 ++++--- tutorial/introduction.po | 16 ++++++++-------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index 020e9e7ec8..02e9bf3872 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -14,7 +14,7 @@ msgstr "" "Project-Id-Version: Python 3.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-08-07 14:20+0800\n" -"PO-Revision-Date: 2018-07-30 15:57+0800\n" +"PO-Revision-Date: 2018-10-14 09:57+0800\n" "Last-Translator: Ching-Hao Liu \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -72,11 +72,12 @@ msgstr "" "``a.append(x)``。" #: ../../tutorial/datastructures.rst:43 -#, fuzzy msgid "" "Remove the first item from the list whose value is equal to *x*. It raises " "a ``ValueError`` if there is no such item." -msgstr "刪除 list 中第一個值等於 *x* 的元素。若 list 中無此元素則會產生錯誤。" +msgstr "" +"刪除 list 中第一個值等於 *x* 的元素。若 list 中無此元素則會觸發 " +"``ValueError``。" #: ../../tutorial/datastructures.rst:50 msgid "" diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 72dc0d5c91..1afbc43c3a 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-09-20 15:25+0800\n" -"PO-Revision-Date: 2018-07-30 15:36+0800\n" +"PO-Revision-Date: 2018-10-14 10:03+0800\n" "Last-Translator: Ching-Hao Liu \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -594,7 +594,6 @@ msgstr "" "(evaluate),賦值再發生。右項的運算式由左至右依序被計算。" #: ../../tutorial/introduction.rst:494 -#, fuzzy msgid "" "The :keyword:`while` loop executes as long as the condition (here: ``a < " "10``) remains true. In Python, like in C, any non-zero integer value is " @@ -605,12 +604,13 @@ msgid "" "than), ``>`` (greater than), ``==`` (equal to), ``<=`` (less than or equal " "to), ``>=`` (greater than or equal to) and ``!=`` (not equal to)." msgstr "" -":keyword:`while` 迴圈只要它的條件為真,將會一直重覆執行。在 Python 中如同 C " -"語言,任何非零的整數值為真 (true);零為偽 (false)。條件可以是字串、list、甚至" -"是任何序列型別;任何非零長度的序列為真,即空的序列為假。本例子使用的條件是個" -"簡單的比較。標準的比較運算子 (comparison operators) 使用如同 C 語言一樣的符" -"號:\\ ``<``\\ (小於)、\\ ``>``\\ (大於)、\\ ``==``\\ (等於)、\\ ``<=``" -"\\ (小於等於)、\\ ``>=``\\ (大於等於)以及\\ ``!=``\\ (不等於)。" +":keyword:`while` 迴圈只要它的條件為真(此範例:``a < 10``),將會一直重覆執" +"行。在 Python 中如同 C 語言,任何非零的整數值為真 (true);零為偽 (false)。條" +"件可以是字串、list、甚至是任何序列型別;任何非零長度的序列為真,空的序列即為" +"假。本例子使用的條件是個簡單的比較。標準的比較運算子 (comparison operators) " +"使用如同 C 語言一樣的符號:\\ ``<``\\ (小於)、\\ ``>``\\ (大於)、\\ " +"``==``\\ (等於)、\\ ``<=``\\ (小於等於)、\\ ``>=``\\ (大於等於)以及 ``!" +"=``\\ (不等於)。" #: ../../tutorial/introduction.rst:503 msgid "" From 263fd9de139c2e0ea6c30c6249b2234b8aefd7d2 Mon Sep 17 00:00:00 2001 From: nienzu Date: Sun, 14 Oct 2018 16:00:45 +0800 Subject: [PATCH 2/2] Update translation of the word false --- tutorial/introduction.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 1afbc43c3a..4be1694851 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -605,7 +605,7 @@ msgid "" "to), ``>=`` (greater than or equal to) and ``!=`` (not equal to)." msgstr "" ":keyword:`while` 迴圈只要它的條件為真(此範例:``a < 10``),將會一直重覆執" -"行。在 Python 中如同 C 語言,任何非零的整數值為真 (true);零為偽 (false)。條" +"行。在 Python 中如同 C 語言,任何非零的整數值為真 (true);零為假 (false)。條" "件可以是字串、list、甚至是任何序列型別;任何非零長度的序列為真,空的序列即為" "假。本例子使用的條件是個簡單的比較。標準的比較運算子 (comparison operators) " "使用如同 C 語言一樣的符號:\\ ``<``\\ (小於)、\\ ``>``\\ (大於)、\\ "