Skip to content

Commit dff88f2

Browse files
committed
fix: add fuzzy label for some string
cpython doc build script has some weird behavior. need further investigation.
1 parent 0d26595 commit dff88f2

File tree

2 files changed

+49
-23
lines changed

2 files changed

+49
-23
lines changed

library/ctypes.po

+33-16
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-04-24 00:16+0000\n"
11-
"PO-Revision-Date: 2022-10-16 03:20+0800\n"
10+
"POT-Creation-Date: 2023-04-26 04:11+0800\n"
11+
"PO-Revision-Date: 2023-04-26 02:59+0800\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
@@ -17,7 +17,7 @@ msgstr ""
1717
"Content-Type: text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding: 8bit\n"
1919
"Plural-Forms: nplurals=1; plural=0;\n"
20-
"X-Generator: Poedit 3.1.1\n"
20+
"X-Generator: Poedit 3.2.2\n"
2121

2222
#: ../../library/ctypes.rst:2
2323
msgid ":mod:`ctypes` --- A foreign function library for Python"
@@ -1509,11 +1509,13 @@ msgid ""
15091509
msgstr ""
15101510

15111511
#: ../../library/ctypes.rst:1548
1512+
#, fuzzy
15121513
msgid ""
15131514
"Raises an :ref:`auditing event <auditing>` ``ctypes.dlsym`` with arguments "
15141515
"``library``, ``name``."
15151516
msgstr ""
1516-
"引發一個附帶引數 ``library``、``name`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes.dlsym``。"
1517+
"引發一個附帶引數 ``library``、``name`` 的\\ :ref:`稽核事件 <auditing>` "
1518+
"``ctypes.dlsym``。"
15171519

15181520
#: ../../library/ctypes.rst:1550
15191521
msgid ""
@@ -1523,11 +1525,13 @@ msgid ""
15231525
msgstr ""
15241526

15251527
#: ../../library/ctypes.rst:1554
1528+
#, fuzzy
15261529
msgid ""
15271530
"Raises an :ref:`auditing event <auditing>` ``ctypes.dlsym/handle`` with "
15281531
"arguments ``handle``, ``name``."
15291532
msgstr ""
1530-
"引發一個附帶引數 ``handle``、``name`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes.dlsym/handle``。"
1533+
"引發一個附帶引數 ``handle``、``name`` 的\\ :ref:`稽核事件 <auditing>` "
1534+
"``ctypes.dlsym/handle``。"
15311535

15321536
#: ../../library/ctypes.rst:1556
15331537
msgid ""
@@ -1646,11 +1650,13 @@ msgid ""
16461650
msgstr ""
16471651

16481652
#: ../../library/ctypes.rst:1645
1653+
#, fuzzy
16491654
msgid ""
16501655
"Raises an :ref:`auditing event <auditing>` ``ctypes.seh_exception`` with "
16511656
"argument ``code``."
16521657
msgstr ""
1653-
"引發一個附帶引數 ``code`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes.seh_exception``。"
1658+
"引發一個附帶引數 ``code`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes."
1659+
"seh_exception``。"
16541660

16551661
#: ../../library/ctypes.rst:1647
16561662
msgid ""
@@ -1662,11 +1668,13 @@ msgid ""
16621668
msgstr ""
16631669

16641670
#: ../../library/ctypes.rst:1653
1671+
#, fuzzy
16651672
msgid ""
16661673
"Raises an :ref:`auditing event <auditing>` ``ctypes.call_function`` with "
16671674
"arguments ``func_pointer``, ``arguments``."
16681675
msgstr ""
1669-
"引發一個附帶引數 ``func_pointer``、``arguments`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes.call_function``。"
1676+
"引發一個附帶引數 ``func_pointer``、``arguments`` 的\\ :ref:`稽核事件 "
1677+
"<auditing>` ``ctypes.call_function``。"
16701678

16711679
#: ../../library/ctypes.rst:1655
16721680
msgid ""
@@ -1872,7 +1880,8 @@ msgid ""
18721880
"Raises an :ref:`auditing event <auditing>` ``ctypes.addressof`` with "
18731881
"argument ``obj``."
18741882
msgstr ""
1875-
"引發一個附帶引數 ``obj`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes.addressof``。"
1883+
"引發一個附帶引數 ``obj`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes."
1884+
"addressof``。"
18761885

