Skip to contentSkip to conversation

docs/zh_CN: add devicetree translation

PATCH In review Yanteng Si 2 participants 6 messages Mar 7, 2022 – Mar 10, 2022

Subsystems (2)
lore
Share & tools
lore

Yanteng Si

author
#0 lore raw

v2 cover docs/zh_CN: add devicetree translation

From: Yanteng Si <[email protected]>

v2:
* Pick Alex's Review-by tag.
* Modify "test-date" to "测试数据" according to Alex's opinion.

v1:
* Translate .../devicetree/of_unittest.rst and .../devicetree/usage-model.rst into Chinese.

Yanteng Si (3):
docs/zh_CN: add devicetree index translation docs/zh_CN: add devicetree usage-model translation docs/zh_CN: add devicetree of_unittest translation

 .../translations/zh_CN/devicetree/index.rst   |  50 +++
 .../zh_CN/devicetree/of_unittest.rst          | 189 ++++++++++
 .../zh_CN/devicetree/usage-model.rst          | 330 ++++++++++++++++++
 Documentation/translations/zh_CN/index.rst    |   6 +-
 4 files changed, 574 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/translations/zh_CN/devicetree/index.rst
 create mode 100644 Documentation/translations/zh_CN/devicetree/of_unittest.rst
 create mode 100644 Documentation/translations/zh_CN/devicetree/usage-model.rst
Signature · 1 line
2.27.0
author
#1 lore raw

PATCH v2 1/3 docs/zh_CN: add devicetree index translation

From: Yanteng Si <[email protected]>

Translate .../devicetree/index.rst into Chinese.

---
 .../translations/zh_CN/devicetree/index.rst   | 49 +++++++++++++++++++
 Documentation/translations/zh_CN/index.rst    |  6 ++-
 2 files changed, 54 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/translations/zh_CN/devicetree/index.rst
Documentation/translations/zh_CN/devicetree/index.rst new file +49 -0
new file mode 100644
index 000000000000..5ca1ae87b57d
@@ -0,0 +1,49 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: Documentation/Devicetree/index.rst
+
+:翻译:
+
+ 司延腾 Yanteng Si <[email protected]>
+
+:校译:
+
+
+=============================
+Open Firmware 和 Devicetree
+=============================
+
+该文档是整个设备树文档的总目录,标题中多是业内默认的术语,初见就翻译成中文,
+晦涩难懂,因此尽量保留,后面翻译其子文档时,可能会根据语境,灵活地翻译为中文。
+
+内核Devicetree的使用
+=======================
+.. toctree::
+   :maxdepth: 1
+
+Todolist:
+
+*   usage-model
+*   of_unittest
+*   kernel-api
+
+Devicetree Overlays
+===================
+.. toctree::
+   :maxdepth: 1
+
+Todolist:
+
+*   changesets
+*   dynamic-resolution-notes
+*   overlay-notes
+
+Devicetree Bindings
+===================
+.. toctree::
+   :maxdepth: 1
+
+Todolist:
+
+*   bindings/index
Documentation/translations/zh_CN/index.rst +5 -1
index 23f8f4c68e83..46a29f006bd4 100644
@@ -56,10 +56,14 @@ TODOList:
 
 下列文档描述了内核需要的平台固件相关信息。
 
+.. toctree::
+   :maxdepth: 2
+
+   devicetree/index
+
 TODOList:
 
 * firmware-guide/index
-* devicetree/index
 
 应用程序开发人员文档
 --------------------
Signature · 1 line
2.27.0
author
#2 lore raw

PATCH v2 2/3 docs/zh_CN: add devicetree usage-model translation

In reply to Yanteng Si

From: Yanteng Si <[email protected]>

Translate .../Devicetree/usage-model.rst into Chinese.

---
 .../translations/zh_CN/devicetree/index.rst   |   4 +-
 .../zh_CN/devicetree/usage-model.rst          | 330 ++++++++++++++++++
 2 files changed, 333 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/translations/zh_CN/devicetree/usage-model.rst
Documentation/translations/zh_CN/devicetree/index.rst +3 -1
index 5ca1ae87b57d..6d9ac4254a1c 100644
@@ -22,9 +22,11 @@ Open Firmware 和 Devicetree
 .. toctree::
    :maxdepth: 1
 
+   usage-model
+
 Todolist:
 
-*   usage-model
+
 *   of_unittest
 *   kernel-api
 
Documentation/translations/zh_CN/devicetree/usage-model.rst new file +330 -0

330 lines not on this page · raw message

Signature · 1 line
2.27.0
author
#3 lore raw

PATCH v2 3/3 docs/zh_CN: add devicetree of_unittest translation

In reply to Yanteng Si

From: Yanteng Si <[email protected]>

Translate .../Devicetree/of_unittest.rst into Chinese.

---
 .../translations/zh_CN/devicetree/index.rst   |   3 +-
 .../zh_CN/devicetree/of_unittest.rst          | 189 ++++++++++++++++++
 2 files changed, 190 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/translations/zh_CN/devicetree/of_unittest.rst
Documentation/translations/zh_CN/devicetree/index.rst +1 -2
index 6d9ac4254a1c..23d0b6fccd58 100644
@@ -23,11 +23,10 @@ Open Firmware 和 Devicetree
    :maxdepth: 1
 
    usage-model
+   of_unittest
 
 Todolist:
 
-
-*   of_unittest
 *   kernel-api
 
 Devicetree Overlays
Documentation/translations/zh_CN/devicetree/of_unittest.rst new file +189 -0

189 lines not on this page · raw message

Signature · 1 line
2.27.0
maintainer
#4 lore raw
In reply to Yanteng Si
Quoted 14 lines · Yanteng Si

From: Yanteng Si <[email protected]>

v2:
* Pick Alex's Review-by tag.
* Modify "test-date" to "测试数据" according to Alex's opinion.

v1:
* Translate .../devicetree/of_unittest.rst and .../devicetree/usage-model.rst into Chinese.

Yanteng Si (3):
docs/zh_CN: add devicetree index translation docs/zh_CN: add devicetree usage-model translation docs/zh_CN: add devicetree of_unittest translation

Quoted 8 lines
 .../translations/zh_CN/devicetree/index.rst   |  50 +++
 .../zh_CN/devicetree/of_unittest.rst          | 189 ++++++++++
 .../zh_CN/devicetree/usage-model.rst          | 330 ++++++++++++++++++
 Documentation/translations/zh_CN/index.rst    |   6 +-
 4 files changed, 574 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/translations/zh_CN/devicetree/index.rst
 create mode 100644 Documentation/translations/zh_CN/devicetree/of_unittest.rst
 create mode 100644 Documentation/translations/zh_CN/devicetree/usage-model.rst

Set applied, thanks.

For future patches, though, could you please ensure that your signoff and sending email addresses match?

Thanks,

jon

author
#5 lore raw
Quoted 26 lines · Jonathan Corbet <[email protected]> 于2022年3月10日周四 07:32写道:
Quoted 14 lines · Yanteng Si

From: Yanteng Si <[email protected]>

v2:
* Pick Alex's Review-by tag.
* Modify "test-date" to "测试数据" according to Alex's opinion.

v1:
* Translate .../devicetree/of_unittest.rst and .../devicetree/usage-model.rst into Chinese.

Yanteng Si (3):
docs/zh_CN: add devicetree index translation docs/zh_CN: add devicetree usage-model translation docs/zh_CN: add devicetree of_unittest translation

Quoted 8 lines
 .../translations/zh_CN/devicetree/index.rst   |  50 +++
 .../zh_CN/devicetree/of_unittest.rst          | 189 ++++++++++
 .../zh_CN/devicetree/usage-model.rst          | 330 ++++++++++++++++++
 Documentation/translations/zh_CN/index.rst    |   6 +-
 4 files changed, 574 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/translations/zh_CN/devicetree/index.rst
 create mode 100644 Documentation/translations/zh_CN/devicetree/of_unittest.rst
 create mode 100644 Documentation/translations/zh_CN/devicetree/usage-model.rst
Quoted 5 lines

Set applied, thanks.

For future patches, though, could you please ensure that your signoff and sending email addresses match?

That's a tricky one. To be honest, I don't like siyanteng01, but <[email protected]> has been registered by some lucky guy.

On the other hand, <[email protected]> seems to be rejected by the doc mailing list, which I haven't tried in a while.

Please give me some time to solve this matter, thanks!

Thanks,
Yanteng