Linux Documentation
 help / color / mirror / Atom feed
From: Weijie Yuan <wy@wyuan.org>
To: Chen-Yu Yeh <chenyou910331@gmail.com>
Cc: alexs@kernel.org, corbet@lwn.net, dzm91@hust.edu.cn,
	si.yanteng@linux.dev, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 03/25] docs/zh_TW: process: sync 4.Coding.rst with the English original
Date: Wed, 2 Dec 2026 01:03:44 +0800	[thread overview]
Message-ID: <aw798Eia3sUkdSqK@wyuan.org> (raw)
In-Reply-To: <20261123110217.170025-4-chenyou910331@gmail.com>

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@gmail.com>

Looks good.

Reviewed-by: Weijie Yuan <wy@wyuan.org>

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.

  reply	other threads:[~2026-12-01 17:03 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 11:01 [PATCH v2 00/25] docs/zh_TW: process: resync translations with the English originals Chen-Yu Yeh
2026-11-23 11:01 ` [PATCH v2 01/25] docs/zh_TW: process: sync 1.Intro.rst with the English original Chen-Yu Yeh
2026-11-23 11:01 ` [PATCH v2 02/25] docs/zh_TW: process: sync 2.Process.rst " Chen-Yu Yeh
2026-12-01 16:31   ` Weijie Yuan
2026-11-23 11:01 ` [PATCH v2 03/25] docs/zh_TW: process: sync 4.Coding.rst " Chen-Yu Yeh
2026-12-01 17:03   ` Weijie Yuan [this message]
2026-11-23 11:01 ` [PATCH v2 04/25] docs/zh_TW: process: sync 5.Posting.rst " Chen-Yu Yeh
2026-11-23 11:01 ` [PATCH v2 05/25] docs/zh_TW: process: sync 6.Followthrough.rst " Chen-Yu Yeh
2026-11-23 11:01 ` [PATCH v2 06/25] docs/zh_TW: process: sync 7.AdvancedTopics.rst " Chen-Yu Yeh
2026-11-23 11:01 ` [PATCH v2 07/25] docs/zh_TW: process: sync 8.Conclusion.rst " Chen-Yu Yeh
2026-11-23 11:01 ` [PATCH v2 08/25] docs/zh_TW: process: sync code-of-conduct-interpretation.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 09/25] docs/zh_TW: process: sync code-of-conduct.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 10/25] docs/zh_TW: process: sync gdb-kernel-debugging.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 11/25] docs/zh_TW: process: sync development-process.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 12/25] docs/zh_TW: process: sync email-clients.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 13/25] docs/zh_TW: process: sync kernel-driver-statement.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 14/25] docs/zh_TW: process: sync kernel-enforcement-statement.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 15/25] docs/zh_TW: process: sync management-style.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 16/25] docs/zh_TW: process: sync security-bugs.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 17/25] docs/zh_TW: process: sync volatile-considered-harmful.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 18/25] docs/zh_TW: process: sync 3.Early-stage.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 19/25] docs/zh_TW: process: sync coding-style.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 20/25] docs/zh_TW: process: sync embargoed-hardware-issues.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 21/25] docs/zh_TW: process: sync howto.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 22/25] docs/zh_TW: process: sync license-rules.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 23/25] docs/zh_TW: process: sync stable-api-nonsense.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 24/25] docs/zh_TW: process: sync submit-checklist.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 25/25] docs/zh_TW: process: sync submitting-patches.rst " Chen-Yu Yeh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aw798Eia3sUkdSqK@wyuan.org \
    --to=wy@wyuan.org \
    --cc=alexs@kernel.org \
    --cc=chenyou910331@gmail.com \
    --cc=corbet@lwn.net \
    --cc=dzm91@hust.edu.cn \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=si.yanteng@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox