Skip to content

Commit b1e3ef2

Browse files
committed
fix: resolve fuzzy entries
1 parent 3342623 commit b1e3ef2

File tree

7 files changed

+58
-47
lines changed

7 files changed

+58
-47
lines changed

glossary.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ msgid "asynchronous generator iterator"
242242
msgstr "asynchronous generator iterator(非同步產生器疊代器)"
243243

244244
#: ../../glossary.rst:105
245-
#, fuzzy
246245
msgid "An object created by an :term:`asynchronous generator` function."
247246
msgstr ""
248247
"一個由 :term:`asynchronous generator`\\ (非同步產生器)函式所建立的物件。"

library/functions.po

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -498,15 +498,14 @@ msgstr ""
498498
"函式生成的字串和 Python 2 的 :func:`repr` 回傳的結果相似。"
499499

500500
#: ../../library/functions.rst:124
501-
#, fuzzy
502501
msgid ""
503502
"Convert an integer number to a binary string prefixed with \"0b\". The "
504503
"result is a valid Python expression. If *integer* is not a Python :class:"
505504
"`int` object, it has to define an :meth:`~object.__index__` method that "
506505
"returns an integer. Some examples:"
507506
msgstr ""
508507
"將一個整數轉變為一個前綴為 \"0b\" 的二進位制字串。結果是一個有效的 Python 運"
509-
"算式。如果 *x* 不是 Python 的 :class:`int` 物件,那它需要定義 :meth:`~object."
508+
"算式。如果 *integer* 不是 Python 的 :class:`int` 物件,那它需要定義 :meth:`~object."
510509
"__index__` method 回傳一個整數。舉例來說:"
511510

512511
#: ../../library/functions.rst:134
@@ -686,22 +685,20 @@ msgid ""
686685
msgstr "這個函式一開始在 Python 3.0 被移除,但在 Python 3.2 又被重新加入。"
687686

688687
#: ../../library/functions.rst:247
689-
#, fuzzy
690688
msgid ""
691689
"Return the string representing a character with the specified Unicode code "
692690
"point. For example, ``chr(97)`` returns the string ``'a'``, while "
693691
"``chr(8364)`` returns the string ``'€'``. This is the inverse of :func:`ord`."
694692
msgstr ""
695-
"回傳代表字元之 Unicode 編碼位置為整數 *i* 的字串。例如,``chr(97)`` 回傳字串 "
693+
"回傳代表有特定 Unicode 編碼位置字元的字串。例如,``chr(97)`` 回傳字串 "
696694
"``'a'``,而 ``chr(8364)`` 回傳字串 ``'€'``。這是 :func:`ord` 的逆函式。"
697695

698696
#: ../../library/functions.rst:251
699-
#, fuzzy
700697
msgid ""
701698
"The valid range for the argument is from 0 through 1,114,111 (0x10FFFF in "
702699
"base 16). :exc:`ValueError` will be raised if it is outside that range."
703700
msgstr ""
704-
"引數的有效範圍是 0 到 1,114,111(16 進制表示為 0x10FFFF)。如果 *i* 超過這個"
701+
"引數的有效範圍是 0 到 1,114,111(16 進制表示為 0x10FFFF)。如果它超過這個"
705702
"範圍,會引發 :exc:`ValueError`。"
706703

707704
#: ../../library/functions.rst:257
@@ -1698,13 +1695,12 @@ msgstr ""
16981695
"(signature) 更加全面和一致。"
16991696

17001697
#: ../../library/functions.rst:921
1701-
#, fuzzy
17021698
msgid ""
17031699
"Convert an integer number to a lowercase hexadecimal string prefixed with "
17041700
"\"0x\". If *integer* is not a Python :class:`int` object, it has to define "
17051701
"an :meth:`~object.__index__` method that returns an integer. Some examples:"
17061702
msgstr ""
1707-
"將整數轉換為以 \"0x\" 為前綴的小寫十六進位制字串。如果 *x* 不是 Python :"
1703+
"將整數轉換為以 \"0x\" 為前綴的小寫十六進位制字串。如果 *integer* 不是 Python :"
17081704
"class:`int` 物件,則必須定義一個 :meth:`~object.__index__` method 並且回傳一"
17091705
"個整數。舉例來說:"
17101706

@@ -1966,7 +1962,6 @@ msgstr ""
19661962
"exc:`TypeError`。"
19671963

