Skip to content

Commit 53a07bc

Browse files
committed
Translate fuzzy entries from upstream sync
- argparse.po: fix *encoding* (singular) in version note - enum.po: remove fuzzy flag (translation already correct) - functions.po: remove "safely" from ast.literal_eval description - sys.monitoring.po: update to mention ModuleNotFoundError on bad import
1 parent cb96b6c commit 53a07bc

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

library/argparse.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3808,9 +3808,8 @@ msgstr ""
38083808
"用 :keyword:`with` 陳述式來管理檔案。"
38093809

38103810
#: ../../library/argparse.rst:1936
3811-
#, fuzzy
38123811
msgid "Added the *encoding* and *errors* parameters."
3813-
msgstr "新增了 *encodings* 和 *errors* 參數。"
3812+
msgstr "新增了 *encoding* 和 *errors* 參數。"
38143813

38153814
#: ../../library/argparse.rst:1943
38163815
msgid "Argument groups"

library/enum.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,6 @@ msgstr ""
541541
"[<Color.RED: 1>, <Color.GREEN: 2>, <Color.BLUE: 3>]"
542542

543543
#: ../../library/enum.rst:248
544-
#, fuzzy
545544
msgid "Returns the number of members in *cls*::"
546545
msgstr "回傳 *cls* 的成員數量: ::"
547546

library/functions.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,12 +1329,11 @@ msgid ""
13291329
msgstr "如果給定來源是一個字串,那麼其前後的空格和定位字元會被移除。"
13301330

13311331
#: ../../library/functions.rst:638
1332-
#, fuzzy
13331332
msgid ""
13341333
"See :func:`ast.literal_eval` for a function to evaluate strings with "
13351334
"expressions containing only literals."
13361335
msgstr ""
1337-
"另外可以參閱 :func:`ast.literal_eval`,該函式可以安全執行僅包含文字的運算式字"
1336+
"另外可以參閱 :func:`ast.literal_eval`,該函式可用來執行僅包含文字的運算式字"
13381337
"串。"
13391338

13401339
#: ../../library/functions.rst:641 ../../library/functions.rst:643

library/sys.monitoring.po

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,15 @@ msgid ":mod:`!sys.monitoring` --- Execution event monitoring"
2121
msgstr ":mod:`!sys.monitoring` --- 執行事件監控"
2222

2323
#: ../../library/sys.monitoring.rst:13
24-
#, fuzzy
2524
msgid ""
2625
":mod:`!sys.monitoring` is a namespace within the :mod:`sys` module, not an "
2726
"independent module, and ``import sys.monitoring`` would fail with a :exc:"
2827
"`ModuleNotFoundError`. Instead, simply ``import sys`` and then use ``sys."
2928
"monitoring``."
3029
msgstr ""
3130
":mod:`!sys.monitoring` 是 :mod:`sys` 模組內的一個命名空間,不是一個獨立的模"
32-
"組,所以不需要 ``import sys.monitoring``,只需 ``import sys`` 然後使用 ``sys."
33-
"monitoring``。"
31+
"組, ``import sys.monitoring`` 將引發\\ :exc:`ModuleNotFoundError`。只需 "
32+
"``import sys`` 然後使用 ``sys.monitoring``。"
3433

3534
#: ../../library/sys.monitoring.rst:19
3635
msgid ""

0 commit comments

Comments
 (0)