Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 18 additions & 12 deletions tutorial/venv.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand All @@ -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"
Expand Down Expand Up @@ -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`` "
Expand Down Expand Up @@ -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 ""
Expand Down Expand Up @@ -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::"
Expand All @@ -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 <https://pypi.org>`_. 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 <https://pypi.org>`_. You can browse the Python "
"Package Index by going to it in your web browser."
msgstr ""
"你可以使用一個叫做 :program:`pip` 的程式來安裝、升級和移除套件。``pip`` 預設"
"會從 `Python Package Index <https://pypi.org>`_ 安裝套件。你可以透過你的網頁"
Expand Down