Skip to content

Commit 36e1034

Browse files
committed
fix: correct some mistranslated strings
1 parent 54c2dc5 commit 36e1034

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

library/collections.po

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgstr ""
1111
"Project-Id-Version: Python 3.10\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2021-10-28 17:11+0000\n"
14-
"PO-Revision-Date: 2022-01-09 16:22+0800\n"
14+
"PO-Revision-Date: 2022-01-13 00:39+0800\n"
1515
"Last-Translator: Matt Wang <[email protected]>\n"
1616
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1717
"tw)\n"
@@ -450,7 +450,7 @@ msgstr ""
450450

451451
#: ../../library/collections.rst:331
452452
msgid "This class method is not implemented for :class:`Counter` objects."
453-
msgstr "此方法沒有被實作於 :class:`Counter` 物件中。"
453+
msgstr "此類別方法沒有被實作於 :class:`Counter` 物件中。"
454454

455455
#: ../../library/collections.rst:335
456456
msgid ""
@@ -911,7 +911,7 @@ msgid ""
911911
"`KeyError` exception with the *key* as argument."
912912
msgstr ""
913913
"如果 :attr:`default_factory` 屬性為 ``None``,呼叫此方法會引發一個附帶引數 "
914-
"*key* 的 :exc:`KeyError` 異常。"
914+
"*key* 的 :exc:`KeyError` 例外。"
915915

916916
#: ../../library/collections.rst:731
917917
msgid ""
@@ -995,9 +995,9 @@ msgstr ""
995995
"當每個鍵第一次被存取時,它還沒有存在於對映中,所以會自動呼叫 :attr:"
996996
"`~defaultdict.default_factory` 方法來回傳一個空的 :class:`list` 以建立一個條"
997997
"目,\\ :meth:`list.append` 操作後續會再新增值到這個新的列表裡。當再次存取該鍵"
998-
"時,就如普通字典般操作(回傳該鍵所對應到的 list),\\ :meth:`list.append` 也會"
999-
"新增另一個值到 list 中。和使用與其等價的 :meth:`dict.setdefault` 相比,這個技"
1000-
"巧更加快速和簡單:"
998+
"時,就如普通字典般操作(回傳該鍵所對應到的 list),\\ :meth:`list.append` "
999+
"會新增另一個值到 list 中。和使用與其等價的 :meth:`dict.setdefault` 相比,這個"
1000+
"技巧更加快速和簡單:"
10011001

10021002
#: ../../library/collections.rst:791
10031003
msgid ""
@@ -1049,8 +1049,8 @@ msgid ""
10491049
"position index."
10501050
msgstr ""
10511051
"Named tuple(具名元組)賦予 tuple 中各個位置意義,使程式碼更有可讀性與自我文"
1052-
"件性。它們可以用於任何普通 tuple 可使用的場合,賦予其透過名稱(而非位置索引)來存取欄位的"
1053-
"能力。"
1052+
"件性。它們可以用於任何普通 tuple 可使用的場合,賦予其透過名稱(而非位置索引)"
1053+
"來存取欄位的能力。"
10541054

10551055
#: ../../library/collections.rst:840
10561056
msgid ""
@@ -1062,8 +1062,8 @@ msgid ""
10621062
msgstr ""
10631063
"回傳一個名為 *typename* 的新 tuple 子類別。這個新的子類別被用於建立類似 "
10641064
"tuple 的物件,可以透過屬性名稱來存取欄位,它同時也是可索引 (indexable) 和可疊"
1065-
"代的 (iterable)。子類別實例同樣有文件字串docstring(有類別名 typename 和欄位名 "
1066-
"field_names)和一個好用的 :meth:`__repr__` 方法,可將 tuple 內容以 "
1065+
"代的 (iterable)。子類別實例同樣有文件字串 (docstring)(有類別名 typename 和欄"
1066+
"位名 field_names)和一個好用的 :meth:`__repr__` 方法,可將 tuple 內容以 "
10671067
"``name=value`` 格式列出。"
10681068

10691069
#: ../../library/collections.rst:846
@@ -1555,7 +1555,7 @@ msgid ""
15551555
"A real :class:`list` object used to store the contents of the :class:"
15561556
"`UserList` class."
15571557
msgstr ""
1558-
"一個真實的 :class:`list`\\ ,用於儲存 :class:`UserList` 類別的資料內容。"
1558+
"一個真實的 :class:`list` 物件,用於儲存 :class:`UserList` 類別的資料內容。"
15591559

15601560
#: ../../library/collections.rst:1325
15611561
msgid ""

0 commit comments

Comments
 (0)