Re: [PATCH v3] docs/zh_CN: Add zh_CN/accounting/taskstats.rst
From: Jonathan Corbet
Date: Mon Nov 29 2021 - 18:08:58 EST
cgel.zte@xxxxxxxxx writes:
I'll ask the same question I've been asking others...
> From: Yang Yang <yang.yang29@xxxxxxxxxx>
>
> Add translation zh_CN/accounting/taskstats.rst and links it to
> zh_CN/accounting/index.rst while clean its todo entry.
>
> Signed-off-by: Yang Yang <yang.yang29@xxxxxxxxxx>
> Reviewed-by: Alex Shi <alexs@xxxxxxxxxx>
> Reviewed-by: Yanteng Si <siyanteng@xxxxxxxxxxx>
> ---
> v3:
> - add necessary blank line for bullet list.
> v2:
> - fix incomplete words and long sentences.
> ---
> .../translations/zh_CN/accounting/index.rst | 2 +-
> .../zh_CN/accounting/taskstats.rst | 147 ++++++++++++++++++
> 2 files changed, 148 insertions(+), 1 deletion(-)
> create mode 100644 Documentation/translations/zh_CN/accounting/taskstats.rst
>
> diff --git a/Documentation/translations/zh_CN/accounting/index.rst b/Documentation/translations/zh_CN/accounting/index.rst
> index 362e907b41f9..124b590fb01b 100644
> --- a/Documentation/translations/zh_CN/accounting/index.rst
> +++ b/Documentation/translations/zh_CN/accounting/index.rst
> @@ -16,10 +16,10 @@
> :maxdepth: 1
>
> psi
> + taskstats
>
> Todolist:
>
> cgroupstats
> delay-accounting
> - taskstats
> taskstats-struct
> diff --git a/Documentation/translations/zh_CN/accounting/taskstats.rst b/Documentation/translations/zh_CN/accounting/taskstats.rst
> new file mode 100644
> index 000000000000..f88a8d58ec69
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/accounting/taskstats.rst
> @@ -0,0 +1,147 @@
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: Documentation/accounting/taskstats.rst
> +
> +:Translator: Yang Yang <yang.yang29@xxxxxxxxxx>
> +
> +.. _cn_taskstats.rst:
What is the purpose of this label here? Nothing references it. Somehow
this practice of adding unused labels got started, but let's try to stop
it now; it's just clutter.
I've applied the patch but took that label out.
Thanks,
jon