Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6026538

Browse files
rockleonaJoycePan810kyomindmattwang44nicehorse06
authored
feat: update content from meetup march 2024 (#853)
* 更新 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.pochange wordCo-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.pochange wordCo-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-onlyCo-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.poCo-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>* Update library/logging.poCo-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>
1 parentbdf89b3 commit6026538

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed

‎library/logging.po

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ msgstr ""
99
"Project-Id-Version:Python 3.12\n"
1010
"Report-Msgid-Bugs-To:\n"
1111
"POT-Creation-Date:2024-02-02 00:03+0000\n"
12-
"PO-Revision-Date:2023-08-20 16:49+0800\n"
13-
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
12+
"PO-Revision-Date:2024-03-28 22:40+0800\n"
13+
"Last-Translator:RockLeon <therockleona@gmail.com>\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1515
"tw)\n"
1616
"Language:zh_TW\n"
1717
"MIME-Version:1.0\n"
1818
"Content-Type:text/plain; charset=UTF-8\n"
1919
"Content-Transfer-Encoding:8bit\n"
2020
"Plural-Forms:nplurals=1; plural=0;\n"
21-
"X-Generator:Poedit 3.3.2\n"
21+
"X-Generator:Poedit 3.4.2\n"
2222

2323
#:../../library/logging.rst:2
2424
msgid":mod:`logging` --- Logging facility for Python"
@@ -66,14 +66,16 @@ msgstr ""
6666

6767
#:../../library/logging.rst:33
6868
msgid"The simplest example:"
69-
msgstr""
69+
msgstr"最簡單的示範:"
7070

7171
#:../../library/logging.rst:41
7272
msgid""
7373
"The module provides a lot of functionality and flexibility. If you are "
7474
"unfamiliar with logging, the best way to get to grips with it is to view the "
7575
"tutorials (**see the links above and on the right**)."
7676
msgstr""
77+
"這個模組提供了很多的功能性以及彈性。如果你對於 logging 不熟悉,熟悉它最好的方"
78+
"法就是去看教學(**請看右上方的連結**)。"
7779

7880
#:../../library/logging.rst:45
7981
msgid""
@@ -99,7 +101,7 @@ msgstr ""
99101

100102
#:../../library/logging.rst:53
101103
msgid"Formatters specify the layout of log records in the final output."
102-
msgstr""
104+
msgstr"格式器指定日誌記錄在最終輸出中的佈局。"
103105

104106
#:../../library/logging.rst:59
105107
msgid"Logger Objects"
@@ -135,6 +137,9 @@ msgid ""
135137
"ancestor loggers' handlers - neither the level nor filters of the ancestor "
136138
"loggers in question are considered."
137139
msgstr""
140+
"如果此屬性評估為 true,則在此日誌紀錄器被記錄的事件會被傳到更高階(上代)日誌"
141+
"記錄器 的處理函式和所有附加在此日誌記錄器的任何處理器。訊息會直接傳到上代 "
142+
"loggers 的處理器 - 在問題中上代日誌記錄器的層級或是篩選器都不會被考慮。"
138143

139144
#:../../library/logging.rst:88
140145
msgid""
@@ -157,7 +162,7 @@ msgstr ""
157162

158163
#:../../library/logging.rst:100
159164
msgid"The constructor sets this attribute to ``True``."
160-
msgstr""
165+
msgstr"此建構函式將該屬性設為 ``True``。"
161166

162167
#:../../library/logging.rst:102
163168
msgid""
@@ -187,6 +192,9 @@ msgid ""
187192
"delegation to the parent when the logger is a non-root logger). Note that "
188193
"the root logger is created with level :const:`WARNING`."
189194
msgstr""
195+
"當一個日誌記錄器被建立時,記錄層級會被設定成 :const:`NOTSET` (當此日誌記錄器"
196+
"是根日誌記錄器,或是代表父日誌記錄器的非根日誌記錄器時,會使所有訊息被處"
197+
"理)。請注意根日誌記錄器會以記錄等級 :const:`WARNING` 被建立。"
190198

191199
#:../../library/logging.rst:123
192200
msgid""
@@ -392,6 +400,8 @@ msgid ""
392400
"Logs a message with level :const:`WARNING` on this logger. The arguments are "
393401
"interpreted as for :meth:`debug`."
394402
msgstr""
403+
"在此記錄器上記錄一條層級為 :const:`WARNING` 的訊息。這些引數被直譯的方式與 :"
404+
"meth:`debug` 相同。"
395405

396406
#:../../library/logging.rst:290
397407
msgid""
@@ -1139,7 +1149,7 @@ msgstr ""
11391149
#:../../library/logging.rst:917../../library/logging.rst:931
11401150
#:../../library/logging.rst:959../../library/logging.rst:977
11411151
msgid"You shouldn't need to format this yourself."
1142-
msgstr""
1152+
msgstr"你不應該需要自己格式化它。"
11431153

11441154
#:../../library/logging.rst:917
11451155
msgid""
@@ -1189,7 +1199,7 @@ msgstr ""
11891199

11901200
#:../../library/logging.rst:934
11911201
msgid"filename"
1192-
msgstr""
1202+
msgstr"filename"
11931203

11941204
#:../../library/logging.rst:934
11951205
msgid"``%(filename)s``"
@@ -1303,7 +1313,7 @@ msgstr ""
13031313

13041314
#:../../library/logging.rst:0../../library/logging.rst:964
13051315
msgid"name"
1306-
msgstr""
1316+
msgstr"name"
13071317

13081318
#:../../library/logging.rst:964
13091319
msgid"``%(name)s``"

‎library/string.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
1010
"POT-Creation-Date:2023-07-17 17:39+0800\n"
11-
"PO-Revision-Date:2023-12-06 11:46+0800\n"
11+
"PO-Revision-Date:2024-03-10 15:57+0800\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
@@ -17,7 +17,7 @@ msgstr ""
1717
"Content-Type:text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding:8bit\n"
1919
"Plural-Forms:nplurals=1; plural=0;\n"
20-
"X-Generator:Poedit 3.4.1\n"
20+
"X-Generator:Poedit 3.4.2\n"
2121

2222
#:../../library/string.rst:2
2323
msgid":mod:`string` --- Common string operations"
@@ -118,6 +118,10 @@ msgid ""
118118
"behaviors using the same implementation as the built-in :meth:`~str.format` "
119119
"method."
120120
msgstr""
121+
"透過 :pep:`3101` 中描述的 :meth:`~str.format` 方法,內建字串類別提供了進行複"
122+
"雜變數替換和數值格式化的能力。:mod:`string` 模組中的 :class:`Formatter` 類別"
123+
"模組可讓你使用與內建 :meth:`~str.format` 方法相同的實作來建立和自訂你自己的字"
124+
"串格式化行為。"
121125

122126
#:../../library/string.rst:90
123127
msgid"The :class:`Formatter` class has the following public methods:"
@@ -136,7 +140,7 @@ msgstr ""
136140
msgid""
137141
"A format string argument is now :ref:`positional-only <positional-"
138142
"only_parameter>`."
139-
msgstr""
143+
msgstr"現在格式字串引數是\\ :ref:`僅限位置參數 <positional-only_parameter>`。"
140144

141145
#:../../library/string.rst:104
142146
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp