Skip to content

Commit 41ae8c5

Browse files
authored
Merge branch 'pycon-sprints' into logging
2 parents 9508fec + 6719f35 commit 41ae8c5

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

library/logging.po

+8-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2023-07-29 10:36+0000\n"
12-
"PO-Revision-Date: 2023-08-20 16:16+0800\n"
12+
"PO-Revision-Date: 2023-08-20 16:49+0800\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1515
"tw)\n"
@@ -44,7 +44,7 @@ msgstr ":ref:`進階教學 <logging-advanced-tutorial>`"
4444

4545
#: ../../library/logging.rst:21
4646
msgid ":ref:`Logging Cookbook <logging-cookbook>`"
47-
msgstr ""
47+
msgstr ":ref:`日誌記錄手冊 <logging-cookbook>`"
4848

4949
#: ../../library/logging.rst:25
5050
msgid ""
@@ -61,6 +61,10 @@ msgid ""
6161
"application log can include your own messages integrated with messages from "
6262
"third-party modules."
6363
msgstr ""
64+
"由標準函式庫模組提供的日誌記錄 API 的主要好處是,"
65+
"所有的 Python 模組都能參與日誌記錄,"
66+
"因此您的應用程式日誌可以包含您自己的訊息,"
67+
"並與來自第三方模組的訊息整合在一起。"
6468

6569
#: ../../library/logging.rst:33
6670
msgid "The simplest example:"
@@ -425,11 +429,11 @@ msgstr ""
425429

426430
#: ../../library/logging.rst:321
427431
msgid "Adds the specified filter *filter* to this logger."
428-
msgstr ""
432+
msgstr "在該 logger 內增加指定的 filter *filter*。"
429433

430434
#: ../../library/logging.rst:326
431435
msgid "Removes the specified filter *filter* from this logger."
432-
msgstr ""
436+
msgstr "在該 logger 內移除指定的 filter *filter*。"
433437

434438
#: ../../library/logging.rst:331
435439
msgid ""

library/os.po

+10-3
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-29 00:03+0000\n"
11-
"PO-Revision-Date: 2022-10-16 08:11+0800\n"
11+
"PO-Revision-Date: 2023-08-30 23:53+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.1.1\n"
20+
"X-Generator: Poedit 3.3.2\n"
2121

2222
#: ../../library/os.rst:2
2323
msgid ":mod:`os` --- Miscellaneous operating system interfaces"
@@ -37,10 +37,15 @@ msgid ""
3737
"mod:`tempfile` module, and for high-level file and directory handling see "
3838
"the :mod:`shutil` module."
3939
msgstr ""
40+
"該模組提供了一種便利的方式來操作與作業系統相關的功能。如果你想讀取或寫入檔"
41+
"案,請參閱 :func:`open` ,如果你想操作檔案路徑,請參閱 :mod:`os.path` 模組,"
42+
"如果你想透過命令行查看所有檔案中的所有內容,請查看 :mod:`fileinput` 模組。要"
43+
"建立臨時檔案和目錄,請參閱 :mod:`tempfile` 模組,要操作高級檔案和目錄,請參"
44+
"閱 :mod:`shutil` 模組。"
4045

4146
#: ../../library/os.rst:19
4247
msgid "Notes on the availability of these functions:"
43-
msgstr ""
48+
msgstr "關於這些功能的可用性說明:"
4449

4550
#: ../../library/os.rst:21
4651
msgid ""
@@ -64,6 +69,8 @@ msgid ""
6469
"objects, and result in an object of the same type, if a path or file name is "
6570
"returned."
6671
msgstr ""
72+
"所有接受檔案路徑和檔案名稱的函式皆接受位元組 (bytes) 和字串物件 (string "
73+
"objects),且如果回傳檔案路徑或檔案名稱,則會產出相同型別的物件。"
6774

6875
#: ../../library/os.rst:35
6976
msgid ""

0 commit comments

Comments
 (0)