All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese
@ 2021-03-01 12:20 hjh
  2021-03-01 21:16 ` Jonathan Corbet
  0 siblings, 1 reply; 11+ messages in thread
From: hjh @ 2021-03-01 12:20 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: Alex Shi, Harry Wei, linux-doc, linux-kernel

Signed-off-by: hjh <huangjianghui@uniontech.com>
---
 Documentation/translations/zh_CN/index.rst    |   1 +
 .../zh_CN/sound/hd-audio/controls.rst         | 102 ++++++++++++++++++
 .../zh_CN/sound/hd-audio/index.rst            |  17 +++
 .../translations/zh_CN/sound/index.rst        |  26 +++++
 4 files changed, 146 insertions(+)
 create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/controls.rst
 create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/index.rst
 create mode 100644 Documentation/translations/zh_CN/sound/index.rst

diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
index be6f11176200..2767dacfe86d 100644
--- a/Documentation/translations/zh_CN/index.rst
+++ b/Documentation/translations/zh_CN/index.rst
@@ -20,6 +20,7 @@
    process/index
    filesystems/index
    arm64/index
+   sound/index
 
 目录和表格
 ----------
diff --git a/Documentation/translations/zh_CN/sound/hd-audio/controls.rst b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
new file mode 100644
index 000000000000..54c028ab9a40
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
@@ -0,0 +1,102 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+Chinese translator: Huang Jianghui <huangjianghui@uniontech.com>
+---------------------------------------------------------------------
+.. include:: ../../disclaimer-zh_CN.rst
+以下为正文
+---------------------------------------------------------------------
+======================================
+高清音频编解码器特定混音器控件
+======================================
+
+
+此文件解释特定于编解码器的混音器控件.
+
+瑞昱编解码器
+------------
+
+声道模式
+  这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道打开时显示出现。
+  它给出要使用的通道数:"2ch","4ch","6ch",和"8ch"。根据配置,这还控
+  制多I/O插孔的插孔重分配。
+
+自动静音模式
+  这是一个枚举控件,用于更改耳机和线路输出插孔的自动静音行为。如果内
+  置扬声器、耳机和/或线路输出插孔在机器上可用,则显示该控件。当只有
+  耳机或者线路输出的时候,它给出”禁用“和”启用“状态。当启用后,插孔插
+  入后扬声器会自动静音。
+
+  当耳机和线路输出插孔都存在时,它给出”禁用“、”仅扬声器“和”线路输出+扬
+  声器“。当”仅扬声器“被选择,插入耳机或者线路输出插孔可使扬声器静音,
+  但不会使线路输出静音。当线路输出+扬声器被选择,插入耳机插孔会同时使扬
+  声器和线路输出静音。
+
+
+矽玛特编解码器
+--------------
+
+模拟环回
+   此控件启用/禁用模拟环回电路。只有在编解码器提示中将”lookback“设置为真
+   时才会出现(见HD-Audio.txt)。请注意,在某些编解码器上,模拟环回和正常
+   PCM播放是独占的,即当此选项打开时,您将听不到任何PCM流。
+
+交换中置/低频
+   交换中置和低频通道顺序,通常情况下,左侧对应中置,右侧对应低频,启动此
+   项后,左边低频,右边中置。
+
+耳机作为线路输出
+   当此控制开启时,将耳机视为线路输出插孔。也就是说,耳机不会自动静音其他
+   线路输出,没有耳机放大器被设置到引脚上。
+
+麦克风插口模式、线路插孔模式等
+   这些枚举控制输入插孔引脚的方向和偏置。根据插孔类型,它可以设置为”麦克风
+   输入“和”线路输入“以确定输入偏置,或者当引脚是环绕声道的多I/O插孔时,它
+   可以设置为”线路输出“。
+
+
+威盛编解码器
+------------
+
+智能5.1
+   一个枚举控件,用于为环绕输出重新分配多个I/O插孔的任务。当它打开时,相应
+   的输入插孔(通常是线路输入和麦克风输入)被切换为环绕和中央低频输出插孔。
+
+独立耳机
+   启用此枚举控制时,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
+   如果耳机DAC与侧边或中央低频通道DAC共享,则DAC将自动切换到耳机。
+
+环回混合
+   一个用于确定是否启动了模拟环回路由的枚举控件。当它启用后,模拟环回路由到
+   前置通道。同样,耳机与扬声器输出也采用相同的路径。作为一个副作用,当设置
+   此模式后,单个音量控制将不再适用于耳机和扬声器,因为只有一个DAC连接到混
+   音器小部件。
+
+动态电源控制
+   此控件决定是否启动每个插孔的动态电源控制检测。启用时,根据插孔的插入情况
+   动态更改组件的电源状态(D0/D3)以节省电量消耗。但是,如果您的系统没有提
+   供正确的插孔检测,这将无法工作;在这种情况下,请关闭此控件。
+
+插孔检测
+   此控件仅为VT1708编解码器提供,它不会为每个插孔插拔提供适当的未请求事件。
+   当此控件打开,驱动将轮询插孔检测,以便耳机自动静音可以工作,而关闭此控
+   件将降低功耗。
+
+
+科胜讯编解码器
+--------------
+
+自动静音模式
+   见瑞昱解码器
+
+
+
+模拟编解码器
+------------
+
+通道模式
+   这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道可用时显示。它提供了能
+   被使用的通道数:”2ch“、”4ch“和”6ch“。根据配置,这还控制多I/O插孔的插孔重
+   分配。
+
+独立耳机
+   启动此枚举控制后,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
diff --git a/Documentation/translations/zh_CN/sound/hd-audio/index.rst b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
new file mode 100644
index 000000000000..c287aad51066
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
@@ -0,0 +1,17 @@
+.. include:: ../../disclaimer-zh_CN.rst
+
+:Original: :doc:`../../../../sound/hd-audio/index`
+:Translator: Huang Jianghui <huangjianghui@uniontech.com>
+
+
+高清音频
+========
+
+.. toctree::
+   :maxdepth: 2
+
+   notes
+   models
+   controls
+   dp-mst
+   realtek-pc-beep
diff --git a/Documentation/translations/zh_CN/sound/index.rst b/Documentation/translations/zh_CN/sound/index.rst
new file mode 100644
index 000000000000..42d86b361e42
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/index.rst
@@ -0,0 +1,26 @@
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: :doc:`../../../sound/index`
+:Translator: Huang Jianghui <huangjianghui@uniontech.com>
+
+
+====================
+Linux 声音子系统文档
+====================
+
+.. toctree::
+   :maxdepth: 2
+
+   kernel-api/index
+   designs/index
+   soc/index
+   alsa-configuration
+   hd-audio/index
+   cards/index
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`
-- 
2.20.1




^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese
  2021-03-01 12:20 [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese hjh
@ 2021-03-01 21:16 ` Jonathan Corbet
  2021-03-02  3:22   ` huangjianghui
  0 siblings, 1 reply; 11+ messages in thread
From: Jonathan Corbet @ 2021-03-01 21:16 UTC (permalink / raw)
  To: hjh; +Cc: Alex Shi, Harry Wei, linux-doc, linux-kernel

hjh <huangjianghui@uniontech.com> writes:

> Signed-off-by: hjh <huangjianghui@uniontech.com>
> ---
>  Documentation/translations/zh_CN/index.rst    |   1 +
>  .../zh_CN/sound/hd-audio/controls.rst         | 102 ++++++++++++++++++
>  .../zh_CN/sound/hd-audio/index.rst            |  17 +++
>  .../translations/zh_CN/sound/index.rst        |  26 +++++
>  4 files changed, 146 insertions(+)
>  create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/controls.rst
>  create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/index.rst
>  create mode 100644 Documentation/translations/zh_CN/sound/index.rst

So you have sent me two versions of this in the last 24 hours with no
indication of what has changed or why I should prefer one over the
other.  Always include that information (under the "---" line) when you
send updated versions.

It looks like you got a Reviewed-by tag from Alex on the other version,
but that doesn't appear here; why?

[...]

> diff --git a/Documentation/translations/zh_CN/sound/hd-audio/index.rst b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
> new file mode 100644
> index 000000000000..c287aad51066
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
> @@ -0,0 +1,17 @@
> +.. include:: ../../disclaimer-zh_CN.rst
> +
> +:Original: :doc:`../../../../sound/hd-audio/index`
> +:Translator: Huang Jianghui <huangjianghui@uniontech.com>
> +
> +
> +高清音频
> +========
> +
> +.. toctree::
> +   :maxdepth: 2
> +
> +   notes
> +   models
> +   controls
> +   dp-mst
> +   realtek-pc-beep

So you list a bunch of files here, but most of them are not added in
your patch.  That will, of course, break the docs build.

> diff --git a/Documentation/translations/zh_CN/sound/index.rst b/Documentation/translations/zh_CN/sound/index.rst
> new file mode 100644
> index 000000000000..42d86b361e42
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/sound/index.rst
> @@ -0,0 +1,26 @@

Similarly, including the index.rst file at this level is good, but...

> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: :doc:`../../../sound/index`
> +:Translator: Huang Jianghui <huangjianghui@uniontech.com>
> +
> +
> +====================
> +Linux 声音子系统文档
> +====================
> +
> +.. toctree::
> +   :maxdepth: 2
> +
> +   kernel-api/index
> +   designs/index
> +   soc/index
> +   alsa-configuration
> +   hd-audio/index
> +   cards/index

What are all of these files?

Please fix these issues and make sure that the docs build runs correctly
before resubmitting.

Thanks,

jon

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese
  2021-03-01 21:16 ` Jonathan Corbet
@ 2021-03-02  3:22   ` huangjianghui
  2021-03-02  7:34     ` Alex Shi
  0 siblings, 1 reply; 11+ messages in thread
From: huangjianghui @ 2021-03-02  3:22 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: Alex Shi, Harry Wei, linux-doc, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]

On Mon, Mar 01, 2021 at 02:16:36PM -0700, Jonathan Corbet wrote:
> 
> So you have sent me two versions of this in the last 24 hours with no
> indication of what has changed or why I should prefer one over the
> other.  Always include that information (under the "---" line) when you
> send updated versions.
> 
> It looks like you got a Reviewed-by tag from Alex on the other version,
> but that doesn't appear here; why?
> 
> [...]
> 
Thank you very much for your advices, I sent two emails ,and As a
result,I lost the reviewed information of Mr. Alex,I'm sorry for causing of
the result.

[...]
> So you list a bunch of files here, but most of them are not added in
> your patch.  That will, of course, break the docs build.
> 
> 
> What are all of these files?
> 
> Please fix these issues and make sure that the docs build runs correctly
> before resubmitting.
> 
> Thanks,
> 
> jon
> 
> 
In the next patch ,I deleted the index of the untranstated files,and i
used checkpatch.pl to detect doc errors and tried to built the htmldocs
on my pc.

Thanks,

Huang Jianghui

[-- Attachment #2: 0001-PATCH-Documentation-translations-translate-sound-hd-.patch --]
[-- Type: text/x-diff, Size: 5954 bytes --]

From 47c05e4fe540e938fc7a9fa13a2f8698579a4744 Mon Sep 17 00:00:00 2001
From: hjh <huangjianghui@uniontech.com>
Date: Tue, 2 Mar 2021 10:52:18 +0800
Subject: [PATCH] PATCH Documentation translations:translate
 sound/hd-audio/controls to chinese

Signed-off-by: hjh <huangjianghui@uniontech.com>
---
 Documentation/translations/zh_CN/index.rst    |   1 +
 .../zh_CN/sound/hd-audio/controls.rst         | 102 ++++++++++++++++++
 .../zh_CN/sound/hd-audio/index.rst            |  14 +++
 .../translations/zh_CN/sound/index.rst        |  22 ++++
 4 files changed, 139 insertions(+)
 create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/controls.rst
 create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/index.rst
 create mode 100644 Documentation/translations/zh_CN/sound/index.rst

diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
index be6f11176200..2767dacfe86d 100644
--- a/Documentation/translations/zh_CN/index.rst
+++ b/Documentation/translations/zh_CN/index.rst
@@ -20,6 +20,7 @@
    process/index
    filesystems/index
    arm64/index
+   sound/index
 
 目录和表格
 ----------
diff --git a/Documentation/translations/zh_CN/sound/hd-audio/controls.rst b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
new file mode 100644
index 000000000000..54c028ab9a40
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
@@ -0,0 +1,102 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+Chinese translator: Huang Jianghui <huangjianghui@uniontech.com>
+---------------------------------------------------------------------
+.. include:: ../../disclaimer-zh_CN.rst
+以下为正文
+---------------------------------------------------------------------
+======================================
+高清音频编解码器特定混音器控件
+======================================
+
+
+此文件解释特定于编解码器的混音器控件.
+
+瑞昱编解码器
+------------
+
+声道模式
+  这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道打开时显示出现。
+  它给出要使用的通道数:"2ch","4ch","6ch",和"8ch"。根据配置,这还控
+  制多I/O插孔的插孔重分配。
+
+自动静音模式
+  这是一个枚举控件,用于更改耳机和线路输出插孔的自动静音行为。如果内
+  置扬声器、耳机和/或线路输出插孔在机器上可用,则显示该控件。当只有
+  耳机或者线路输出的时候,它给出”禁用“和”启用“状态。当启用后,插孔插
+  入后扬声器会自动静音。
+
+  当耳机和线路输出插孔都存在时,它给出”禁用“、”仅扬声器“和”线路输出+扬
+  声器“。当”仅扬声器“被选择,插入耳机或者线路输出插孔可使扬声器静音,
+  但不会使线路输出静音。当线路输出+扬声器被选择,插入耳机插孔会同时使扬
+  声器和线路输出静音。
+
+
+矽玛特编解码器
+--------------
+
+模拟环回
+   此控件启用/禁用模拟环回电路。只有在编解码器提示中将”lookback“设置为真
+   时才会出现(见HD-Audio.txt)。请注意,在某些编解码器上,模拟环回和正常
+   PCM播放是独占的,即当此选项打开时,您将听不到任何PCM流。
+
+交换中置/低频
+   交换中置和低频通道顺序,通常情况下,左侧对应中置,右侧对应低频,启动此
+   项后,左边低频,右边中置。
+
+耳机作为线路输出
+   当此控制开启时,将耳机视为线路输出插孔。也就是说,耳机不会自动静音其他
+   线路输出,没有耳机放大器被设置到引脚上。
+
+麦克风插口模式、线路插孔模式等
+   这些枚举控制输入插孔引脚的方向和偏置。根据插孔类型,它可以设置为”麦克风
+   输入“和”线路输入“以确定输入偏置,或者当引脚是环绕声道的多I/O插孔时,它
+   可以设置为”线路输出“。
+
+
+威盛编解码器
+------------
+
+智能5.1
+   一个枚举控件,用于为环绕输出重新分配多个I/O插孔的任务。当它打开时,相应
+   的输入插孔(通常是线路输入和麦克风输入)被切换为环绕和中央低频输出插孔。
+
+独立耳机
+   启用此枚举控制时,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
+   如果耳机DAC与侧边或中央低频通道DAC共享,则DAC将自动切换到耳机。
+
+环回混合
+   一个用于确定是否启动了模拟环回路由的枚举控件。当它启用后,模拟环回路由到
+   前置通道。同样,耳机与扬声器输出也采用相同的路径。作为一个副作用,当设置
+   此模式后,单个音量控制将不再适用于耳机和扬声器,因为只有一个DAC连接到混
+   音器小部件。
+
+动态电源控制
+   此控件决定是否启动每个插孔的动态电源控制检测。启用时,根据插孔的插入情况
+   动态更改组件的电源状态(D0/D3)以节省电量消耗。但是,如果您的系统没有提
+   供正确的插孔检测,这将无法工作;在这种情况下,请关闭此控件。
+
+插孔检测
+   此控件仅为VT1708编解码器提供,它不会为每个插孔插拔提供适当的未请求事件。
+   当此控件打开,驱动将轮询插孔检测,以便耳机自动静音可以工作,而关闭此控
+   件将降低功耗。
+
+
+科胜讯编解码器
+--------------
+
+自动静音模式
+   见瑞昱解码器
+
+
+
+模拟编解码器
+------------
+
+通道模式
+   这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道可用时显示。它提供了能
+   被使用的通道数:”2ch“、”4ch“和”6ch“。根据配置,这还控制多I/O插孔的插孔重
+   分配。
+
+独立耳机
+   启动此枚举控制后,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
diff --git a/Documentation/translations/zh_CN/sound/hd-audio/index.rst b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
new file mode 100644
index 000000000000..d9885d53b069
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
@@ -0,0 +1,14 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../../disclaimer-zh_CN.rst
+
+:Original: :doc:`../../../../sound/hd-audio/index`
+:Translator: Huang Jianghui <huangjianghui@uniontech.com>
+
+
+高清音频
+========
+
+.. toctree::
+   :maxdepth: 2
+
+   controls
diff --git a/Documentation/translations/zh_CN/sound/index.rst b/Documentation/translations/zh_CN/sound/index.rst
new file mode 100644
index 000000000000..28d5dca34a63
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/index.rst
@@ -0,0 +1,22 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: :doc:`../../../sound/index`
+:Translator: Huang Jianghui <huangjianghui@uniontech.com>
+
+
+====================
+Linux 声音子系统文档
+====================
+
+.. toctree::
+   :maxdepth: 2
+
+   hd-audio/index
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese
  2021-03-02  3:22   ` huangjianghui
@ 2021-03-02  7:34     ` Alex Shi
  2021-03-02  9:13       ` huangjianghui
  0 siblings, 1 reply; 11+ messages in thread
From: Alex Shi @ 2021-03-02  7:34 UTC (permalink / raw)
  To: huangjianghui, Jonathan Corbet; +Cc: Harry Wei, linux-doc, linux-kernel



在 2021/3/2 上午11:22, huangjianghui 写道:
>>
> In the next patch ,I deleted the index of the untranstated files,and i
> used checkpatch.pl to detect doc errors and tried to built the htmldocs
> on my pc.
> 
> Thanks,
> 
> Huang Jianghui

Hi Jianghui,

we usually include patch into email instead of attach it as attachment.
You can try use 'git send-email' to post your patches.

Thanks
Alex

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese
  2021-03-02  7:34     ` Alex Shi
@ 2021-03-02  9:13       ` huangjianghui
  2021-03-04  2:58         ` Alex Shi
  0 siblings, 1 reply; 11+ messages in thread
From: huangjianghui @ 2021-03-02  9:13 UTC (permalink / raw)
  To: Alex Shi; +Cc: Jonathan Corbet, Harry Wei, linux-doc, linux-kernel

On Tue, Mar 02, 2021 at 03:34:33PM +0800, Alex Shi wrote:
> 
> 
> 在 2021/3/2 上午11:22, huangjianghui 写道:
> >>
> > In the next patch ,I deleted the index of the untranstated files,and i
> > used checkpatch.pl to detect doc errors and tried to built the htmldocs
> > on my pc.
> > 
> > Thanks,
> > 
> > Huang Jianghui
> 
> Hi Jianghui,
> 
> we usually include patch into email instead of attach it as attachment.
> You can try use 'git send-email' to post your patches.
> 
> Thanks
> Alex
> 
> 

I am sorry to do those, my patch is shown below:

Signed-off-by: hjh <huangjianghui@uniontech.com>
---
 Documentation/translations/zh_CN/index.rst    |   1 +
 .../zh_CN/sound/hd-audio/controls.rst         | 102 ++++++++++++++++++
 .../zh_CN/sound/hd-audio/index.rst            |  14 +++
 .../translations/zh_CN/sound/index.rst        |  22 ++++
 4 files changed, 139 insertions(+)
 create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/controls.rst
 create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/index.rst
 create mode 100644 Documentation/translations/zh_CN/sound/index.rst

diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
index be6f11176200..2767dacfe86d 100644
--- a/Documentation/translations/zh_CN/index.rst
+++ b/Documentation/translations/zh_CN/index.rst
@@ -20,6 +20,7 @@
    process/index
    filesystems/index
    arm64/index
+   sound/index

 目录和表格
 ----------
diff --git a/Documentation/translations/zh_CN/sound/hd-audio/controls.rst b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
new file mode 100644
index 000000000000..54c028ab9a40
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
@@ -0,0 +1,102 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+Chinese translator: Huang Jianghui <huangjianghui@uniontech.com>
+---------------------------------------------------------------------
+.. include:: ../../disclaimer-zh_CN.rst
+以下为正文
+---------------------------------------------------------------------
+======================================
+高清音频编解码器特定混音器控件
+======================================
+
+
+此文件解释特定于编解码器的混音器控件.
+
+瑞昱编解码器
+------------
+
+声道模式
+  这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道打开时显示出现。
+  它给出要使用的通道数:"2ch","4ch","6ch",和"8ch"。根据配置,这还控
+  制多I/O插孔的插孔重分配。
+
+自动静音模式
+  这是一个枚举控件,用于更改耳机和线路输出插孔的自动静音行为。如果内
+  置扬声器、耳机和/或线路输出插孔在机器上可用,则显示该控件。当只有
+  耳机或者线路输出的时候,它给出”禁用“和”启用“状态。当启用后,插孔插
+  入后扬声器会自动静音。
+
+  当耳机和线路输出插孔都存在时,它给出”禁用“、”仅扬声器“和”线路输出+扬
+  声器“。当”仅扬声器“被选择,插入耳机或者线路输出插孔可使扬声器静音,
+  但不会使线路输出静音。当线路输出+扬声器被选择,插入耳机插孔会同时使扬
+  声器和线路输出静音。
+
+
+矽玛特编解码器
+--------------
+
+模拟环回
+   此控件启用/禁用模拟环回电路。只有在编解码器提示中将”lookback“设置为真
+   时才会出现(见HD-Audio.txt)。请注意,在某些编解码器上,模拟环回和正常
+   PCM播放是独占的,即当此选项打开时,您将听不到任何PCM流。
+
+交换中置/低频
+   交换中置和低频通道顺序,通常情况下,左侧对应中置,右侧对应低频,启动此
+   项后,左边低频,右边中置。
+
+耳机作为线路输出
+   当此控制开启时,将耳机视为线路输出插孔。也就是说,耳机不会自动静音其他
+   线路输出,没有耳机放大器被设置到引脚上。
+
+麦克风插口模式、线路插孔模式等
+   这些枚举控制输入插孔引脚的方向和偏置。根据插孔类型,它可以设置为”麦克风
+   输入“和”线路输入“以确定输入偏置,或者当引脚是环绕声道的多I/O插孔时,它
+   可以设置为”线路输出“。
+
+
+威盛编解码器
+------------
+
+智能5.1
+   一个枚举控件,用于为环绕输出重新分配多个I/O插孔的任务。当它打开时,相应
+   的输入插孔(通常是线路输入和麦克风输入)被切换为环绕和中央低频输出插孔。
+
+独立耳机
+   启用此枚举控制时,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
+   如果耳机DAC与侧边或中央低频通道DAC共享,则DAC将自动切换到耳机。
+
+环回混合
+   一个用于确定是否启动了模拟环回路由的枚举控件。当它启用后,模拟环回路由到
+   前置通道。同样,耳机与扬声器输出也采用相同的路径。作为一个副作用,当设置
+   此模式后,单个音量控制将不再适用于耳机和扬声器,因为只有一个DAC连接到混
+   音器小部件。
+
+动态电源控制
+   此控件决定是否启动每个插孔的动态电源控制检测。启用时,根据插孔的插入情况
+   动态更改组件的电源状态(D0/D3)以节省电量消耗。但是,如果您的系统没有提
+   供正确的插孔检测,这将无法工作;在这种情况下,请关闭此控件。
+
+插孔检测
+   此控件仅为VT1708编解码器提供,它不会为每个插孔插拔提供适当的未请求事件。
+   当此控件打开,驱动将轮询插孔检测,以便耳机自动静音可以工作,而关闭此控
+   件将降低功耗。
+
+
+科胜讯编解码器
+--------------
+
+自动静音模式
+   见瑞昱解码器
+
+
+
+模拟编解码器
+------------
+
+通道模式
+   这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道可用时显示。它提供了能
+   被使用的通道数:”2ch“、”4ch“和”6ch“。根据配置,这还控制多I/O插孔的插孔重
+   分配。
+
+独立耳机
+   启动此枚举控制后,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
diff --git a/Documentation/translations/zh_CN/sound/hd-audio/index.rst b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
new file mode 100644
index 000000000000..d9885d53b069
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
@@ -0,0 +1,14 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../../disclaimer-zh_CN.rst
+
+:Original: :doc:`../../../../sound/hd-audio/index`
+:Translator: Huang Jianghui <huangjianghui@uniontech.com>
+
+
+高清音频
+========
+
+.. toctree::
+   :maxdepth: 2
+
+   controls
diff --git a/Documentation/translations/zh_CN/sound/index.rst b/Documentation/translations/zh_CN/sound/index.rst
new file mode 100644
index 000000000000..28d5dca34a63
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/index.rst
@@ -0,0 +1,22 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: :doc:`../../../sound/index`
+:Translator: Huang Jianghui <huangjianghui@uniontech.com>
+
+
+====================
+Linux 声音子系统文档
+====================
+
+.. toctree::
+   :maxdepth: 2
+
+   hd-audio/index
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`
--
2.20.1

Thanks,
Huang Jianghui



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese
  2021-03-02  9:13       ` huangjianghui
@ 2021-03-04  2:58         ` Alex Shi
  0 siblings, 0 replies; 11+ messages in thread
From: Alex Shi @ 2021-03-04  2:58 UTC (permalink / raw)
  To: huangjianghui; +Cc: Jonathan Corbet, Harry Wei, linux-doc, linux-kernel



在 2021/3/2 下午5:13, huangjianghui 写道:
>> we usually include patch into email instead of attach it as attachment.
>> You can try use 'git send-email' to post your patches.
>>
>> Thanks
>> Alex
>>
>>
> I am sorry to do those, my patch is shown below:

Hi Jianghui,

I cann't apply your patch:

$ g am ../Re_\ \[PATCH\]\ PATCH\ Documentation\ translations_translate\ sound_hd-audio_controls\ to\ chinese.eml
Applying: PATCH Documentation translations:translate sound/hd-audio/controls to chinese
error: patch failed: Documentation/translations/zh_CN/index.rst:20
error: Documentation/translations/zh_CN/index.rst: patch does not apply
Patch failed at 0001 PATCH Documentation translations:translate sound/hd-audio/controls to chinese
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".


You'd better try to use 'git am' apply your email patch from your email client,
before send it to linux-doc.

There are some process doc of how community working:
https://landlock.io/linux-doc/landlock-v27/translations/zh_CN/process/

Thanks
Alex

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese
  2021-03-04  9:45 hjh
  2021-03-04  9:49 ` Alex Shi
@ 2021-03-09  0:00 ` Jonathan Corbet
  1 sibling, 0 replies; 11+ messages in thread
From: Jonathan Corbet @ 2021-03-09  0:00 UTC (permalink / raw)
  To: hjh; +Cc: Alex Shi, Harry Wei, linux-doc, linux-kernel

hjh <huangjianghui@uniontech.com> writes:

> Signed-off-by: hjh <huangjianghui@uniontech.com>
> ---
>  Documentation/translations/zh_CN/index.rst    |   1 +
>  .../zh_CN/sound/hd-audio/controls.rst         | 102 ++++++++++++++++++
>  .../zh_CN/sound/hd-audio/index.rst            |  14 +++
>  .../translations/zh_CN/sound/index.rst        |  22 ++++
>  4 files changed, 139 insertions(+)
>  create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/controls.rst
>  create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/index.rst
>  create mode 100644 Documentation/translations/zh_CN/sound/index.rst

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese
  2021-03-04  9:45 hjh
@ 2021-03-04  9:49 ` Alex Shi
  2021-03-09  0:00 ` Jonathan Corbet
  1 sibling, 0 replies; 11+ messages in thread
From: Alex Shi @ 2021-03-04  9:49 UTC (permalink / raw)
  To: hjh, Jonathan Corbet; +Cc: Harry Wei, linux-doc, linux-kernel

Reviewed-by: Alex Shi <alex.shi@linux.alibaba.com>

在 2021/3/4 下午5:45, hjh 写道:
> Signed-off-by: hjh <huangjianghui@uniontech.com>
> ---
>  Documentation/translations/zh_CN/index.rst    |   1 +
>  .../zh_CN/sound/hd-audio/controls.rst         | 102 ++++++++++++++++++
>  .../zh_CN/sound/hd-audio/index.rst            |  14 +++
>  .../translations/zh_CN/sound/index.rst        |  22 ++++
>  4 files changed, 139 insertions(+)
>  create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/controls.rst
>  create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/index.rst
>  create mode 100644 Documentation/translations/zh_CN/sound/index.rst
> 
> diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
> index be6f11176200..2767dacfe86d 100644
> --- a/Documentation/translations/zh_CN/index.rst
> +++ b/Documentation/translations/zh_CN/index.rst
> @@ -20,6 +20,7 @@
>     process/index
>     filesystems/index
>     arm64/index
> +   sound/index
>  
>  目录和表格
>  ----------
> diff --git a/Documentation/translations/zh_CN/sound/hd-audio/controls.rst b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
> new file mode 100644
> index 000000000000..54c028ab9a40
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
> @@ -0,0 +1,102 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +
> +Chinese translator: Huang Jianghui <huangjianghui@uniontech.com>
> +---------------------------------------------------------------------
> +.. include:: ../../disclaimer-zh_CN.rst
> +以下为正文
> +---------------------------------------------------------------------
> +======================================
> +高清音频编解码器特定混音器控件
> +======================================
> +
> +
> +此文件解释特定于编解码器的混音器控件.
> +
> +瑞昱编解码器
> +------------
> +
> +声道模式
> +  这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道打开时显示出现。
> +  它给出要使用的通道数:"2ch","4ch","6ch",和"8ch"。根据配置,这还控
> +  制多I/O插孔的插孔重分配。
> +
> +自动静音模式
> +  这是一个枚举控件,用于更改耳机和线路输出插孔的自动静音行为。如果内
> +  置扬声器、耳机和/或线路输出插孔在机器上可用,则显示该控件。当只有
> +  耳机或者线路输出的时候,它给出”禁用“和”启用“状态。当启用后,插孔插
> +  入后扬声器会自动静音。
> +
> +  当耳机和线路输出插孔都存在时,它给出”禁用“、”仅扬声器“和”线路输出+扬
> +  声器“。当”仅扬声器“被选择,插入耳机或者线路输出插孔可使扬声器静音,
> +  但不会使线路输出静音。当线路输出+扬声器被选择,插入耳机插孔会同时使扬
> +  声器和线路输出静音。
> +
> +
> +矽玛特编解码器
> +--------------
> +
> +模拟环回
> +   此控件启用/禁用模拟环回电路。只有在编解码器提示中将”lookback“设置为真
> +   时才会出现(见HD-Audio.txt)。请注意,在某些编解码器上,模拟环回和正常
> +   PCM播放是独占的,即当此选项打开时,您将听不到任何PCM流。
> +
> +交换中置/低频
> +   交换中置和低频通道顺序,通常情况下,左侧对应中置,右侧对应低频,启动此
> +   项后,左边低频,右边中置。
> +
> +耳机作为线路输出
> +   当此控制开启时,将耳机视为线路输出插孔。也就是说,耳机不会自动静音其他
> +   线路输出,没有耳机放大器被设置到引脚上。
> +
> +麦克风插口模式、线路插孔模式等
> +   这些枚举控制输入插孔引脚的方向和偏置。根据插孔类型,它可以设置为”麦克风
> +   输入“和”线路输入“以确定输入偏置,或者当引脚是环绕声道的多I/O插孔时,它
> +   可以设置为”线路输出“。
> +
> +
> +威盛编解码器
> +------------
> +
> +智能5.1
> +   一个枚举控件,用于为环绕输出重新分配多个I/O插孔的任务。当它打开时,相应
> +   的输入插孔(通常是线路输入和麦克风输入)被切换为环绕和中央低频输出插孔。
> +
> +独立耳机
> +   启用此枚举控制时,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
> +   如果耳机DAC与侧边或中央低频通道DAC共享,则DAC将自动切换到耳机。
> +
> +环回混合
> +   一个用于确定是否启动了模拟环回路由的枚举控件。当它启用后,模拟环回路由到
> +   前置通道。同样,耳机与扬声器输出也采用相同的路径。作为一个副作用,当设置
> +   此模式后,单个音量控制将不再适用于耳机和扬声器,因为只有一个DAC连接到混
> +   音器小部件。
> +
> +动态电源控制
> +   此控件决定是否启动每个插孔的动态电源控制检测。启用时,根据插孔的插入情况
> +   动态更改组件的电源状态(D0/D3)以节省电量消耗。但是,如果您的系统没有提
> +   供正确的插孔检测,这将无法工作;在这种情况下,请关闭此控件。
> +
> +插孔检测
> +   此控件仅为VT1708编解码器提供,它不会为每个插孔插拔提供适当的未请求事件。
> +   当此控件打开,驱动将轮询插孔检测,以便耳机自动静音可以工作,而关闭此控
> +   件将降低功耗。
> +
> +
> +科胜讯编解码器
> +--------------
> +
> +自动静音模式
> +   见瑞昱解码器
> +
> +
> +
> +模拟编解码器
> +------------
> +
> +通道模式
> +   这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道可用时显示。它提供了能
> +   被使用的通道数:”2ch“、”4ch“和”6ch“。根据配置,这还控制多I/O插孔的插孔重
> +   分配。
> +
> +独立耳机
> +   启动此枚举控制后,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
> diff --git a/Documentation/translations/zh_CN/sound/hd-audio/index.rst b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
> new file mode 100644
> index 000000000000..d9885d53b069
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
> @@ -0,0 +1,14 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +.. include:: ../../disclaimer-zh_CN.rst
> +
> +:Original: :doc:`../../../../sound/hd-audio/index`
> +:Translator: Huang Jianghui <huangjianghui@uniontech.com>
> +
> +
> +高清音频
> +========
> +
> +.. toctree::
> +   :maxdepth: 2
> +
> +   controls
> diff --git a/Documentation/translations/zh_CN/sound/index.rst b/Documentation/translations/zh_CN/sound/index.rst
> new file mode 100644
> index 000000000000..28d5dca34a63
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/sound/index.rst
> @@ -0,0 +1,22 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: :doc:`../../../sound/index`
> +:Translator: Huang Jianghui <huangjianghui@uniontech.com>
> +
> +
> +====================
> +Linux 声音子系统文档
> +====================
> +
> +.. toctree::
> +   :maxdepth: 2
> +
> +   hd-audio/index
> +
> +.. only::  subproject and html
> +
> +   Indices
> +   =======
> +
> +   * :ref:`genindex`
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese
@ 2021-03-04  9:45 hjh
  2021-03-04  9:49 ` Alex Shi
  2021-03-09  0:00 ` Jonathan Corbet
  0 siblings, 2 replies; 11+ messages in thread
From: hjh @ 2021-03-04  9:45 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: Alex Shi, Harry Wei, linux-doc, linux-kernel

Signed-off-by: hjh <huangjianghui@uniontech.com>
---
 Documentation/translations/zh_CN/index.rst    |   1 +
 .../zh_CN/sound/hd-audio/controls.rst         | 102 ++++++++++++++++++
 .../zh_CN/sound/hd-audio/index.rst            |  14 +++
 .../translations/zh_CN/sound/index.rst        |  22 ++++
 4 files changed, 139 insertions(+)
 create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/controls.rst
 create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/index.rst
 create mode 100644 Documentation/translations/zh_CN/sound/index.rst

diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
index be6f11176200..2767dacfe86d 100644
--- a/Documentation/translations/zh_CN/index.rst
+++ b/Documentation/translations/zh_CN/index.rst
@@ -20,6 +20,7 @@
    process/index
    filesystems/index
    arm64/index
+   sound/index
 
 目录和表格
 ----------
diff --git a/Documentation/translations/zh_CN/sound/hd-audio/controls.rst b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
new file mode 100644
index 000000000000..54c028ab9a40
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
@@ -0,0 +1,102 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+Chinese translator: Huang Jianghui <huangjianghui@uniontech.com>
+---------------------------------------------------------------------
+.. include:: ../../disclaimer-zh_CN.rst
+以下为正文
+---------------------------------------------------------------------
+======================================
+高清音频编解码器特定混音器控件
+======================================
+
+
+此文件解释特定于编解码器的混音器控件.
+
+瑞昱编解码器
+------------
+
+声道模式
+  这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道打开时显示出现。
+  它给出要使用的通道数:"2ch","4ch","6ch",和"8ch"。根据配置,这还控
+  制多I/O插孔的插孔重分配。
+
+自动静音模式
+  这是一个枚举控件,用于更改耳机和线路输出插孔的自动静音行为。如果内
+  置扬声器、耳机和/或线路输出插孔在机器上可用,则显示该控件。当只有
+  耳机或者线路输出的时候,它给出”禁用“和”启用“状态。当启用后,插孔插
+  入后扬声器会自动静音。
+
+  当耳机和线路输出插孔都存在时,它给出”禁用“、”仅扬声器“和”线路输出+扬
+  声器“。当”仅扬声器“被选择,插入耳机或者线路输出插孔可使扬声器静音,
+  但不会使线路输出静音。当线路输出+扬声器被选择,插入耳机插孔会同时使扬
+  声器和线路输出静音。
+
+
+矽玛特编解码器
+--------------
+
+模拟环回
+   此控件启用/禁用模拟环回电路。只有在编解码器提示中将”lookback“设置为真
+   时才会出现(见HD-Audio.txt)。请注意,在某些编解码器上,模拟环回和正常
+   PCM播放是独占的,即当此选项打开时,您将听不到任何PCM流。
+
+交换中置/低频
+   交换中置和低频通道顺序,通常情况下,左侧对应中置,右侧对应低频,启动此
+   项后,左边低频,右边中置。
+
+耳机作为线路输出
+   当此控制开启时,将耳机视为线路输出插孔。也就是说,耳机不会自动静音其他
+   线路输出,没有耳机放大器被设置到引脚上。
+
+麦克风插口模式、线路插孔模式等
+   这些枚举控制输入插孔引脚的方向和偏置。根据插孔类型,它可以设置为”麦克风
+   输入“和”线路输入“以确定输入偏置,或者当引脚是环绕声道的多I/O插孔时,它
+   可以设置为”线路输出“。
+
+
+威盛编解码器
+------------
+
+智能5.1
+   一个枚举控件,用于为环绕输出重新分配多个I/O插孔的任务。当它打开时,相应
+   的输入插孔(通常是线路输入和麦克风输入)被切换为环绕和中央低频输出插孔。
+
+独立耳机
+   启用此枚举控制时,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
+   如果耳机DAC与侧边或中央低频通道DAC共享,则DAC将自动切换到耳机。
+
+环回混合
+   一个用于确定是否启动了模拟环回路由的枚举控件。当它启用后,模拟环回路由到
+   前置通道。同样,耳机与扬声器输出也采用相同的路径。作为一个副作用,当设置
+   此模式后,单个音量控制将不再适用于耳机和扬声器,因为只有一个DAC连接到混
+   音器小部件。
+
+动态电源控制
+   此控件决定是否启动每个插孔的动态电源控制检测。启用时,根据插孔的插入情况
+   动态更改组件的电源状态(D0/D3)以节省电量消耗。但是,如果您的系统没有提
+   供正确的插孔检测,这将无法工作;在这种情况下,请关闭此控件。
+
+插孔检测
+   此控件仅为VT1708编解码器提供,它不会为每个插孔插拔提供适当的未请求事件。
+   当此控件打开,驱动将轮询插孔检测,以便耳机自动静音可以工作,而关闭此控
+   件将降低功耗。
+
+
+科胜讯编解码器
+--------------
+
+自动静音模式
+   见瑞昱解码器
+
+
+
+模拟编解码器
+------------
+
+通道模式
+   这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道可用时显示。它提供了能
+   被使用的通道数:”2ch“、”4ch“和”6ch“。根据配置,这还控制多I/O插孔的插孔重
+   分配。
+
+独立耳机
+   启动此枚举控制后,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
diff --git a/Documentation/translations/zh_CN/sound/hd-audio/index.rst b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
new file mode 100644
index 000000000000..d9885d53b069
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
@@ -0,0 +1,14 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../../disclaimer-zh_CN.rst
+
+:Original: :doc:`../../../../sound/hd-audio/index`
+:Translator: Huang Jianghui <huangjianghui@uniontech.com>
+
+
+高清音频
+========
+
+.. toctree::
+   :maxdepth: 2
+
+   controls
diff --git a/Documentation/translations/zh_CN/sound/index.rst b/Documentation/translations/zh_CN/sound/index.rst
new file mode 100644
index 000000000000..28d5dca34a63
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/index.rst
@@ -0,0 +1,22 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: :doc:`../../../sound/index`
+:Translator: Huang Jianghui <huangjianghui@uniontech.com>
+
+
+====================
+Linux 声音子系统文档
+====================
+
+.. toctree::
+   :maxdepth: 2
+
+   hd-audio/index
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`
-- 
2.20.1




^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese
  2021-03-01  3:03 hjh
@ 2021-03-01  9:31 ` Alex Shi
  0 siblings, 0 replies; 11+ messages in thread
From: Alex Shi @ 2021-03-01  9:31 UTC (permalink / raw)
  To: hjh, Jonathan Corbet; +Cc: Harry Wei, linux-doc, linux-kernel



在 2021/3/1 上午11:03, hjh 写道:
> Signed-off-by: hjh <huangjianghui@uniontech.com>
> ---
>  Documentation/translations/zh_CN/index.rst    |   1 +
>  .../zh_CN/sound/hd-audio/controls.rst         | 109 ++++++++++++++++++
>  .../zh_CN/sound/hd-audio/index.rst            |  17 +++
>  .../translations/zh_CN/sound/index.rst        |  26 +++++
>  4 files changed, 153 insertions(+)
>  create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/controls.rst
>  create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/index.rst
>  create mode 100644 Documentation/translations/zh_CN/sound/index.rst
> 
> diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
> index be6f11176200..2767dacfe86d 100644
> --- a/Documentation/translations/zh_CN/index.rst
> +++ b/Documentation/translations/zh_CN/index.rst
> @@ -20,6 +20,7 @@
>     process/index
>     filesystems/index
>     arm64/index
> +   sound/index
>  
>  目录和表格
>  ----------
> diff --git a/Documentation/translations/zh_CN/sound/hd-audio/controls.rst b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
> new file mode 100644
> index 000000000000..662bacc5a45f
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
> @@ -0,0 +1,109 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +Chinese translated version of Documentation/sound/hd-audio/controls.rst
> +
> +If you have any comment or update to the content, please contact the
> +original document maintainer directly.  However, if you have a problem
> +communicating in English you can also ask the Chinese maintainer for
> +help.  Contact the Chinese maintainer if this translation is outdated
> +or if there is a problem with the translation.

with the disclaimer file, this info could be removed.

> +
> +Chinese maintainer: Huang Jianghui <huangjianghui@uniontech.com>

We call us translator,译者。

Others looks fine for me.

Reviewed-by: Alex Shi <alex.shi@linux.alibaba.com>

Thanks
Alex

> +---------------------------------------------------------------------
> +.. include:: ../../disclaimer-zh_CN.rst
> +以下为正文
> +---------------------------------------------------------------------
> +======================================
> +高清音频编解码器特定混音器控件
> +======================================
> +
> +
> +此文件解释特定于编解码器的混音器控件.
> +
> +瑞昱编解码器
> +------------
> +
> +声道模式
> +  这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道打开时显示出现。
> +  它给出要使用的通道数:"2ch","4ch","6ch",和"8ch"。根据配置,这还控
> +  制多I/O插孔的插孔重分配。
> +
> +自动静音模式
> +  这是一个枚举控件,用于更改耳机和线路输出插孔的自动静音行为。如果内
> +  置扬声器、耳机和/或线路输出插孔在机器上可用,则显示该控件。当只有
> +  耳机或者线路输出的时候,它给出”禁用“和”启用“状态。当启用后,插孔插
> +  入后扬声器会自动静音。
> +
> +  当耳机和线路输出插孔都存在时,它给出”禁用“、”仅扬声器“和”线路输出+扬
> +  声器“。当”仅扬声器“被选择,插入耳机或者线路输出插孔可使扬声器静音,
> +  但不会使线路输出静音。当线路输出+扬声器被选择,插入耳机插孔会同时使扬
> +  声器和线路输出静音。
> +
> +
> +矽玛特编解码器
> +--------------
> +
> +模拟环回
> +   此控件启用/禁用模拟环回电路。只有在编解码器提示中将”lookback“设置为真
> +   时才会出现(见HD-Audio.txt)。请注意,在某些编解码器上,模拟环回和正常
> +   PCM播放是独占的,即当此选项打开时,您将听不到任何PCM流。
> +
> +交换中置/低频
> +   交换中置和低频通道顺序,通常情况下,左侧对应中置,右侧对应低频,启动此
> +   项后,左边低频,右边中置。
> +
> +耳机作为线路输出
> +   当此控制开启时,将耳机视为线路输出插孔。也就是说,耳机不会自动静音其他
> +   线路输出,没有耳机放大器被设置到引脚上。
> +
> +麦克风插口模式、线路插孔模式等
> +   这些枚举控制输入插孔引脚的方向和偏置。根据插孔类型,它可以设置为”麦克风
> +   输入“和”线路输入“以确定输入偏置,或者当引脚是环绕声道的多I/O插孔时,它
> +   可以设置为”线路输出“。
> +
> +
> +威盛编解码器
> +------------
> +
> +智能5.1
> +   一个枚举控件,用于为环绕输出重新分配多个I/O插孔的任务。当它打开时,相应
> +   的输入插孔(通常是线路输入和麦克风输入)被切换为环绕和中央低频输出插孔。
> +
> +独立耳机
> +   启用此枚举控制时,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
> +   如果耳机DAC与侧边或中央低频通道DAC共享,则DAC将自动切换到耳机。
> +
> +环回混合
> +   一个用于确定是否启动了模拟环回路由的枚举控件。当它启用后,模拟环回路由到
> +   前置通道。同样,耳机与扬声器输出也采用相同的路径。作为一个副作用,当设置
> +   此模式后,单个音量控制将不再适用于耳机和扬声器,因为只有一个DAC连接到混
> +   音器小部件。
> +
> +动态电源控制
> +   此控件决定是否启动每个插孔的动态电源控制检测。启用时,根据插孔的插入情况
> +   动态更改组件的电源状态(D0/D3)以节省电量消耗。但是,如果您的系统没有提
> +   供正确的插孔检测,这将无法工作;在这种情况下,请关闭此控件。
> +
> +插孔检测
> +   此控件仅为VT1708编解码器提供,它不会为每个插孔插拔提供适当的未请求事件。
> +   当此控件打开,驱动将轮询插孔检测,以便耳机自动静音可以工作,而关闭此控
> +   件将降低功耗。
> +
> +
> +科胜讯编解码器
> +--------------
> +
> +自动静音模式
> +   见瑞昱解码器
> +
> +
> +
> +模拟编解码器
> +------------
> +
> +通道模式
> +   这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道可用时显示。它提供了能
> +   被使用的通道数:”2ch“、”4ch“和”6ch“。根据配置,这还控制多I/O插孔的插孔重
> +   分配。
> +
> +独立耳机
> +   启动此枚举控制后,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
> diff --git a/Documentation/translations/zh_CN/sound/hd-audio/index.rst b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
> new file mode 100644
> index 000000000000..c287aad51066
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
> @@ -0,0 +1,17 @@
> +.. include:: ../../disclaimer-zh_CN.rst
> +
> +:Original: :doc:`../../../../sound/hd-audio/index`
> +:Translator: Huang Jianghui <huangjianghui@uniontech.com>
> +
> +
> +高清音频
> +========
> +
> +.. toctree::
> +   :maxdepth: 2
> +
> +   notes
> +   models
> +   controls
> +   dp-mst
> +   realtek-pc-beep
> diff --git a/Documentation/translations/zh_CN/sound/index.rst b/Documentation/translations/zh_CN/sound/index.rst
> new file mode 100644
> index 000000000000..42d86b361e42
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/sound/index.rst
> @@ -0,0 +1,26 @@
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: :doc:`../../../sound/index`
> +:Translator: Huang Jianghui <huangjianghui@uniontech.com>
> +
> +
> +====================
> +Linux 声音子系统文档
> +====================
> +
> +.. toctree::
> +   :maxdepth: 2
> +
> +   kernel-api/index
> +   designs/index
> +   soc/index
> +   alsa-configuration
> +   hd-audio/index
> +   cards/index
> +
> +.. only::  subproject and html
> +
> +   Indices
> +   =======
> +
> +   * :ref:`genindex`
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese
@ 2021-03-01  3:03 hjh
  2021-03-01  9:31 ` Alex Shi
  0 siblings, 1 reply; 11+ messages in thread
From: hjh @ 2021-03-01  3:03 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: Harry Wei, Alex Shi, linux-doc, linux-kernel

Signed-off-by: hjh <huangjianghui@uniontech.com>
---
 Documentation/translations/zh_CN/index.rst    |   1 +
 .../zh_CN/sound/hd-audio/controls.rst         | 109 ++++++++++++++++++
 .../zh_CN/sound/hd-audio/index.rst            |  17 +++
 .../translations/zh_CN/sound/index.rst        |  26 +++++
 4 files changed, 153 insertions(+)
 create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/controls.rst
 create mode 100644 Documentation/translations/zh_CN/sound/hd-audio/index.rst
 create mode 100644 Documentation/translations/zh_CN/sound/index.rst

diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
index be6f11176200..2767dacfe86d 100644
--- a/Documentation/translations/zh_CN/index.rst
+++ b/Documentation/translations/zh_CN/index.rst
@@ -20,6 +20,7 @@
    process/index
    filesystems/index
    arm64/index
+   sound/index
 
 目录和表格
 ----------
diff --git a/Documentation/translations/zh_CN/sound/hd-audio/controls.rst b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
new file mode 100644
index 000000000000..662bacc5a45f
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/hd-audio/controls.rst
@@ -0,0 +1,109 @@
+.. SPDX-License-Identifier: GPL-2.0
+Chinese translated version of Documentation/sound/hd-audio/controls.rst
+
+If you have any comment or update to the content, please contact the
+original document maintainer directly.  However, if you have a problem
+communicating in English you can also ask the Chinese maintainer for
+help.  Contact the Chinese maintainer if this translation is outdated
+or if there is a problem with the translation.
+
+Chinese maintainer: Huang Jianghui <huangjianghui@uniontech.com>
+---------------------------------------------------------------------
+.. include:: ../../disclaimer-zh_CN.rst
+以下为正文
+---------------------------------------------------------------------
+======================================
+高清音频编解码器特定混音器控件
+======================================
+
+
+此文件解释特定于编解码器的混音器控件.
+
+瑞昱编解码器
+------------
+
+声道模式
+  这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道打开时显示出现。
+  它给出要使用的通道数:"2ch","4ch","6ch",和"8ch"。根据配置,这还控
+  制多I/O插孔的插孔重分配。
+
+自动静音模式
+  这是一个枚举控件,用于更改耳机和线路输出插孔的自动静音行为。如果内
+  置扬声器、耳机和/或线路输出插孔在机器上可用,则显示该控件。当只有
+  耳机或者线路输出的时候,它给出”禁用“和”启用“状态。当启用后,插孔插
+  入后扬声器会自动静音。
+
+  当耳机和线路输出插孔都存在时,它给出”禁用“、”仅扬声器“和”线路输出+扬
+  声器“。当”仅扬声器“被选择,插入耳机或者线路输出插孔可使扬声器静音,
+  但不会使线路输出静音。当线路输出+扬声器被选择,插入耳机插孔会同时使扬
+  声器和线路输出静音。
+
+
+矽玛特编解码器
+--------------
+
+模拟环回
+   此控件启用/禁用模拟环回电路。只有在编解码器提示中将”lookback“设置为真
+   时才会出现(见HD-Audio.txt)。请注意,在某些编解码器上,模拟环回和正常
+   PCM播放是独占的,即当此选项打开时,您将听不到任何PCM流。
+
+交换中置/低频
+   交换中置和低频通道顺序,通常情况下,左侧对应中置,右侧对应低频,启动此
+   项后,左边低频,右边中置。
+
+耳机作为线路输出
+   当此控制开启时,将耳机视为线路输出插孔。也就是说,耳机不会自动静音其他
+   线路输出,没有耳机放大器被设置到引脚上。
+
+麦克风插口模式、线路插孔模式等
+   这些枚举控制输入插孔引脚的方向和偏置。根据插孔类型,它可以设置为”麦克风
+   输入“和”线路输入“以确定输入偏置,或者当引脚是环绕声道的多I/O插孔时,它
+   可以设置为”线路输出“。
+
+
+威盛编解码器
+------------
+
+智能5.1
+   一个枚举控件,用于为环绕输出重新分配多个I/O插孔的任务。当它打开时,相应
+   的输入插孔(通常是线路输入和麦克风输入)被切换为环绕和中央低频输出插孔。
+
+独立耳机
+   启用此枚举控制时,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
+   如果耳机DAC与侧边或中央低频通道DAC共享,则DAC将自动切换到耳机。
+
+环回混合
+   一个用于确定是否启动了模拟环回路由的枚举控件。当它启用后,模拟环回路由到
+   前置通道。同样,耳机与扬声器输出也采用相同的路径。作为一个副作用,当设置
+   此模式后,单个音量控制将不再适用于耳机和扬声器,因为只有一个DAC连接到混
+   音器小部件。
+
+动态电源控制
+   此控件决定是否启动每个插孔的动态电源控制检测。启用时,根据插孔的插入情况
+   动态更改组件的电源状态(D0/D3)以节省电量消耗。但是,如果您的系统没有提
+   供正确的插孔检测,这将无法工作;在这种情况下,请关闭此控件。
+
+插孔检测
+   此控件仅为VT1708编解码器提供,它不会为每个插孔插拔提供适当的未请求事件。
+   当此控件打开,驱动将轮询插孔检测,以便耳机自动静音可以工作,而关闭此控
+   件将降低功耗。
+
+
+科胜讯编解码器
+--------------
+
+自动静音模式
+   见瑞昱解码器
+
+
+
+模拟编解码器
+------------
+
+通道模式
+   这是一个用于更改环绕声道设置的枚举控件,仅在环绕声道可用时显示。它提供了能
+   被使用的通道数:”2ch“、”4ch“和”6ch“。根据配置,这还控制多I/O插孔的插孔重
+   分配。
+
+独立耳机
+   启动此枚举控制后,耳机输出从单个流(第三个PCM,如hw:0,2)而不是主流路由。
diff --git a/Documentation/translations/zh_CN/sound/hd-audio/index.rst b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
new file mode 100644
index 000000000000..c287aad51066
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/hd-audio/index.rst
@@ -0,0 +1,17 @@
+.. include:: ../../disclaimer-zh_CN.rst
+
+:Original: :doc:`../../../../sound/hd-audio/index`
+:Translator: Huang Jianghui <huangjianghui@uniontech.com>
+
+
+高清音频
+========
+
+.. toctree::
+   :maxdepth: 2
+
+   notes
+   models
+   controls
+   dp-mst
+   realtek-pc-beep
diff --git a/Documentation/translations/zh_CN/sound/index.rst b/Documentation/translations/zh_CN/sound/index.rst
new file mode 100644
index 000000000000..42d86b361e42
--- /dev/null
+++ b/Documentation/translations/zh_CN/sound/index.rst
@@ -0,0 +1,26 @@
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: :doc:`../../../sound/index`
+:Translator: Huang Jianghui <huangjianghui@uniontech.com>
+
+
+====================
+Linux 声音子系统文档
+====================
+
+.. toctree::
+   :maxdepth: 2
+
+   kernel-api/index
+   designs/index
+   soc/index
+   alsa-configuration
+   hd-audio/index
+   cards/index
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`
-- 
2.20.1




^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-03-09  0:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-01 12:20 [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese hjh
2021-03-01 21:16 ` Jonathan Corbet
2021-03-02  3:22   ` huangjianghui
2021-03-02  7:34     ` Alex Shi
2021-03-02  9:13       ` huangjianghui
2021-03-04  2:58         ` Alex Shi
  -- strict thread matches above, loose matches on Subject: below --
2021-03-04  9:45 hjh
2021-03-04  9:49 ` Alex Shi
2021-03-09  0:00 ` Jonathan Corbet
2021-03-01  3:03 hjh
2021-03-01  9:31 ` Alex Shi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.