Skip to content

Commit 4b4da2d

Browse files
committed
fix: resolve fuzzy entries
1 parent a06087a commit 4b4da2d

File tree

5 files changed

+12
-139
lines changed

5 files changed

+12
-139
lines changed

c-api/dict.po

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -517,19 +517,17 @@ msgid ""
517517
msgstr ""
518518

519519
#: ../../c-api/dict.rst:437
520-
#, fuzzy
521520
msgid "Dictionary View Objects"
522-
msgstr "字典物件"
521+
msgstr "字典視圖物件"
523522

524523
#: ../../c-api/dict.rst:441
525-
#, fuzzy
526524
msgid ""
527525
"Return true if *op* is a view of a set inside a dictionary. This is "
528526
"currently equivalent to :c:expr:`PyDictKeys_Check(op) || "
529527
"PyDictItems_Check(op)`. This function always succeeds."
530528
msgstr ""
531-
"若 *p* 是一個字典物件或字典的子型別實例則會回傳 true。此函式每次都會執行成"
532-
"。"
529+
"若 *op* 是一個字典中集合的視圖則會回傳 true。這目前等同於 :c:expr:`PyDictKeys_Check(op) || "
530+
"PyDictItems_Check(op)`。此函式每次都會執行成功。"
533531

534532
#: ../../c-api/dict.rst:448
535533
msgid ""
@@ -538,13 +536,10 @@ msgid ""
538536
msgstr ""
539537

540538
#: ../../c-api/dict.rst:454
541-
#, fuzzy
542539
msgid ""
543540
"Return true if *op* is an instance of a dictionary keys view. This function "
544541
"always succeeds."
545-
msgstr ""
546-
"若 *p* 是一個字典物件或字典的子型別實例則會回傳 true。此函式每次都會執行成"
547-
"功。"
542+
msgstr "若 *op* 是一個字典鍵視圖的實例則會回傳 true。此函式每次都會執行成功。"
548543

549544
#: ../../c-api/dict.rst:460
550545
msgid ""
@@ -553,13 +548,10 @@ msgid ""
553548
msgstr ""
554549

555550
#: ../../c-api/dict.rst:466
556-
#, fuzzy
557551
msgid ""
558552
"Return true if *op* is an instance of a dictionary values view. This "
559553
"function always succeeds."
560-
msgstr ""
561-
"若 *p* 是一個字典物件或字典的子型別實例則會回傳 true。此函式每次都會執行成"
562-
"功。"
554+
msgstr "若 *op* 是一個字典值視圖的實例則會回傳 true。此函式每次都會執行成功。"
563555

564556
#: ../../c-api/dict.rst:472
565557
msgid ""
@@ -568,13 +560,10 @@ msgid ""
568560
msgstr ""
569561

570562
#: ../../c-api/dict.rst:478
571-
#, fuzzy
572563
msgid ""
573564
"Return true if *op* is an instance of a dictionary items view. This function "
574565
"always succeeds."
575-
msgstr ""
576-
"若 *p* 是一個字典物件或字典的子型別實例則會回傳 true。此函式每次都會執行成"
577-
"功。"
566+
msgstr "若 *op* 是一個字典項目視圖的實例則會回傳 true。此函式每次都會執行成功。"
578567

579568
#: ../../c-api/dict.rst:8
580569
msgid "object"

c-api/float.po

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,22 +143,20 @@ msgstr ""
143143
"集。"
144144

145145
#: ../../c-api/float.rst:101
146-
#, fuzzy
147146
msgid ""
148147
"The definition (accurate for a :c:expr:`double` type) of the :data:`math.e` "
149148
"constant."
150-
msgstr "高精度(long double)定義的 :data:`~math.e` 常數。"
149+
msgstr ":data:`math.e` 常數的定義(對 :c:expr:`double` 型別而言是準確的)。"
151150

152151
#: ../../c-api/float.rst:106
153152
msgid "High precision (long double) definition of :data:`~math.e` constant."
154153
msgstr "高精度(long double)定義的 :data:`~math.e` 常數。"
155154

156155
#: ../../c-api/float.rst:111
157-
#, fuzzy
158156
msgid ""
159157
"The definition (accurate for a :c:expr:`double` type) of the :data:`math.pi` "
160158
"constant."
161-
msgstr "高精度(long double)定義的 :data:`~math.pi` 常數。"
159+
msgstr ":data:`math.pi` 常數的定義(對 :c:expr:`double` 型別而言是準確的)。"
162160

