Skip to content

Commit 9463e34

Browse files
committed
feat: translate library/socket.po intro section
gh-611
1 parent 44eb265 commit 9463e34

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

library/socket.po

+14-6
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,20 @@ msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2023-10-30 00:03+0000\n"
11-
"PO-Revision-Date: 2018-05-23 16:10+0000\n"
12-
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
11+
"PO-Revision-Date: 2023-12-01 14:10+0800\n"
12+
"Last-Translator: Jay <weijay0804@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
1515
"Language: zh_TW\n"
1616
"MIME-Version: 1.0\n"
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.4.1\n"
2021

2122
#: ../../library/socket.rst:2
2223
msgid ":mod:`socket` --- Low-level networking interface"
23-
msgstr ""
24+
msgstr ":mod:`socket` — 網路底層介面"
2425

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

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

4245
#: ../../includes/wasm-notavail.rst:3
4346
msgid ":ref:`Availability <availability>`: not Emscripten, not WASI."
@@ -62,22 +65,27 @@ msgid ""
6265
"operations on Python files, buffer allocation on receive operations is "
6366
"automatic, and buffer length is implicit on send operations."
6467
msgstr ""
68+
"Python 介面是 Unix 系統呼叫和 socket 模組介面直譯成 Python 物件導向風格的簡單"
69+
"轉換::func:`.socket` 函數回傳一個 :dfn:`socket object`,其中實現了各種 "
70+
"socket 系統呼叫。參數類型相對於 C 語言的介面略為高層次:與 Python 文件操作中"
71+
"的 :meth:`read` 和 :meth:`write` 一樣,接收操作的緩衝區是自動分配的,而在發送"
72+
"操作的緩衝區長度是隱式的。"
6573

6674
#: ../../library/socket.rst:36
6775
msgid "Module :mod:`socketserver`"
6876
msgstr ":mod:`socketserver` 模組"
6977

7078
#: ../../library/socket.rst:36
7179
msgid "Classes that simplify writing network servers."
72-
msgstr ""
80+
msgstr "簡化編寫網路伺服器的類別。"
7381

7482
#: ../../library/socket.rst:38
7583
msgid "Module :mod:`ssl`"
7684
msgstr ":mod:`ssl` 模組"
7785

7886
#: ../../library/socket.rst:39
7987
msgid "A TLS/SSL wrapper for socket objects."
80-
msgstr ""
88+
msgstr "對 socket 物件的 TLS/SSL 的封裝。"
8189

8290
#: ../../library/socket.rst:43
8391
msgid "Socket families"

0 commit comments

Comments
 (0)