Skip to content

Commit 9546396

Browse files
committed
fix fuzzy entries and incorrect refs
1 parent 9f7d890 commit 9546396

35 files changed

+67
-81
lines changed

c-api/bytes.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,8 @@ msgid "``%zd``"
159159
msgstr "``%zd``"
160160

161161
#: ../../c-api/bytes.rst:84
162-
#, fuzzy
163162
msgid ":c:type:` Py_ssize_t`"
164-
msgstr ":c:type:`\\ Py_ssize_t`"
163+
msgstr ":c:type:` Py_ssize_t`"
165164

166165
#: ../../c-api/bytes.rst:84
167166
msgid "Equivalent to ``printf(\"%zd\")``. [1]_"

c-api/complex.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ msgid ""
194194
msgstr ""
195195
"如果 *op* 不是 Python 複數物件,但有一個 :meth:`~object.__complex__` 方法,則"
196196
"首先會呼叫該方法將 *op* 轉換為 Python 複數物件。如果 :meth:`!__complex__` 並"
197-
"未定義,那麼它會回退到呼叫 :func:`PyFloat_AsDouble` 並回傳其結果。"
197+
"未定義,那麼它會回退到呼叫 :c:func:`PyFloat_AsDouble` 並回傳其結果。"
198198

199199
#: ../../c-api/complex.rst:134 ../../c-api/complex.rst:150
200200
msgid ""
@@ -222,7 +222,7 @@ msgid ""
222222
msgstr ""
223223
"如果 *op* 不是 Python 複數物件,但有一個 :meth:`~object.__complex__` 方法,則"
224224
"首先會呼叫該方法將 *op* 轉換為 Python 複數物件。如果 :meth:`!__complex__` 並"
225-
"未定義,那麼它會回退到呼叫 :func:`PyFloat_AsDouble` 並於成功時回傳 ``0.0``。"
225+
"未定義,那麼它會回退到呼叫 :c:func:`PyFloat_AsDouble` 並於成功時回傳 ``0.0``。"
226226

227227
#: ../../c-api/complex.rst:158
228228
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."

c-api/datetime.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ msgid ""
129129
"is the same object as :class:`datetime.time` in the Python layer."
130130
msgstr ""
131131
"此 :c:type:`PyTypeObject` 實例代表 Python time 型別,與 Python layer 中的 :"
132-
"class:`datetime.datetime.time` 是同一物件"
132+
"class:`datetime.time` 是同一物件"
133133

134134
#: ../../c-api/datetime.rst:80
135135
msgid ""
@@ -282,7 +282,7 @@ msgstr ""
282282
msgid ""
283283
"Return a :class:`datetime.time` object with the specified hour, minute, "
284284
"second and microsecond."
285-
msgstr "回傳一個有特定時、分、秒、微秒的物件 :class:`datetime.date`。"
285+
msgstr "回傳一個有特定時、分、秒、微秒的物件 :class:`datetime.time`。"
286286

287287
#: ../../c-api/datetime.rst:196
288288
msgid ""

c-api/init.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ msgstr ""
389389

390390
#: ../../c-api/init.rst:217
391391
msgid "Set by the :option:`-I` option."
392-
msgstr "由 :option:`-i` 選項設定。"
392+
msgstr "由 :option:`-I` 選項設定。"
393393

394394
#: ../../c-api/init.rst:225
395395
msgid ""

c-api/veryhigh.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,15 +444,15 @@ msgstr ""
444444

445445
#: ../../c-api/veryhigh.rst:405
446446
msgid ":py:func:`dis.stack_effect`"
447-
msgstr ""
447+
msgstr ":py:func:`dis.stack_effect`"
448448

449449
#: ../../c-api/veryhigh.rst:410
450450
msgid "Sentinel value representing an invalid stack effect."
451451
msgstr ""
452452

453453
#: ../../c-api/veryhigh.rst:412
454454
msgid "This is currently equivalent to ``INT_MAX``."
455-
msgstr ""
455+
msgstr "這目前等同於 ``INT_MAX``。"
456456

457457
#: ../../c-api/veryhigh.rst:419
458458
msgid "Compute the stack effect of *opcode* with argument *oparg*."

extending/extending.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,14 +857,13 @@ msgid ""
857857
msgstr ""
858858

859859
#: ../../extending/extending.rst:428
860-
#, fuzzy
861860
msgid ""
862861
"When embedding Python, the :c:func:`!PyInit_spam` function is not called "
863862
"automatically unless there's an entry in the :c:data:`PyImport_Inittab` "
864863
"table. To add the module to the initialization table, use :c:func:"
865864
"`PyImport_AppendInittab`, optionally followed by an import of the module::"
866865
msgstr ""
867-
"嵌入 Python 時,除非在 :c:data:`!PyImport_Inittab` 表中有相關條目,否則不會自"
866+
"嵌入 Python 時,除非在 :c:data:`PyImport_Inittab` 表中有相關條目,否則不會自"
868867
"動呼叫 :c:func:`!PyInit_spam` 函式。要將模組加入初始化表,請使用 :c:func:"
869868
"`PyImport_AppendInittab` 並在隨後選擇性地將該模組引入: ::"
870869

faq/gui.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ msgid ""
125125
"events>` to events with the :meth:`!bind` method don't get handled even when "
126126
"the appropriate key is pressed."
127127
msgstr ""
128-
"一個經常聽到的抱怨是,儘管事件處理程式 (event handler) 已經\\ :ref:`繫結"
128+
"一個經常聽到的抱怨是,儘管事件處理程式 (event handler) 已經\\ :ref:`繫結 "
129129
"<bindings-and-events>`\\ 到帶有 :meth:`!bind` method 的事件,但在按下相應的鍵"
130130
"時,該事件也沒有被處理。"
131131

