Skip to content

feat: update content from meetup march 2024 #853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
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
28 changes: 19 additions & 9 deletions library/logging.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ 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 <adrianliaw2000@gmail.com>\n"
"PO-Revision-Date: 2024-03-28 22:40+0800\n"
"Last-Translator: RockLeon <therockleona@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"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"
Expand Down Expand Up @@ -66,14 +66,16 @@ msgstr ""

#: ../../library/logging.rst:33
msgid "The simplest example:"
msgstr ""
msgstr "最簡單的示範:"

#: ../../library/logging.rst:41
msgid ""
"The module provides a lot of functionality and flexibility. If you are "
"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 ""
Expand All @@ -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"
Expand Down Expand Up @@ -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 ""
Expand All @@ -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 ""
Expand Down Expand Up @@ -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 ""
Expand Down Expand Up @@ -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 ""
Expand Down Expand Up @@ -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 ""
Expand Down Expand Up @@ -1189,7 +1199,7 @@ msgstr ""

#: ../../library/logging.rst:934
msgid "filename"
msgstr ""
msgstr "filename"

#: ../../library/logging.rst:934
msgid "``%(filename)s``"
Expand Down Expand Up @@ -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``"
Expand Down
10 changes: 7 additions & 3 deletions library/string.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand All @@ -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"
Expand Down Expand Up @@ -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:"
Expand All @@ -136,7 +140,7 @@ msgstr ""
msgid ""
"A format string argument is now :ref:`positional-only <positional-"
"only_parameter>`."
msgstr ""
msgstr "現在格式字串引數是\\ :ref:`僅限位置參數 <positional-only_parameter>`。"

#: ../../library/string.rst:104
msgid ""
Expand Down
Loading