[PATCH] docs/zh_CN: Fix '.. only::' directive's expression

Akira Yokosawa posted 1 patch 1 year, 4 months ago
Documentation/translations/zh_CN/doc-guide/index.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] docs/zh_CN: Fix '.. only::' directive's expression
Posted by Akira Yokosawa 1 year, 4 months ago
Commit febe6c2f859e ("docs/zh_CN: Add translation
zh_CN/doc-guide/index.rst") translated ".. only::" directive too much.
Use the one as found in the original doc-guide/index.rst.

Fixes: febe6c2f859e ("docs/zh_CN: Add translation zh_CN/doc-guide/index.rst")
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Cc: Wu XiangCheng <bobwxc@email.cn>
Cc: Yanteng Si <siyanteng@loongson.cn>
Cc: Alex Shi <alexs@kernel.org>
---
Hi,

I came across this error while grepping ".. only::" under Documentation/.

        Thanks, Akira
---
 Documentation/translations/zh_CN/doc-guide/index.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/translations/zh_CN/doc-guide/index.rst b/Documentation/translations/zh_CN/doc-guide/index.rst
index 5151953c196f..78c2e9a1697f 100644
--- a/Documentation/translations/zh_CN/doc-guide/index.rst
+++ b/Documentation/translations/zh_CN/doc-guide/index.rst
@@ -19,7 +19,7 @@
    contributing
    maintainer-profile
 
-.. only::  子项目与HTML
+.. only::  subproject and html
 
    目录
    ====

base-commit: f8e9e32f7d04336666d66893f2da1347dd8263b1
-- 
2.25.1

Re: [PATCH] docs/zh_CN: Fix '.. only::' directive's expression
Posted by Jonathan Corbet 1 year, 4 months ago
Akira Yokosawa <akiyks@gmail.com> writes:

> Commit febe6c2f859e ("docs/zh_CN: Add translation
> zh_CN/doc-guide/index.rst") translated ".. only::" directive too much.
> Use the one as found in the original doc-guide/index.rst.
>
> Fixes: febe6c2f859e ("docs/zh_CN: Add translation zh_CN/doc-guide/index.rst")
> Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
> Cc: Wu XiangCheng <bobwxc@email.cn>
> Cc: Yanteng Si <siyanteng@loongson.cn>
> Cc: Alex Shi <alexs@kernel.org>
> ---
> Hi,
>
> I came across this error while grepping ".. only::" under Documentation/.
>
>         Thanks, Akira
> ---
>  Documentation/translations/zh_CN/doc-guide/index.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/translations/zh_CN/doc-guide/index.rst b/Documentation/translations/zh_CN/doc-guide/index.rst
> index 5151953c196f..78c2e9a1697f 100644
> --- a/Documentation/translations/zh_CN/doc-guide/index.rst
> +++ b/Documentation/translations/zh_CN/doc-guide/index.rst
> @@ -19,7 +19,7 @@
>     contributing
>     maintainer-profile
>  
> -.. only::  子项目与HTML
> +.. only::  subproject and html
>  
Heh ... that's only been there for a year and a half...applied, thanks.

jon
Re: [PATCH] docs/zh_CN: Fix '.. only::' directive's expression
Posted by Wu XiangCheng 1 year, 4 months ago
2022-12-05 (一) 12:26:24 +0900 Akira Yokosawa 曰:
> Commit febe6c2f859e ("docs/zh_CN: Add translation
> zh_CN/doc-guide/index.rst") translated ".. only::" directive too much.
> Use the one as found in the original doc-guide/index.rst.
> 
> Fixes: febe6c2f859e ("docs/zh_CN: Add translation zh_CN/doc-guide/index.rst")
> Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
> Cc: Wu XiangCheng <bobwxc@email.cn>
> Cc: Yanteng Si <siyanteng@loongson.cn>
> Cc: Alex Shi <alexs@kernel.org>
> ---
> Hi,
> 
> I came across this error while grepping ".. only::" under Documentation/.
> 
>         Thanks, Akira

Thanks, good catch!

Reviewed-by: Wu XiangCheng <bobwxc@email.cn>

> ---
>  Documentation/translations/zh_CN/doc-guide/index.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/translations/zh_CN/doc-guide/index.rst b/Documentation/translations/zh_CN/doc-guide/index.rst
> index 5151953c196f..78c2e9a1697f 100644
> --- a/Documentation/translations/zh_CN/doc-guide/index.rst
> +++ b/Documentation/translations/zh_CN/doc-guide/index.rst
> @@ -19,7 +19,7 @@
>     contributing
>     maintainer-profile
>  
> -.. only::  子项目与HTML
> +.. only::  subproject and html
>  
>     目录
>     ====
> 
> base-commit: f8e9e32f7d04336666d66893f2da1347dd8263b1
> -- 
> 2.25.1
> 

-- 
Wu XiangCheng	0x32684A40BCA7AEA7