18771886
#: ../../library/ctypes.rst:1853
18781887
msgid ""
@@ -1931,7 +1940,8 @@ msgid ""
19311940
"Raises an :ref:`auditing event <auditing>` ``ctypes.create_string_buffer`` "
19321941
"with arguments ``init``, ``size``."
19331942
msgstr ""
1934-
"引發一個附帶引數 ``init`` 與 ``size`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes.create_string_buffer``。"
1943+
"引發一個附帶引數 ``init`` 與 ``size`` 的\\ :ref:`稽核事件 <auditing>` "
1944+
"``ctypes.create_string_buffer``。"
19351945

19361946
#: ../../library/ctypes.rst:1897
19371947
msgid ""
@@ -1959,7 +1969,8 @@ msgid ""
19591969
"Raises an :ref:`auditing event <auditing>` ``ctypes.create_unicode_buffer`` "
19601970
"with arguments ``init``, ``size``."
19611971
msgstr ""
1962-
"引發一個附帶引數 ``init`` 與 ``size`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes.create_unicode_buffer``。"
1972+
"引發一個附帶引數 ``init`` 與 ``size`` 的\\ :ref:`稽核事件 <auditing>` "
1973+
"``ctypes.create_unicode_buffer``。"
19631974

19641975
#: ../../library/ctypes.rst:1914
19651976
msgid ""
@@ -2089,7 +2100,8 @@ msgid ""
20892100
"Raises an :ref:`auditing event <auditing>` ``ctypes.set_errno`` with "
20902101
"argument ``errno``."
20912102
msgstr ""
2092-
"引發一個附帶引數 ``errno`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes.set_errno``。"
2103+
"引發一個附帶引數 ``errno`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes."
2104+
"set_errno``。"
20932105

20942106
#: ../../library/ctypes.rst:2024
20952107
msgid ""
@@ -2103,7 +2115,8 @@ msgid ""
21032115
"Raises an :ref:`auditing event <auditing>` ``ctypes.set_last_error`` with "
21042116
"argument ``error``."
21052117
msgstr ""
2106-
"引發一個附帶引數 ``error`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes.get_last_error``。"
2118+
"引發一個附帶引數 ``error`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes."
2119+
"get_last_error``。"
21072120

21082121
#: ../../library/ctypes.rst:2033
21092122
msgid ""
@@ -2123,7 +2136,8 @@ msgid ""
21232136
"Raises an :ref:`auditing event <auditing>` ``ctypes.string_at`` with "
21242137
"arguments ``address``, ``size``."
21252138
msgstr ""
2126-
"引發一個附帶引數 ``error``、``size`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes.string_at``。"
2139+
"引發一個附帶引數 ``error``、``size`` 的\\ :ref:`稽核事件 <auditing>` "
2140+
"``ctypes.string_at``。"
21272141

21282142
#: ../../library/ctypes.rst:2048
21292143
msgid ""
@@ -2151,7 +2165,8 @@ msgid ""
21512165
"Raises an :ref:`auditing event <auditing>` ``ctypes.wstring_at`` with "
21522166
"arguments ``address``, ``size``."
21532167
msgstr ""
2154-
"引發一個附帶引數 ``address``、``size`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes.wstring_at``。"
2168+
"引發一個附帶引數 ``address``、``size`` 的\\ :ref:`稽核事件 <auditing>` "
2169+
"``ctypes.wstring_at``。"
21552170

21562171
#: ../../library/ctypes.rst:2071
21572172
msgid "Data types"
@@ -2187,7 +2202,8 @@ msgid ""
21872202
"Raises an :ref:`auditing event <auditing>` ``ctypes.cdata/buffer`` with "
21882203
"arguments ``pointer``, ``size``, ``offset``."
21892204
msgstr ""
2190-
"引發一個附帶引數 ``pointer``、``size``、``offset`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes.cdata/buffer``。"
2205+
"引發一個附帶引數 ``pointer``、``size``、``offset`` 的\\ :ref:`稽核事件 "
2206+
"<auditing>` ``ctypes.cdata/buffer``。"
21912207

21922208
#: ../../library/ctypes.rst:2098
21932209
msgid ""
@@ -2208,7 +2224,8 @@ msgid ""
22082224
"Raises an :ref:`auditing event <auditing>` ``ctypes.cdata`` with argument "
22092225
"``address``."
22102226
msgstr ""
2211-
"引發一個附帶引數 ``address`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes.cdata``。"
2227+
"引發一個附帶引數 ``address`` 的\\ :ref:`稽核事件 <auditing>` ``ctypes."
2228+
"cdata``。"
22122229