163161
#: ../../c-api/float.rst:116
164162
msgid "High precision (long double) definition of :data:`~math.pi` constant."
@@ -168,7 +166,7 @@ msgstr "高精度(long double)定義的 :data:`~math.pi` 常數。"
168166
msgid ""
169167
"The definition (accurate for a :c:expr:`double` type) of the :data:`math."
170168
"tau` constant."
171-
msgstr ""
169+
msgstr ":data:`math.tau` 常數的定義(對 :c:expr:`double` 型別而言是準確的)。"
172170

173171
#: ../../c-api/float.rst:128
174172
msgid "Return :data:`math.nan` from a function."

deprecations/pending-removal-in-3.13.po

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -146,36 +146,3 @@ msgstr ":class:`!webbrowser.MacOSX` (:gh:`86421`)"
146146
#: ../../deprecations/pending-removal-in-3.13.rst:40
147147
msgid ":class:`classmethod` descriptor chaining (:gh:`89519`)"
148148
msgstr ":class:`classmethod` 描述器鏈接 (:gh:`89519`)"
149-
150-
#~ msgid ":mod:`importlib.resources` deprecated methods:"
151-
#~ msgstr ":mod:`importlib.resources` 的已棄用方法:"
152-
153-
#~ msgid "``contents()``"
154-
#~ msgstr "``contents()``"
155-
156-
#~ msgid "``is_resource()``"
157-
#~ msgstr "``is_resource()``"
158-
159-
#~ msgid "``open_binary()``"
160-
#~ msgstr "``open_binary()``"
161-
162-
#~ msgid "``open_text()``"
163-
#~ msgstr "``open_text()``"
164-
165-
#~ msgid "``path()``"
166-
#~ msgstr "``path()``"
167-
168-
#~ msgid "``read_binary()``"
169-
#~ msgstr "``read_binary()``"
170-
171-
#~ msgid "``read_text()``"
172-
#~ msgstr "``read_text()``"
173-
174-
#~ msgid ""
175-
#~ "Use :func:`importlib.resources.files` instead. Refer to `importlib-"
176-
#~ "resources: Migrating from Legacy <https://importlib-resources.readthedocs."
177-
#~ "io/en/latest/using.html#migrating-from-legacy>`_ (:gh:`106531`)"
178-
#~ msgstr ""
179-
#~ "請改用 :func:`importlib.resources.files`。請參閱 `importlib-resources: "
180-
#~ "Migrating from Legacy <https://importlib-resources.readthedocs.io/en/"
181-
#~ "latest/using.html#migrating-from-legacy>`_ (:gh:`106531`)"

tutorial/stdlib.po

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ msgstr ""
368368
"request` 模組可以從網址抓取資料以及 :mod:`smtplib` 可以用來寄郵件: ::"
369369

370370
#: ../../tutorial/stdlib.rst:185
371-
#, fuzzy
372371
msgid ""
373372
">>> from urllib.request import urlopen\n"
374373
">>> with urlopen('https://docs.python.org/3/') as response:\n"
@@ -390,14 +389,13 @@ msgid ""
390389
">>> server.quit()"
391390
msgstr ""
392391
">>> from urllib.request import urlopen\n"
393-
">>> with urlopen('http://worldtimeapi.org/api/timezone/etc/UTC.txt') as "
394-
"response:\n"
392+
">>> with urlopen('https://docs.python.org/3/') as response:\n"
395393
"... for line in response:\n"
396394
"... line = line.decode() # 將 bytes 轉換為 str\n"
397-
"... if line.startswith('datetime'):\n"
395+
"... if 'updated' in line:\n"
398396
"... print(line.rstrip()) # 移除最後面的換行符號\n"
399397
"...\n"
400-
"datetime: 2022-01-01T01:36:47.689215+00:00\n"
398+
" Last updated on Nov 11, 2025 (20:11 UTC).\n"
401399
"\n"
402400
">>> import smtplib\n"
403401
">>> server = smtplib.SMTP('localhost')\n"

