Skip to content

Commit 206544e

Browse files
committed
Replace terms with no translated reference in glossary with original English
See #56
1 parent 5f06c56 commit 206544e

File tree

1 file changed

+28
-22
lines changed

1 file changed

+28
-22
lines changed

library/functions.po

+28-22
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version: Python 3.7\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2018-10-19 17:24+0800\n"
11-
"PO-Revision-Date: 2018-05-23 16:02+0000\n"
11+
"PO-Revision-Date: 2018-11-10 18:27+0800\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
@@ -17,6 +17,7 @@ msgstr ""
1717
"Content-Type: text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding: 8bit\n"
1919
"Plural-Forms: nplurals=1; plural=0;\n"
20+
"X-Generator: Poedit 2.1.1\n"
2021

2122
#: ../../library/functions.rst:5 ../../library/functions.rst:11
2223
msgid "Built-in Functions"
@@ -556,8 +557,8 @@ msgid ""
556557
"The ``@classmethod`` form is a function :term:`decorator` -- see the "
557558
"description of function definitions in :ref:`function` for details."
558559
msgstr ""
559-
"``@classmethod`` 形式是一個函式 :term:`裝飾器` - 參見 :ref:`function` 中關於"
560-
"函式定義的詳細介紹。"
560+
"``@classmethod`` 形式是一個函式 :term:`decorator` - 參見 :ref:`function` 中關"
561+
"於函式定義的詳細介紹。"
561562

562563
#: ../../library/functions.rst:216
563564
#, fuzzy
@@ -900,9 +901,9 @@ msgid ""
900901
"returns a tuple containing a count (from *start* which defaults to 0) and "
901902
"the values obtained from iterating over *iterable*."
902903
msgstr ""
903-
"返回一個列舉物件。*iterable* 必須是一個序列,或 :term:`迭代器`,或其他支援迭"
904-
"代的物件。 :func:`enumerate` 返回的迭代器的 :meth:`~iterator.__next__` 方法返"
905-
"回一個元組,裡面包含一個計數值(從 *start* 開始,預設為 0)和通過迭代 "
904+
"返回一個列舉物件。*iterable* 必須是一個序列,或 :term:`iterator`,或其他支援"
905+
"迭代的物件。 :func:`enumerate` 返回的迭代器的 :meth:`~iterator.__next__` 方法"
906+
"返回一個元組,裡面包含一個計數值(從 *start* 開始,預設為 0)和通過迭代 "
906907
"*iterable* 獲得的值。"
907908

908909
#: ../../library/functions.rst:421
@@ -1474,13 +1475,14 @@ msgid ""
14741475
"__next__` method; if the value returned is equal to *sentinel*, :exc:"
14751476
"`StopIteration` will be raised, otherwise the value will be returned."
14761477
msgstr ""
1477-
"返回一個 :term:`迭代器` 物件。根據是否存在第二個實參,第一個實參的解釋是非常"
1478-
"不同的。如果沒有第二個實參,*object* 必須是支援迭代協議(有 :meth:`__iter__` "
1479-
"方法)的集合物件,或必須支援序列協議(有 :meth:`__getitem__` 方法,且數字引數"
1480-
"從 ``0`` 開始)。如果它不支援這些協議,會觸發 :exc:`TypeError`。如果有第二個"
1481-
"實參 *sentinel*,那麼 *object* 必須是可呼叫的物件。這種情況下生成的迭代器,每"
1482-
"次迭代呼叫它的 :meth:`~iterator.__next__` 方法時都會不帶實參地呼叫 *object*;"
1483-
"如果返回的結果是 *sentinel* 則觸發 :exc:`StopIteration`,否則返回呼叫結果。"
1478+
"返回一個 :term:`iterator` 物件。根據是否存在第二個實參,第一個實參的解釋是非"
1479+
"常不同的。如果沒有第二個實參,*object* 必須是支援迭代協議(有 :meth:"
1480+
"`__iter__` 方法)的集合物件,或必須支援序列協議(有 :meth:`__getitem__` 方"
1481+
"法,且數字引數從 ``0`` 開始)。如果它不支援這些協議,會觸發 :exc:"
1482+
"`TypeError`。如果有第二個實參 *sentinel*,那麼 *object* 必須是可呼叫的物件。"
1483+
"這種情況下生成的迭代器,每次迭代呼叫它的 :meth:`~iterator.__next__` 方法時都"
1484+
"會不帶實參地呼叫 *object*;如果返回的結果是 *sentinel* 則觸發 :exc:"
1485+
"`StopIteration`,否則返回呼叫結果。"
14841486

14851487
#: ../../library/functions.rst:810
14861488
#, fuzzy
@@ -1564,8 +1566,8 @@ msgid ""
15641566
"The largest item in the iterable is returned. If two or more positional "
15651567
"arguments are provided, the largest of the positional arguments is returned."
15661568
msgstr ""
1567-
"如果只提供了一個 positional 實參,它必須是非空 :term:`可迭代物件`,返回可迭代"
1568-
"物件中最大的元素;如果提供了兩個及以上的 positional 實參,則返回最大的 "
1569+
"如果只提供了一個 positional 實參,它必須是非空 :term:`iterable`,返回可迭代物"
1570+
"件中最大的元素;如果提供了兩個及以上的 positional 實參,則返回最大的 "
15691571
"positional 實參。"
15701572

15711573
#: ../../library/functions.rst:867 ../../library/functions.rst:901
@@ -1621,9 +1623,9 @@ msgid ""
16211623
"The smallest item in the iterable is returned. If two or more positional "
16221624
"arguments are provided, the smallest of the positional arguments is returned."
16231625
msgstr ""
1624-
"如果只提供了一個 positional 實參,它必須是 :term:`可迭代物件`,返回可迭代物件"
1625-
"中最小的元素;如果提供了兩個及以上的 positional 實參,則返回最小的 "
1626-
"positional 實參。"
1626+
"如果只提供了一個 positional 實參,它必須是 :term:`iterable`,返回可迭代物件中"
1627+
"最小的元素;如果提供了兩個及以上的 positional 實參,則返回最小的 positional "
1628+
"實參。"
16271629

16281630
#: ../../library/functions.rst:907
16291631
#, fuzzy
@@ -1692,8 +1694,8 @@ msgid ""
16921694
"Open *file* and return a corresponding :term:`file object`. If the file "
16931695
"cannot be opened, an :exc:`OSError` is raised."
16941696
msgstr ""
1695-
"開啟 *file* 並返回對應的 :term:`檔案物件`。如果該檔案不能開啟,則觸發 :exc:"
1696-
"`OSError`。"
1697+
"開啟 *file* 並返回對應的 :term:`file object`。如果該檔案不能開啟,則觸發 :"
1698+
"exc:`OSError`。"
16971699

16981700
#: ../../library/functions.rst:967
16991701
#, fuzzy
@@ -1705,7 +1707,7 @@ msgid ""
17051707
"is set to ``False``.)"
17061708
msgstr ""
17071709
"*file* 是將要開啟的檔案的路徑(絕對路徑或者當前工作目錄的相當路徑),是一個 :"
1708-
"term:`path-like 物件`;也可能是要被封裝的檔案描述符的數字。(如果是檔案描述"
1710+
"term:`path-like object`;也可能是要被封裝的檔案描述符的數字。(如果是檔案描述"
17091711
"符,它會隨著返回的 I/O 物件關閉而關閉,除非 *closefd* 是 ``False`` 。)"
17101712

17111713
#: ../../library/functions.rst:973
@@ -1754,6 +1756,7 @@ msgid "``'w'``"
17541756
msgstr "``'w'``"
17551757

17561758
#: ../../library/functions.rst:993
1759+
#, fuzzy
17571760
msgid "open for writing, truncating the file first"
17581761
msgstr "写入,并先截断文件"
17591762

@@ -1762,6 +1765,7 @@ msgid "``'x'``"
17621765
msgstr "``'x'``"
17631766

17641767
#: ../../library/functions.rst:994
1768+
#, fuzzy
17651769
msgid "open for exclusive creation, failing if the file already exists"
17661770
msgstr "排它性创建,如果文件已存在则失败"
17671771

@@ -1770,6 +1774,7 @@ msgid "``'a'``"
17701774
msgstr "``'a'``"
17711775

17721776
#: ../../library/functions.rst:995
1777+
#, fuzzy
17731778
msgid "open for writing, appending to the end of the file if it exists"
17741779
msgstr "写入,如果文件存在则在末尾追加"
17751780

@@ -1778,6 +1783,7 @@ msgid "``'b'``"
17781783
msgstr "``'b'``"
17791784

17801785
#: ../../library/functions.rst:996
1786+
#, fuzzy
17811787
msgid "binary mode"
17821788
msgstr "二进制模式"
17831789

@@ -1806,7 +1812,7 @@ msgstr "``'U'``"
18061812
#: ../../library/functions.rst:999
18071813
#, fuzzy
18081814
msgid ":term:`universal newlines` mode (deprecated)"
1809-
msgstr ":term:`通用換行` 模式(已棄用)"
1815+
msgstr ":term:`universal newlines` 模式(已棄用)"
18101816

18111817
#: ../../library/functions.rst:1002
18121818
#, fuzzy

0 commit comments

Comments
 (0)