Skip to content

Commit f029c6c

Browse files
claudejosix
authored andcommitted
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 eb39ed0 commit f029c6c

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎howto/logging.po‎

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

414413
#: ../../howto/logging.rst:199
415414
msgid ""

0 commit comments

Comments
 (0)