diff --git a/library/logging.po b/library/logging.po index 7f58f336e4..34fb6e54f3 100644 --- a/library/logging.po +++ b/library/logging.po @@ -9,8 +9,8 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-02-02 00:03+0000\n" -"PO-Revision-Date: 2023-08-20 16:49+0800\n" -"Last-Translator: Adrian Liaw \n" +"PO-Revision-Date: 2024-03-28 22:40+0800\n" +"Last-Translator: RockLeon \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" "Language: zh_TW\n" @@ -18,7 +18,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.3.2\n" +"X-Generator: Poedit 3.4.2\n" #: ../../library/logging.rst:2 msgid ":mod:`logging` --- Logging facility for Python" @@ -66,7 +66,7 @@ msgstr "" #: ../../library/logging.rst:33 msgid "The simplest example:" -msgstr "" +msgstr "最簡單的示範:" #: ../../library/logging.rst:41 msgid "" @@ -74,6 +74,8 @@ msgid "" "unfamiliar with logging, the best way to get to grips with it is to view the " "tutorials (**see the links above and on the right**)." msgstr "" +"這個模組提供了很多的功能性以及彈性。如果你對於 logging 不熟悉,熟悉它最好的方" +"法就是去看教學(**請看右上方的連結**)。" #: ../../library/logging.rst:45 msgid "" @@ -99,7 +101,7 @@ msgstr "" #: ../../library/logging.rst:53 msgid "Formatters specify the layout of log records in the final output." -msgstr "" +msgstr "格式器指定日誌記錄在最終輸出中的佈局。" #: ../../library/logging.rst:59 msgid "Logger Objects" @@ -135,6 +137,9 @@ msgid "" "ancestor loggers' handlers - neither the level nor filters of the ancestor " "loggers in question are considered." msgstr "" +"如果此屬性評估為 true,則在此日誌紀錄器被記錄的事件會被傳到更高階(上代)日誌" +"記錄器 的處理函式和所有附加在此日誌記錄器的任何處理器。訊息會直接傳到上代 " +"loggers 的處理器 - 在問題中上代日誌記錄器的層級或是篩選器都不會被考慮。" #: ../../library/logging.rst:88 msgid "" @@ -157,7 +162,7 @@ msgstr "" #: ../../library/logging.rst:100 msgid "The constructor sets this attribute to ``True``." -msgstr "" +msgstr "此建構函式將該屬性設為 ``True``。" #: ../../library/logging.rst:102 msgid "" @@ -187,6 +192,9 @@ msgid "" "delegation to the parent when the logger is a non-root logger). Note that " "the root logger is created with level :const:`WARNING`." msgstr "" +"當一個日誌記錄器被建立時,記錄層級會被設定成 :const:`NOTSET` (當此日誌記錄器" +"是根日誌記錄器,或是代表父日誌記錄器的非根日誌記錄器時,會使所有訊息被處" +"理)。請注意根日誌記錄器會以記錄等級 :const:`WARNING` 被建立。" #: ../../library/logging.rst:123 msgid "" @@ -392,6 +400,8 @@ msgid "" "Logs a message with level :const:`WARNING` on this logger. The arguments are " "interpreted as for :meth:`debug`." msgstr "" +"在此記錄器上記錄一條層級為 :const:`WARNING` 的訊息。這些引數被直譯的方式與 :" +"meth:`debug` 相同。" #: ../../library/logging.rst:290 msgid "" @@ -1139,7 +1149,7 @@ msgstr "" #: ../../library/logging.rst:917 ../../library/logging.rst:931 #: ../../library/logging.rst:959 ../../library/logging.rst:977 msgid "You shouldn't need to format this yourself." -msgstr "" +msgstr "你不應該需要自己格式化它。" #: ../../library/logging.rst:917 msgid "" @@ -1189,7 +1199,7 @@ msgstr "" #: ../../library/logging.rst:934 msgid "filename" -msgstr "" +msgstr "filename" #: ../../library/logging.rst:934 msgid "``%(filename)s``" @@ -1303,7 +1313,7 @@ msgstr "" #: ../../library/logging.rst:0 ../../library/logging.rst:964 msgid "name" -msgstr "" +msgstr "name" #: ../../library/logging.rst:964 msgid "``%(name)s``" diff --git a/library/string.po b/library/string.po index e54e7c8a8d..c62932fb30 100644 --- a/library/string.po +++ b/library/string.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-07-17 17:39+0800\n" -"PO-Revision-Date: 2023-12-06 11:46+0800\n" +"PO-Revision-Date: 2024-03-10 15:57+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 3.4.1\n" +"X-Generator: Poedit 3.4.2\n" #: ../../library/string.rst:2 msgid ":mod:`string` --- Common string operations" @@ -118,6 +118,10 @@ msgid "" "behaviors using the same implementation as the built-in :meth:`~str.format` " "method." msgstr "" +"透過 :pep:`3101` 中描述的 :meth:`~str.format` 方法,內建字串類別提供了進行複" +"雜變數替換和數值格式化的能力。:mod:`string` 模組中的 :class:`Formatter` 類別" +"模組可讓你使用與內建 :meth:`~str.format` 方法相同的實作來建立和自訂你自己的字" +"串格式化行為。" #: ../../library/string.rst:90 msgid "The :class:`Formatter` class has the following public methods:" @@ -136,7 +140,7 @@ msgstr "" msgid "" "A format string argument is now :ref:`positional-only `." -msgstr "" +msgstr "現在格式字串引數是\\ :ref:`僅限位置參數 `。" #: ../../library/string.rst:104 msgid ""