Thread (7 messages) 7 messages, 2 authors, 2021-12-27

Re: [PATCH 1/2] docs/zh_CN: Add power/index Chinese translation

From: Alex Shi <hidden>
Date: 2021-12-27 05:58:40

On Mon, Dec 27, 2021 at 9:30 AM Tang Yizhou [off-list ref] wrote:
On 2021/12/26 16:30, Alex Shi wrote:
quoted
On Sun, Dec 26, 2021 at 4:01 PM Tang Yizhou [off-list ref] wrote:
quoted
Translate power/index.rst into Chinese.

Signed-off-by: Tang Yizhou <redacted>
---
 Documentation/translations/zh_CN/index.rst    |  4 +-
 .../translations/zh_CN/power/index.rst        | 55 +++++++++++++++++++
 2 files changed, 57 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/translations/zh_CN/power/index.rst
diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
index 46e14ec9963d..7658e2fa6f98 100644
--- a/Documentation/translations/zh_CN/index.rst
+++ b/Documentation/translations/zh_CN/index.rst
@@ -104,13 +104,14 @@ TODOList:
    :maxdepth: 2

    core-api/index
+   accounting/index
What's this?
It's https://www.kernel.org/doc/html/latest/accounting/index.html.

The Chinese version is not in the same order as the English version
and I move it to where it should be.
It's a different part of doc, better to split out as another patch.
With this,

Reviewed-by: Alex Shi <alexs@kernel.org>

Thanks
Alex
quoted
Thanks
Alex
quoted
    cpu-freq/index
    iio/index
    sound/index
    filesystems/index
    virt/index
    infiniband/index
-   accounting/index
+   power/index
    scheduler/index

 TODOList:
@@ -129,7 +130,6 @@ TODOList:
 * netlabel/index
 * networking/index
 * pcmcia/index
-* power/index
 * target/index
 * timers/index
 * spi/index
diff --git a/Documentation/translations/zh_CN/power/index.rst b/Documentation/translations/zh_CN/power/index.rst
new file mode 100644
index 000000000000..fd379adfda8e
--- /dev/null
+++ b/Documentation/translations/zh_CN/power/index.rst
@@ -0,0 +1,55 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: Documentation/power/index.rst
+
+:翻译:
+
+  唐艺舟 Tang Yizhou <tangyeechou@gmail.com>
+
+========
+电源管理
+========
+
+.. toctree::
+    :maxdepth: 1
+
+TODOList:
+
+    * apm-acpi
+    * basic-pm-debugging
+    * charger-manager
+    * drivers-testing
+    * energy-model
+    * freezing-of-tasks
+    * opp
+    * pci
+    * pm_qos_interface
+    * power_supply_class
+    * runtime_pm
+    * s2ram
+    * suspend-and-cpuhotplug
+    * suspend-and-interrupts
+    * swsusp-and-swap-files
+    * swsusp-dmcrypt
+    * swsusp
+    * video
+    * tricks
+
+    * userland-swsusp
+
+    * powercap/powercap
+    * powercap/dtpm
+
+    * regulator/consumer
+    * regulator/design
+    * regulator/machine
+    * regulator/overview
+    * regulator/regulator
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`
--
2.17.1
.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help