Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit33de6f5

Browse files
committed
fix: resolve fuzzy entries
1 parentc86f1cf commit33de6f5

File tree

9 files changed

+65
-48
lines changed

9 files changed

+65
-48
lines changed

‎glossary.po‎

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2380,9 +2380,8 @@ msgid "See also :term:`module`."
23802380
msgstr"另請參閱 :term:`module`\\ (模組)。"
23812381

23822382
#:../../glossary.rst:1071
2383-
#,fuzzy
23842383
msgid"native code"
2385-
msgstr"bytecode(位元組碼)"
2384+
msgstr""
23862385

23872386
#:../../glossary.rst:1073
23882387
msgid""
@@ -2915,9 +2914,8 @@ msgstr ""
29152914
"'email.mime.text'"
29162915

29172916
#:../../glossary.rst:1317
2918-
#,fuzzy
29192917
msgid"race condition"
2920-
msgstr"garbage collection(垃圾回收)"
2918+
msgstr""
29212919

29222920
#:../../glossary.rst:1319
29232921
msgid""
@@ -3005,11 +3003,8 @@ msgid ""
30053003
msgstr""
30063004

30073005
#:../../glossary.rst:1368
3008-
#,fuzzy
30093006
msgid"See also :term:`lock` and :term:`deadlock`."
3010-
msgstr""
3011-
"另請參閱 :term:`regular package`\\ (正規套件)和 :term:`namespace "
3012-
"package`\\ (命名空間套件)。"
3007+
msgstr"另請參閱 :term:`lock` 和 :term:`deadlock`。"
30133008

30143009
#:../../glossary.rst:1369
30153010
msgid"REPL"

‎library/ast.po‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -406,17 +406,16 @@ msgid ""
406406
msgstr""
407407

408408
#:../../library/ast.rst:144
409-
#,fuzzy
410409
msgid""
411410
"Previous versions of Python provided the AST classes :class:`!ast.Num`, :"
412411
"class:`!ast.Str`, :class:`!ast.Bytes`, :class:`!ast.NameConstant` and :class:"
413412
"`!ast.Ellipsis`, which were deprecated in Python 3.8. These classes were "
414413
"removed in Python 3.14, and their functionality has been replaced with :"
415414
"class:`ast.Constant`."
416415
msgstr""
417-
"舊的類別:class:`!ast.Num`、:class:`!ast.Str`、:class:`!ast.Bytes`、:class:`!"
418-
"ast.NameConstant` 和 :class:`!ast.Ellipsis` 仍然可用,但它們將在未來的"
419-
"Python釋出版本中移除。與此同時,實例化它們將回傳不同類別的實例。"
416+
"過去的 Python 版本提供了 AST 類別:class:`!ast.Num`、:class:`!ast.Str`、:class:`!ast.Bytes`"
417+
"、:class:`!ast.NameConstant` 和 :class:`!ast.Ellipsis`,這些類別在 Python 3.8 中已被棄用。"
418+
"這些類別在Python3.14 中被移除,其功能已被 :class:`ast.Constant` 取代。"
420419

421420
#:../../library/ast.rst:152
422421
msgid""
@@ -4264,16 +4263,15 @@ msgstr ""
42644263
"`NodeTransformer`。"
42654264

42664265
#:../../library/ast.rst:2439
4267-
#,fuzzy
42684266
msgid""
42694267
"Methods :meth:`!visit_Num`, :meth:`!visit_Str`, :meth:`!visit_Bytes`, :meth:"
42704268
"`!visit_NameConstant` and :meth:`!visit_Ellipsis` will not be called in "
42714269
"Python 3.14+. Add the :meth:`visit_Constant` method instead to handle all "
42724270
"constant nodes."
42734271
msgstr""
42744272
":meth:`!visit_Num`、:meth:`!visit_Str`、:meth:`!visit_Bytes`、:meth:`!"
4275-
"visit_NameConstant` 和 :meth:`!visit_Ellipsis`方法現已棄用,並且不會在未來的"
4276-
"Python 版本中被呼叫。新增 :meth:`visit_Constant` 方法來處理所有常數節點。"
4273+
"visit_NameConstant` 和 :meth:`!visit_Ellipsis`方法在 Python 3.14+ 中將不會被呼叫。"
4274+
"請改為新增 :meth:`visit_Constant` 方法來處理所有常數節點。"
42774275

42784276
#:../../library/ast.rst:2447
42794277
msgid""

‎library/enum.po‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1706,11 +1706,10 @@ msgstr ""
17061706
"說,是成員名稱的小寫版本。如果混用 *auto()* 和手動指定值的話要特別注意。"
17071707

17081708
#:../../library/enum.rst:950
1709-
#,fuzzy
17101709
msgid""
17111710
"*auto* instances are only resolved when at the top level of an assignment, "
17121711
"either by itself or as part of a tuple:"
1713-
msgstr"*auto* 實例只有在最上層的賦值時才會被解析:"
1712+
msgstr"*auto* 實例只有在最上層的賦值時才會被解析,不論是獨自一個或作為元組的一部分:"
17141713

17151714
#:../../library/enum.rst:953
17161715
msgid"``FIRST = auto()`` will work (auto() is replaced with ``1``);"
@@ -1725,12 +1724,11 @@ msgstr ""
17251724
"用來建立列舉成員 ``SECOND``;"
17261725

17271726
#:../../library/enum.rst:956
1728-
#,fuzzy
17291727
msgid""
17301728
"``THREE = [auto(), -3]`` will *not* work (``[<auto instance>, -3]`` is used "
17311729
"to create the ``THREE`` enum member)"
17321730
msgstr""
1733-
"``THREE = [auto(), -3]`` *無法*\\ 運作(\\ ``<auto實例>, -3`` 會被用來建立列"
1731+
"``THREE = [auto(), -3]`` *無法*\\ 運作(``[<autoinstance>, -3]`` 會被用來建立列"
17341732
"舉成員 ``THREE``)"
17351733

17361734
#:../../library/enum.rst:961

‎library/exceptions.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,13 +1085,12 @@ msgstr ""
10851085
"除了 :exc:`OSError` 的那些屬性之外,:exc:`BlockingIOError` 有多一個屬性:"
10861086

10871087
#:../../library/exceptions.rst:738
1088-
#,fuzzy
10891088
msgid""
10901089
"An integer containing the number of **bytes** written to the stream before "
10911090
"it blocked. This attribute is available when using the buffered I/O classes "
10921091
"from the :mod:`io` module."
10931092
msgstr""
1094-
"一個整數,內容為在其阻塞之前,已寫進串流的字元數。當使用 :mod:`io` 模組裡的緩"
1093+
"一個整數,內容為在其阻塞之前,已寫進串流的\\ **位元組**\\。當使用 :mod:`io` 模組裡的緩"
10951094
"衝 I/O 類別時這個屬性是可用的。"
10961095

10971096
#:../../library/exceptions.rst:744

‎library/stdtypes.po‎

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ msgid "negated object identity"
306306
msgstr"否定的物件識別性"
307307

308308
#:../../library/stdtypes.rst:167
309-
#,fuzzy
310309
msgid""
311310
"Unless stated otherwise, objects of different types never compare equal. The "
312311
"``==`` operator is always defined but for some object types (for example, "
@@ -315,7 +314,7 @@ msgid ""
315314
"raise a :exc:`TypeError` exception when one of the arguments is a complex "
316315
"number."
317316
msgstr""
318-
"除了不同的數值型別外,不同型別的物件不能進行相等比較。運算子 ``==`` 總有定"
317+
"除非有另外聲明,不同型別的物件不能進行相等比較。運算子 ``==`` 總有定"
319318
"義,但在某些物件型別(例如,class 物件)時,運算子會等同於 :keyword:`is`。其"
320319
"他運算子 ``<``、``<=``、``>`` 及 ``>=`` 皆僅在有意義的部分有所定義;例如,當"
321320
"其中一個引數為複數時,將引發一個 :exc:`TypeError` 的例外。"
@@ -3545,7 +3544,6 @@ msgid ""
35453544
msgstr""
35463545

35473546
#:../../library/stdtypes.rst:2266
3548-
#,fuzzy
35493547
msgid""
35503548
">>> 'Python'.ljust(10)\n"
35513549
"'Python '\n"
@@ -3554,17 +3552,16 @@ msgid ""
35543552
">>> 'Monty Python'.ljust(10, '.')\n"
35553553
"'Monty Python'"
35563554
msgstr""
3557-
">>> 'Python'.center(10)\n"
3558-
"' Python '\n"
3559-
">>> 'Python'.center(10, '-')\n"
3560-
"'--Python--'\n"
3561-
">>> 'Python'.center(4)\n"
3562-
"'Python'"
3555+
">>> 'Python'.ljust(10)\n"
3556+
"'Python '\n"
3557+
">>> 'Python'.ljust(10, '.')\n"
3558+
"'Python....'\n"
3559+
">>> 'MontyPython'.ljust(10, '.')\n"
3560+
"'MontyPython'"
35633561

35643562
#:../../library/stdtypes.rst:2275
3565-
#,fuzzy
35663563
msgid"See also :meth:`rjust`."
3567-
msgstr"另請參閱 :meth:`split`。"
3564+
msgstr"另請參閱 :meth:`rjust`。"
35683565

