Skip to content

Commit

Permalink
feat: translate library/socket.po intro section
Browse files Browse the repository at this point in the history
  • Loading branch information
weijay0804 committed Dec 1, 2023
1 parent 44eb265 commit 9463e34
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions library/socket.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,20 @@ msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-30 00:03+0000\n"
"PO-Revision-Date: 2018-05-23 16:10+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"PO-Revision-Date: 2023-12-01 14:10+0800\n"
"Last-Translator: Jay <weijay0804@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.4.1\n"

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

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

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

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

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

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

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

#: ../../library/socket.rst:39
msgid "A TLS/SSL wrapper for socket objects."
msgstr ""
msgstr "對 socket 物件的 TLS/SSL 的封裝。"

#: ../../library/socket.rst:43
msgid "Socket families"
Expand Down

0 comments on commit 9463e34

Please sign in to comment.