3
3
# This file is distributed under the same license as the Python package.
4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
#
6
- #, fuzzy
6
+ # Translators:
7
+ # Matt Wang <[email protected] >, 2021
8
+ #
7
9
msgid ""
8
10
msgstr ""
9
11
"Project-Id-Version : Python 3.10\n "
10
12
"Report-Msgid-Bugs-To : \n "
11
13
"POT-Creation-Date : 2020-06-20 18:08+0800\n "
12
- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE \n "
13
- "Last-Translator : FULL NAME <EMAIL@ADDRESS >\n "
14
+ "PO-Revision-Date : 2021-12-15 12:57+0800 \n "
15
+ "
Last-Translator :
Matt Wang <[email protected] >\n"
14
16
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
15
17
"tw)\n "
16
18
"Language : zh_TW\n "
17
19
"MIME-Version : 1.0\n "
18
20
"Content-Type : text/plain; charset=UTF-8\n "
19
21
"Content-Transfer-Encoding : 8bit\n "
22
+ "X-Generator : Poedit 3.0.1\n "
20
23
21
24
#: ../../library/asyncio-platforms.rst:9
22
25
msgid "Platform Support"
23
- msgstr ""
26
+ msgstr "平臺支援 "
24
27
25
28
#: ../../library/asyncio-platforms.rst:11
26
29
msgid ""
27
30
"The :mod:`asyncio` module is designed to be portable, but some platforms "
28
31
"have subtle differences and limitations due to the platforms' underlying "
29
32
"architecture and capabilities."
30
33
msgstr ""
34
+ ":mod:`asyncio` module(模組)被設計為可移植的,但由於平臺的底層架構和功能不"
35
+ "同,在一些平臺上存在細微的差異和限制。"
31
36
32
37
#: ../../library/asyncio-platforms.rst:17
33
38
msgid "All Platforms"
@@ -38,6 +43,7 @@ msgid ""
38
43
":meth:`loop.add_reader` and :meth:`loop.add_writer` cannot be used to "
39
44
"monitor file I/O."
40
45
msgstr ""
46
+ ":meth:`loop.add_reader` 和 :meth:`loop.add_writer` 不能用來監視檔案 I/O。"
41
47
42
48
#: ../../library/asyncio-platforms.rst:24
43
49
msgid "Windows"
@@ -48,29 +54,32 @@ msgid ""
48
54
"**Source code:** :source:`Lib/asyncio/proactor_events.py`, :source:`Lib/"
49
55
"asyncio/windows_events.py`, :source:`Lib/asyncio/windows_utils.py`"
50
56
msgstr ""
51
- "**原始碼:**\\ :source:`Lib/asyncio/proactor_events.py`\\ 、\\ "
52
- ":source:`Lib/asyncio/windows_events.py`\\ 、\\ :source:`Lib/asyncio/"
53
- "windows_utils.py`"
57
+ "**原始碼:**\\ :source:`Lib/asyncio/proactor_events.py`\\ 、\\ :source:`Lib/"
58
+ "asyncio/windows_events.py`\\ 、\\ :source:`Lib/asyncio/windows_utils.py`"
54
59
55
60
#: ../../library/asyncio-platforms.rst:34
56
61
msgid "On Windows, :class:`ProactorEventLoop` is now the default event loop."
57
- msgstr ""
62
+ msgstr "在 Windows 上,現在 :class:`ProactorEventLoop` 是預設的事件迴圈。 "
58
63
59
64
#: ../../library/asyncio-platforms.rst:36
60
65
msgid "All event loops on Windows do not support the following methods:"
61
- msgstr ""
66
+ msgstr "Windows 上的所有事件迴圈都不支援以下 method(方法): "
62
67
63
68
#: ../../library/asyncio-platforms.rst:38
64
69
msgid ""
65
70
":meth:`loop.create_unix_connection` and :meth:`loop.create_unix_server` are "
66
71
"not supported. The :data:`socket.AF_UNIX` socket family is specific to Unix."
67
72
msgstr ""
73
+ "不支援 :meth:`loop.create_unix_connection` 和 :meth:`loop.create_unix_server`"
74
+ "\\ 。\\ :data:`socket.AF_UNIX` socket 系列常數僅限於 Unix 上使用。"
68
75
69
76
#: ../../library/asyncio-platforms.rst:42
70
77
msgid ""
71
78
":meth:`loop.add_signal_handler` and :meth:`loop.remove_signal_handler` are "
72
79
"not supported."
73
80
msgstr ""
81
+ "不支援 :meth:`loop.add_signal_handler` 和 :meth:`loop.remove_signal_handler`"
82
+ "\\ 。"
74
83
75
84
#: ../../library/asyncio-platforms.rst:45
76
85
msgid ":class:`SelectorEventLoop` has the following limitations:"
@@ -81,25 +90,34 @@ msgid ""
81
90
":class:`~selectors.SelectSelector` is used to wait on socket events: it "
82
91
"supports sockets and is limited to 512 sockets."
83
92
msgstr ""
93
+ ":class:`~selectors.SelectSelector` 只被用於等待 socket 事件:它支援 socket 且"
94
+ "最多支援 512 個 socket。"
84
95
85
96
#: ../../library/asyncio-platforms.rst:50
86
97
msgid ""
87
98
":meth:`loop.add_reader` and :meth:`loop.add_writer` only accept socket "
88
99
"handles (e.g. pipe file descriptors are not supported)."
89
100
msgstr ""
101
+ ":meth:`loop.add_reader` 和 :meth:`loop.add_writer` 只接受 socket 處理函式(例"
102
+ "如不支援 pipe 檔案描述器 (pipe file descriptor))。"
90
103
91
104
#: ../../library/asyncio-platforms.rst:53
92
105
msgid ""
93
106
"Pipes are not supported, so the :meth:`loop.connect_read_pipe` and :meth:"
94
107
"`loop.connect_write_pipe` methods are not implemented."
95
108
msgstr ""
109
+ "因為不支援 pipe,所以 :meth:`loop.connect_read_pipe` 和 :meth:`loop."
110
+ "connect_write_pipe` method 沒有被實作出來。"
96
111
97
112
#: ../../library/asyncio-platforms.rst:56
98
113
msgid ""
99
114
":ref:`Subprocesses <asyncio-subprocess>` are not supported, i.e. :meth:`loop."
100
115
"subprocess_exec` and :meth:`loop.subprocess_shell` methods are not "
101
116
"implemented."
102
117
msgstr ""
118
+ "不支援\\ :ref:`子行程 (subprocess) <asyncio-subprocess>`\\ ,也就是說 :meth:"
119
+ "`loop.subprocess_exec` 和 :meth:`loop.subprocess_shell` method 沒有被實作出"
120
+ "來。"
103
121
104
122
#: ../../library/asyncio-platforms.rst:60
105
123
msgid ":class:`ProactorEventLoop` has the following limitations:"
@@ -109,7 +127,7 @@ msgstr ":class:`ProactorEventLoop` 有以下限制:"
109
127
msgid ""
110
128
"The :meth:`loop.add_reader` and :meth:`loop.add_writer` methods are not "
111
129
"supported."
112
- msgstr ""
130
+ msgstr "不支援 :meth:`loop.add_reader` 和 :meth:`loop.add_writer` method。 "
113
131
114
132
#: ../../library/asyncio-platforms.rst:65
115
133
msgid ""
@@ -118,31 +136,39 @@ msgid ""
118
136
"hardware (availability of `HPET <https://en.wikipedia.org/wiki/"
119
137
"High_Precision_Event_Timer>`_) and on the Windows configuration."
120
138
msgstr ""
139
+ "Windows 上單調時鐘 (monotonic clock) 的解析度大約為 15.6 毫秒。最佳的解析度"
140
+ "是 0.5 毫秒。解析度和硬體(\\ `HPET <https://zh.wikipedia.org/wiki/高精度事件"
141
+ "計時器>`_ 是否可用)與 Windows 的設定有關。"
121
142
122
143
#: ../../library/asyncio-platforms.rst:75
123
144
msgid "Subprocess Support on Windows"
124
- msgstr ""
145
+ msgstr "Windows 的子行程支援 "
125
146
126
147
#: ../../library/asyncio-platforms.rst:77
127
148
msgid ""
128
149
"On Windows, the default event loop :class:`ProactorEventLoop` supports "
129
150
"subprocesses, whereas :class:`SelectorEventLoop` does not."
130
151
msgstr ""
152
+ "在 Windows 上,預設的事件迴圈 :class:`ProactorEventLoop` 支援子行程,而 :"
153
+ "class:`SelectorEventLoop` 則不支援。"
131
154
132
155
#: ../../library/asyncio-platforms.rst:80
133
156
msgid ""
134
157
"The :meth:`policy.set_child_watcher() <AbstractEventLoopPolicy."
135
158
"set_child_watcher>` function is also not supported, as :class:"
136
159
"`ProactorEventLoop` has a different mechanism to watch child processes."
137
160
msgstr ""
161
+ "也不支援 :meth:`policy.set_child_watcher() <AbstractEventLoopPolicy."
162
+ "set_child_watcher>` 函式,\\ :class:`ProactorEventLoop` 在監視子行程上有不同"
163
+ "的機制。"
138
164
139
165
#: ../../library/asyncio-platforms.rst:87
140
166
msgid "macOS"
141
167
msgstr "macOS"
142
168
143
169
#: ../../library/asyncio-platforms.rst:89
144
170
msgid "Modern macOS versions are fully supported."
145
- msgstr ""
171
+ msgstr "完整支援現在普遍流行的 macOS 版本。 "
146
172
147
173
#: ../../library/asyncio-platforms.rst:92
148
174
msgid "macOS <= 10.8"
@@ -156,3 +182,10 @@ msgid ""
156
182
"class:`~selectors.SelectSelector` or :class:`~selectors.PollSelector` to "
157
183
"support character devices on these older versions of macOS. Example::"
158
184
msgstr ""
185
+ "在 macOS 10.6、10.7 和 10.8 上,預設的事件迴圈是使用 :class:`selectors."
186
+ "KqueueSelector`\\ ,在這些版本上它並不支援字元裝置 (character device)。可以手"
187
+ "工設置 :class:`SelectorEventLoop` 來使用 :class:`~selectors.SelectSelector` "
188
+ "或 :class:`~selectors.PollSelector` 以在這些舊版 macOS 上支援字元裝置。例"
189
+ "如:\n"
190
+ "\n"
191
+ "::"
0 commit comments