19681964
#: ../../library/functions.rst:1100
1969-
#, fuzzy
19701965
msgid ""
19711966
"Return an :term:`iterator` object. The first argument is interpreted very "
19721967
"differently depending on the presence of the second argument. Without a "
@@ -1982,12 +1977,12 @@ msgid ""
19821977
"raised, otherwise the value will be returned."
19831978
msgstr ""
19841979
"回傳一個 :term:`iterator` 物件。根據是否存在第二個引數,第一個引數的意義是非"
1985-
"常不同的。如果沒有第二個引數,*object* 必須是支援 :term:`iterable` 協定(有 :"
1980+
"常不同的。如果沒有第二個引數,該單一引數必須是支援 :term:`iterable` 協定(有 :"
19861981
"meth:`~object.__iter__` method)的集合物件,或必須支援序列協定(有 :meth:"
19871982
"`~object.__getitem__` 方法,且數字引數從 ``0`` 開始)。如果它不支援這些協定,"
1988-
"會引發 :exc:`TypeError`。如果有第二個引數 *sentinel*,那麼 *object* 必須是可"
1983+
"會引發 :exc:`TypeError`。如果有第二個引數 *sentinel*,那麼第一引數必須是可"
19891984
"呼叫的物件,這種情況下生成的 iterator,每次疊代呼叫 :meth:`~iterator."
1990-
"__next__` 時會不帶引數地呼叫 *object*;如果回傳的結果是 *sentinel* 則引發 :"
1985+
"__next__` 時會不帶引數地呼叫 *callable*;如果回傳的結果是 *sentinel* 則引發 :"
19911986
"exc:`StopIteration`,否則回傳呼叫結果。"
19921987

19931988
#: ../../library/functions.rst:1114
@@ -2244,15 +2239,14 @@ msgstr ""
22442239
"任意屬性賦給 :class:`object` 的實例。"
22452240

22462241
#: ../../library/functions.rst:1301
2247-
#, fuzzy
22482242
msgid ""
22492243
"Convert an integer number to an octal string prefixed with \"0o\". The "
22502244
"result is a valid Python expression. If *integer* is not a Python :class:"
22512245
"`int` object, it has to define an :meth:`~object.__index__` method that "
22522246
"returns an integer. For example:"
22532247
msgstr ""
22542248
"將一個整數轉變為一個前綴為 \"0o\" 的八進位制字串。回傳結果是一個有效的 "
2255-
"Python 運算式。如果 *x* 不是 Python 的 :class:`int` 物件,那它需要定義 :meth:"
2249+
"Python 運算式。如果 *integer* 不是 Python 的 :class:`int` 物件,那它需要定義 :meth:"
22562250
"`~object.__index__` method 回傳一個整數。舉例來說:"
22572251

22582252
#: ../../library/functions.rst:1311

library/shutil.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,6 @@ msgid ""
11511151
msgstr ""
11521152

11531153
#: ../../library/shutil.rst:829
1154-
#, fuzzy
11551154
msgid ""
11561155
">>> from shutil import make_archive\n"
11571156
">>> import os\n"
@@ -1173,7 +1172,7 @@ msgstr ""
11731172
"... root_dir='tmp/root',\n"
11741173
"... base_dir='structure/content',\n"
11751174
"... )\n"
1176-
"'/Users/tarek/my_archive.tar'"
1175+
"'/Users/tarek/myarchive.tar'"
11771176

11781177
#: ../../library/shutil.rst:840
11791178
msgid "Listing the files in the resulting archive gives us:"

library/stdtypes.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2803,11 +2803,14 @@ msgid ""
28032803
">>> 'spam, spam, spam'.find('sp', 5)\n"
28042804
"6"
28052805
msgstr ""
2806+
">>> 'spam, spam, spam'.find('sp')\n"
2807+
"0\n"
2808+
">>> 'spam, spam, spam'.find('sp', 5)\n"
2809+
"6"
28062810

28072811
#: ../../library/stdtypes.rst:1785
2808-
#, fuzzy
28092812
msgid "See also :meth:`rfind` and :meth:`index`."
2810-
msgstr "另請參閱 :meth:`startswith` 和 :meth:`removesuffix`。"
2813+
msgstr "另請參閱 :meth:`rfind` 和 :meth:`index`。"
28112814

28122815
#: ../../library/stdtypes.rst:1789
28132816
msgid ""
@@ -9416,6 +9419,3 @@ msgstr "..."
94169419
#: ../../library/stdtypes.rst:5667
94179420
msgid "ellipsis literal"
94189421
msgstr "ellipsis literal(刪節號)"
9419-
9420-
#~ msgid "same as ``s[i:j] = []``"
9421-
#~ msgstr "和 ``s[i:j] = []`` 相同"

