From e7c718df41324edcc9708fae017541a85fc9e6b6 Mon Sep 17 00:00:00 2001 From: Steven Hsu <81967953+StevenHsuYL@users.noreply.github.com> Date: Sun, 20 Jun 2021 16:03:25 +0800 Subject: [PATCH 1/2] Update fuzzy of venv.po Minor modification. --- tutorial/venv.po | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/tutorial/venv.po b/tutorial/venv.po index 0c58602542..dffd01548a 100644 --- a/tutorial/venv.po +++ b/tutorial/venv.po @@ -1,14 +1,14 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2018, Python Software Foundation +# Copyright (C) 2001-2021, Python Software Foundation # This file is distributed under the same license as the Python package. # # Translators: msgid "" msgstr "" -"Project-Id-Version: Python 3.7\n" +"Project-Id-Version: Python 3.9\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-06-20 18:08+0800\n" -"PO-Revision-Date: 2018-08-22 16:21+0800\n" +"PO-Revision-Date: 2021-06-20 15:56+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -17,7 +17,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 2.1.1\n" +"X-Generator: Poedit 2.4.3\n" #: ../../tutorial/venv.rst:6 msgid "Virtual Environments and Packages" @@ -57,7 +57,7 @@ msgid "" "self-contained directory tree that contains a Python installation for a " "particular version of Python, plus a number of additional packages." msgstr "" -"解決方案是創建一個\\ :term:`虛擬環境(virtual environment) `,這是一個獨立的資料夾,並且裡面裝好了特定版本的 Python,以及一" "系列相關的套件。" @@ -97,8 +97,8 @@ msgid "" "place it, and run the :mod:`venv` module as a script with the directory " "path::" msgstr "" -"在建立虛擬環境的時候,在你決定要放該虛擬環境的資料夾之後,在 script 中執行 :" -"mod:`venv` 模組並且給定資料夾 path:\n" +"在建立虛擬環境的時候,在你決定要放該虛擬環境的資料夾之後,以腳本 (script) 執" +"行 :mod:`venv` 模組並且給定資料夾路徑:\n" "\n" "::" @@ -120,10 +120,13 @@ msgid "" "prevents clashing with ``.env`` environment variable definition files that " "some tooling supports." msgstr "" +"虛擬環境的常用資料夾位置是 ``.venv``。這個名稱通常會使該資料夾在你的 shell 中" +"保持隱藏,因此可以不需要為了解釋該資料夾的存在而為它命名。它還能防止與某些工" +"具所支援的 ``.env`` 環境變數定義檔案發生衝突。" #: ../../tutorial/venv.rst:59 msgid "Once you've created a virtual environment, you may activate it." -msgstr "一旦你建立了一個虛擬環境,你可以啟動他。" +msgstr "一旦你建立了一個虛擬環境,你可以啟動它。" #: ../../tutorial/venv.rst:61 msgid "On Windows, run::" @@ -156,7 +159,7 @@ msgid "" "Python. For example:" msgstr "" "啟動虛擬環境會改變你的 shell 提示字元來顯示你正在使用的虛擬環境,並且修改環境" -"以讓你在執行 ``python`` 的時候可以得到特定的 Python 版本,例如說:" +"以讓你在執行 ``python`` 的時候可以得到特定的 Python 版本,例如:" #: ../../tutorial/venv.rst:93 msgid "Managing Packages with pip" @@ -167,22 +170,20 @@ 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, or you can use ``pip``'s limited search " -"feature:" +"by going to it in your web browser." msgstr "" "你可以使用一個叫做 :program:`pip` 的程式來安裝、升級和移除套件。``pip`` 預設" -"會從 Python Package Index 安裝套件。你可以透過你的瀏覽器" -"瀏覽 Python Package Index,或是使用 ``pip`` 的限定搜索功能:" +"會從 Python Package Index 安裝套件。你可以透過你的網頁瀏覽" +"器瀏覽 Python Package Index。" #: ../../tutorial/venv.rst:111 msgid "" -"``pip`` has a number of subcommands: \"search\", \"install\", \"uninstall\", " -"\"freeze\", etc. (Consult the :ref:`installing-index` guide for complete " -"documentation for ``pip``.)" +"``pip`` has a number of subcommands: \"install\", \"uninstall\", \"freeze\", " +"etc. (Consult the :ref:`installing-index` guide for complete documentation " +"for ``pip``.)" msgstr "" -"``pip`` 有好幾個子指令:\"search\"、\"install\"、\"uninstall\"、\"freeze\" 等" -"等。(這可以參考\\ :ref:`installing-index`\\ 說明書來取得 ``pip`` 的完整文件" -"說明。)" +"``pip`` 有好幾個子指令:\"install\"、\"uninstall\"、\"freeze\" 等等。(可以參" +"考\\ :ref:`installing-index`\\ 指南,來取得 ``pip`` 的完整說明文件。)" #: ../../tutorial/venv.rst:115 msgid "" @@ -249,6 +250,6 @@ msgid "" "want to make it available on the Python Package Index, consult the :ref:" "`distributing-index` guide." msgstr "" -"``pip`` 還有更多功能。可以參考\\ :ref:`installing-index`\\ 說明書來取得完整" -"的 ``pip`` 參考資料。當你撰寫了一個套件並且想要讓它可以在 Python Package " -"Index 上可以取得的話,可以參考\\ :ref:`distributing-index`\\ 說明。" +"``pip`` 還有更多功能。可以參考\\ :ref:`installing-index`\\ 指南,來取得完整" +"的 ``pip`` 說明文件。當你撰寫了一個套件並且想要讓它在 Python Package Index 上" +"可以取得的話,可以參考\\ :ref:`distributing-index`\\ 指南。" From 3ec936eeabd8b99533ca75f96836d6fecb3edb54 Mon Sep 17 00:00:00 2001 From: Steven Hsu <81967953+StevenHsuYL@users.noreply.github.com> Date: Sun, 27 Jun 2021 20:25:12 +0800 Subject: [PATCH 2/2] Update venv.po Fix the suggested sentence. --- tutorial/venv.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorial/venv.po b/tutorial/venv.po index dffd01548a..1ce514e22d 100644 --- a/tutorial/venv.po +++ b/tutorial/venv.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.9\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-06-20 18:08+0800\n" -"PO-Revision-Date: 2021-06-20 15:56+0800\n" +"PO-Revision-Date: 2021-06-27 20:20+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -121,8 +121,8 @@ msgid "" "some tooling supports." msgstr "" "虛擬環境的常用資料夾位置是 ``.venv``。這個名稱通常會使該資料夾在你的 shell 中" -"保持隱藏,因此可以不需要為了解釋該資料夾的存在而為它命名。它還能防止與某些工" -"具所支援的 ``.env`` 環境變數定義檔案發生衝突。" +"保持隱藏,因此這樣命名既可以解釋資料夾存在的原因,也不會造成任何困擾。它還能" +"防止與某些工具所支援的 ``.env`` 環境變數定義檔案發生衝突。" #: ../../tutorial/venv.rst:59 msgid "Once you've created a virtual environment, you may activate it."