22132230
#: ../../library/ctypes.rst:2113
22142231
msgid ""

library/sys.po

+16-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2023-04-24 00:16+0000\n"
11-
"PO-Revision-Date: 2023-04-25 11:04+0800\n"
11+
"PO-Revision-Date: 2023-04-26 02:54+0800\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
@@ -71,28 +71,34 @@ msgid ""
7171
msgstr ""
7272

7373
#: ../../library/sys.rst:47
74+
#, fuzzy
7475
msgid ""
7576
"Raises an :ref:`auditing event <auditing>` ``sys.addaudithook`` with no "
7677
"arguments."
7778
msgstr ""
7879
"引發一個不附帶引數的\\ :ref:`稽核事件 <auditing>` ``sys.addaudithook``。"
7980

8081
#: ../../library/sys.rst:49
82+
#, fuzzy
8183
msgid ""
8284
"Calling :func:`sys.addaudithook` will itself raise an auditing event named "
8385
"``sys.addaudithook`` with no arguments. If any existing hooks raise an "
8486
"exception derived from :class:`RuntimeError`, the new hook will not be added "
8587
"and the exception suppressed. As a result, callers cannot assume that their "
8688
"hook has been added unless they control all existing hooks."
8789
msgstr ""
90+
"呼叫 :func:`sys.addaudithook` 本身會引發一個不帶任何引數、名為 ``sys."
91+
"addaudithook`` 的稽核事件。如果任何現有的掛鉤函式引發從 :class:"
92+
"`RuntimeError` 衍生的例外,則不會添加新的掛鉤函式並抑制異常。因此,除非呼叫者"
93+
"控制所有已存在的掛鉤函式,他們不能假設他們的掛鉤函式已被添加。"
8894

8995
#: ../../library/sys.rst:56
9096
msgid ""
9197
"See the :ref:`audit events table <audit-events>` for all events raised by "
9298
"CPython, and :pep:`578` for the original design discussion."
9399
msgstr ""
94-
"所有會被 CPython 所引發的事件請參考\\ :ref:`稽核事件總表 <audit-events>`、設計相關討"
95-
"論請見 :pep:`578`。"
100+
"所有會被 CPython 所引發的事件請參考\\ :ref:`稽核事件總表 <audit-events>`、"
101+
"計相關討論請見 :pep:`578`。"
96102

97103
#: ../../library/sys.rst:63
98104
msgid ""
@@ -149,7 +155,8 @@ msgid ""
149155
"For example, one auditing event is named ``os.chdir``. This event has one "
150156
"argument called *path* that will contain the requested new working directory."
151157
msgstr ""
152-
"舉例來說,一個名為 ``os.chdir`` 的稽核事件擁有一個引數 *path*,其內容為所要求的新工作目錄。"
158+
"舉例來說,一個名為 ``os.chdir`` 的稽核事件擁有一個引數 *path*,其內容為所要求"
159+
"的新工作目錄。"
153160

154161
#: ../../library/sys.rst:109
155162
msgid ""
@@ -2469,7 +2476,7 @@ msgstr ""
24692476

24702477
#: ../../library/sys.rst:1716
24712478
msgid "``None`` if this information is unknown"
2472-
msgstr "為 ``None`` 表示此資訊未知"
2479+
msgstr "為 ``None`` 表示此資訊未知"
24732480

24742481
#: ../../library/sys.rst:1718
24752482
msgid ":const:`version`"
@@ -2553,14 +2560,16 @@ msgstr ""
25532560

25542561
#: ../../library/sys.rst:1764
25552562
msgid "See also :func:`excepthook` which handles uncaught exceptions."
2556-
msgstr ""
2563+
msgstr "關於處理未捕捉得例外,另請參閱 :func:`excepthook`。"
25572564

25582565
#: ../../library/sys.rst:1766
2566+
#, fuzzy
25592567
msgid ""
25602568
"Raises an :ref:`auditing event <auditing>` ``sys.unraisablehook`` with "
25612569
"arguments ``hook``, ``unraisable``."
25622570
msgstr ""
2563-
"引發一個附帶引數 ``hook``、``unraisable`` 的\\ :ref:`稽核事件 <auditing>` ``sys.unraisablehook``。"
2571+
"引發一個附帶引數 ``hook``、``unraisable`` 的\\ :ref:`稽核事件 <auditing>` "
2572+
"``sys.unraisablehook``。"
25642573

25652574
#: ../../library/sys.rst:1768
25662575
msgid ""

0 commit comments

Comments
 (0)