Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc3a7c3

Browse files
author
Daily Build Bot
committed
Update translation (auto daily)
1 parent 8a01148 commit bc3a7c3

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Doc/locale/zh_Hant/LC_MESSAGES/tutorial/controlflow.po

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgstr ""
1111
"Project-Id-Version: Python 3.5 TW\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2016-11-18 18:19-0600\n"
14-
"PO-Revision-Date: 2016-11-26 05:18+0000\n"
14+
"PO-Revision-Date: 2016-11-27 19:13+0000\n"
1515
"Last-Translator: Liang Bo Wang <[email protected]>\n"
1616
"Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-35-tw/language/zh-Hant/)\n"
1717
"MIME-Version: 1.0\n"
@@ -62,7 +62,7 @@ msgid ""
6262
":keyword:`for` statement iterates over the items of any sequence (a list or "
6363
"a string), in the order that they appear in the sequence. For example (no "
6464
"pun intended):"
65-
msgstr "在 Python 中的 :keyword:`for` 陳述式可能不同於在 C 或 Pascal 中所看到的使用方式。與其永遠选代 (iterate) 一個數值的增遞運算(如 Pascal),或給與使用者定義选代步進方式與結束條件(如 C),Python 的 :keyword:`for` 陳述选代任何序列(list 或者字串)的元素,以他們出現在序列中的順序。例如(無意雙關):\n\n::"
65+
msgstr "在 Python 中的 :keyword:`for` 陳述式可能不同於在 C 或 Pascal 中所看到的使用方式。與其只能选代 (iterate) 一個等差級數(如 Pascal),或給與使用者定義选代步進方式與結束條件(如 C),Python 的 :keyword:`for` 陳述选代任何序列(list 或者字串)的元素,以他們出現在序列中的順序。例如(無意雙關):\n\n::"
6666

6767
#: ../../tutorial/controlflow.rst:69
6868
msgid ""
@@ -80,39 +80,39 @@ msgstr ":func:`range` 函式"
8080
msgid ""
8181
"If you do need to iterate over a sequence of numbers, the built-in function "
8282
":func:`range` comes in handy. It generates arithmetic progressions::"
83-
msgstr ""
83+
msgstr "如果你需要选代一個數列的話,使用內建 :func:`range` 函式就很方便。它可以生成一等差級數:\n\n::"
8484

8585
#: ../../tutorial/controlflow.rst:99
8686
msgid ""
8787
"The given end point is never part of the generated sequence; ``range(10)`` "
8888
"generates 10 values, the legal indices for items of a sequence of length 10."
8989
" It is possible to let the range start at another number, or to specify a "
9090
"different increment (even negative; sometimes this is called the 'step')::"
91-
msgstr ""
91+
msgstr "給定的結束值永遠不會出現在生成的序列中;\\ ``range(10)`` 生成的 10 個數值,即對應存取一個長度為 10 的序列內每一個元素的索引值。也可以讓 range 從其他數值計數,或者給定不同的級距(甚至為負;有時稱之為 'step'):\n\n::"
9292

9393
#: ../../tutorial/controlflow.rst:113
9494
msgid ""
9595
"To iterate over the indices of a sequence, you can combine :func:`range` and"
9696
" :func:`len` as follows::"
97-
msgstr ""
97+
msgstr "欲选代一個序列的索引值們,你可以搭配使用 :func:`range` 和 :func:`len` 如下:\n\n::"
9898

9999
#: ../../tutorial/controlflow.rst:126
100100
msgid ""
101101
"In most such cases, however, it is convenient to use the :func:`enumerate` "
102102
"function, see :ref:`tut-loopidioms`."
103-
msgstr ""
103+
msgstr "然而,在多數的情況,使用 :func:`enumerate` 函式將更為方便,詳見\\ :ref:`tut-loopidioms`。"
104104

105105
#: ../../tutorial/controlflow.rst:129
106106
msgid "A strange thing happens if you just print a range::"
107-
msgstr ""
107+
msgstr "如果直接印出一個 range 則會出現奇怪的輸出:\n\n::"
108108

109109
#: ../../tutorial/controlflow.rst:134
110110
msgid ""
111111
"In many ways the object returned by :func:`range` behaves as if it is a "
112112
"list, but in fact it isn't. It is an object which returns the successive "
113113
"items of the desired sequence when you iterate over it, but it doesn't "
114114
"really make the list, thus saving space."
115-
msgstr ""
115+
msgstr "在很多情況下,由 :func:`range` 回傳的物件的行為如同一個 list,但實際上它並不是。它是一個物件在你选代時會回傳想要的序列的連續元素,並不會真正建出這個序列的 list,以節省空間。"
116116

117117
#: ../../tutorial/controlflow.rst:139
118118
msgid ""
@@ -121,25 +121,25 @@ msgid ""
121121
"successive items until the supply is exhausted. We have seen that the "
122122
":keyword:`for` statement is such an *iterator*. The function :func:`list` is"
123123
" another; it creates lists from iterables::"
124-
msgstr ""
124+
msgstr "我們稱這樣的物件為 *iterable*\\ (可选代的),意即能作為函式、陳述式中能一直獲取連續元素直到用盡的部件。我們已經看過 :keyword:`for` 陳述式可做為如此的 *iterator*\\ (选代器)。:func:`list` 函式為另一個例子,他可以自 iterable(可选代物件)建立 list:\n\n::"
125125

126126
#: ../../tutorial/controlflow.rst:149
127127
msgid ""
128128
"Later we will see more functions that return iterables and take iterables as"
129129
" argument."
130-
msgstr ""
130+
msgstr "待會我們可以看到更多函式回傳 iterable 和接受 iterable 為引數。"
131131

132132
#: ../../tutorial/controlflow.rst:155
133133
msgid ""
134134
":keyword:`break` and :keyword:`continue` Statements, and :keyword:`else` "
135135
"Clauses on Loops"
136-
msgstr ""
136+
msgstr ":keyword:`break` 和 :keyword:`continue` 陳述、迴圈內 :keyword:`else` 段落"
137137

138138
#: ../../tutorial/controlflow.rst:157
139139
msgid ""
140140
"The :keyword:`break` statement, like in C, breaks out of the smallest "
141141
"enclosing :keyword:`for` or :keyword:`while` loop."
142-
msgstr ""
142+
msgstr ":keyword:`break` 陳述式,如 C 語言,跳脫最內層的 :keyword:`for` 或 :keyword:`while` 迴圈。"
143143

144144
#: ../../tutorial/controlflow.rst:160
145145
msgid ""

0 commit comments

Comments
 (0)