Skip to content

Commit 985e0d6

Browse files
committed
Improves translations of library/heapq.po
1 parent c2bb398 commit 985e0d6

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

library/heapq.po

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgstr ""
1010
"Project-Id-Version: Python 3.11\n"
1111
"Report-Msgid-Bugs-To: \n"
1212
"POT-Creation-Date: 2018-10-19 17:24+0800\n"
13-
"PO-Revision-Date: 2023-06-30 23:05+0800\n"
13+
"PO-Revision-Date: 2023-07-01 18:20+0800\n"
1414
"Last-Translator: Liang-Bo Wang <[email protected]>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1616
"tw)\n"
@@ -281,8 +281,7 @@ msgid ""
281281
"Sort stability: how do you get two tasks with equal priorities to be "
282282
"returned in the order they were originally added?"
283283
msgstr ""
284-
"排序的穩定性:你如何將兩個擁有相同 priority 的 task 按照他們被加入的順序回"
285-
"傳。"
284+
"排序的穩定性:如何將兩個擁有相同 priority 的 task 按照他們被加入的順序回傳?"
286285

287286
#: ../../library/heapq.rst:175
288287
msgid ""
@@ -297,15 +296,14 @@ msgid ""
297296
"If the priority of a task changes, how do you move it to a new position in "
298297
"the heap?"
299298
msgstr ""
300-
"當一個 heap 中 task 的 priority 改變時,你如何將它移到 heap 正確的位置上"
299+
"當一個 heap 中 task 的 priority 改變時,如何將它移到 heap 正確的位置上?"
301300

302301
#: ../../library/heapq.rst:181
303302
msgid ""
304303
"Or if a pending task needs to be deleted, how do you find it and remove it "
305304
"from the queue?"
306305
msgstr ""
307-
"或者一個還沒被解決的 task 需要被刪除時,你要如何從佇列中找到並刪除指定的 "
308-
"task。"
306+
"或者一個還沒被解決的 task 需要被刪除時,要如何從佇列中找到並刪除指定的 task?"
309307

310308
#: ../../library/heapq.rst:184
311309
msgid ""
@@ -360,8 +358,8 @@ msgid ""
360358
"is that ``a[0]`` is always its smallest element."
361359
msgstr ""
362360
"Heap 是一個陣列對於所有從0開始的 index *k* 都存在性質 ``a[k] <= a[2*k+1]`` "
363-
"和 ``a[k] <= a[2*k+2]`` 。為了方便比較,不存在的元素被視為無限大。一個有趣的 "
364-
"heap 性質是 ``a[0]`` 永遠是最小的元素。"
361+
"和 ``a[k] <= a[2*k+2]`` 。為了方便比較,不存在的元素被視為無限大。Heap 的一個"
362+
"有趣的性質是:``a[0]`` 永遠是最小的元素。"
365363

366364
#: ../../library/heapq.rst:246
367365
msgid ""

0 commit comments

Comments
 (0)