library/unicodedata.po

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2022, Python Software Foundation
1+
# Copyright (C) 2001-2025, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
43
#
54
# Translators:
@@ -55,6 +54,8 @@ msgid ""
5554
">>> unicodedata.lookup('LEFT CURLY BRACKET')\n"
5655
"'{'"
5756
msgstr ""
57+
">>> unicodedata.lookup('LEFT CURLY BRACKET')\n"
58+
"'{'"
5859

5960
#: ../../library/unicodedata.rst:43
6061
msgid ""
@@ -67,10 +68,12 @@ msgid ""
6768
">>> unicodedata.lookup('MIDDLE DOT') == '\\N{MIDDLE DOT}'\n"
6869
"True"
6970
msgstr ""
71+
">>> unicodedata.lookup('MIDDLE DOT') == '\\N{MIDDLE DOT}'\n"
72+
"True"
7073

7174
#: ../../library/unicodedata.rst:49
7275
msgid "Support for name aliases [#]_ and named sequences [#]_ has been added."
73-
msgstr ""
76+
msgstr "已新增對名稱別名 [#]_ 和命名序列 [#]_ 的支援。"
7477

7578
#: ../../library/unicodedata.rst:55
7679
msgid ""
@@ -86,6 +89,10 @@ msgid ""
8689
">>> unicodedata.name('\\uFFFF', 'fallback')\n"
8790
"'fallback'"
8891
msgstr ""
92+
">>> unicodedata.name('½')\n"
93+
"'VULGAR FRACTION ONE HALF'\n"
94+
">>> unicodedata.name('\\uFFFF', 'fallback')\n"
95+
"'fallback'"
8996

9097
#: ../../library/unicodedata.rst:67
9198
msgid ""
@@ -101,6 +108,10 @@ msgid ""
101108
">>> unicodedata.decimal('\\N{SUPERSCRIPT NINE}', -1)\n"
102109
"-1"
103110
msgstr ""
111+
">>> unicodedata.decimal('\\N{ARABIC-INDIC DIGIT NINE}')\n"
112+
"9\n"
113+
">>> unicodedata.decimal('\\N{SUPERSCRIPT NINE}', -1)\n"
114+
"-1"
104115

105116
#: ../../library/unicodedata.rst:79
106117
msgid ""
@@ -114,6 +125,8 @@ msgid ""
114125
">>> unicodedata.digit('\\N{SUPERSCRIPT NINE}')\n"
115126
"9"
116127
msgstr ""
128+
">>> unicodedata.digit('\\N{SUPERSCRIPT NINE}')\n"
129+
"9"
117130

118131
#: ../../library/unicodedata.rst:89
119132
msgid ""
@@ -127,6 +140,8 @@ msgid ""
127140
">>> unicodedata.numeric('½')\n"
128141
"0.5"
129142
msgstr ""
143+
">>> unicodedata.numeric('½')\n"
144+
"0.5"
130145

131146
#: ../../library/unicodedata.rst:99
132147
msgid ""
@@ -142,6 +157,8 @@ msgid ""
142157
">>> unicodedata.category('A') # 'L'etter, 'u'ppercase\n"
143158
"'Lu'"
144159
msgstr ""
160+
">>> unicodedata.category('A') # 'L'etter, 'u'ppercase\n"
161+
"'Lu'"
145162

146163
#: ../../library/unicodedata.rst:111
147164
msgid ""
@@ -158,6 +175,9 @@ msgid ""
158175
"'N'umber\n"
159176
"'AN'"
160177
msgstr ""
178+
">>> unicodedata.bidirectional('\\N{ARABIC-INDIC DIGIT SEVEN}') # 'A'rabic, "
179+
"'N'umber\n"
180+
"'AN'"
161181

162182
#: ../../library/unicodedata.rst:123
163183
msgid ""
@@ -187,6 +207,8 @@ msgid ""
187207
">>> unicodedata.mirrored('>')\n"
188208
"1"
189209
msgstr ""
210+
">>> unicodedata.mirrored('>')\n"
211+
"1"
190212

191213
#: ../../library/unicodedata.rst:149
192214
msgid ""
@@ -200,6 +222,8 @@ msgid ""
200222
">>> unicodedata.decomposition('Ã')\n"
201223
"'0041 0303'"
202224
msgstr ""
225+
">>> unicodedata.decomposition('Ã')\n"
226+
"'0041 0303'"
203227

