4
4
#
5
5
# Translators:
6
6
# Adrian Liaw <adrianliaw2000@gmail.com>, 2016
7
+ # Ching-Hao Liu <chinghao.liu@gmail.com>, 2018
7
8
# KentHsu <luffy1610@gmail.com>, 2016
8
9
# Liang-Bo Wang <me@liang2.tw>, 2015-2016
9
10
# Liang-Bo Wang <me@liang2.tw>, 2016
@@ -13,8 +14,8 @@ msgstr ""
13
14
"Project-Id-Version :Python 3.6 TW\n "
14
15
"Report-Msgid-Bugs-To :\n "
15
16
"POT-Creation-Date :2018-05-23 22:00+0800\n "
16
- "PO-Revision-Date :2018-05-23 16:18 +0000\n "
17
- "Last-Translator :Adrian Liaw <adrianliaw2000 @gmail.com>\n "
17
+ "PO-Revision-Date :2018-06-07 05:22 +0000\n "
18
+ "Last-Translator :Ching-Hao Liu <chinghao.liu @gmail.com>\n "
18
19
"Language-Team :Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n "
19
20
"MIME-Version :1.0\n "
20
21
"Content-Type :text/plain; charset=UTF-8\n "
@@ -45,13 +46,13 @@ msgstr "List(串列)這個資料型態,具有更多操作的方法。下
45
46
#: ../../tutorial/datastructures.rst:22
46
47
msgid ""
47
48
"Add an item to the end of the list. Equivalent to ``a[len(a):] = [x]``."
48
- msgstr "將一個新的項目加到 list 的尾端。等同於 ``a[len(a):] = [x]`` 。"
49
+ msgstr "將一個新的項目加到 list 的尾端。等同於 ``a[len(a):] = [x]``。"
49
50
50
51
#: ../../tutorial/datastructures.rst:28
51
52
msgid ""
52
53
"Extend the list by appending all the items from the iterable. Equivalent to"
53
54
" ``a[len(a):] = iterable``."
54
- msgstr ""
55
+ msgstr "將 iterable(可列舉物件)接到 list 的尾端。等同於 ``a[len(a):] = iterable``。 "
55
56
56
57
#: ../../tutorial/datastructures.rst:35
57
58
msgid ""
@@ -64,7 +65,7 @@ msgstr "將一個項目插入至 list 中給定的位置。第一個引數為插
64
65
msgid ""
65
66
"Remove the first item from the list whose value is *x*. It is an error if "
66
67
"there is no such item."
67
- msgstr "刪除 list中第一個是 *x* 的項目。若 list 中無此項目,這會是一個錯誤。"
68
+ msgstr "搜尋 list中值為 x 的項目,刪除 list 中第一個成功搜尋的結果(項目) 。若 list 中無此項目,這會是一個錯誤。"
68
69
69
70
#: ../../tutorial/datastructures.rst:50
70
71
msgid ""
@@ -74,7 +75,7 @@ msgid ""
74
75
"that the parameter is optional, not that you should type square brackets at "
75
76
"that position. You will see this notation frequently in the Python Library "
76
77
"Reference.)"
77
- msgstr "移除list 中給定位置的項目,並回傳它。如果沒有指定位置, ``a.pop()`` 將會移除 list 中最後的項目並回傳它。(在 *i* 周圍的方括號代表這個參數是選用的,並不代表你應該在該位置輸入方括號。你將會常常在 Python 函式庫參考指南中看見這個表示法)"
78
+ msgstr "移除 list 中給定位置的項目,並回傳它。如果沒有指定位置, ``a.pop()`` 將會移除 list 中最後的項目並回傳它。(在 *i* 周圍的方括號代表這個參數是選用的,並不代表你應該在該位置輸入方括號。你將會常常在 Python 函式庫參考指南中看見這個表示法)"
78
79
79
80
#: ../../tutorial/datastructures.rst:60
80
81
msgid "Remove all items from the list. Equivalent to ``del a[:]``."
@@ -84,15 +85,15 @@ msgstr "刪除 list 中所有項目。這等同於 ``del a[:]`` 。"
84
85
msgid ""
85
86
"Return zero-based index in the list of the first item whose value is *x*. "
86
87
"Raises a :exc:`ValueError` if there is no such item."
87
- msgstr ""
88
+ msgstr "搜尋 list 中值為 x 的項目,回傳第一個成功搜尋結果(項目)的位置(從零開始的索引值)。若 list 中無此項目,就丟出 :exc:`ValueError`。 "
88
89
89
90
#: ../../tutorial/datastructures.rst:69
90
91
msgid ""
91
92
"The optional arguments *start* and *end* are interpreted as in the slice "
92
93
"notation and are used to limit the search to a particular subsequence of the"
93
94
" list. The returned index is computed relative to the beginning of the full"
94
95
" sequence rather than the *start* argument."
95
- msgstr ""
96
+ msgstr "引數 *start* 和 *end* 的定義跟在 slice 表示法中相同,搜尋的動作被這兩個引數限定在 list 中特定的子序列。但要注意的是,回傳的索引值是從 list 的開頭開始算,而不是從 *start* 開始算。 "
96
97
97
98
#: ../../tutorial/datastructures.rst:78
98
99
msgid "Return the number of times *x* appears in the list."