1- # SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2022, Python Software Foundation
1+ # Copyright (C) 2001-2024, Python Software Foundation
32# This file is distributed under the same license as the Python package.
43#
54# Translators:
5+ # Matt Wang <mattwang44@gmail.com>, 2024
66msgid ""
77msgstr ""
88"Project-Id-Version :Python 3.12\n "
99"Report-Msgid-Bugs-To :\n "
1010"POT-Creation-Date :2024-05-09 00:03+0000\n "
11- "PO-Revision-Date :2015-12-09 17:51+0000 \n "
12- "Last-Translator :Liang-Bo Wang <me@liang2.tw >\n "
11+ "PO-Revision-Date :2024-05-11 14:42+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 "
@@ -33,18 +33,21 @@ msgid ""
3333"also be run as a script, giving the filename of a Python script as its "
3434"argument, after which a report of the imported modules will be printed."
3535msgstr ""
36+ "此模組提供了一個 :class:`ModuleFinder` 類別,可用於確定腳本引入的模組集合。"
37+ "``modulefinder.py`` 也可以作為腳本運行,其將 Python 腳本的檔案名稱作為它的引"
38+ "數,並在之後會列印出引入模組的報告。"
3639
3740#: ../../library/modulefinder.rst:21
3841msgid ""
3942"Record that the package named *pkg_name* can be found in the specified "
4043"*path*."
41- msgstr ""
44+ msgstr "記錄在指定的 *path* 中可以找到名為 *pkg_name* 的套件。 "
4245
4346#: ../../library/modulefinder.rst:26
4447msgid ""
4548"Allows specifying that the module named *oldname* is in fact the package "
4649"named *newname*."
47- msgstr ""
50+ msgstr "允許指定名為 *oldname* 的模組實際上是名為 *newname* 的套件。 "
4851
4952#: ../../library/modulefinder.rst:32
5053msgid ""
@@ -56,37 +59,44 @@ msgid ""
5659"names to exclude from the analysis. *replace_paths* is a list of ``(oldpath, "
5760"newpath)`` tuples that will be replaced in module paths."
5861msgstr ""
62+ "此類別提供 :meth:`run_script` 和 :meth:`report` 方法來決定腳本引入的模組集"
63+ "合。*path* 可以是搜尋模組的目錄串列;如果未指定,則使用 ``sys.path``。"
64+ "*debug* 設定偵錯等級;較高的值可使類別列印有關其即將執行之操作的偵錯訊息。"
65+ "*excludes* 是要從分析中排除的模組名稱串列。*replace_paths* 是將在模組路徑中替"
66+ "換的 ``(oldpath, newpath)`` 元組串列。"
5967
6068#: ../../library/modulefinder.rst:43
6169msgid ""
6270"Print a report to standard output that lists the modules imported by the "
6371"script and their paths, as well as modules that are missing or seem to be "
6472"missing."
6573msgstr ""
74+ "將報告列印到標準輸出,其中列出了腳本引入的模組及其路徑,以及丟失或似乎丟失的"
75+ "模組。"
6676
6777#: ../../library/modulefinder.rst:49
6878msgid ""
6979"Analyze the contents of the *pathname* file, which must contain Python code."
70- msgstr ""
80+ msgstr "分析 *pathname* 檔案的內容,該檔案必須包含 Python 程式碼。 "
7181
7282#: ../../library/modulefinder.rst:54
7383msgid ""
7484"A dictionary mapping module names to modules. See :ref:`modulefinder-"
7585"example`."
76- msgstr ""
86+ msgstr "將模組名稱對應到模組的字典。請參閱 :ref:`modulefinder-example`。 "
7787
7888#: ../../library/modulefinder.rst:61
7989msgid "Example usage of :class:`ModuleFinder`"
80- msgstr ""
90+ msgstr ":class:`ModuleFinder` 的用法範例 "
8191
8292#: ../../library/modulefinder.rst:63
8393msgid "The script that is going to get analyzed later on (bacon.py)::"
84- msgstr ""
94+ msgstr "將被分析的腳本 (bacon.py): :: "
8595
8696#: ../../library/modulefinder.rst:78
8797msgid "The script that will output the report of bacon.py::"
88- msgstr ""
98+ msgstr "將輸出 bacon.py 報告的腳本: :: "
8999
90100#: ../../library/modulefinder.rst:94
91101msgid "Sample output (may vary depending on the architecture)::"
92- msgstr ""
102+ msgstr "範例輸出(可能因架構而異): :: "