204228
#: ../../library/unicodedata.rst:159
205229
msgid ""
@@ -263,7 +287,7 @@ msgstr ""
263287

264288
#: ../../library/unicodedata.rst:202
265289
msgid "The version of the Unicode database used in this module."
266-
msgstr ""
290+
msgstr "在此模組中使用的 Unicode 資料庫版本。"
267291

268292
#: ../../library/unicodedata.rst:207
269293
msgid ""
@@ -274,7 +298,7 @@ msgstr ""
274298

275299
#: ../../library/unicodedata.rst:213
276300
msgid "Footnotes"
277-
msgstr "註解"
301+
msgstr "註腳"
278302

279303
#: ../../library/unicodedata.rst:214
280304
msgid "https://www.unicode.org/Public/15.1.0/ucd/NameAliases.txt"
@@ -295,6 +319,3 @@ msgstr "character(字元)"
295319
#: ../../library/unicodedata.rst:11
296320
msgid "database"
297321
msgstr "database(資料庫)"
298-
299-
#~ msgid "Examples:"
300-
#~ msgstr "範例:"

library/zipfile.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,16 +1184,17 @@ msgid "Name of the file in the archive."
11841184
msgstr "封存檔案中檔案的名稱。"
11851185

11861186
#: ../../library/zipfile.rst:801
1187-
#, fuzzy
11881187
msgid ""
11891188
"The time and date of the last modification to the archive member. This is a "
11901189
"tuple of six values representing the \"last [modified] file time\" and "
11911190
"\"last [modified] file date\" fields from the ZIP file's central directory."
1192-
msgstr "封存成員的最後修改時間和日期。這是一個包含六個值的元組:"
1191+
msgstr ""
1192+
"封存成員的最後修改時間和日期。這是一個包含六個值的元組,代表 ZIP 檔案中心目錄"
1193+
"的「最後 [修改] 檔案時間」和「最後 [修改] 檔案日期」欄位。"
11931194

11941195
#: ../../library/zipfile.rst:805
11951196
msgid "The tuple contains:"
1196-
msgstr ""
1197+
msgstr "該元組包含:"
11971198

11981199
#: ../../library/zipfile.rst:808
11991200
msgid "Index"

library/zipimport.po

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2022, Python Software Foundation
1+
# Copyright (C) 2001-2025, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
43
#
54
# Translators:
@@ -280,7 +279,6 @@ msgstr ""
280279
"確使用。"
281280

282281
#: ../../library/zipimport.rst:189
283-
#, fuzzy
284282
msgid ""
285283
"$ unzip -l example_archive.zip\n"
286284
"Archive: example_archive.zip\n"
@@ -290,20 +288,13 @@ msgid ""
290288
" -------- -------\n"
291289
" 8467 1 file"
292290
msgstr ""
293-
"$ unzip -l example.zip\n"
294-
"Archive: example.zip\n"
291+
"$ unzip -l example_archive.zip\n"
292+
"Archive: example_archive.zip\n"
295293
" Length Date Time Name\n"
296294
" -------- ---- ---- ----\n"
297-
" 8467 11-26-02 22:30 jwzthreading.py\n"
295+
" 8467 01-01-00 12:30 example.py\n"
298296
" -------- -------\n"
299-
" 8467 1 file\n"
300-
"$ ./python\n"
301-
"Python 2.3 (#1, Aug 1 2003, 19:54:32)\n"
302-
">>> import sys\n"
303-
">>> sys.path.insert(0, 'example.zip') # 將 .zip 檔案新增到系統路徑的最前面\n"
304-
">>> import jwzthreading\n"
305-
">>> jwzthreading.__file__\n"
306-
"'example.zip/jwzthreading.py'"
297+
" 8467 1 file"
307298

308299
#: ../../library/zipimport.rst:199
309300
msgid ""
@@ -314,3 +305,9 @@ msgid ""
314305
">>> example.__file__\n"
315306
"'example_archive.zip/example.py'"
316307
msgstr ""
308+
">>> import sys\n"
309+
">>> # 將封存檔案新增到系統路徑的最前面\n"
310+
">>> sys.path.insert(0, 'example_archive.zip')\n"
311+
">>> import example\n"
312+
">>> example.__file__\n"
313+
"'example_archive.zip/example.py'"

0 commit comments

Comments
 (0)