From 98d5785f86c219c5500a7a444bf0c9111a3c8c7f Mon Sep 17 00:00:00 2001 From: renpeiying Date: Fri, 30 Jan 2026 17:48:43 +0800 Subject: [PATCH] docs: Update CN translation --- docs/en/api-guides/tools/idf-py.rst | 1 - docs/zh_CN/api-guides/tools/idf-py.rst | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/en/api-guides/tools/idf-py.rst b/docs/en/api-guides/tools/idf-py.rst index 1c34c21d75..bccf68cb59 100644 --- a/docs/en/api-guides/tools/idf-py.rst +++ b/docs/en/api-guides/tools/idf-py.rst @@ -163,7 +163,6 @@ Hints on How to Resolve Errors ``idf.py`` will try to suggest hints on how to resolve errors. It works with a database of hints stored in :idf_file:`tools/idf_py_actions/hints.yml`. In addition, it loads component-specific hints from ``hints.yml`` file located in the root directory of any ESP-IDF or project component. The hints will be printed if a match is found for the given error. The menuconfig target is not supported at the moment by automatic hints on resolving errors. - The ``--no-hints`` argument of ``idf.py`` can be used to turn the hints off in case they are not desired. Important Notes diff --git a/docs/zh_CN/api-guides/tools/idf-py.rst b/docs/zh_CN/api-guides/tools/idf-py.rst index 14d7800afb..854f99d8a5 100644 --- a/docs/zh_CN/api-guides/tools/idf-py.rst +++ b/docs/zh_CN/api-guides/tools/idf-py.rst @@ -161,7 +161,7 @@ uf2 二进制文件也可以通过 :ref:`idf.py uf2 ` 生 错误处理提示 ============================== -``idf.py`` 使用存储在 :idf_file:`tools/idf_py_actions/hints.yml` 中的提示数据库,当找到与给定错误相匹配的提示时,``idf.py`` 会打印该提示以尝试提供解决方案。目前,错误处理提示不支持 menuconfig 对象。 +``idf.py`` 会尝试提示如何解决错误。它会使用存储在 :idf_file:`tools/idf_py_actions/hints.yml` 中的提示数据库。此外,它还会从任意 ESP-IDF 组件或项目组件根目录下的 ``hints.yml`` 文件中加载组件特定的提示。如果发现与给定错误匹配的内容,系统将会打印出相应的提示。目前,menuconfig 目标尚不支持该自动错误解决提示。 若无需该功能,可以通过 ``idf.py`` 的 ``--no-hints`` 参数关闭提示。