-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
Changes from 16 commits
57eee89
a48940c
15dbc6a
1cdfd9e
e79e990
ff1610d
240a913
f8f2753
7e530e1
0fe5e8a
4074d47
e08524a
b2a0ad2
9b36023
7ac9d00
1e6b540
8436e05
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -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-10 15:10+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.1\n" | ||||||
|
||||||
#: ../../library/logging.rst:2 | ||||||
msgid ":mod:`logging` --- Logging facility for Python" | ||||||
|
@@ -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 "" | ||||||
|
@@ -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,則在此 logger 發生的事件會被傳到更高階(上代)loggers" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. logged 是
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 然後 handler 在 官方術語表 翻成 |
||||||
" 的處理器和所有附加在此 logger 的任何處理器。訊息會直接傳到上代 loggers 的" | ||||||
"處理器 - 在問題中上代 loggers 的層級不會被考慮。" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. filters 的翻譯不見了 |
||||||
|
||||||
#: ../../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` (當此日誌記錄器" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. logger 的上下文沒有統一~ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. level 應該是 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 我先翻譯成 |
||||||
"是根日誌記錄器,或是代表父日誌記錄器的非根日誌記錄器時,會使所有訊息被處" | ||||||
"理)。請注意根日誌記錄器會以記錄等級 :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`。" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 這邊的 as for 我看原文好像比較接近
Suggested change
待討論~ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 這邊我也認同 Payon 的翻譯。 |
||||||
|
||||||
#: ../../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 "你不需要自己格式化它。" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: shouldnt 本身包含 不應該/不該之意,這句我會想把這個意思放出來(勸阻看文件的別這樣做)
Suggested change
|
||||||
|
||||||
#: ../../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``" | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: