Re: [PATCH v3 2/8] docs/zh_CN: Add two image example files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2021/4/7 下午3:50, Wu XiangCheng wrote:
> Add two image exaple files used by zh_CN/doc-guide/sphinx.rst
>   Documentation/translations/zh_CN/doc-guide/hello.dot
>   Documentation/translations/zh_CN/doc-guide/svg_image.svg
> 

Could we just use/reference to original docs? Looks there no much
meaningful to have Chinese version of them. Also we may save new
translations if original doc changed.

Thanks
Alex

> Signed-off-by: Wu XiangCheng <bobwxc@xxxxxxxx>
> Reviewed-by: Yanteng Si <siyanteng@xxxxxxxxxxx>
> ---
>  Documentation/translations/zh_CN/doc-guide/hello.dot   |  3 +++
>  .../translations/zh_CN/doc-guide/svg_image.svg         | 10 ++++++++++
>  2 files changed, 13 insertions(+)
>  create mode 100644 Documentation/translations/zh_CN/doc-guide/hello.dot
>  create mode 100644 Documentation/translations/zh_CN/doc-guide/svg_image.svg
> 
> diff --git a/Documentation/translations/zh_CN/doc-guide/hello.dot b/Documentation/translations/zh_CN/doc-guide/hello.dot
> new file mode 100644
> index 000000000000..2740ad882e6a
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/doc-guide/hello.dot
> @@ -0,0 +1,3 @@
> +graph G {
> +      你好 -- 世界
> +}
> diff --git a/Documentation/translations/zh_CN/doc-guide/svg_image.svg b/Documentation/translations/zh_CN/doc-guide/svg_image.svg
> new file mode 100644
> index 000000000000..5405f85b8137
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/doc-guide/svg_image.svg
> @@ -0,0 +1,10 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<!-- originate: https://commons.wikimedia.org/wiki/File:Variable_Resistor.svg -->
> +<svg xmlns="http://www.w3.org/2000/svg";
> +	version="1.1" baseProfile="full"
> +	width="70px" height="40px" viewBox="0 0 700 400">
> +	<line x1="0" y1="200" x2="700" y2="200" stroke="black" stroke-width="20px"/>
> +	<rect x="100" y="100" width="500" height="200" fill="white" stroke="black" stroke-width="20px"/>
> +	<line x1="180" y1="370" x2="500" y2="50" stroke="black" stroke-width="15px"/>
> +	<polygon points="585 0 525 25 585 50" transform="rotate(135 525 25)"/>
> +</svg>
> 



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux