Skip to content

Commit 8fafe9c

Browse files
committed
translate how venv works
1 parent 7535e0c commit 8fafe9c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

library/venv.po

+8-3
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2023-05-09 00:15+0000\n"
11-
"PO-Revision-Date: 2018-05-23 16:15+0000\n"
12-
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
11+
"PO-Revision-Date: 2023-07-08 16:20+0800\n"
12+
"Last-Translator: Matt Wang <mattwang44@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.3.2\n"
2021

2122
#: ../../library/venv.rst:2
2223
msgid ":mod:`venv` --- Creation of virtual environments"
@@ -180,7 +181,7 @@ msgstr ""
180181

181182
#: ../../library/venv.rst:50
182183
msgid "How venvs work"
183-
msgstr ""
184+
msgstr "虛擬環境如何運作"
184185

185186
#: ../../library/venv.rst:52
186187
msgid ""
@@ -191,6 +192,10 @@ msgid ""
191192
"environment. It is sufficient to check ``sys.prefix != sys.base_prefix`` to "
192193
"determine if the current interpreter is running from a virtual environment."
193194
msgstr ""
195+
"當 Python 跑在虛擬環境時,:data:`sys.prefix` 和 :data:`sys.exec_prefix` 會指"
196+
"向虛擬環境的目錄,而 :data:`sys.base_prefix` 和 :data:`sys.base_exec_prefix` "
197+
"會指向創建虛擬環境的基本的 Python 的目錄。檢查 ``sys.prefix != sys."
198+
"base_prefix`` 就可以確定目前的直譯器是否跑在虛擬環境中。"
194199

195200
#: ../../library/venv.rst:61
196201
msgid ""

0 commit comments

Comments
 (0)