This repository was archived by the owner on Sep 2, 2018. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork5
補充 introduction.po & datastructures.po#12
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
8 commits Select commitHold shift + click to select a range
291b0a2
Add 3 translated statements.
chinghao-tw28e2cb3
補完 datastructures.po
chinghao-tw938ad86
Remove blank
chinghao-twfc6afbd
Modify the three translations edited last time.
chinghao-twc4ba590
Remove blank
chinghao-tw86c85fb
Modify the three translations edited last time
chinghao-twf0e8d5f
Add blank in rst:50
chinghao-tw533e42e
Better translation for 'the first item whose value is *x*
chinghao-twFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
17 changes: 9 additions & 8 deletionstutorial/datastructures.po
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -4,6 +4,7 @@ | ||
# | ||
# Translators: | ||
# Adrian Liaw <adrianliaw2000@gmail.com>, 2016 | ||
# Ching-Hao Liu <chinghao.liu@gmail.com>, 2018 | ||
# KentHsu <luffy1610@gmail.com>, 2016 | ||
# Liang-Bo Wang <me@liang2.tw>, 2015-2016 | ||
# Liang-Bo Wang <me@liang2.tw>, 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-06-07 05:22+0000\n" | ||
"Last-Translator:Ching-Hao Liu <chinghao.liu@gmail.com>\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" | ||
@@ -45,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]``。" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Nice catch ✨ | ||
#: ../../tutorial/datastructures.rst:28 | ||
msgid "" | ||
"Extend the list by appending all the items from the iterable. Equivalent to" | ||
" ``a[len(a):] = iterable``." | ||
msgstr "將 iterable(可列舉物件)接到 list 的尾端。等同於 ``a[len(a):] = iterable``。" | ||
#: ../../tutorial/datastructures.rst:35 | ||
msgid "" | ||
@@ -64,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 中第一個成功搜尋的結果(項目)。若 list 中無此項目,這會是一個錯誤。" | ||
#: ../../tutorial/datastructures.rst:50 | ||
msgid "" | ||
@@ -74,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 函式庫參考指南中看見這個表示法)" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Nice catch 👍 | ||
#: ../../tutorial/datastructures.rst:60 | ||
msgid "Remove all items from the list. Equivalent to ``del a[:]``." | ||
@@ -84,15 +85,15 @@ 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`。" | ||
#: ../../tutorial/datastructures.rst:69 | ||
msgid "" | ||
"The optional arguments *start* and *end* are interpreted as in the slice " | ||
"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 中特定的子序列。但要注意的是,回傳的索引值是從 list 的開頭開始算,而不是從 *start* 開始算。" | ||
#: ../../tutorial/datastructures.rst:78 | ||
msgid "Return the number of times *x* appears in the list." | ||
11 changes: 6 additions & 5 deletionstutorial/introduction.po
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.