From a733f7f81805dcf4f86df66c752e592dce579a5d Mon Sep 17 00:00:00 2001 From: Jason Lin Date: Thu, 5 Nov 2026 16:08:12 +0800 Subject: [PATCH 1/3] Translate tutorial/venv.po --- tutorial/venv.po | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/tutorial/venv.po b/tutorial/venv.po index ab5713be115..309fb3efd0f 100644 --- a/tutorial/venv.po +++ b/tutorial/venv.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-06-12 00:46+0000\n" -"PO-Revision-Date: 2022-10-16 05:35+0800\n" +"PO-Revision-Date: 2026-11-05 16:05+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -16,7 +16,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 3.1.1\n" +"X-Generator: Poedit 3.10\n" #: ../../tutorial/venv.rst:6 msgid "Virtual Environments and Packages" @@ -80,10 +80,11 @@ msgstr "建立虛擬環境" #: ../../tutorial/venv.rst:38 msgid "" -"The module used to create and manage virtual environments is called :mod:" -"`venv`. :mod:`venv` will install the Python version from which the command " -"was run (as reported by the :option:`--version` option). For instance, " -"executing the command with ``python3.12`` will install version 3.12." +"The module used to create and manage virtual environments is " +"called :mod:`venv`. :mod:`venv` will install the Python version from which " +"the command was run (as reported by the :option:`--version` option). For " +"instance, executing the command with ``python3.12`` will install version " +"3.12." msgstr "" "用來建立與管理虛擬環境的模組叫做 :mod:`venv`。:mod:`venv` 將安裝執行命令的 " "Python 版本(如 :option:`--version` 選項所報告的)。例如使用 ``python3.12`` " @@ -149,8 +150,9 @@ msgid "" "or :program:`fish` shells, there are alternate ``activate.csh`` and " "``activate.fish`` scripts you should use instead.)" msgstr "" -"(這段程式碼適用於 bash shell。如果你是用 :program:`csh` 或者 :program:" -"`fish` shell,應當使用替代的 ``activate.csh`` 與 ``activate.fish`` 腳本。)" +"(這段程式碼適用於 bash shell。如果你是用 :program:`csh` 或" +"者 :program:`fish` shell,應當使用替代的 ``activate.csh`` 與 " +"``activate.fish`` 腳本。)" #: ../../tutorial/venv.rst:74 msgid "" @@ -192,6 +194,10 @@ msgid "" "version the virtual environment is using. The best practice is to ``unset " "PYTHONPATH`` in bash or the equivalent for the shell you are using." msgstr "" +"請注意,啟用虛擬環境並不會以任何方式更動 ``PYTHONPATH`` 變數。如果該路徑中引" +"用了與虛擬環境所使用的 Python 版本不相容的程式碼,可能會導致非預期的結果。最" +"佳做法是在 bash 中執行 ``unset PYTHONPATH``,或在你所使用的 shell 中執行等效" +"的指令。" #: ../../tutorial/venv.rst:96 msgid "To deactivate a virtual environment, type::" @@ -211,10 +217,10 @@ msgstr "用 pip 管理套件" #: ../../tutorial/venv.rst:105 msgid "" -"You can install, upgrade, and remove packages using a program called :" -"program:`pip`. By default ``pip`` will install packages from the `Python " -"Package Index `_. You can browse the Python Package Index " -"by going to it in your web browser." +"You can install, upgrade, and remove packages using a program " +"called :program:`pip`. By default ``pip`` will install packages from the " +"`Python Package Index `_. You can browse the Python " +"Package Index by going to it in your web browser." msgstr "" "你可以使用一個叫做 :program:`pip` 的程式來安裝、升級和移除套件。``pip`` 預設" "會從 `Python Package Index `_ 安裝套件。你可以透過你的網頁" From 9f7bf228d45a24f43ada4e091c36363ba7ec73bf Mon Sep 17 00:00:00 2001 From: 0w0d <112335646+0w0d@users.noreply.github.com> Date: Thu, 5 Nov 2026 16:44:35 +0800 Subject: [PATCH 2/3] Update tutorial/venv.po Co-authored-by: W. H. Wang --- tutorial/venv.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorial/venv.po b/tutorial/venv.po index 309fb3efd0f..53a10c82479 100644 --- a/tutorial/venv.po +++ b/tutorial/venv.po @@ -194,8 +194,8 @@ msgid "" "version the virtual environment is using. The best practice is to ``unset " "PYTHONPATH`` in bash or the equivalent for the shell you are using." msgstr "" -"請注意,啟用虛擬環境並不會以任何方式更動 ``PYTHONPATH`` 變數。如果該路徑中引" -"用了與虛擬環境所使用的 Python 版本不相容的程式碼,可能會導致非預期的結果。最" +"請注意,啟用虛擬環境並不會以任何方式更動 ``PYTHONPATH`` 變數。如果該路徑中參" +"照了與虛擬環境所使用的 Python 版本不相容的程式碼,可能會導致非預期的結果。最" "佳做法是在 bash 中執行 ``unset PYTHONPATH``,或在你所使用的 shell 中執行等效" "的指令。" From 85fb29989c939d5fc7170d96e9f7cb88ff7d5303 Mon Sep 17 00:00:00 2001 From: 0w0d <112335646+0w0d@users.noreply.github.com> Date: Sat, 7 Nov 2026 00:19:38 +0800 Subject: [PATCH 3/3] Update tutorial/venv.po Co-authored-by: W. H. Wang --- tutorial/venv.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial/venv.po b/tutorial/venv.po index 53a10c82479..3ca6aa8fb13 100644 --- a/tutorial/venv.po +++ b/tutorial/venv.po @@ -194,7 +194,7 @@ msgid "" "version the virtual environment is using. The best practice is to ``unset " "PYTHONPATH`` in bash or the equivalent for the shell you are using." msgstr "" -"請注意,啟用虛擬環境並不會以任何方式更動 ``PYTHONPATH`` 變數。如果該路徑中參" +"請注意,已啟用的虛擬環境完全不會更動 ``PYTHONPATH`` 變數。如果該路徑中參" "照了與虛擬環境所使用的 Python 版本不相容的程式碼,可能會導致非預期的結果。最" "佳做法是在 bash 中執行 ``unset PYTHONPATH``,或在你所使用的 shell 中執行等效" "的指令。"