Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dbf71ce

Browse files
committed
feat: translate library/asyncio-platforms.po
1 parent 6c8da1b commit dbf71ce

File tree

1 file changed

+45
-12
lines changed

1 file changed

+45
-12
lines changed

library/asyncio-platforms.po

Lines changed: 45 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,36 @@
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6-
#, fuzzy
6+
# Translators:
7+
# Matt Wang <[email protected]>, 2021
8+
#
79
msgid ""
810
msgstr ""
911
"Project-Id-Version: Python 3.10\n"
1012
"Report-Msgid-Bugs-To: \n"
1113
"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"
1416
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1517
"tw)\n"
1618
"Language: zh_TW\n"
1719
"MIME-Version: 1.0\n"
1820
"Content-Type: text/plain; charset=UTF-8\n"
1921
"Content-Transfer-Encoding: 8bit\n"
22+
"X-Generator: Poedit 3.0.1\n"
2023

2124
#: ../../library/asyncio-platforms.rst:9
2225
msgid "Platform Support"
23-
msgstr ""
26+
msgstr "平臺支援"
2427

2528
#: ../../library/asyncio-platforms.rst:11
2629
msgid ""
2730
"The :mod:`asyncio` module is designed to be portable, but some platforms "
2831
"have subtle differences and limitations due to the platforms' underlying "
2932
"architecture and capabilities."
3033
msgstr ""
34+
":mod:`asyncio` module(模組)被設計為可移植的,但由於平臺的底層架構和功能不"
35+
"同,在一些平臺上存在細微的差異和限制。"
3136

3237
#: ../../library/asyncio-platforms.rst:17
3338
msgid "All Platforms"
@@ -38,6 +43,7 @@ msgid ""
3843
":meth:`loop.add_reader` and :meth:`loop.add_writer` cannot be used to "
3944
"monitor file I/O."
4045
msgstr ""
46+
":meth:`loop.add_reader` 和 :meth:`loop.add_writer` 不能用來監視檔案 I/O。"
4147

4248
#: ../../library/asyncio-platforms.rst:24
4349
msgid "Windows"
@@ -48,29 +54,32 @@ msgid ""
4854
"**Source code:** :source:`Lib/asyncio/proactor_events.py`, :source:`Lib/"
4955
"asyncio/windows_events.py`, :source:`Lib/asyncio/windows_utils.py`"
5056
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`"
5459

5560
#: ../../library/asyncio-platforms.rst:34
5661
msgid "On Windows, :class:`ProactorEventLoop` is now the default event loop."
57-
msgstr ""
62+
msgstr "在 Windows 上,現在 :class:`ProactorEventLoop` 是預設的事件迴圈。"
5863

5964
#: ../../library/asyncio-platforms.rst:36
6065
msgid "All event loops on Windows do not support the following methods:"
61-
msgstr ""
66+
msgstr "Windows 上的所有事件迴圈都不支援以下 method(方法):"
6267

6368
#: ../../library/asyncio-platforms.rst:38
6469
msgid ""
6570
":meth:`loop.create_unix_connection` and :meth:`loop.create_unix_server` are "
6671
"not supported. The :data:`socket.AF_UNIX` socket family is specific to Unix."
6772
msgstr ""
73+
"不支援 :meth:`loop.create_unix_connection` 和 :meth:`loop.create_unix_server`"
74+
"\\\\ :data:`socket.AF_UNIX` socket 系列常數僅限於 Unix 上使用。"
6875

6976
#: ../../library/asyncio-platforms.rst:42
7077
msgid ""
7178
":meth:`loop.add_signal_handler` and :meth:`loop.remove_signal_handler` are "
7279
"not supported."
7380
msgstr ""
81+
"不支援 :meth:`loop.add_signal_handler` 和 :meth:`loop.remove_signal_handler`"
82+
"\\ 。"
7483

7584
#: ../../library/asyncio-platforms.rst:45
7685
msgid ":class:`SelectorEventLoop` has the following limitations:"
@@ -81,25 +90,34 @@ msgid ""
8190
":class:`~selectors.SelectSelector` is used to wait on socket events: it "
8291
"supports sockets and is limited to 512 sockets."
8392
msgstr ""
93+
":class:`~selectors.SelectSelector` 只被用於等待 socket 事件:它支援 socket 且"
94+
"最多支援 512 個 socket。"
8495

8596
#: ../../library/asyncio-platforms.rst:50
8697
msgid ""
8798
":meth:`loop.add_reader` and :meth:`loop.add_writer` only accept socket "
8899
"handles (e.g. pipe file descriptors are not supported)."
89100
msgstr ""
101+
":meth:`loop.add_reader` 和 :meth:`loop.add_writer` 只接受 socket 處理函式(例"
102+
"如不支援 pipe 檔案描述器 (pipe file descriptor))。"
90103

91104
#: ../../library/asyncio-platforms.rst:53
92105
msgid ""
93106
"Pipes are not supported, so the :meth:`loop.connect_read_pipe` and :meth:"
94107
"`loop.connect_write_pipe` methods are not implemented."
95108
msgstr ""
109+
"因為不支援 pipe,所以 :meth:`loop.connect_read_pipe` 和 :meth:`loop."
110+
"connect_write_pipe` method 沒有被實作出來。"
96111

97112
#: ../../library/asyncio-platforms.rst:56
98113
msgid ""
99114
":ref:`Subprocesses <asyncio-subprocess>` are not supported, i.e. :meth:`loop."
100115
"subprocess_exec` and :meth:`loop.subprocess_shell` methods are not "
101116
"implemented."
102117
msgstr ""
118+
"不支援\\ :ref:`子行程 (subprocess) <asyncio-subprocess>`\\ ,也就是說 :meth:"
119+
"`loop.subprocess_exec` 和 :meth:`loop.subprocess_shell` method 沒有被實作出"
120+
"來。"
103121

104122
#: ../../library/asyncio-platforms.rst:60
105123
msgid ":class:`ProactorEventLoop` has the following limitations:"
@@ -109,7 +127,7 @@ msgstr ":class:`ProactorEventLoop` 有以下限制:"
109127
msgid ""
110128
"The :meth:`loop.add_reader` and :meth:`loop.add_writer` methods are not "
111129
"supported."
112-
msgstr ""
130+
msgstr "不支援 :meth:`loop.add_reader` 和 :meth:`loop.add_writer` method。"
113131

114132
#: ../../library/asyncio-platforms.rst:65
115133
msgid ""
@@ -118,31 +136,39 @@ msgid ""
118136
"hardware (availability of `HPET <https://en.wikipedia.org/wiki/"
119137
"High_Precision_Event_Timer>`_) and on the Windows configuration."
120138
msgstr ""
139+
"Windows 上單調時鐘 (monotonic clock) 的解析度大約為 15.6 毫秒。最佳的解析度"
140+
"是 0.5 毫秒。解析度和硬體(\\ `HPET <https://zh.wikipedia.org/wiki/高精度事件"
141+
"計時器>`_ 是否可用)與 Windows 的設定有關。"
121142

122143
#: ../../library/asyncio-platforms.rst:75
123144
msgid "Subprocess Support on Windows"
124-
msgstr ""
145+
msgstr "Windows 的子行程支援"
125146

126147
#: ../../library/asyncio-platforms.rst:77
127148
msgid ""
128149
"On Windows, the default event loop :class:`ProactorEventLoop` supports "
129150
"subprocesses, whereas :class:`SelectorEventLoop` does not."
130151
msgstr ""
152+
"在 Windows 上,預設的事件迴圈 :class:`ProactorEventLoop` 支援子行程,而 :"
153+
"class:`SelectorEventLoop` 則不支援。"
131154

132155
#: ../../library/asyncio-platforms.rst:80
133156
msgid ""
134157
"The :meth:`policy.set_child_watcher() <AbstractEventLoopPolicy."
135158
"set_child_watcher>` function is also not supported, as :class:"
136159
"`ProactorEventLoop` has a different mechanism to watch child processes."
137160
msgstr ""
161+
"也不支援 :meth:`policy.set_child_watcher() <AbstractEventLoopPolicy."
162+
"set_child_watcher>` 函式,\\ :class:`ProactorEventLoop` 在監視子行程上有不同"
163+
"的機制。"
138164

139165
#: ../../library/asyncio-platforms.rst:87
140166
msgid "macOS"
141167
msgstr "macOS"
142168

143169
#: ../../library/asyncio-platforms.rst:89
144170
msgid "Modern macOS versions are fully supported."
145-
msgstr ""
171+
msgstr "完整支援現在普遍流行的 macOS 版本。"
146172

147173
#: ../../library/asyncio-platforms.rst:92
148174
msgid "macOS <= 10.8"
@@ -156,3 +182,10 @@ msgid ""
156182
"class:`~selectors.SelectSelector` or :class:`~selectors.PollSelector` to "
157183
"support character devices on these older versions of macOS. Example::"
158184
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

Comments
 (0)