Re: [PATCH v2 03/25] docs/zh_TW: process: sync 4.Coding.rst with the English original

From: Weijie Yuan

Date: Tue Dec 01 2026 - 12:03:56 EST


On Mon, Nov 23, 2026 at 07:01:54PM +0800, Chen-Yu Yeh wrote:
> The translation carried no "update to commit" marker and was still the
> converted zh_CN text. A section-by-section comparison against the
> current English text shows it never picked up several changes and
> mistranslated a number of sentences. Bring it in line with the full
> current original:
>
> - add the missing paragraph on EditorConfig
> - add the missing "There are, of course, some catches." sentence in
> the internal API section
> - replace the Coccinelle :ref: that pointed a URL at the coccinelle.rst
> label with the plain project URL, as in the original
> - fix the sparse and LWN URLs, and the coding-style.rst reference that
> displayed a zh_CN path
> - keep Linus's quote verbatim in its literal block and add the
> translation after it
> - retranslate sentences whose meaning had drifted (the always-zero
> argument, driver abstraction layers, multiple evaluation of macro
> arguments, the inline function temptation, Devicescape being offered
> for inclusion, failure recovery paths, fault injection percentages,
> distributors, compiler warnings that should not appear, documentation
> being the exception, rare deadlocks)
> - spell Devicescape and Coccinelle correctly, and fix the *why*
> emphasis that was not rendered
> - replace mainland terms with Taiwanese usage (內核, 代碼, 內存, 線程,
> 函數, 接口, 文檔, 信息, ...) and the 爲/着/啓 conversion artifacts
>
> update to commit 5adb3698bbe8 ("coccinelle: update Coccinelle website URL")
>
> Signed-off-by: Chen-Yu Yeh <chenyou910331@xxxxxxxxx>

Looks good.

Reviewed-by: Weijie Yuan <wy@xxxxxxxxx>

One minor issue or nitpick below.

> ---
> .../translations/zh_TW/process/4.Coding.rst | 416 +++++++++---------
> 1 file changed, 217 insertions(+), 199 deletions(-)

[...]

> -代碼風格
> -********
> +程式碼風格
> +**********
>
> -內核長期以來都有其標準的代碼風格,如
> -:ref:`Documentation/translations/zh_CN/process/coding-style.rst <tw_codingstyle>`
> -中所述。在多數時候,該文檔中描述的準則至多被認爲是建議性的。因此,內核中存在
> -大量不符合代碼風格準則的代碼。這種代碼的存在會給內核開發人員帶來兩方面的危害。
> +核心長期以來都有其標準的程式碼風格,如
> +:ref:`Documentation/translations/zh_TW/process/coding-style.rst <tw_codingstyle>` 中所述。在其中
> +大部分時間裡,該文件中描述的準則至多被認為是建議性的。因此,核心中存在大量不
> +符合程式碼風格準則的程式碼。這種程式碼的存在會給核心開發人員帶來兩方面的危害。

The line width here is a bit prominent compared to the entire file. Do
you mind if I fold the lines like this:

核心長期以來都有其標準的程式碼風格,如
:ref:`Documentation/translations/zh_TW/process/coding-style.rst <tw_codingstyle>`
中所述。在其中大部分時間裡,該文件中描述的準則至多被認為是建議性的。因此,
核心中存在大量不符合程式碼風格準則的程式碼。這種程式碼的存在會給核心開發人員
帶來兩方面的危害。

Tested locally that this will not affect html rendering.

If this is the very few problem in the entire series, then there's no
need to reissue and reroll it.

Thanks.