Skip to content

Commit

Permalink
feat: update content from meetup march 2024 (#853)
Browse files Browse the repository at this point in the history
* 更新 library/logging.rst:53 (#839)

* 更新 library/logging.rst:53

* 修正library/logging.rst:53翻譯內容,格式化改為格式器

* Update logging.po with translated text (#844)

* feat: update logging.po with translated text

* Fix translation in logging constructor

* Update library/logging.po

change word

Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>

---------

Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>

* add i18n for logging (#847)

* add i18n for logging

* update 。 reviewer suggection for logging

* Translate library/logging.rst:118 (#848)

* feat: logging translation update (#843)

* 更新 library/logging.rst:53 (#839)

* 更新 library/logging.rst:53

* 修正library/logging.rst:53翻譯內容,格式化改為格式器

* Update logging.po with translated text (#844)

* feat: update logging.po with translated text

* Fix translation in logging constructor

* Update library/logging.po

change word

Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>

---------

Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>

* add i18n for logging (#847)

* add i18n for logging

* update 。 reviewer suggection for logging

* Translate library/logging.rst:118 (#848)

* feat: logging translation update (#843)

* Working on string.

* Update library/string.po

中文標點符號 與 特殊符號 中間不用增加空格

Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>

* Update library/string.po

翻譯positional-only

Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>

* work on logging.po (#841)

* work on logging.po

* change 參數被解釋 -> 引數被直譯

* add 隔行

* 修正為:在此記錄器上記錄一條層級為

* update translation of #: ../../library/logging.rst:82 (#849)

* working on logging

* Update logging.po

* Update library/logging.po

Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>

* Update library/logging.po

Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>

---------

Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>

* fix(library/logging.po): update with reviewer's suggestion

---------

Co-authored-by: JoycePan <81307247+wdbps93206@users.noreply.github.com>
Co-authored-by: Kyo Huang <odinxp@gmail.com>
Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
Co-authored-by: Jimmy Ma <a468963@gmail.com>
Co-authored-by: Wei-Chun, Chang <wcchang@infuseai.io>
Co-authored-by: marychiou <yoru8312@gmail.com>
Co-authored-by: marychiou <50230427+marychiou@users.noreply.github.com>
Co-authored-by: dl <43908490+dl-jack-123@users.noreply.github.com>
Co-authored-by: Ah-Siao <128007349+Ah-Siao@users.noreply.github.com>
  • Loading branch information
10 people committed Mar 29, 2024
1 parent bdf89b3 commit 6026538
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
28 changes: 19 additions & 9 deletions library/logging.po
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
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

0 comments on commit 6026538

Please sign in to comment.