From 291b0a2224d93b78867879fadc7fcb8bc9928a55 Mon Sep 17 00:00:00 2001 From: chinghao-tw Date: Sun, 3 Jun 2018 14:20:25 +0800 Subject: [PATCH 1/8] Add 3 translated statements. --- tutorial/introduction.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tutorial/introduction.po b/tutorial/introduction.po index a704b2e..f61b66c 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -3,6 +3,7 @@ # 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 msgid "" @@ -10,8 +11,8 @@ msgstr "" "Project-Id-Version: Python 3.6 TW\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-05-23 22:00+0800\n" -"PO-Revision-Date: 2018-05-23 16:18+0000\n" -"Last-Translator: Adrian Liaw \n" +"PO-Revision-Date: 2018-06-03 06:13+0000\n" +"Last-Translator: Ching-Hao Liu \n" "Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -310,11 +311,11 @@ msgstr "字串支援非常多種基本轉換和搜尋的方法。" #: ../../tutorial/introduction.rst:354 msgid ":ref:`f-strings`" -msgstr "" +msgstr "ref:`f-strings`\"" #: ../../tutorial/introduction.rst:354 msgid "String literals that have embedded expressions." -msgstr "" +msgstr "有嵌入表達式 (embedded expression) 的字串值。" #: ../../tutorial/introduction.rst:357 msgid ":ref:`formatstrings`" @@ -332,7 +333,7 @@ msgstr ":ref:`old-string-formatting`" msgid "" "The old formatting operations invoked when strings are the left operand of " "the ``%`` operator are described in more detail here." -msgstr "" +msgstr "關於字串是 ``%`` 操作子的左操作元時被執行的舊的格式化操作,詳述於此。" #: ../../tutorial/introduction.rst:367 msgid "Lists" From 28e2cb32f7062c750a1e0ff01845442d9221096d Mon Sep 17 00:00:00 2001 From: chinghao-tw Date: Sun, 3 Jun 2018 15:59:45 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E8=A3=9C=E5=AE=8C=20datastructures.po?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tutorial/datastructures.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index 34fa050..be35633 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -4,6 +4,7 @@ # # Translators: # Adrian Liaw , 2016 +# Ching-Hao Liu , 2018 # KentHsu , 2016 # Liang-Bo Wang , 2015-2016 # Liang-Bo Wang , 2016 @@ -13,8 +14,8 @@ msgstr "" "Project-Id-Version: Python 3.6 TW\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-05-23 22:00+0800\n" -"PO-Revision-Date: 2018-05-23 16:18+0000\n" -"Last-Translator: Adrian Liaw \n" +"PO-Revision-Date: 2018-06-03 07:57+0000\n" +"Last-Translator: Ching-Hao Liu \n" "Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -51,7 +52,7 @@ msgstr "將一個新的項目加到 list 的尾端。等同於 ``a[len(a):] = [x msgid "" "Extend the list by appending all the items from the iterable. Equivalent to" " ``a[len(a):] = iterable``." -msgstr "" +msgstr "將串列接上此 iterable(可列舉物件)中所有項目。等同於 ``a[len(a):] = iterable`` 。" #: ../../tutorial/datastructures.rst:35 msgid "" @@ -84,7 +85,7 @@ msgstr "刪除 list 中所有項目。這等同於 ``del a[:]`` 。" msgid "" "Return zero-based index in the list of the first item whose value is *x*. " "Raises a :exc:`ValueError` if there is no such item." -msgstr "" +msgstr "回傳 list 中第一個其值為 *x* 的項目的索引值(從零開始)。如果沒有這樣一個項目,就丟出 :exc:`ValueError`。" #: ../../tutorial/datastructures.rst:69 msgid "" @@ -92,7 +93,7 @@ msgid "" "notation and are used to limit the search to a particular subsequence of the" " list. The returned index is computed relative to the beginning of the full" " sequence rather than the *start* argument." -msgstr "" +msgstr "可選的引數 *start* 和 *end* 的直譯都跟在切片 (slice) 表示法中一樣,在此用於限定搜尋範圍在 list 中一個特定子序列。回傳的索引值,對應完整序列的開頭,而非對應 *start* 引數(子序列的開頭)。" #: ../../tutorial/datastructures.rst:78 msgid "Return the number of times *x* appears in the list." From 938ad86ad7c6daf13ab4125094ed79943b07d867 Mon Sep 17 00:00:00 2001 From: chinghao-tw Date: Sun, 3 Jun 2018 16:26:52 +0800 Subject: [PATCH 3/8] Remove blank --- tutorial/datastructures.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index be35633..b9e74a4 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -52,7 +52,7 @@ msgstr "將一個新的項目加到 list 的尾端。等同於 ``a[len(a):] = [x msgid "" "Extend the list by appending all the items from the iterable. Equivalent to" " ``a[len(a):] = iterable``." -msgstr "將串列接上此 iterable(可列舉物件)中所有項目。等同於 ``a[len(a):] = iterable`` 。" +msgstr "將串列接上此 iterable(可列舉物件)中所有項目。等同於 ``a[len(a):] = iterable``。" #: ../../tutorial/datastructures.rst:35 msgid "" From fc6afbd3d2e437efeb51d7f149b9166f51b56206 Mon Sep 17 00:00:00 2001 From: chinghao-tw Date: Mon, 4 Jun 2018 15:08:37 +0800 Subject: [PATCH 4/8] Modify the three translations edited last time. --- tutorial/introduction.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorial/introduction.po b/tutorial/introduction.po index f61b66c..fbbb3ce 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.6 TW\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-05-23 22:00+0800\n" -"PO-Revision-Date: 2018-06-03 06:13+0000\n" +"PO-Revision-Date: 2018-06-04 07:04+0000\n" "Last-Translator: Ching-Hao Liu \n" "Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n" "MIME-Version: 1.0\n" @@ -311,11 +311,11 @@ msgstr "字串支援非常多種基本轉換和搜尋的方法。" #: ../../tutorial/introduction.rst:354 msgid ":ref:`f-strings`" -msgstr "ref:`f-strings`\"" +msgstr "ref:`f-strings`" #: ../../tutorial/introduction.rst:354 msgid "String literals that have embedded expressions." -msgstr "有嵌入表達式 (embedded expression) 的字串值。" +msgstr "包含有表示式的字串值。" #: ../../tutorial/introduction.rst:357 msgid ":ref:`formatstrings`" @@ -333,7 +333,7 @@ msgstr ":ref:`old-string-formatting`" msgid "" "The old formatting operations invoked when strings are the left operand of " "the ``%`` operator are described in more detail here." -msgstr "關於字串是 ``%`` 操作子的左操作元時被執行的舊的格式化操作,詳述於此。" +msgstr "在字串為 ``%`` 的左操作元時,將觸發舊的字串格式化操作,更多的細節在本連結中介紹。 " #: ../../tutorial/introduction.rst:367 msgid "Lists" From c4ba590f344fb8c3260d42f9606e821efe1630a6 Mon Sep 17 00:00:00 2001 From: chinghao-tw Date: Mon, 4 Jun 2018 15:19:00 +0800 Subject: [PATCH 5/8] Remove blank --- tutorial/introduction.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorial/introduction.po b/tutorial/introduction.po index fbbb3ce..3450d77 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.6 TW\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-05-23 22:00+0800\n" -"PO-Revision-Date: 2018-06-04 07:04+0000\n" +"PO-Revision-Date: 2018-06-04 07:16+0000\n" "Last-Translator: Ching-Hao Liu \n" "Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n" "MIME-Version: 1.0\n" @@ -333,7 +333,7 @@ msgstr ":ref:`old-string-formatting`" msgid "" "The old formatting operations invoked when strings are the left operand of " "the ``%`` operator are described in more detail here." -msgstr "在字串為 ``%`` 的左操作元時,將觸發舊的字串格式化操作,更多的細節在本連結中介紹。 " +msgstr "在字串為 ``%`` 的左操作元時,將觸發舊的字串格式化操作,更多的細節在本連結中介紹。" #: ../../tutorial/introduction.rst:367 msgid "Lists" From 86c85fba72c2204319102799e1b2c79d912180f1 Mon Sep 17 00:00:00 2001 From: chinghao-tw Date: Tue, 5 Jun 2018 12:39:18 +0800 Subject: [PATCH 6/8] Modify the three translations edited last time --- tutorial/datastructures.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index b9e74a4..b76ea90 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -14,7 +14,7 @@ msgstr "" "Project-Id-Version: Python 3.6 TW\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-05-23 22:00+0800\n" -"PO-Revision-Date: 2018-06-03 07:57+0000\n" +"PO-Revision-Date: 2018-06-05 04:37+0000\n" "Last-Translator: Ching-Hao Liu \n" "Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n" "MIME-Version: 1.0\n" @@ -46,13 +46,13 @@ msgstr "List(串列)這個資料型態,具有更多操作的方法。下 #: ../../tutorial/datastructures.rst:22 msgid "" "Add an item to the end of the list. Equivalent to ``a[len(a):] = [x]``." -msgstr "將一個新的項目加到 list 的尾端。等同於 ``a[len(a):] = [x]`` 。" +msgstr "將一個新的項目加到 list 的尾端。等同於 ``a[len(a):] = [x]``。" #: ../../tutorial/datastructures.rst:28 msgid "" "Extend the list by appending all the items from the iterable. Equivalent to" " ``a[len(a):] = iterable``." -msgstr "將串列接上此 iterable(可列舉物件)中所有項目。等同於 ``a[len(a):] = iterable``。" +msgstr "將 iterable(可列舉物件)接到 list 的尾端。等同於 ``a[len(a):] = iterable``。" #: ../../tutorial/datastructures.rst:35 msgid "" @@ -85,7 +85,7 @@ msgstr "刪除 list 中所有項目。這等同於 ``del a[:]`` 。" msgid "" "Return zero-based index in the list of the first item whose value is *x*. " "Raises a :exc:`ValueError` if there is no such item." -msgstr "回傳 list 中第一個其值為 *x* 的項目的索引值(從零開始)。如果沒有這樣一個項目,就丟出 :exc:`ValueError`。" +msgstr "回傳 list 中第一個是 *x* 的項目之從零開始的索引值。若 list 中無此項目,就丟出 :exc:`ValueError`。" #: ../../tutorial/datastructures.rst:69 msgid "" @@ -93,7 +93,7 @@ msgid "" "notation and are used to limit the search to a particular subsequence of the" " list. The returned index is computed relative to the beginning of the full" " sequence rather than the *start* argument." -msgstr "可選的引數 *start* 和 *end* 的直譯都跟在切片 (slice) 表示法中一樣,在此用於限定搜尋範圍在 list 中一個特定子序列。回傳的索引值,對應完整序列的開頭,而非對應 *start* 引數(子序列的開頭)。" +msgstr "引數 *start* 和 *end* 的定義跟在 slice 表示法中相同,搜尋的動作被這兩個引數限定在 list 中特定的子序列。但要注意的是,回傳的索引值是從 list 的開頭開始算,而不是從 *start* 開始算。" #: ../../tutorial/datastructures.rst:78 msgid "Return the number of times *x* appears in the list." From f0e8d5f637a4edbbc51b1eddc76a79333095fc99 Mon Sep 17 00:00:00 2001 From: chinghao-tw Date: Tue, 5 Jun 2018 12:48:44 +0800 Subject: [PATCH 7/8] Add blank in rst:50 --- tutorial/datastructures.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index b76ea90..524dc16 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -14,7 +14,7 @@ msgstr "" "Project-Id-Version: Python 3.6 TW\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-05-23 22:00+0800\n" -"PO-Revision-Date: 2018-06-05 04:37+0000\n" +"PO-Revision-Date: 2018-06-05 04:44+0000\n" "Last-Translator: Ching-Hao Liu \n" "Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n" "MIME-Version: 1.0\n" @@ -75,7 +75,7 @@ msgid "" "that the parameter is optional, not that you should type square brackets at " "that position. You will see this notation frequently in the Python Library " "Reference.)" -msgstr "移除list 中給定位置的項目,並回傳它。如果沒有指定位置, ``a.pop()`` 將會移除 list 中最後的項目並回傳它。(在 *i* 周圍的方括號代表這個參數是選用的,並不代表你應該在該位置輸入方括號。你將會常常在 Python 函式庫參考指南中看見這個表示法)" +msgstr "移除 list 中給定位置的項目,並回傳它。如果沒有指定位置, ``a.pop()`` 將會移除 list 中最後的項目並回傳它。(在 *i* 周圍的方括號代表這個參數是選用的,並不代表你應該在該位置輸入方括號。你將會常常在 Python 函式庫參考指南中看見這個表示法)" #: ../../tutorial/datastructures.rst:60 msgid "Remove all items from the list. Equivalent to ``del a[:]``." From 533e42eb3edb7998fc790dbf4291e861fb473190 Mon Sep 17 00:00:00 2001 From: chinghao-tw Date: Thu, 7 Jun 2018 13:48:09 +0800 Subject: [PATCH 8/8] Better translation for 'the first item whose value is *x* --- tutorial/datastructures.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index 524dc16..1bde008 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -14,7 +14,7 @@ msgstr "" "Project-Id-Version: Python 3.6 TW\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-05-23 22:00+0800\n" -"PO-Revision-Date: 2018-06-05 04:44+0000\n" +"PO-Revision-Date: 2018-06-07 05:22+0000\n" "Last-Translator: Ching-Hao Liu \n" "Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n" "MIME-Version: 1.0\n" @@ -65,7 +65,7 @@ msgstr "將一個項目插入至 list 中給定的位置。第一個引數為插 msgid "" "Remove the first item from the list whose value is *x*. It is an error if " "there is no such item." -msgstr "刪除 list 中第一個是 *x* 的項目。若 list 中無此項目,這會是一個錯誤。" +msgstr "搜尋 list 中值為 x 的項目,刪除 list 中第一個成功搜尋的結果(項目)。若 list 中無此項目,這會是一個錯誤。" #: ../../tutorial/datastructures.rst:50 msgid "" @@ -85,7 +85,7 @@ msgstr "刪除 list 中所有項目。這等同於 ``del a[:]`` 。" msgid "" "Return zero-based index in the list of the first item whose value is *x*. " "Raises a :exc:`ValueError` if there is no such item." -msgstr "回傳 list 中第一個是 *x* 的項目之從零開始的索引值。若 list 中無此項目,就丟出 :exc:`ValueError`。" +msgstr "搜尋 list 中值為 x 的項目,回傳第一個成功搜尋結果(項目)的位置(從零開始的索引值)。若 list 中無此項目,就丟出 :exc:`ValueError`。" #: ../../tutorial/datastructures.rst:69 msgid ""