[PATCH] docs/zh_CN: update the translation of process/coding-style.rst

1 view
Skip to first unread message

Dongliang Mu

unread,
Oct 17, 2024, 11:17:21 AM10/17/24
to si.ya...@linux.dev, Alex Shi, Yanteng Si, Jonathan Corbet, Thorsten Blum, SeongJae Park, Federico Vaga, Dongliang Mu, hust-os-ker...@googlegroups.com, Miguel Ojeda, linu...@vger.kernel.org, linux-...@vger.kernel.org
Update to commit c5d436f05a3f ("docs/process: fix typos")

scripts/checktranstatus.py reports:

Documentation/translations/zh_CN/process/coding-style.rst
commit c5d436f05a3f ("docs/process: fix typos")
commit 82b8000c28b5 ("net: drop special comment style")
2 commits needs resolving in total

Signed-off-by: Dongliang Mu <dz...@hust.edu.cn>
---
.../translations/zh_CN/process/coding-style.rst | 11 -----------
1 file changed, 11 deletions(-)

diff --git a/Documentation/translations/zh_CN/process/coding-style.rst b/Documentation/translations/zh_CN/process/coding-style.rst
index 10b9cb4f6a65..0484d0c65c25 100644
--- a/Documentation/translations/zh_CN/process/coding-style.rst
+++ b/Documentation/translations/zh_CN/process/coding-style.rst
@@ -560,17 +560,6 @@ Documentation/translations/zh_CN/doc-guide/index.rst 和 scripts/kernel-doc 。
* with beginning and ending almost-blank lines.
*/

-对于在 net/ 和 drivers/net/ 的文件,首选的长 (多行) 注释风格有些不同。
-
-.. code-block:: c
-
- /* The preferred comment style for files in net/ and drivers/net
- * looks like this.
- *
- * It is nearly the same as the generally preferred comment style,
- * but there is no initial almost-blank line.
- */
-
注释数据也是很重要的,不管是基本类型还是衍生类型。为了方便实现这一点,每一行
应只声明一个数据 (不要使用逗号来一次声明多个数据)。这样你就有空间来为每个数据
写一段小注释来解释它们的用途了。
--
2.43.0

Dongliang Mu

unread,
Oct 17, 2024, 9:42:13 PM10/17/24
to Dongliang Mu, si.ya...@linux.dev, Alex Shi, Yanteng Si, Jonathan Corbet, Thorsten Blum, SeongJae Park, Federico Vaga, hust-os-ker...@googlegroups.com, Miguel Ojeda, linu...@vger.kernel.org, linux-...@vger.kernel.org
On Thu, Oct 17, 2024 at 11:18 PM Dongliang Mu <dz...@hust.edu.cn> wrote:
>
> Update to commit c5d436f05a3f ("docs/process: fix typos")
>
> scripts/checktranstatus.py reports:
>
> Documentation/translations/zh_CN/process/coding-style.rst
> commit c5d436f05a3f ("docs/process: fix typos")
> commit 82b8000c28b5 ("net: drop special comment style")
> 2 commits needs resolving in total

Sorry, guys. I mistyped the script name in the translation update
patches and I sent v2 patches of them soon.

Dongliang Mu

unread,
Oct 17, 2024, 9:47:02 PM10/17/24
to si.ya...@linux.dev, Alex Shi, Yanteng Si, Jonathan Corbet, SeongJae Park, Dongliang Mu, Federico Vaga, Thorsten Blum, hust-os-ker...@googlegroups.com, linu...@vger.kernel.org, linux-...@vger.kernel.org
Update to commit c5d436f05a3f ("docs/process: fix typos")

scripts/checktransupdate.py reports:

Documentation/translations/zh_CN/process/coding-style.rst
commit c5d436f05a3f ("docs/process: fix typos")
commit 82b8000c28b5 ("net: drop special comment style")
2 commits needs resolving in total

Signed-off-by: Dongliang Mu <dz...@hust.edu.cn>
---
v1->v2: revise the script name

Yanteng Si

unread,
Oct 18, 2024, 7:25:47 AM10/18/24
to Dongliang Mu, Alex Shi, Jonathan Corbet, SeongJae Park, Federico Vaga, Thorsten Blum, hust-os-ker...@googlegroups.com, linu...@vger.kernel.org, linux-...@vger.kernel.org



在 2024/10/18 09:46, Dongliang Mu 写道:
> Update to commit c5d436f05a3f ("docs/process: fix typos")
>
> scripts/checktransupdate.py reports:
>
> Documentation/translations/zh_CN/process/coding-style.rst
> commit c5d436f05a3f ("docs/process: fix typos")
> commit 82b8000c28b5 ("net: drop special comment style")
> 2 commits needs resolving in total
>
> Signed-off-by: Dongliang Mu <dz...@hust.edu.cn>
Reviewed-by: Yanteng Si <si.ya...@linux.dev>

Thanks,
Yanteng

Jonathan Corbet

unread,
Oct 21, 2024, 11:41:58 AM10/21/24
to Dongliang Mu, si.ya...@linux.dev, Alex Shi, Yanteng Si, SeongJae Park, Federico Vaga, Thorsten Blum, hust-os-ker...@googlegroups.com, linu...@vger.kernel.org, linux-...@vger.kernel.org
Dongliang Mu <dz...@hust.edu.cn> writes:

> Update to commit c5d436f05a3f ("docs/process: fix typos")
>
> scripts/checktransupdate.py reports:
>
> Documentation/translations/zh_CN/process/coding-style.rst
> commit c5d436f05a3f ("docs/process: fix typos")
> commit 82b8000c28b5 ("net: drop special comment style")
> 2 commits needs resolving in total
>
> Signed-off-by: Dongliang Mu <dz...@hust.edu.cn>
> ---
> v1->v2: revise the script name
> .../translations/zh_CN/process/coding-style.rst | 11 -----------
> 1 file changed, 11 deletions(-)

Applied, thanks.

jon
Reply all
Reply to author
Forward
0 new messages