Skip to content

Commit 0dc8003

Browse files
committed
feat: translate library/socket.po intro section
pythongh-611
1 parent f3042a1 commit 0dc8003

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

library/socket.po

+16-8
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,21 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.13\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-11-23 00:14+0000\n"
10-
"PO-Revision-Date: 2018-05-23 16:10+0000\n"
11-
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
9+
"POT-Creation-Date: 2023-10-30 00:03+0000\n"
10+
"PO-Revision-Date: 2023-12-01 14:10+0800\n"
11+
"Last-Translator: Jay <weijay0804@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1313
"tw)\n"
1414
"Language: zh_TW\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=UTF-8\n"
1717
"Content-Transfer-Encoding: 8bit\n"
1818
"Plural-Forms: nplurals=1; plural=0;\n"
19+
"X-Generator: Poedit 3.4.1\n"
1920

2021
#: ../../library/socket.rst:2
21-
msgid ":mod:`!socket` --- Low-level networking interface"
22-
msgstr ":mod:`!socket` --- 低階網路介面"
22+
msgid ":mod:`socket` --- Low-level networking interface"
23+
msgstr ":mod:`socket` — 網路底層介面"
2324

2425
#: ../../library/socket.rst:7
2526
msgid "**Source code:** :source:`Lib/socket.py`"
@@ -31,12 +32,14 @@ msgid ""
3132
"on all modern Unix systems, Windows, MacOS, and probably additional "
3233
"platforms."
3334
msgstr ""
35+
"這個模組提供了操作 BSD *socket* 的介面。這在所有現代Unix系統、Windows、"
36+
"MacOS,以及一些其他平台上都可用。"
3437

3538
#: ../../library/socket.rst:16
3639
msgid ""
3740
"Some behavior may be platform dependent, since calls are made to the "
3841
"operating system socket APIs."
39-
msgstr ""
42+
msgstr "由於是呼叫作業系統的 socket API,某些行為可能會因平台而有所差異。"
4043

4144
#: ../../library/socket.rst:171 ../../library/socket.rst:181
4245
#: ../../library/socket.rst:209 ../../library/socket.rst:216
@@ -88,22 +91,27 @@ msgid ""
8891
"meth:`write` operations on Python files, buffer allocation on receive "
8992
"operations is automatic, and buffer length is implicit on send operations."
9093
msgstr ""
94+
"Python 介面是 Unix 系統呼叫和 socket 模組介面直譯成 Python 物件導向風格的簡單"
95+
"轉換::func:`.socket` 函數回傳一個 :dfn:`socket object`,其中實現了各種 "
96+
"socket 系統呼叫。參數類型相對於 C 語言的介面略為高層次:與 Python 文件操作中"
97+
"的 :meth:`read` 和 :meth:`write` 一樣,接收操作的緩衝區是自動分配的,而在發送"
98+
"操作的緩衝區長度是隱式的。"
9199

92100
#: ../../library/socket.rst:35
93101
msgid "Module :mod:`socketserver`"
94102
msgstr ":mod:`socketserver` 模組"
95103

96104
#: ../../library/socket.rst:36
97105
msgid "Classes that simplify writing network servers."
98-
msgstr ""
106+
msgstr "簡化編寫網路伺服器的類別。"
99107

100108
#: ../../library/socket.rst:38
101109
msgid "Module :mod:`ssl`"
102110
msgstr ":mod:`ssl` 模組"
103111

104112
#: ../../library/socket.rst:39
105113
msgid "A TLS/SSL wrapper for socket objects."
106-
msgstr ""
114+
msgstr "對 socket 物件的 TLS/SSL 的封裝。"
107115

108116
#: ../../library/socket.rst:43
109117
msgid "Socket families"

0 commit comments

Comments
 (0)