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

Commit2216c1e

Browse files
committed
fix: resolve fuzzy entries
1 parent14cb376 commit2216c1e

File tree

8 files changed

+72
-104
lines changed

8 files changed

+72
-104
lines changed

‎deprecations/index.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ msgid ""
651651
"syntax error. (:gh:`87999`)"
652652
msgstr""
653653
"目前 Python 接受數值字面值後面立即接關鍵字,例如 ``0in x``、``1or x``、``0if "
654-
"1else 2``。它讓表達式模糊且容易混淆,如 ``[0x1for x in y]``(可以解釋為 "
654+
"1else 2``。它讓表達式模糊且容易混淆,如 ``[0x1for x in y]``\\(可以解釋為 "
655655
"``[0x1 for x in y]`` 或 ``[0x1f or x in y]``)。如果數值字面值後立即接 :"
656656
"keyword:`and`、:keyword:`else`、:keyword:`for`、:keyword:`if`、:keyword:"
657657
"`in`、:keyword:`is` 和 :keyword:`or` 之一的關鍵字,則會引發語法警告。在未來版"

‎library/ast.po

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2001-2023, Python Software Foundation
1+
# Copyright (C) 2001-2024, Python Software Foundation
22
# This file is distributed under the same license as the Python package.
33
#
44
# Translators:
@@ -646,7 +646,6 @@ msgid ""
646646
msgstr"``type_comment`` 是一個可選字串,其中的註解為型別註釋。"
647647

648648
#:../../library/ast.rst:883
649-
#,fuzzy
650649
msgid""
651650
"An assignment with a type annotation. ``target`` is a single node and can be "
652651
"a :class:`Name`, an :class:`Attribute` or a :class:`Subscript`. "
@@ -1166,7 +1165,6 @@ msgid "A ``return`` statement."
11661165
msgstr"一個 ``return`` 陳述式。"
11671166

11681167
#:../../library/ast.rst:2006
1169-
#,fuzzy
11701168
msgid""
11711169
"A ``yield`` or ``yield from`` expression. Because these are expressions, "
11721170
"they must be wrapped in an :class:`Expr` node if the value sent back is not "

‎library/asyncio-future.po

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2001-2022, Python Software Foundation
1+
# Copyright (C) 2001-2024, Python Software Foundation
22
# This file is distributed under the same license as the Python package.
33
#
44
# Translators:
@@ -212,7 +212,6 @@ msgstr ""
212212
"`CancelledError` 例外。"
213213

214214
#:../../library/asyncio-future.rst:122
215-
#,fuzzy
216215
msgid""
217216
"If the Future's result isn't yet available, this method raises an :exc:"
218217
"`InvalidStateError` exception."
@@ -224,7 +223,6 @@ msgid "Mark the Future as *done* and set its result."
224223
msgstr"將 Future 標記為 *done* 並設定其結果。"
225224

226225
#:../../library/asyncio-future.rst:129../../library/asyncio-future.rst:136
227-
#,fuzzy
228226
msgid""
229227
"Raises an :exc:`InvalidStateError` error if the Future is already *done*."
230228
msgstr"如果 Future 已經 *done* 則引發一個 :exc:`InvalidStateError` 錯誤。"

‎library/functions.po

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1660,19 +1660,17 @@ msgid ""
16601660
msgstr""
16611661

16621662
#:../../library/functions.rst:982
1663-
#,fuzzy
16641663
msgid""
16651664
"If the argument defines :meth:`~object.__int__`, ``int(x)`` returns ``x."
16661665
"__int__()``. If the argument defines :meth:`~object.__index__`, it returns "
16671666
"``x.__index__()``. If the argument defines :meth:`~object.__trunc__`, it "
16681667
"returns ``x.__trunc__()``. For floating-point numbers, this truncates "
16691668
"towards zero."
16701669
msgstr""
1671-
"回傳一個使用數字或字串 *x* 建構的整數物件,或者在沒有引數時回傳 ``0``。如果 "
1672-
"*x* 定義了 :meth:`~object.__int__`,則 ``int(x)`` 回傳 ``x.__int__()``。如果 "
1673-
"*x* 定義了 :meth:`~object.__index__` 則回傳 ``x.__index__()``。如果 *x* 定義"
1674-
"了 :meth:`~object.__trunc__` 則回傳 ``x.__trunc__()``。對於浮點數,則會向零的"
1675-
"方向無條件捨去。"
1670+
"如果引數定義了 :meth:`~object.__int__`,則 ``int(x)`` 回傳 ``x.__int__()``。"
1671+
"如果引數定義了 :meth:`~object.__index__` 則回傳 ``x.__index__()``。如果引數定"
1672+
"義了 :meth:`~object.__trunc__` 則回傳 ``x.__trunc__()``。對於浮點數,則會向零"
1673+
"的方向無條件捨去。"
16761674

16771675
#:../../library/functions.rst:988
16781676
msgid""

‎library/os.path.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ msgstr ""
138138
"`basename` 函式回傳空字串(``''``)。"
139139

140140
#:../../library/os.path.rst:82
141-
#,fuzzy
142141
msgid""
143142
"Return the longest common sub-path of each pathname in the sequence "
144143
"*paths*. Raise :exc:`ValueError` if *paths* contain both absolute and "

‎library/pathlib.po

Lines changed: 16 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,6 @@ msgstr ""
761761
"會回傳 ``False`` 而不是引發例外。"
762762

763763
#:../../library/pathlib.rst:910
764-
#,fuzzy
765764
msgid""
766765
"Return an :class:`os.stat_result` object containing information about this "
767766
"path, like :func:`os.stat`. The result is looked up at each call to this "
@@ -1475,7 +1474,6 @@ msgid ":func:`os.path.splitext`"
14751474
msgstr":func:`os.path.splitext`"
14761475

14771476
#:../../library/pathlib.rst:1535
1478-
#,fuzzy
14791477
msgid":attr:`PurePath.stem`, :attr:`PurePath.suffix`"
14801478
msgstr":attr:`PurePath.stem` 和 :attr:`PurePath.suffix`"
14811479

@@ -1484,9 +1482,8 @@ msgid ":func:`os.path.join`"
14841482
msgstr":func:`os.path.join`"
14851483

14861484
#:../../library/pathlib.rst:1536
1487-
#,fuzzy
14881485
msgid":meth:`PurePath.joinpath`"
1489-
msgstr":func:`PurePath.joinpath`"
1486+
msgstr":meth:`PurePath.joinpath`"
14901487

14911488
#:../../library/pathlib.rst:1537
14921489
msgid":func:`os.path.isabs`"
@@ -1501,18 +1498,16 @@ msgid ":func:`os.path.relpath`"
15011498
msgstr":func:`os.path.relpath`"
15021499

15031500
#:../../library/pathlib.rst:1538
1504-
#,fuzzy
15051501
msgid":meth:`PurePath.relative_to` [1]_"
1506-
msgstr":meth:`PurePath.relative_to` [#]_"
1502+
msgstr":meth:`PurePath.relative_to` [1]_"
15071503

15081504
#:../../library/pathlib.rst:1539
15091505
msgid":func:`os.path.expanduser`"
15101506
msgstr":func:`os.path.expanduser`"
15111507

15121508
#:../../library/pathlib.rst:1539
1513-
#,fuzzy
15141509
msgid":meth:`Path.expanduser` [2]_"
1515-
msgstr":meth:`Path.absolute` [#]_"
1510+
msgstr":meth:`Path.expanduser` [2]_"
15161511

15171512
#:../../library/pathlib.rst:1540
15181513
msgid":func:`os.path.realpath`"
@@ -1527,9 +1522,8 @@ msgid ":func:`os.path.abspath`"
15271522
msgstr":func:`os.path.abspath`"
15281523

15291524
#:../../library/pathlib.rst:1541
1530-
#,fuzzy
15311525
msgid":meth:`Path.absolute` [3]_"
1532-
msgstr":meth:`Path.absolute` [#]_"
1526+
msgstr":meth:`Path.absolute` [3]_"
15331527

15341528
#:../../library/pathlib.rst:1542
15351529
msgid":func:`os.path.exists`"
@@ -1564,24 +1558,20 @@ msgid ":meth:`Path.is_symlink`"
15641558
msgstr":meth:`Path.is_symlink`"
15651559

15661560
#:../../library/pathlib.rst:1546
1567-
#,fuzzy
15681561
msgid":func:`os.path.isjunction`"
1569-
msgstr":func:`os.path.islink`"
1562+
msgstr":func:`os.path.isjunction`"
15701563

15711564
#:../../library/pathlib.rst:1546
1572-
#,fuzzy
15731565
msgid":meth:`Path.is_junction`"
1574-
msgstr":meth:`Path.is_dir`"
1566+
msgstr":meth:`Path.is_junction`"
15751567

15761568
#:../../library/pathlib.rst:1547
1577-
#,fuzzy
15781569
msgid":func:`os.path.ismount`"
1579-
msgstr":func:`os.path.islink`"
1570+
msgstr":func:`os.path.ismount`"
15801571

15811572
#:../../library/pathlib.rst:1547
1582-
#,fuzzy
15831573
msgid":meth:`Path.is_mount`"
1584-
msgstr":meth:`Path.is_symlink`"
1574+
msgstr":meth:`Path.is_mount`"
15851575

15861576
#:../../library/pathlib.rst:1548
15871577
msgid":func:`os.path.samefile`"
@@ -1596,28 +1586,24 @@ msgid ":func:`os.getcwd`"
15961586
msgstr":func:`os.getcwd`"
15971587

15981588
#:../../library/pathlib.rst:1549
1599-
#,fuzzy
16001589
msgid":meth:`Path.cwd`"
1601-
msgstr":meth:`Path.chmod`"
1590+
msgstr":meth:`Path.cwd`"
16021591

16031592
#:../../library/pathlib.rst:1550
16041593
msgid":func:`os.stat`"
16051594
msgstr":func:`os.stat`"
16061595

16071596
#:../../library/pathlib.rst:1550
1608-
#,fuzzy
16091597
msgid":meth:`Path.stat`"
1610-
msgstr":meth:`Path.exists`"
1598+
msgstr":meth:`Path.stat`"
16111599

16121600
#:../../library/pathlib.rst:1551
1613-
#,fuzzy
16141601
msgid":func:`os.lstat`"
1615-
msgstr":func:`os.stat`"
1602+
msgstr":func:`os.lstat`"
16161603

16171604
#:../../library/pathlib.rst:1551
1618-
#,fuzzy
16191605
msgid":meth:`Path.lstat`"
1620-
msgstr":meth:`Path.exists`"
1606+
msgstr":meth:`Path.lstat`"
16211607

16221608
#:../../library/pathlib.rst:1552
16231609
msgid":func:`os.listdir`"
@@ -1632,14 +1618,12 @@ msgid ":func:`os.walk`"
16321618
msgstr":func:`os.walk`"
16331619

16341620
#:../../library/pathlib.rst:1553
1635-
#,fuzzy
16361621
msgid":meth:`Path.walk` [4]_"
1637-
msgstr":meth:`Path.walk`"
1622+
msgstr":meth:`Path.walk` [4]_"
16381623

16391624
#:../../library/pathlib.rst:1554
1640-
#,fuzzy
16411625
msgid":func:`os.mkdir`, :func:`os.makedirs`"
1642-
msgstr":func:`os.remove`、:func:`os.unlink`"
1626+
msgstr":func:`os.mkdir`、:func:`os.makedirs`"
16431627

16441628
#:../../library/pathlib.rst:1554
16451629
msgid":meth:`Path.mkdir`"
@@ -1710,14 +1694,12 @@ msgid ":meth:`Path.chmod`"
17101694
msgstr":meth:`Path.chmod`"
17111695

17121696
#:../../library/pathlib.rst:1563
1713-
#,fuzzy
17141697
msgid":func:`os.lchmod`"
1715-
msgstr":func:`os.chmod`"
1698+
msgstr":func:`os.lchmod`"
17161699

17171700
#:../../library/pathlib.rst:1563
1718-
#,fuzzy
17191701
msgid":meth:`Path.lchmod`"
1720-
msgstr":meth:`Path.chmod`"
1702+
msgstr":meth:`Path.lchmod`"
17211703

17221704
#:../../library/pathlib.rst:1567
17231705
msgid"Footnotes"
@@ -1739,14 +1721,11 @@ msgid ""
17391721
msgstr""
17401722

17411723
#:../../library/pathlib.rst:1575
1742-
#,fuzzy
17431724
msgid""
17441725
":func:`os.path.abspath` removes\"``..``\" components without resolving "
17451726
"symlinks, which may change the meaning of the path, whereas :meth:`Path."
17461727
"absolute` leaves any\"``..``\" components in the path."
17471728
msgstr""
1748-
":func:`os.path.abspath` 會標準化產生的路徑,因而當有符號連結的時候會改變其意"
1749-
"義,但 :meth:`Path.absolute` 不會。"
17501729

17511730
#:../../library/pathlib.rst:1578
17521731
msgid""
@@ -1762,38 +1741,3 @@ msgstr "path(路徑)"
17621741
#:../../library/pathlib.rst:11
17631742
msgid"operations"
17641743
msgstr"operations(操作)"
1765-
1766-
#~ msgid ""
1767-
#~ "Not all pairs of functions/methods below are equivalent. Some of them, "
1768-
#~ "despite having some overlapping use-cases, have different semantics. They "
1769-
#~ "include :func:`os.path.abspath` and :meth:`Path.absolute`, :func:`os.path."
1770-
#~ "relpath` and :meth:`PurePath.relative_to`."
1771-
#~ msgstr ""
1772-
#~ "不是以下所有一對的函式/方法都相等。其中有一些儘管有重疊的使用情境但有不同"
1773-
#~ "的語意。它們包含 :func:`os.path.abspath` 和 :meth:`Path.absolute`、:func:"
1774-
#~ "`os.path.relpath` 和 :meth:`PurePath.relative_to`。"
1775-
1776-
#~ msgid ":func:`os.mkdir`"
1777-
#~ msgstr ":func:`os.mkdir`"
1778-
1779-
#~ msgid ":func:`os.makedirs`"
1780-
#~ msgstr ":func:`os.makedirs`"
1781-
1782-
#~ msgid ":func:`Path.cwd`"
1783-
#~ msgstr ":func:`Path.cwd`"
1784-
1785-
#~ msgid ":meth:`Path.expanduser` and :meth:`Path.home`"
1786-
#~ msgstr ":meth:`Path.expanduser` 和 :meth:`Path.home`"
1787-
1788-
#~ msgid ":meth:`Path.stat`, :meth:`Path.owner`, :meth:`Path.group`"
1789-
#~ msgstr ":meth:`Path.stat`、:meth:`Path.owner`、:meth:`Path.group`"
1790-
1791-
#~ msgid ""
1792-
#~ ":meth:`PurePath.relative_to` requires ``self`` to be the subpath of the "
1793-
#~ "argument, but :func:`os.path.relpath` does not."
1794-
#~ msgstr ""
1795-
#~ ":meth:`PurePath.relative_to` 要求 ``self`` 是其引數的子路徑 (subpath),"
1796-
#~ "但 :func:`os.path.relpath` 不用。"
1797-
1798-
#~ msgid "Other methods"
1799-
#~ msgstr "其他方法"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp