[PATCH v2 0/2] docs/zh_CN: translate process/applying-patches.rst into Chinese

Weijie Yuan posted 2 patches 1 month, 2 weeks ago
There is a newer version of this series
.../translations/zh_CN/admin-guide/README.rst      |   2 +-
.../zh_CN/process/applying-patches.rst             | 390 +++++++++++++++++++++
Documentation/translations/zh_CN/process/howto.rst |   2 +-
Documentation/translations/zh_CN/process/index.rst |   2 +-
4 files changed, 393 insertions(+), 3 deletions(-)
[PATCH v2 0/2] docs/zh_CN: translate process/applying-patches.rst into Chinese
Posted by Weijie Yuan 1 month, 2 weeks ago
Translate Documentation/process/applying-patches.rst into Chinese.

This series adds the Chinese translation to the zh_CN process
toctree and updates existing zh_CN references to link to it.

---
Changes in v2:
- Merges first two patches into one.
- Removes self-ref (.. _cn.rst) and changes ref style from 'ref' to
  direct file name
- Link to v1: https://patch.msgid.link/cover.1784289654.git.wy@wyuan.org

---
Weijie Yuan (2):
      docs/zh_CN: add process/applying-patches Chinese translation
      docs/zh_CN: link to Chinese applying-patches translation

 .../translations/zh_CN/admin-guide/README.rst      |   2 +-
 .../zh_CN/process/applying-patches.rst             | 390 +++++++++++++++++++++
 Documentation/translations/zh_CN/process/howto.rst |   2 +-
 Documentation/translations/zh_CN/process/index.rst |   2 +-
 4 files changed, 393 insertions(+), 3 deletions(-)

Range-diff versus v1:

1:  d90aac81d39b ! 1:  68ed0ce67ffa docs/zh_CN: add process/applying-patches Chinese translation
    @@ Metadata
      ## Commit message ##
         docs/zh_CN: add process/applying-patches Chinese translation
     
    -    Translate .../process/applying-patches.rst into Chinese.
    +    Translate process/applying-patches.rst into Chinese, and update
    +    the toctree.
     
         Update the translation through commit fa04150b8ef7
         ("Documentation: describe how to apply incremental stable patches")
    @@ Documentation/translations/zh_CN/process/applying-patches.rst (new)
     +
     +.. include:: ../disclaimer-zh_CN.rst
     +
    -+.. _cn_applying_patches:
    -+
    -+:Original: :ref:`Applying Patches To The Linux Kernel <applying_patches>`
    ++:Original: Documentation/process/applying-patches.rst
     +
     +:翻译:
     +
    @@ Documentation/translations/zh_CN/process/applying-patches.rst (new)
     +感谢 Randy Dunlap、Rolf Eike Beer、Linus Torvalds、Bodo Eggert、
     +Johannes Stezenbach、Grant Coady、Pavel Machek,以及其他可能被我
     +遗漏的人,感谢他们对本文档的审阅和贡献。
    +
    + ## Documentation/translations/zh_CN/process/index.rst ##
    +@@ Documentation/translations/zh_CN/process/index.rst: TODOLIST:
    +    :maxdepth: 1
    + 
    +    magic-number
    ++   applying-patches
    +    volatile-considered-harmful
    +    ../arch/riscv/patch-acceptance
    +    ../core-api/unaligned-memory-access
    + 
    + TODOLIST:
    + 
    +-* applying-patches
    + * backporting
    + * adding-syscalls
    + * botching-up-ioctls
2:  5f0e700f6a49 < -:  ------------ docs/zh_CN: add applying-patches to process index
3:  a3d20af74d63 = 2:  0af282ad0e01 docs/zh_CN: link to Chinese applying-patches translation

---
base-commit: 1a0364f09c1311dad5ad1ccba7e169a412f6b547
change-id: 20260815-apply-patches-601ad9b42f27

Re: [PATCH v2 0/2] docs/zh_CN: translate process/applying-patches.rst into Chinese
Posted by Dongliang Mu 1 month, 1 week ago
On 8/15/26 1:59 PM, Weijie Yuan wrote:
> Translate Documentation/process/applying-patches.rst into Chinese.
>
> This series adds the Chinese translation to the zh_CN process
> toctree and updates existing zh_CN references to link to it.
>
> ---
> Changes in v2:
> - Merges first two patches into one.
> - Removes self-ref (.. _cn.rst) and changes ref style from 'ref' to
>    direct file name
> - Link to v1: https://patch.msgid.link/cover.1784289654.git.wy@wyuan.org

Please resolve the following warnings in the compilation:

Documentation/translations/zh_CN/admin-guide/README.rst: WARNING: 
undefined label: 'cn_applying_patches' [ref.ref] 
Documentation/translations/zh_CN/process/howto.rst:145: WARNING: 
undefined label: 'cn_applying_patches' [ref.ref]

Dongliang Mu

> ---
> Weijie Yuan (2):
>        docs/zh_CN: add process/applying-patches Chinese translation
>        docs/zh_CN: link to Chinese applying-patches translation
>
>   .../translations/zh_CN/admin-guide/README.rst      |   2 +-
>   .../zh_CN/process/applying-patches.rst             | 390 +++++++++++++++++++++
>   Documentation/translations/zh_CN/process/howto.rst |   2 +-
>   Documentation/translations/zh_CN/process/index.rst |   2 +-
>   4 files changed, 393 insertions(+), 3 deletions(-)
>
> Range-diff versus v1:
>
> 1:  d90aac81d39b ! 1:  68ed0ce67ffa docs/zh_CN: add process/applying-patches Chinese translation
>      @@ Metadata
>        ## Commit message ##
>           docs/zh_CN: add process/applying-patches Chinese translation
>       
>      -    Translate .../process/applying-patches.rst into Chinese.
>      +    Translate process/applying-patches.rst into Chinese, and update
>      +    the toctree.
>       
>           Update the translation through commit fa04150b8ef7
>           ("Documentation: describe how to apply incremental stable patches")
>      @@ Documentation/translations/zh_CN/process/applying-patches.rst (new)
>       +
>       +.. include:: ../disclaimer-zh_CN.rst
>       +
>      -+.. _cn_applying_patches:
>      -+
>      -+:Original: :ref:`Applying Patches To The Linux Kernel <applying_patches>`
>      ++:Original: Documentation/process/applying-patches.rst
>       +
>       +:翻译:
>       +
>      @@ Documentation/translations/zh_CN/process/applying-patches.rst (new)
>       +感谢 Randy Dunlap、Rolf Eike Beer、Linus Torvalds、Bodo Eggert、
>       +Johannes Stezenbach、Grant Coady、Pavel Machek,以及其他可能被我
>       +遗漏的人,感谢他们对本文档的审阅和贡献。
>      +
>      + ## Documentation/translations/zh_CN/process/index.rst ##
>      +@@ Documentation/translations/zh_CN/process/index.rst: TODOLIST:
>      +    :maxdepth: 1
>      +
>      +    magic-number
>      ++   applying-patches
>      +    volatile-considered-harmful
>      +    ../arch/riscv/patch-acceptance
>      +    ../core-api/unaligned-memory-access
>      +
>      + TODOLIST:
>      +
>      +-* applying-patches
>      + * backporting
>      + * adding-syscalls
>      + * botching-up-ioctls
> 2:  5f0e700f6a49 < -:  ------------ docs/zh_CN: add applying-patches to process index
> 3:  a3d20af74d63 = 2:  0af282ad0e01 docs/zh_CN: link to Chinese applying-patches translation
>
> ---
> base-commit: 1a0364f09c1311dad5ad1ccba7e169a412f6b547
> change-id: 20260815-apply-patches-601ad9b42f27

Re: [PATCH v2 0/2] docs/zh_CN: translate process/applying-patches.rst into Chinese
Posted by Weijie Yuan 1 month, 1 week ago
On Sun, Aug 16, 2026 at 10:49:44PM +0800, Dongliang Mu wrote:
> 
> On 8/15/26 1:59 PM, Weijie Yuan wrote:
> > Translate Documentation/process/applying-patches.rst into Chinese.
> > 
> > This series adds the Chinese translation to the zh_CN process
> > toctree and updates existing zh_CN references to link to it.
> > 
> > ---
> > Changes in v2:
> > - Merges first two patches into one.
> > - Removes self-ref (.. _cn.rst) and changes ref style from 'ref' to
> >    direct file name
> > - Link to v1: https://patch.msgid.link/cover.1784289654.git.wy@wyuan.org
> 
> Please resolve the following warnings in the compilation:
> 
> Documentation/translations/zh_CN/admin-guide/README.rst: WARNING: undefined
> label: 'cn_applying_patches' [ref.ref]
> Documentation/translations/zh_CN/process/howto.rst:145: WARNING: undefined
> label: 'cn_applying_patches' [ref.ref]

Extremely sorry for my negligence. I removed the top label but forgot
that these two places were still referencing that label.

However, things seem to be a little tricky when dealing with the refs..
So in the end I think it's better to leave the decision to you and more
experienced ones.

Thanks!