2022-10-20 15:15:19

by Rui Li

[permalink] [raw]
Subject: [PATCH v3 1/2] docs/zh_CN: Add staging/index Chinese translation

Translate the following files into Chinese:

- Documentation/staging/index.rst

Add it into the menu of zh_CN/index. Also fix one translation
in the zh_CN/index file.

Signed-off-by: Rui Li <[email protected]>
---
No change since v2

Changes since v1:
- Add xz into menu later
---
Documentation/translations/zh_CN/index.rst | 8 +++----
.../translations/zh_CN/staging/index.rst | 22 +++++++++++++++++++
2 files changed, 26 insertions(+), 4 deletions(-)
create mode 100644 Documentation/translations/zh_CN/staging/index.rst

diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
index ec99ef5fe990..3d07b3149afe 100644
--- a/Documentation/translations/zh_CN/index.rst
+++ b/Documentation/translations/zh_CN/index.rst
@@ -124,13 +124,13 @@ TODOList:
其他文档
--------

-有几份未排序的文档似乎不适合放在文档的其他部分,或者可能需要进行一些调整和/或
+有几份未分类的文档似乎不适合放在文档的其他部分,或者可能需要进行一些调整和/或
转换为reStructureText格式,也有可能太旧。

-TODOList:
-
-* staging/index
+.. toctree::
+ :maxdepth: 2

+ staging/index

索引和表格
----------
diff --git a/Documentation/translations/zh_CN/staging/index.rst b/Documentation/translations/zh_CN/staging/index.rst
new file mode 100644
index 000000000000..e26603892a6f
--- /dev/null
+++ b/Documentation/translations/zh_CN/staging/index.rst
@@ -0,0 +1,22 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: Documentation/staging/index.rst
+
+:翻译:
+
+ 李睿 Rui Li <[email protected]>
+
+未分类文档
+==========
+
+TODOList:
+
+* crc32
+* lzo
+* remoteproc
+* rpmsg
+* speculation
+* static-keys
+* tee
+* xz
--
2.30.2


2022-10-21 07:36:57

by Yanteng Si

[permalink] [raw]
Subject: Re: [PATCH v3 1/2] docs/zh_CN: Add staging/index Chinese translation


On 10/20/22 22:42, Rui Li wrote:
> Translate the following files into Chinese:
>
> - Documentation/staging/index.rst
>
> Add it into the menu of zh_CN/index. Also fix one translation
> in the zh_CN/index file.
>
> Signed-off-by: Rui Li <[email protected]>

Hi Rui,


My review tag label is missing.


Usually, b4 can help you do this.


git clone git://git.kernel.org/pub/scm/utils/b4/b4.git  (or pip install)

b4 am <message-id>

$: git am xxxxxx.mbx

$: git format-patch <sha>

modify your patch

$: git am *.patch

build test

...


Thanks,

Yanteng

> ---
> No change since v2
>
> Changes since v1:
> - Add xz into menu later
> ---
> Documentation/translations/zh_CN/index.rst | 8 +++----
> .../translations/zh_CN/staging/index.rst | 22 +++++++++++++++++++
> 2 files changed, 26 insertions(+), 4 deletions(-)
> create mode 100644 Documentation/translations/zh_CN/staging/index.rst
>
> diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
> index ec99ef5fe990..3d07b3149afe 100644
> --- a/Documentation/translations/zh_CN/index.rst
> +++ b/Documentation/translations/zh_CN/index.rst
> @@ -124,13 +124,13 @@ TODOList:
> 其他文档
> --------
>
> -有几份未排序的文档似乎不适合放在文档的其他部分,或者可能需要进行一些调整和/或
> +有几份未分类的文档似乎不适合放在文档的其他部分,或者可能需要进行一些调整和/或
> 转换为reStructureText格式,也有可能太旧。
>
> -TODOList:
> -
> -* staging/index
> +.. toctree::
> + :maxdepth: 2
>
> + staging/index
>
> 索引和表格
> ----------
> diff --git a/Documentation/translations/zh_CN/staging/index.rst b/Documentation/translations/zh_CN/staging/index.rst
> new file mode 100644
> index 000000000000..e26603892a6f
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/staging/index.rst
> @@ -0,0 +1,22 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: Documentation/staging/index.rst
> +
> +:翻译:
> +
> + 李睿 Rui Li <[email protected]>
> +
> +未分类文档
> +==========
> +
> +TODOList:
> +
> +* crc32
> +* lzo
> +* remoteproc
> +* rpmsg
> +* speculation
> +* static-keys
> +* tee
> +* xz