[2/2] docs/zh_CN: Add staging/index Chinese translation

Message ID 4ef47cfc6c85ad9c778af1f13761e8dd8e410ee8.1666067195.git.me@lirui.org
State New
Headers
Series Add staging/index and xz Chinese translation |

Commit Message

Rui Li Oct. 18, 2022, 4:31 a.m. UTC
  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 <me@lirui.org>
---
 Documentation/translations/zh_CN/index.rst    |  8 +++---
 .../translations/zh_CN/staging/index.rst      | 27 +++++++++++++++++++
 2 files changed, 31 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/translations/zh_CN/staging/index.rst
  

Comments

Yanteng Si Oct. 19, 2022, 11:25 a.m. UTC | #1
On 10/18/22 12:31, 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 <me@lirui.org>
> ---
>   Documentation/translations/zh_CN/index.rst    |  8 +++---
>   .../translations/zh_CN/staging/index.rst      | 27 +++++++++++++++++++
>   2 files changed, 31 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..7d074b34ac97
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/staging/index.rst
> @@ -0,0 +1,27 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: Documentation/staging/index.rst
> +
> +:翻译:
> +
> + 李睿 Rui Li <me@lirui.org>
> +
> +未分类文档
> +======================
> +
> +.. toctree::
> +   :maxdepth: 2
> +
> +   xz

The thing of adding xz to the index should be put to patch 1, one patch 
to do one thing.


Logically, this patch should be used as patch 1, otherwise xz will be 
homeless at some point.


Thanks,

Yanteng

> +
> +TODOList:
> +
> +* crc32
> +* lzo
> +* remoteproc
> +* rpmsg
> +* speculation
> +* static-keys
> +* tee
> +* xz
  
Rui Li Oct. 19, 2022, 12:15 p.m. UTC | #2
On 2022/10/19 19:25, Yanteng Si wrote:
>
> On 10/18/22 12:31, 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 <me@lirui.org>
>> ---
>>   Documentation/translations/zh_CN/index.rst    |  8 +++---
>>   .../translations/zh_CN/staging/index.rst      | 27 +++++++++++++++++++
>>   2 files changed, 31 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..7d074b34ac97
>> --- /dev/null
>> +++ b/Documentation/translations/zh_CN/staging/index.rst
>> @@ -0,0 +1,27 @@
>> +.. SPDX-License-Identifier: GPL-2.0
>> +.. include:: ../disclaimer-zh_CN.rst
>> +
>> +:Original: Documentation/staging/index.rst
>> +
>> +:翻译:
>> +
>> + 李睿 Rui Li <me@lirui.org>
>> +
>> +未分类文档
>> +======================
>> +
>> +.. toctree::
>> +   :maxdepth: 2
>> +
>> +   xz
>
> The thing of adding xz to the index should be put to patch 1, one patch to do one thing.
>
>
> Logically, this patch should be used as patch 1, otherwise xz will be homeless at some point.
>
>
> Thanks,
>
> Yanteng
>
>> +
>> +TODOList:
>> +
>> +* crc32
>> +* lzo
>> +* remoteproc
>> +* rpmsg
>> +* speculation
>> +* static-keys
>> +* tee
>> +* xz
>

Thanks a lot! I made changes in PATCH v2.
  

Patch

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..7d074b34ac97
--- /dev/null
+++ b/Documentation/translations/zh_CN/staging/index.rst
@@ -0,0 +1,27 @@ 
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: Documentation/staging/index.rst
+
+:翻译:
+
+ 李睿 Rui Li <me@lirui.org>
+
+未分类文档
+======================
+
+.. toctree::
+   :maxdepth: 2
+
+   xz
+
+TODOList:
+
+* crc32
+* lzo
+* remoteproc
+* rpmsg
+* speculation
+* static-keys
+* tee
+* xz