whatsnew/3.12.po

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -5686,82 +5686,3 @@ msgid ""
56865686
msgstr ""
56875687
"移除 ``PyUnicode_InternImmortal()`` 函式巨集。(由 Victor Stinner 於 :gh:"
56885688
"`85858` 中貢獻。)"
5689-
5690-
#~ msgid ":mod:`importlib.resources` deprecated methods:"
5691-
#~ msgstr ":mod:`importlib.resources` 的已棄用方法:"
5692-
5693-
#~ msgid "``contents()``"
5694-
#~ msgstr "``contents()``"
5695-
5696-
#~ msgid "``is_resource()``"
5697-
#~ msgstr "``is_resource()``"
5698-
5699-
#~ msgid "``open_binary()``"
5700-
#~ msgstr "``open_binary()``"
5701-
5702-
#~ msgid "``open_text()``"
5703-
#~ msgstr "``open_text()``"
5704-
5705-
#~ msgid "``path()``"
5706-
#~ msgstr "``path()``"
5707-
5708-
#~ msgid "``read_binary()``"
5709-
#~ msgstr "``read_binary()``"
5710-
5711-
#~ msgid "``read_text()``"
5712-
#~ msgstr "``read_text()``"
5713-
5714-
#~ msgid ""
5715-
#~ "Use :func:`importlib.resources.files` instead. Refer to `importlib-"
5716-
#~ "resources: Migrating from Legacy <https://importlib-resources.readthedocs."
5717-
#~ "io/en/latest/using.html#migrating-from-legacy>`_ (:gh:`106531`)"
5718-
#~ msgstr ""
5719-
#~ "請改用 :func:`importlib.resources.files`。請參閱 `importlib-resources: "
5720-
#~ "Migrating from Legacy <https://importlib-resources.readthedocs.io/en/"
5721-
#~ "latest/using.html#migrating-from-legacy>`_ (:gh:`106531`)"
5722-
5723-
#~ msgid "``bool(NotImplemented)``."
5724-
#~ msgstr "``bool(NotImplemented)``。"
5725-
5726-
#~ msgid ""
5727-
#~ ":mod:`collections.abc`: Deprecated :class:`collections.abc.ByteString`. "
5728-
#~ "Prefer :class:`Sequence` or :class:`collections.abc.Buffer`. For use in "
5729-
#~ "type annotations, prefer a union, like ``bytes | bytearray``, or :class:"
5730-
#~ "`collections.abc.Buffer`. (Contributed by Shantanu Jain in :gh:`91896`.)"
5731-
#~ msgstr ""
5732-
#~ ":mod:`collections.abc`:已棄用 :class:`collections.abc.ByteString`。請改"
5733-
#~ "用 :class:`Sequence` 或 :class:`collections.abc.Buffer`。在 typing 中使用"
5734-
#~ "時,請改用聯集,如 ``bytes | bytearray``,或 :class:`collections.abc."
5735-
#~ "Buffer`。(由 Shantanu Jain 於 :gh:`91896` 貢獻。)"
5736-
5737-
#~ msgid ""
5738-
#~ ":class:`typing.ByteString`, deprecated since Python 3.9, is scheduled for "
5739-
#~ "removal in Python 3.17. Prefer :class:`~collections.abc.Sequence` or :"
5740-
#~ "class:`~collections.abc.Buffer`. For use in type annotations, prefer a "
5741-
#~ "union, like ``bytes | bytearray``, or :class:`collections.abc.Buffer`. "
5742-
#~ "(Contributed by Shantanu Jain in :gh:`91896`.)"
5743-
#~ msgstr ""
5744-
#~ "自 Python 3.9 起已被棄用的 :class:`typing.ByteString`,計劃在 Python 3.17 "
5745-
#~ "中移除。建議改用 :class:`~collections.abc.Sequence` 或 :class:"
5746-
#~ "`~collections.abc.Buffer`。在型別註釋中建議改用聯集,例如 ``bytes | "
5747-
#~ "bytearray`` 或 :class:`collections.abc.Buffer`。(Shantanu Jain 於 :gh:"
5748-
#~ "`91896` 貢獻。)"
5749-
5750-
#~ msgid ""
5751-
#~ ":class:`collections.abc.ByteString` is scheduled for removal in Python "
5752-
#~ "3.17. Prefer :class:`~collections.abc.Sequence` or :class:`~collections."
5753-
#~ "abc.Buffer`. For use in type annotations, prefer a union, like ``bytes | "
5754-
#~ "bytearray``, or :class:`collections.abc.Buffer`. (Contributed by Shantanu "
5755-
#~ "Jain in :gh:`91896`.)"
5756-
#~ msgstr ""
5757-
#~ ":class:`collections.abc.ByteString` 計劃在 Python 3.17 中移除。建議改用 :"
5758-
#~ "class:`~collections.abc.Sequence` 或 :class:`~collections.abc.Buffer`。在"
5759-
#~ "型別註釋中建議改用聯集,例如 ``bytes | bytearray`` 或 :class:`collections."
5760-
#~ "abc.Buffer`。(Shantanu Jain 於 :gh:`91896` 貢獻。)"
5761-
5762-
#~ msgid ""
5763-
#~ ":mod:`typing`: :class:`!typing.ByteString`, deprecated since Python 3.9, "
5764-
#~ "now causes a :exc:`DeprecationWarning` to be emitted when it is used."
5765-
#~ msgstr ""
5766-
#~ ":mod:`typing`:自 Python 3.9 起已被棄用的 :class:`!typing.ByteString` 現在"
5767-
#~ "在使用時會發出 :exc:`DeprecationWarning`。"

0 commit comments

Comments
 (0)