35693566
#:../../library/stdtypes.rst:2280
35703567
msgid""
@@ -4392,6 +4389,16 @@ msgid ""
43924389
">>> f'{one_third = :~>10}~'\n"
43934390
"'one_third = ~~~~~~~1/3~'"
43944391
msgstr""
4392+
">>> from fractions import Fraction\n"
4393+
">>> one_third = Fraction(1, 3)\n"
4394+
">>> f'{one_third:.6f}'\n"
4395+
"'0.333333'\n"
4396+
">>> f'{one_third:_^+10}'\n"
4397+
"'___+1/3___'\n"
4398+
">>> >>> f'{one_third!r:_^20}'\n"
4399+
"'___Fraction(1, 3)___'\n"
4400+
">>> f'{one_third = :~>10}~'\n"
4401+
"'one_third = ~~~~~~~1/3~'"
43954402

43964403
#:../../library/stdtypes.rst:2802
43974404
msgid"Template String Literals (t-strings)"
@@ -7759,7 +7766,6 @@ msgstr ""
77597766
"(traceback) 資訊。否則,所有三個引數都是 ``None``。"
77607767

77617768
#:../../library/stdtypes.rst:5461
7762-
#,fuzzy
77637769
msgid""
77647770
"Returning a true value from this method will cause the :keyword:`with` "
77657771
"statement to suppress the exception and continue execution with the "
@@ -7768,8 +7774,7 @@ msgid ""
77687774
msgstr""
77697775
"從此方法回傳 true 值將導致 :keyword:`with` 陳述式抑制例外並繼續執行緊接著 :"
77707776
"keyword:`!with` 陳述式之後的陳述式。否則,該例外將在該方法執行完畢後繼續傳播 "
7771-
"(propagate)。執行此方法期間發生的例外會取代 :keyword:`!with` 陳述式主體中發生"
7772-
"的任何例外。"
7777+
"(propagate)。"
77737778

77747779
#:../../library/stdtypes.rst:5466
77757780
msgid""

‎reference/compound_stmts.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,6 @@ msgid ""
445445
msgstr""
446446

447447
#:../../reference/compound_stmts.rst:386
448-
#,fuzzy
449448
msgid""
450449
">>> try:\n"
451450
"... raise BlockingIOError\n"
@@ -459,7 +458,7 @@ msgstr ""
459458
"... except* BlockingIOError as e:\n"
460459
"... print(repr(e))\n"
461460
"...\n"
462-
"ExceptionGroup('', (BlockingIOError()))"
461+
"ExceptionGroup('', (BlockingIOError(),))"
463462

464463
#:../../reference/compound_stmts.rst:393
465464
msgid""

‎reference/lexical_analysis.po‎

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1576,6 +1576,10 @@ msgid ""
15761576
">>> f'{who.title()} expects the {nationality} Inquisition!'\n"
15771577
"'Nobody expects the Spanish Inquisition!'"
15781578
msgstr""
1579+
">>> who = 'nobody'\n"
1580+
">>> nationality = 'Spanish'\n"
1581+
">>> f'{who.title()} expects the {nationality} Inquisition!'\n"
1582+
"'Nobody expects the Spanish Inquisition!'"
15791583

15801584
#:../../reference/lexical_analysis.rst:1064
15811585
msgid""
@@ -1588,6 +1592,8 @@ msgid ""
15881592
">>> print(f'{{...}}')\n"
15891593
"{...}"
15901594
msgstr""
1595+
">>> print(f'{{...}}')\n"
1596+
"{...}"
15911597

15921598
#:../../reference/lexical_analysis.rst:1070
15931599
msgid""
@@ -1625,6 +1631,8 @@ msgid ""
16251631
">>> f'{(half := 1/2)}, {half * 42}'\n"
16261632
"'0.5, 21.0'"
16271633
msgstr""
1634+
">>> f'{(half := 1/2)}, {half * 42}'\n"
1635+
"'0.5, 21.0'"
16281636

16291637
#:../../reference/lexical_analysis.rst:1097
16301638
msgid""
@@ -1674,6 +1682,9 @@ msgid ""
16741682
">>> f'Repeated:{f' hello {name}' * 3}'\n"
16751683
"'Repeated: hello world hello world hello world'"
16761684
msgstr""
1685+
">>> name = 'world'\n"
1686+
">>> f'Repeated:{f' hello {name}' * 3}'\n"
1687+
"'Repeated: hello world hello world hello world'"
16771688

16781689
#:../../reference/lexical_analysis.rst:1120
16791690
msgid"Portable Python programs should not use more than 5 levels of nesting."
@@ -1738,6 +1749,9 @@ msgid ""
17381749
">>> f'{number:20.7f}'\n"
17391750
"' 14.3000000'"
17401751
msgstr""
1752+
">>> number = 14.3\n"
1753+
">>> f'{number:20.7f}'\n"
1754+
"' 14.3000000'"
17411755

17421756
#:../../reference/lexical_analysis.rst:1159
17431757
msgid"Top-level format specifiers may include nested replacement fields::"
@@ -1750,6 +1764,10 @@ msgid ""
17501764
">>> f'{number:{field_size}.{precision}f}'\n"
17511765
"' 14.3000000'"
17521766
msgstr""
1767+
">>> field_size = 20\n"
1768+
">>> precision = 7\n"
1769+
">>> f'{number:{field_size}.{precision}f}'\n"
1770+
"' 14.3000000'"
17531771

17541772
#:../../reference/lexical_analysis.rst:1166
17551773
msgid""
@@ -1765,6 +1783,11 @@ msgid ""
17651783
">>> f'{number:{field_size:05}}'\n"
17661784
"'00000000000000000003'"
17671785
msgstr""
1786+
">>> number = 3\n"
1787+
">>> f'{number:{field_size}}'\n"
1788+
"' 3'\n"
1789+
">>> f'{number:{field_size:05}}'\n"
1790+
"'00000000000000000003'"
17681791

17691792
#:../../reference/lexical_analysis.rst:1175
17701793
msgid""
@@ -1779,7 +1802,6 @@ msgid ""
17791802
msgstr""
17801803

17811804
#:../../reference/lexical_analysis.rst:1181
1782-
#,fuzzy
17831805
msgid""
17841806
">>> def foo():\n"
17851807
"... f\"Not a docstring\"\n"
@@ -1790,8 +1812,8 @@ msgstr ""
17901812
">>> def foo():\n"
17911813
"... f\"Not a docstring\"\n"
17921814
"...\n"
1793-
">>> foo.__doc__ is None\n"
1794-
"True"
1815+
">>>print(foo.__doc__)\n"
1816+
"None"
17951817

17961818
#:../../reference/lexical_analysis.rst:1189
17971819
msgid":pep:`498` -- Literal String Interpolation"

‎sphinx.po‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ msgid "Show source"
4141
msgstr"顯示原始碼"
4242

4343
#:../../tools/templates/customsourcelink.html:14
44-
#,fuzzy
4544
msgid"Show translation source"
46-
msgstr"顯示原始碼"
45+
msgstr"顯示翻譯原始碼"
4746

4847
#:../../tools/templates/download.html:2
4948
#:../../tools/templates/indexsidebar.html:1
@@ -142,8 +141,8 @@ msgid ""
142141
"copy of the CPython repository.\n"
143142
msgstr""
144143
"\n"
145-
"我們不再提供預先建置好的說明文件 PDF 檔案。\n"
146-
"要建立 PDF 歸檔,請遵循\n"
144+
"我們不再提供預先建置好的說明文件 PDF 檔案。"
145+
"要建立 PDF 歸檔,請遵循"
147146
"<a href=\"https://devguide.python.org/documentation/start-documenting/"
148147
"#building-the-documentation\">開發者指南</a>中的說明,並在 CPython 程式碼儲存"
149148
"庫的 <code>Doc/</code> 目錄中執行 <code>make dist-pdf</code>。\n"

‎tutorial/controlflow.po‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2140,7 +2140,6 @@ msgid "Here is an example of a multi-line docstring::"
21402140
msgstr"下面是多行說明字串的一個範例: ::"
21412141

21422142
#:../../tutorial/controlflow.rst:1047
2143-
#,fuzzy
21442143
msgid""
21452144
">>> def my_function():\n"
21462145
"...\"\"\"Do nothing, but document it.\n"
@@ -2163,14 +2162,17 @@ msgstr ""
21632162
">>> def my_function():\n"
21642163
"...\"\"\"不做任何事,但有文件說明。\n"
21652164
"...\n"
2166-
"...不,真的,它什麼都不做。\n"
2165+
"...它真的什麼都不做:\n"
21672166
"...\"\"\"\n"
21682167
"... pass\n"
21692168
"...\n"
21702169
">>> print(my_function.__doc__)\n"
2171-
"Do nothing, but document it.\n"
2170+
"不做任何事,但有文件說明。\n"
2171+
"\n"
2172+
"它真的什麼都不做:\n"
21722173
"\n"
2173-
"No, really, it doesn't do anything."
2174+
" >>> my_function()\n"
2175+
" >>>"
21742176

21752177
#:../../tutorial/controlflow.rst:1069
21762178
msgid"Function Annotations"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp