Skip to contentSkip to conversation

docs/zh_TW: mark translations that are not kept in sync

PATCH In review Chen-Yu Yeh 2 participants 9 messages Sep 29 – Oct 3

Subsystems (2)
lore
Share & tools
lore

Chen-Yu Yeh

author maintainer
#0 lore raw

cover docs/zh_TW: mark translations that are not kept in sync

As agreed in the zh_TW scope discussion [1], process/ is the part of zh_TW that is kept current; everything else now says in the file itself that nobody keeps it in sync, and points readers at the English original. The rule is per file: the two documents that moved into process/ with the relocation series are marked until someone updates them.

1/3 adds the notice and applies it to those two files
2/3 applies it to the other 58 translations (one line each) 3/3 links filesystems/ and cpu-freq/, which nothing linked before, via
a translated subsystem-apis.rst, as the English tree does

The notice deliberately has no :orphan: marker: included after disclaimer-zh_TW.rst, a second one renders as an empty "orphan" field. (Two existing pages already show that field, because something precedes the disclaimer include: a stray byte-order mark in process/kernel-enforcement-statement.rst and a highlight directive in gdb-kernel-debugging.rst. Not fixed here.)

One consequence worth knowing: checktransupdate.py reads the "update to commit" line of a translation's latest commit only, so any tree-wide patch like 2/3 makes it report every touched file as current. The contact-block cleanup already had that effect on most of the tree. Fixing it belongs in the tool, not in the translations.

This applies on top of the relocation series sent alongside it, "[PATCH 0/4] docs/zh_TW: relocate translations to follow the English layout".

[1] https://lore.kernel.org/linux-doc/CAKspUhJAbCWoxgh2eq8R5g_MiNK=oXgKPUWqGOpHh0w1-Fv74A@mail.gmail.com/

Chen-Yu Yeh (3):
docs/zh_TW: add a notice for translations not kept in sync docs/zh_TW: mark translations outside the maintained set docs/zh_TW: link filesystems/ and cpu-freq/ from the index

 .../translations/zh_TW/admin-guide/README.rst |  1 +
 .../zh_TW/admin-guide/bootconfig.rst          |  1 +
 .../zh_TW/admin-guide/bug-bisect.rst          |  1 +
 .../zh_TW/admin-guide/bug-hunting.rst         |  1 +
 .../zh_TW/admin-guide/clearing-warn-once.rst  |  1 +
 .../zh_TW/admin-guide/cpu-load.rst            |  1 +
 .../zh_TW/admin-guide/cputopology.rst         |  1 +
 .../translations/zh_TW/admin-guide/index.rst  |  1 +
 .../translations/zh_TW/admin-guide/init.rst   |  1 +
 .../zh_TW/admin-guide/lockup-watchdogs.rst    |  1 +
 .../zh_TW/admin-guide/mm/damon/index.rst      |  1 +
 .../zh_TW/admin-guide/mm/damon/lru_sort.rst   |  1 +
 .../zh_TW/admin-guide/mm/damon/reclaim.rst    |  1 +
 .../zh_TW/admin-guide/mm/damon/start.rst      |  1 +
 .../zh_TW/admin-guide/mm/damon/usage.rst      |  1 +
 .../zh_TW/admin-guide/mm/index.rst            |  1 +
 .../translations/zh_TW/admin-guide/mm/ksm.rst |  1 +
 .../zh_TW/admin-guide/reporting-issues.rst    |  1 +
 .../admin-guide/reporting-regressions.rst     |  1 +
 .../translations/zh_TW/admin-guide/sysrq.rst  |  1 +
 .../zh_TW/admin-guide/tainted-kernels.rst     |  1 +
 .../zh_TW/admin-guide/unicode.rst             |  1 +
 .../translations/zh_TW/arch/arm64/amu.rst     |  1 +
 .../zh_TW/arch/arm64/elf_hwcaps.rst           |  1 +
 .../zh_TW/arch/arm64/hugetlbpage.rst          |  1 +
 .../translations/zh_TW/arch/arm64/index.rst   |  1 +
 .../translations/zh_TW/arch/arm64/perf.rst    |  1 +
 .../translations/zh_TW/arch/index.rst         |  2 +
 .../zh_TW/arch/loongarch/booting.rst          |  1 +
 .../zh_TW/arch/loongarch/features.rst         |  1 +
 .../zh_TW/arch/loongarch/index.rst            |  1 +
 .../zh_TW/arch/loongarch/introduction.rst     |  1 +
 .../zh_TW/arch/loongarch/irq-chip-model.rst   |  1 +
 .../translations/zh_TW/arch/mips/booting.rst  |  1 +
 .../translations/zh_TW/arch/mips/features.rst |  1 +
 .../translations/zh_TW/arch/mips/index.rst    |  1 +
 .../zh_TW/arch/mips/ingenic-tcu.rst           |  1 +
 .../zh_TW/arch/openrisc/index.rst             |  1 +
 .../zh_TW/arch/openrisc/openrisc_port.rst     |  1 +
 .../translations/zh_TW/arch/openrisc/todo.rst |  1 +
 .../zh_TW/arch/parisc/debugging.rst           |  1 +
 .../translations/zh_TW/arch/parisc/index.rst  |  1 +
 .../zh_TW/arch/parisc/registers.rst           |  1 +
 .../translations/zh_TW/cpu-freq/core.rst      |  1 +
 .../zh_TW/cpu-freq/cpu-drivers.rst            |  1 +
 .../zh_TW/cpu-freq/cpufreq-stats.rst          |  1 +
 .../translations/zh_TW/cpu-freq/index.rst     |  1 +
 .../translations/zh_TW/dev-tools/gcov.rst     |  1 +
 .../translations/zh_TW/dev-tools/index.rst    |  1 +
 .../translations/zh_TW/dev-tools/kasan.rst    |  1 +
 .../translations/zh_TW/dev-tools/sparse.rst   |  4 +-
 .../zh_TW/dev-tools/testing-overview.rst      |  1 +
 .../zh_TW/filesystems/debugfs.rst             |  1 +
 .../translations/zh_TW/filesystems/index.rst  |  1 +
 .../translations/zh_TW/filesystems/tmpfs.rst  |  1 +
 .../zh_TW/filesystems/virtiofs.rst            |  1 +
 Documentation/translations/zh_TW/index.rst    |  6 +-
 .../debugging/gdb-kernel-debugging.rst        |  1 +
 .../zh_TW/process/security-bugs.rst           |  1 +
 .../translations/zh_TW/staging/index.rst      |  1 +
 .../zh_TW/staging/magic-number.rst            |  1 +
 .../translations/zh_TW/subsystem-apis.rst     | 99 +++++++++++++++++++
 .../translations/zh_TW/unmaintained-zh_TW.rst |  6 ++
 63 files changed, 173 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/translations/zh_TW/subsystem-apis.rst
 create mode 100644 Documentation/translations/zh_TW/unmaintained-zh_TW.rst
Signature · 1 line
2.43.0
author maintainer
#1 lore raw

PATCH 1/3 docs/zh_TW: add a notice for translations not kept in sync

As agreed in the zh_TW scope discussion, translations that nobody keeps in sync with their English originals should say so in the file itself, rather than leave readers to find out. Add the notice as a shared file included at the top of each such translation, the way disclaimer-zh_TW.rst already is.

The notice carries no :orphan: marker. Included after disclaimer-zh_TW.rst it would not be at the start of the document, and Sphinx would render it as an empty "orphan" field; Sphinx does not warn about a file that is only ever included, so the marker is not needed.

Start with the two files in process/ that are not in sync. process/ is the part of zh_TW that is kept current, but security-bugs.rst and debugging/gdb-kernel-debugging.rst only moved there with the recent relocations and have not been updated yet; they carry the notice until they are. The rest of the tree follows in the next patch.

---
 .../zh_TW/process/debugging/gdb-kernel-debugging.rst        | 1 +
 Documentation/translations/zh_TW/process/security-bugs.rst  | 1 +
 Documentation/translations/zh_TW/unmaintained-zh_TW.rst     | 6 ++++++
 3 files changed, 8 insertions(+)
 create mode 100644 Documentation/translations/zh_TW/unmaintained-zh_TW.rst
Documentation/translations/zh_TW/process/debugging/gdb-kernel-debugging.rst +1 -0
index a9ca1156fea6..45f178c0bf59 100644
@@ -1,6 +1,7 @@
 .. highlight:: none
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/process/debugging/gdb-kernel-debugging.rst
 
Documentation/translations/zh_TW/process/security-bugs.rst +1 -0
index 76a78746ca4e..783d7c77b5fa 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: :doc:`../../../process/security-bugs`
 
Documentation/translations/zh_TW/unmaintained-zh_TW.rst new file +6 -0
new file mode 100644
index 000000000000..4b4eb63d749c
@@ -0,0 +1,6 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+.. warning::
+     本翻譯目前無人維護,沒有與英文原文保持同步,內容可能已經過時。如有
+     出入,請以英文原文(見下方的Original欄位)為準。如果您願意協助更新本
+     翻譯,歡迎將補丁提交給繁體中文文件的維護者(見MAINTAINERS檔案)。
Signature · 1 line
2.43.0
author maintainer
#4 lore raw

PATCH 2/3 docs/zh_TW: mark translations outside the maintained set

In reply to Chen-Yu Yeh

As agreed in the zh_TW scope discussion, include the notice added in the previous patch in every translation that nobody keeps in sync.

The rule is per file rather than per directory: a translation carries the notice unless it is looked after. Today the looked-after set is process/, which the recent process series brought up to date, less the two files that have moved into process/ since and are already marked. Everything else is marked, index pages included: they carry translated prose and fall behind like any other page, and a notice on an area's index tells readers what to expect of the whole area. A file drops the notice once someone brings it up to date and takes it on.

Left alone are index.rst, disclaimer-zh_TW.rst and glossary.rst, which do not translate an English document, and the notice itself.

arch/index.rst and dev-tools/sparse.rst have no disclaimer include to sit next to -- the former never had one, the latter still uses the old plain-text header -- so the notice goes at the top of those two files. filesystems/sysfs.txt is not touched: Sphinx does not read .txt sources, so an include there would never be processed.

---
 Documentation/translations/zh_TW/admin-guide/README.rst       | 1 +
 Documentation/translations/zh_TW/admin-guide/bootconfig.rst   | 1 +
 Documentation/translations/zh_TW/admin-guide/bug-bisect.rst   | 1 +
 Documentation/translations/zh_TW/admin-guide/bug-hunting.rst  | 1 +
 .../translations/zh_TW/admin-guide/clearing-warn-once.rst     | 1 +
 Documentation/translations/zh_TW/admin-guide/cpu-load.rst     | 1 +
 Documentation/translations/zh_TW/admin-guide/cputopology.rst  | 1 +
 Documentation/translations/zh_TW/admin-guide/index.rst        | 1 +
 Documentation/translations/zh_TW/admin-guide/init.rst         | 1 +
 .../translations/zh_TW/admin-guide/lockup-watchdogs.rst       | 1 +
 .../translations/zh_TW/admin-guide/mm/damon/index.rst         | 1 +
 .../translations/zh_TW/admin-guide/mm/damon/lru_sort.rst      | 1 +
 .../translations/zh_TW/admin-guide/mm/damon/reclaim.rst       | 1 +
 .../translations/zh_TW/admin-guide/mm/damon/start.rst         | 1 +
 .../translations/zh_TW/admin-guide/mm/damon/usage.rst         | 1 +
 Documentation/translations/zh_TW/admin-guide/mm/index.rst     | 1 +
 Documentation/translations/zh_TW/admin-guide/mm/ksm.rst       | 1 +
 .../translations/zh_TW/admin-guide/reporting-issues.rst       | 1 +
 .../translations/zh_TW/admin-guide/reporting-regressions.rst  | 1 +
 Documentation/translations/zh_TW/admin-guide/sysrq.rst        | 1 +
 .../translations/zh_TW/admin-guide/tainted-kernels.rst        | 1 +
 Documentation/translations/zh_TW/admin-guide/unicode.rst      | 1 +
 Documentation/translations/zh_TW/arch/arm64/amu.rst           | 1 +
 Documentation/translations/zh_TW/arch/arm64/elf_hwcaps.rst    | 1 +
 Documentation/translations/zh_TW/arch/arm64/hugetlbpage.rst   | 1 +
 Documentation/translations/zh_TW/arch/arm64/index.rst         | 1 +
 Documentation/translations/zh_TW/arch/arm64/perf.rst          | 1 +
 Documentation/translations/zh_TW/arch/index.rst               | 2 ++
 Documentation/translations/zh_TW/arch/loongarch/booting.rst   | 1 +
 Documentation/translations/zh_TW/arch/loongarch/features.rst  | 1 +
 Documentation/translations/zh_TW/arch/loongarch/index.rst     | 1 +
 .../translations/zh_TW/arch/loongarch/introduction.rst        | 1 +
 .../translations/zh_TW/arch/loongarch/irq-chip-model.rst      | 1 +
 Documentation/translations/zh_TW/arch/mips/booting.rst        | 1 +
 Documentation/translations/zh_TW/arch/mips/features.rst       | 1 +
 Documentation/translations/zh_TW/arch/mips/index.rst          | 1 +
 Documentation/translations/zh_TW/arch/mips/ingenic-tcu.rst    | 1 +
 Documentation/translations/zh_TW/arch/openrisc/index.rst      | 1 +
 .../translations/zh_TW/arch/openrisc/openrisc_port.rst        | 1 +
 Documentation/translations/zh_TW/arch/openrisc/todo.rst       | 1 +
 Documentation/translations/zh_TW/arch/parisc/debugging.rst    | 1 +
 Documentation/translations/zh_TW/arch/parisc/index.rst        | 1 +
 Documentation/translations/zh_TW/arch/parisc/registers.rst    | 1 +
 Documentation/translations/zh_TW/cpu-freq/core.rst            | 1 +
 Documentation/translations/zh_TW/cpu-freq/cpu-drivers.rst     | 1 +
 Documentation/translations/zh_TW/cpu-freq/cpufreq-stats.rst   | 1 +
 Documentation/translations/zh_TW/cpu-freq/index.rst           | 1 +
 Documentation/translations/zh_TW/dev-tools/gcov.rst           | 1 +
 Documentation/translations/zh_TW/dev-tools/index.rst          | 1 +
 Documentation/translations/zh_TW/dev-tools/kasan.rst          | 1 +
 Documentation/translations/zh_TW/dev-tools/sparse.rst         | 4 +++-
 .../translations/zh_TW/dev-tools/testing-overview.rst         | 1 +
 Documentation/translations/zh_TW/filesystems/debugfs.rst      | 1 +
 Documentation/translations/zh_TW/filesystems/index.rst        | 1 +
 Documentation/translations/zh_TW/filesystems/tmpfs.rst        | 1 +
 Documentation/translations/zh_TW/filesystems/virtiofs.rst     | 1 +
 Documentation/translations/zh_TW/staging/index.rst            | 1 +
 Documentation/translations/zh_TW/staging/magic-number.rst     | 1 +
 58 files changed, 61 insertions(+), 1 deletion(-)
Documentation/translations/zh_TW/admin-guide/README.rst +1 -0
index bf692cc7b867..5b513d5fd97a 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/README.rst
 
Documentation/translations/zh_TW/admin-guide/bootconfig.rst +1 -0
index e033c5bdd1eb..02a35b08d540 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/bootconfig.rst
 
Documentation/translations/zh_TW/admin-guide/bug-bisect.rst +1 -0
index 3cec29682ce0..7fd0de63a382 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: :doc:`../../../admin-guide/bug-bisect`
 
Documentation/translations/zh_TW/admin-guide/bug-hunting.rst +1 -0
index f85baa0e97a8..e9ca0816ca70 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: :doc:`../../../admin-guide/bug-hunting`
 
Documentation/translations/zh_TW/admin-guide/clearing-warn-once.rst +1 -0
index 15d54440d224..82a483980516 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/clearing-warn-once.rst
 
Documentation/translations/zh_TW/admin-guide/cpu-load.rst +1 -0
index 13f03195ac7e..1e8da15a4f92 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/cpu-load.rst
 
Documentation/translations/zh_TW/admin-guide/cputopology.rst +1 -0
index 7da38b685ae3..daa2c46835ea 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/cputopology.rst
 
Documentation/translations/zh_TW/admin-guide/index.rst +1 -0
index 937f84c69ce9..e396c4eeb04d 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: :doc:`../../../admin-guide/index`
 
Documentation/translations/zh_TW/admin-guide/init.rst +1 -0
index b68a5f58ce78..a16390c07f02 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: :doc:`../../../admin-guide/init`
 
Documentation/translations/zh_TW/admin-guide/lockup-watchdogs.rst +1 -0
index 6c5282c62461..d5423de1c2d5 100644
@@ -1,4 +1,5 @@
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/lockup-watchdogs.rst
 
Documentation/translations/zh_TW/admin-guide/mm/damon/index.rst +1 -0
index ed6eaca13ce1..fcdda7ee50c8 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0
 .. include:: ../../../disclaimer-zh_TW.rst
+.. include:: ../../../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/mm/damon/index.rst
 
Documentation/translations/zh_TW/admin-guide/mm/damon/lru_sort.rst +1 -0
index 2a5b87f1e4f6..f90bad6484fe 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0
 .. include:: ../../../disclaimer-zh_TW.rst
+.. include:: ../../../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/mm/damon/lru_sort.rst
 
Documentation/translations/zh_TW/admin-guide/mm/damon/reclaim.rst +1 -0
index 36145acdf9aa..fb7bbd030684 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0
 .. include:: ../../../disclaimer-zh_TW.rst
+.. include:: ../../../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/mm/damon/reclaim.rst
 
Documentation/translations/zh_TW/admin-guide/mm/damon/start.rst +1 -0
index af16b730d13b..14504d0f5dce 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0
 .. include:: ../../../disclaimer-zh_TW.rst
+.. include:: ../../../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/mm/damon/start.rst
 
Documentation/translations/zh_TW/admin-guide/mm/damon/usage.rst +1 -0
index 82633ec7d15f..f7b267c9173b 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0
 .. include:: ../../../disclaimer-zh_TW.rst
+.. include:: ../../../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/mm/damon/usage.rst
 
Documentation/translations/zh_TW/admin-guide/mm/index.rst +1 -0
index 969780c9936a..21b61b9ce477 100644
@@ -1,4 +1,5 @@
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original:   Documentation/admin-guide/mm/index.rst
 
Documentation/translations/zh_TW/admin-guide/mm/ksm.rst +1 -0
index 697545ae0fcd..e1a250d0f034 100644
@@ -1,4 +1,5 @@
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/mm/ksm.rst
 
Documentation/translations/zh_TW/admin-guide/reporting-issues.rst +1 -0
index dc2903570705..a23b31884cd8 100644
@@ -3,6 +3,7 @@
 
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/reporting-issues.rst
 
Documentation/translations/zh_TW/admin-guide/reporting-regressions.rst +1 -0
index e85baccdb53b..f03570d61895 100644
@@ -2,6 +2,7 @@
 .. 【重分發信息參見本文件結尾】
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/reporting-regressions.rst
 
Documentation/translations/zh_TW/admin-guide/sysrq.rst +1 -0
index 221f05807730..003742c62d85 100644
@@ -1,4 +1,5 @@
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/sysrq.rst
 
Documentation/translations/zh_TW/admin-guide/tainted-kernels.rst +1 -0
index cdfaccfbb4ae..0a351aff5e98 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: :doc:`../../../admin-guide/tainted-kernels`
 
Documentation/translations/zh_TW/admin-guide/unicode.rst +1 -0
index b9b57cc76d61..85fb4ca90936 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/admin-guide/unicode.rst
 
Documentation/translations/zh_TW/arch/arm64/amu.rst +1 -0
index edea336b323d..9e5048aa39c1 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: :ref:`Documentation/arch/arm64/amu.rst <amu_index>`
 
Documentation/translations/zh_TW/arch/arm64/elf_hwcaps.rst +1 -0
index 66b7c6f8ef39..d46934c2c4e1 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: :ref:`Documentation/arch/arm64/elf_hwcaps.rst <elf_hwcaps_index>`
 
Documentation/translations/zh_TW/arch/arm64/hugetlbpage.rst +1 -0
index ad747f9e1916..b613e434d6e5 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: :ref:`Documentation/arch/arm64/hugetlbpage.rst <hugetlbpage_index>`
 
Documentation/translations/zh_TW/arch/arm64/index.rst +1 -0
index 279873b25a25..0e3495411469 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: :ref:`Documentation/arch/arm64/index.rst <arm64_index>`
 
Documentation/translations/zh_TW/arch/arm64/perf.rst +1 -0
index a91d43e69b49..da1736068365 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: :ref:`Documentation/arch/arm64/perf.rst <perf_index>`
 
Documentation/translations/zh_TW/arch/index.rst +2 -0
index 724468687c20..6b7235fd8612 100644
@@ -1,5 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
+.. include:: ../unmaintained-zh_TW.rst
+
 :Original: Documentation/arch/index.rst
 
 處理器體系結構
Documentation/translations/zh_TW/arch/loongarch/booting.rst +1 -0
index cc9610322742..e26654f84ce2 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/loongarch/booting.rst
 
Documentation/translations/zh_TW/arch/loongarch/features.rst +1 -0
index 667f33030430..843a40553def 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/loongarch/features.rst
 
Documentation/translations/zh_TW/arch/loongarch/index.rst +1 -0
index 7371f35326c1..ddec7144a488 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/loongarch/index.rst
 
Documentation/translations/zh_TW/arch/loongarch/introduction.rst +1 -0
index 1184bae117d7..0e28afcca695 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/loongarch/introduction.rst
 
Documentation/translations/zh_TW/arch/loongarch/irq-chip-model.rst +1 -0
index 89f4facc1a12..4cd53dd20401 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/loongarch/irq-chip-model.rst
 
Documentation/translations/zh_TW/arch/mips/booting.rst +1 -0
index 43958df77efe..b79e33cf4026 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/mips/booting.rst
 
Documentation/translations/zh_TW/arch/mips/features.rst +1 -0
index d5f2d3129614..6588fe3a7529 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/mips/features.rst
 
Documentation/translations/zh_TW/arch/mips/index.rst +1 -0
index 832a5e9ee413..15df9ac33988 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/mips/index.rst
 
Documentation/translations/zh_TW/arch/mips/ingenic-tcu.rst +1 -0
index fc74f474593d..98dc62884644 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/mips/ingenic-tcu.rst
 
Documentation/translations/zh_TW/arch/openrisc/index.rst +1 -0
index 7d852d37cc4e..5c6aa94794ad 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/openrisc/index.rst
 
Documentation/translations/zh_TW/arch/openrisc/openrisc_port.rst +1 -0
index 7d6dcf29eb7d..33d3f5eb74eb 100644
@@ -1,4 +1,5 @@
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/openrisc/openrisc_port.rst
 
Documentation/translations/zh_TW/arch/openrisc/todo.rst +1 -0
index 89bb852c5d00..870faeca72ef 100644
@@ -1,4 +1,5 @@
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/openrisc/todo.rst
 
Documentation/translations/zh_TW/arch/parisc/debugging.rst +1 -0
index a58cf3aa534a..2fb32a102c9f 100644
@@ -1,4 +1,5 @@
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/parisc/debugging.rst
 
Documentation/translations/zh_TW/arch/parisc/index.rst +1 -0
index a08e0329383d..727a396ecf4a 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/parisc/index.rst
 
Documentation/translations/zh_TW/arch/parisc/registers.rst +1 -0
index ea9b8df9314d..acc512ce6b05 100644
@@ -1,4 +1,5 @@
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/arch/parisc/registers.rst
 
Documentation/translations/zh_TW/cpu-freq/core.rst +1 -0
index 8a2c835b5c50..ba7e6f84fd27 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/cpu-freq/core.rst
 
Documentation/translations/zh_TW/cpu-freq/cpu-drivers.rst +1 -0
index 0e4ae51916d3..f02c1d2d1b54 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/cpu-freq/cpu-drivers.rst
 
Documentation/translations/zh_TW/cpu-freq/cpufreq-stats.rst +1 -0
index dbaa9df781e3..fbc2f9b9bd8c 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/cpu-freq/cpufreq-stats.rst
 
Documentation/translations/zh_TW/cpu-freq/index.rst +1 -0
index c32c618dd972..041ad0f299bc 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/cpu-freq/index.rst
 
Documentation/translations/zh_TW/dev-tools/gcov.rst +1 -0
index 69965427a51a..da5d09dde7eb 100644
@@ -1,4 +1,5 @@
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/dev-tools/gcov.rst
 
Documentation/translations/zh_TW/dev-tools/index.rst +1 -0
index fafebd092a3d..0d5671af2b41 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/dev-tools/index.rst
 
Documentation/translations/zh_TW/dev-tools/kasan.rst +1 -0
index 7728b50aa4b6..fd5a77d53211 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/dev-tools/kasan.rst
 
Documentation/translations/zh_TW/dev-tools/sparse.rst +3 -1
index 7ca7fdf6e1e6..c81440f85765 100644
@@ -1,4 +1,6 @@
-:Original: Documentation/dev-tools/sparse.rst
+.. include:: ../unmaintained-zh_TW.rst
+
+:Original: Documentation/dev-tools/sparse.rst
 
 Chinese translated version of Documentation/dev-tools/sparse.rst
 
Documentation/translations/zh_TW/dev-tools/testing-overview.rst +1 -0
index 140f4f946833..447a93774d53 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/dev-tools/testing-overview.rst
 
Documentation/translations/zh_TW/filesystems/debugfs.rst +1 -0
index 17e12fc57400..6b9536f58a7a 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/filesystems/debugfs.rst
 
Documentation/translations/zh_TW/filesystems/index.rst +1 -0
index 87307a291c8e..9dfcdc66ecce 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: :ref:`Documentation/filesystems/index.rst <filesystems_index>`
 
Documentation/translations/zh_TW/filesystems/tmpfs.rst +1 -0
index aed61cc3064d..b479700c8c86 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/filesystems/tmpfs.rst
 
Documentation/translations/zh_TW/filesystems/virtiofs.rst +1 -0
index f3a682094266..7efca193b49a 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: :ref:`Documentation/filesystems/virtiofs.rst <virtiofs_index>`
 
Documentation/translations/zh_TW/staging/index.rst +1 -0
index 556c63a17f9c..b82de8291543 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: Documentation/staging/index.rst
 
Documentation/translations/zh_TW/staging/magic-number.rst +1 -0
index af1b2d05942a..a5c19d1e698b 100644
@@ -3,6 +3,7 @@
 .. _tw_magicnumbers:
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: :ref:`Documentation/staging/magic-number.rst <magicnumbers>`
 
Signature · 1 line
2.43.0
author maintainer
#6 lore raw

PATCH 3/3 docs/zh_TW: link filesystems/ and cpu-freq/ from the index

In reply to Chen-Yu Yeh

filesystems/ and cpu-freq/ each have an index.rst, but nothing links to either, so their translations cannot be reached from the rest of the zh_TW documentation. As agreed in the zh_TW scope discussion, link them rather than drop them.

The English documentation reaches both through subsystem-apis.rst, which the zh_TW index lists only as a TODO item. Translate subsystem-apis.rst, with the two translated areas in its toctrees and the rest under TODOList as zh_CN does, and link it from the index. "Core subsystems" is rendered as 基礎子系統 rather than
核心子系統, which would read the same as the page title
now that "kernel" is 核心.

Like the pages it links to, the new page carries the notice for translations not kept in sync.

update to commit 4f10f1dfb235 ("net: remove ISDN subsystem and Bluetooth CMTP")

---
 Documentation/translations/zh_TW/index.rst    |  6 +-
 .../translations/zh_TW/subsystem-apis.rst     | 99 +++++++++++++++++++
 2 files changed, 104 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/translations/zh_TW/subsystem-apis.rst
Documentation/translations/zh_TW/index.rst +5 -1
index 1dddf5963864..001680d040ea 100644
@@ -39,12 +39,16 @@ TODOList:
 
 開發人員使用的內核內部交互接口手冊。
 
+.. toctree::
+   :maxdepth: 1
+
+   subsystem-apis
+
 TODOList:
 
 * core-api/index
 * driver-api/index
 * 內核中的鎖 <locking/index>
-* subsystem-apis
 
 開發工具和流程
 --------------
Documentation/translations/zh_TW/subsystem-apis.rst new file +99 -0

99 lines not on this page · raw message

Signature · 1 line
2.43.0
maintainer
#8 lore raw
In reply to Chen-Yu Yeh
Quoted 19 lines · Chen-Yu Yeh

As agreed in the zh_TW scope discussion [1], process/ is the part of zh_TW that is kept current; everything else now says in the file itself that nobody keeps it in sync, and points readers at the English original. The rule is per file: the two documents that moved into process/ with the relocation series are marked until someone updates them.

1/3 adds the notice and applies it to those two files
2/3 applies it to the other 58 translations (one line each) 3/3 links filesystems/ and cpu-freq/, which nothing linked before, via
a translated subsystem-apis.rst, as the English tree does

The notice deliberately has no :orphan: marker: included after disclaimer-zh_TW.rst, a second one renders as an empty "orphan" field. (Two existing pages already show that field, because something precedes the disclaimer include: a stray byte-order mark in process/kernel-enforcement-statement.rst and a highlight directive in gdb-kernel-debugging.rst. Not fixed here.)

Quoted 5 lines

One consequence worth knowing: checktransupdate.py reads the "update to commit" line of a translation's latest commit only, so any tree-wide patch like 2/3 makes it report every touched file as current. The contact-block cleanup already had that effect on most of the tree. Fixing it belongs in the tool, not in the translations.

Agreed.

Quoted 3 lines

This applies on top of the relocation series sent alongside it, "[PATCH 0/4] docs/zh_TW: relocate translations to follow the English layout".

I figured out the applying sequence by myself and then came across this sentence... :-| ;-)

Thanks.

maintainer Acked-by on v1 1/3
#2 lore raw

Re: [PATCH 1/3] docs/zh_TW: add a notice for translations not kept in sync

In reply to Chen-Yu Yeh
Quoted 17 lines · Chen-Yu Yeh

As agreed in the zh_TW scope discussion, translations that nobody keeps in sync with their English originals should say so in the file itself, rather than leave readers to find out. Add the notice as a shared file included at the top of each such translation, the way disclaimer-zh_TW.rst already is.

The notice carries no :orphan: marker. Included after disclaimer-zh_TW.rst it would not be at the start of the document, and Sphinx would render it as an empty "orphan" field; Sphinx does not warn about a file that is only ever included, so the marker is not needed.

Start with the two files in process/ that are not in sync. process/ is the part of zh_TW that is kept current, but security-bugs.rst and debugging/gdb-kernel-debugging.rst only moved there with the recent relocations and have not been updated yet; they carry the notice until they are. The rest of the tree follows in the next patch.

Quoted 3 lines
Quoted 37 lines
---
 .../zh_TW/process/debugging/gdb-kernel-debugging.rst        | 1 +
 Documentation/translations/zh_TW/process/security-bugs.rst  | 1 +
 Documentation/translations/zh_TW/unmaintained-zh_TW.rst     | 6 ++++++
 3 files changed, 8 insertions(+)
 create mode 100644 Documentation/translations/zh_TW/unmaintained-zh_TW.rst
Documentation/translations/zh_TW/process/debugging/gdb-kernel-debugging.rst +1 -0
index a9ca1156fea6..45f178c0bf59 100644
@@ -1,6 +1,7 @@
 .. highlight:: none
 
 .. include:: ../../disclaimer-zh_TW.rst
+.. include:: ../../unmaintained-zh_TW.rst
 
 :Original: Documentation/process/debugging/gdb-kernel-debugging.rst
 
Documentation/translations/zh_TW/process/security-bugs.rst +1 -0
index 76a78746ca4e..783d7c77b5fa 100644
@@ -1,6 +1,7 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 .. include:: ../disclaimer-zh_TW.rst
+.. include:: ../unmaintained-zh_TW.rst
 
 :Original: :doc:`../../../process/security-bugs`
 
Documentation/translations/zh_TW/unmaintained-zh_TW.rst new file +0 -0
new file mode 100644
index 000000000000..4b4eb63d749c

Documentation/translations/zh_TW/unmaintained-zh_TW.rst line 5

Quoted 5 lines
Documentation/translations/zh_TW/unmaintained-zh_TW.rst new file +5 -0
@@ -0,0 +1,6 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+.. warning::
+     本翻譯目前無人維護,沒有與英文原文保持同步,內容可能已經過時。如有
+     出入,請以英文原文(見下方的Original欄位)為準。如果您願意協助更新本

So here means we still need the Original field.? ;)

Quoted 1 line
Documentation/translations/zh_TW/unmaintained-zh_TW.rst new file +1 -0
+     翻譯,歡迎將補丁提交給繁體中文文件的維護者(見MAINTAINERS檔案)。
maintainer Acked-by Reviewed-by on v1 2/3
#5 lore raw

Re: [PATCH 2/3] docs/zh_TW: mark translations outside the maintained set

In reply to Chen-Yu Yeh
Quoted 12 lines · Chen-Yu Yeh

As agreed in the zh_TW scope discussion, include the notice added in the previous patch in every translation that nobody keeps in sync.

The rule is per file rather than per directory: a translation carries the notice unless it is looked after. Today the looked-after set is process/, which the recent process series brought up to date, less the two files that have moved into process/ since and are already marked. Everything else is marked, index pages included: they carry translated prose and fall behind like any other page, and a notice on an area's index tells readers what to expect of the whole area. A file drops the notice once someone brings it up to date and takes it on.

Quoted 8 lines

Left alone are index.rst, disclaimer-zh_TW.rst and glossary.rst, which do not translate an English document, and the notice itself.

arch/index.rst and dev-tools/sparse.rst have no disclaimer include to sit next to -- the former never had one, the latter still uses the old plain-text header -- so the notice goes at the top of those two files. filesystems/sysfs.txt is not touched: Sphinx does not read .txt sources, so an include there would never be processed.

Well explained!

Quoted 3 lines

or

Thanks.

maintainer Acked-by on v1 3/3
#7 lore raw

Re: [PATCH 3/3] docs/zh_TW: link filesystems/ and cpu-freq/ from the index

In reply to Chen-Yu Yeh
Quoted 16 lines · Chen-Yu Yeh

filesystems/ and cpu-freq/ each have an index.rst, but nothing links to either, so their translations cannot be reached from the rest of the zh_TW documentation. As agreed in the zh_TW scope discussion, link them rather than drop them.

The English documentation reaches both through subsystem-apis.rst, which the zh_TW index lists only as a TODO item. Translate subsystem-apis.rst, with the two translated areas in its toctrees and the rest under TODOList as zh_CN does, and link it from the index. "Core subsystems" is rendered as 基礎子系統 rather than
核心子系統, which would read the same as the page title
now that "kernel" is 核心.

Like the pages it links to, the new page carries the notice for translations not kept in sync.

Quoted 6 lines

update to commit 4f10f1dfb235 ("net: remove ISDN subsystem and Bluetooth CMTP")

Thanks.

author maintainer
#3 lore raw

Re: [PATCH 1/3] docs/zh_TW: add a notice for translations not kept in sync

In reply to Weijie Yuan
Quoted 3 lines · Weijie Yuan
Quoted 1 line

+ 出入,請以英文原文(見下方的Original欄位)為準。如果您願意協助更新本

So here means we still need the Original field.? ;)

Good catch -- the notice does lean on it. As long as the fields are the practice, the sentence is accurate, so I would leave it as is here. If we ever decide to drop the fields, rewording this line belongs in that same change.

Thanks,
Chen-Yu