Skip to content

Commit 5477e56

Browse files
committed
fix: correct inconsistent RST references in logging.po
Fix inconsistent term references at line 195 where :meth:`~Logger.debug` and :meth:`~Logger.info` were incorrectly translated as :func:`debug` and :func:`info`. https://claude.ai/code/session_01FubLSJSpQ2mNDuK2cjMebE
1 parent 0db7e79 commit 5477e56

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

howto/logging.po

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,10 +408,9 @@ msgid ""
408408
"methods such as :meth:`~Logger.debug`, :meth:`~Logger.info`, etc. Otherwise, "
409409
"that logging event may not be handled in the desired manner."
410410
msgstr ""
411-
":func:`basicConfig` 的呼叫應該放在任何關於 :func:`debug` 、 :func:`info` 等的"
412-
"呼叫 *之前* ,否則這些功能就會以預設選項自動呼叫 :func:`basicConfig`。由於它"
413-
"旨在作為一次性的簡單配置工具,只有第一個呼叫才能真正執行:後續的呼叫基本上是"
414-
"無操作(no-ops)。"
411+
":func:`basicConfig` 的呼叫應該放在任何對記錄器方法的呼叫 *之前*,例如 :meth:"
412+
"`~Logger.debug`、:meth:`~Logger.info` 等。否則,該日誌事件可能無法以預期的方"
413+
"式處理。"
415414

416415
#: ../../howto/logging.rst:199
417416
msgid ""

0 commit comments

Comments
 (0)