howto/functional.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ msgid "Author"
2727
msgstr "作者"
2828

2929
#: ../../howto/functional.rst:7
30-
#, fuzzy
3130
msgid "\\A. M. Kuchling"
32-
msgstr "A. M. Kuchling"
31+
msgstr "\\A. M. Kuchling"
3332

3433
#: ../../howto/functional.rst:0
3534
msgid "Release"

howto/urllib2.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,12 @@ msgid ""
4646
msgstr "以下這些與 Python 有關的文章說不定能幫到你::"
4747

4848
#: ../../howto/urllib2.rst:18
49-
#, fuzzy
5049
msgid ""
5150
"`Basic Authentication <https://web.archive.org/web/20201215133350/http://www."
5251
"voidspace.org.uk/python/articles/authentication.shtml>`__"
5352
msgstr ""
5453
"`Basic Authentication <https://web.archive.org/web/20201215133350/http://www."
55-
"voidspace.org.uk/python/articles/authentication.shtml>`_"
54+
"voidspace.org.uk/python/articles/authentication.shtml>`__"
5655

5756
#: ../../howto/urllib2.rst:20
5857
msgid "A tutorial on *Basic Authentication*, with examples in Python."

library/asyncio-eventloop.po

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ msgid ""
10641064
msgstr ""
10651065
"*reuse_port* 告訴核心允許將此端點綁定到與其他現有端點相同的埠,只要它們在建立"
10661066
"時都設定了此旗標。此選項不受 Windows 和某些 Unix 系統支援。如果未定義 :py:"
1067-
"const:`~socket.SO_REUSEPORT` 常數,則不支援此功能。"
1067+
"const:`socket.SO_REUSEPORT <socket-unix-constants>` 常數,則不支援此功能。"
10681068

10691069
#: ../../library/asyncio-eventloop.rst:647
10701070
msgid ""
@@ -1109,7 +1109,7 @@ msgid ""
11091109
"SO_REUSEADDR <socket-unix-constants>` poses a significant security concern "
11101110
"for UDP. Explicitly passing ``reuse_address=True`` will raise an exception."
11111111
msgstr ""
1112-
"不再支援 *reuse_address* 參數,因為使用 :py:const:`~sockets.SO_REUSEADDR` 對"
1112+
"不再支援 *reuse_address* 參數,因為使用 :py:const:`~socket.SO_REUSEADDR <socket-unix-constants>` 對"
11131113
"於 UDP 存有重大的安全疑慮。明確傳遞 ``reuse_address=True`` 將引發例外。"
11141114

11151115
#: ../../library/asyncio-eventloop.rst:677
@@ -1129,7 +1129,8 @@ msgid ""
11291129
"differing UIDs from assigning sockets to the same socket address."
11301130
msgstr ""
11311131
"對於有支援的平台,*reuse_port* 可以用作類似功能的替代方案。使用 "
1132-
"*reuse_port*,將改為使用 :py:const:`~sockets.SO_REUSEPORT`,該選項明確禁止具"
1132+
"*reuse_port*,將改為使用 :py:const:`~socket.SO_REUSEPORT <socket-"
1133+
"unix-constants>`,該選項明確禁止具"
11331134
"有不同 UID 的行程將 socket 分配給相同的 socket 地址。"
11341135

11351136
#: ../../library/asyncio-eventloop.rst:688
@@ -2621,7 +2622,7 @@ msgid ""
26212622
"The server is closed asynchronously; use the :meth:`wait_closed` coroutine "
26222623
"to wait until the server is closed (and no more connections are active)."
26232624
msgstr ""
2624-
"伺服器以非同步方式關閉;使用 :meth:`wait_close` 協程等待伺服器關閉(不再有活"
2625+
"伺服器以非同步方式關閉;使用 :meth:`wait_closed` 協程等待伺服器關閉(不再有活"
26252626
"躍連線)。"
26262627

26272628
#: ../../library/asyncio-eventloop.rst:1759
@@ -2648,7 +2649,7 @@ msgstr "立即關閉所有現有的傳入用戶端連線,而不等待待定操
26482649
#: ../../library/asyncio-eventloop.rst:1774
26492650
msgid ""
26502651
"Calls :meth:`~asyncio.WriteTransport.abort` on all associated transports."
2651-
msgstr "在所有關聯的傳輸上呼叫 :meth:`~asyncio.BaseTransport.close`。"
2652+
msgstr "在所有關聯的傳輸上呼叫 :meth:`~asyncio.WriteTransport.abort`。"
26522653

26532654
#: ../../library/asyncio-eventloop.rst:1777
26542655
msgid ""
@@ -3083,8 +3084,8 @@ msgid ""
30833084
"Register handlers for signals :const:`~signal.SIGINT` and :const:`~signal."
30843085
"SIGTERM` using the :meth:`loop.add_signal_handler` method::"
30853086
msgstr ""
3086-
"使用 :meth:`loop.add_signal_handler` 方法註冊訊號 :py:data:`SIGINT` 和 :py:"
3087-
"data:`SIGTERM` 的處理程式: ::"
3087+
"使用 :meth:`loop.add_signal_handler` 方法註冊訊號 :const:`~signal.SIGINT` 和 :const:`~signal."
3088+
"SIGTERM` 的處理程式: ::"
30883089

30893090
#: ../../library/asyncio-eventloop.rst:2060
30903091
msgid ""

0 commit comments

Comments
 (0)