docs/zh_TW: mark translations that are not kept in sync
Subsystems (2)
Chen-Yu Yeh
maintainercover 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".
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
Chen-Yu Yeh
maintainerPATCH 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
@@ -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
@@ -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
@@ -0,0 +1,6 @@ +.. SPDX-License-Identifier: GPL-2.0 + +.. warning:: + 本翻譯目前無人維護,沒有與英文原文保持同步,內容可能已經過時。如有 + 出入,請以英文原文(見下方的Original欄位)為準。如果您願意協助更新本 + 翻譯,歡迎將補丁提交給繁體中文文件的維護者(見MAINTAINERS檔案)。
Signature · 1 line
2.43.0
Chen-Yu Yeh
maintainerPATCH 2/3 docs/zh_TW: mark translations outside the maintained set
In reply to Chen-Yu YehAs 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
Chen-Yu Yeh
maintainerPATCH 3/3 docs/zh_TW: link filesystems/ and cpu-freq/ from the index
In reply to Chen-Yu Yehfilesystems/ 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
@@ -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
Weijie Yuan
maintainerQuoted 19 lines · Chen-Yu Yeh
As agreed in the
zh_TWscope discussion [1], process/ is the part ofzh_TWthat 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 translatedsubsystem-apis.rst, as the English tree doesThe 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 inprocess/kernel-enforcement-statement.rstand a highlight directive ingdb-kernel-debugging.rst. Not fixed here.)
Quoted 5 lines
One consequence worth knowing:
checktransupdate.pyreads 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.
Re: [PATCH 1/3] docs/zh_TW: add a notice for translations not kept in sync
In reply to Chen-Yu YehQuoted 17 lines · Chen-Yu Yeh
As agreed in the
zh_TWscope 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 waydisclaimer-zh_TW.rstalready is.The notice carries no :orphan: marker. Included after
disclaimer-zh_TW.rstit 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_TWthat is kept current, butsecurity-bugs.rstanddebugging/gdb-kernel-debugging.rstonly 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.rstDocumentation/translations/zh_TW/process/debugging/gdb-kernel-debugging.rst +1
-0@@ -1,6 +1,7 @@ .. highlight:: none .. include:: ../../disclaimer-zh_TW.rst +.. include:: ../../unmaintained-zh_TW.rst :Original: Documentation/process/debugging/gdb-kernel-debugging.rstDocumentation/translations/zh_TW/process/security-bugs.rst +1
-0@@ -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
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檔案)。
Re: [PATCH 2/3] docs/zh_TW: mark translations outside the maintained set
In reply to Chen-Yu YehQuoted 12 lines · Chen-Yu Yeh
As agreed in the
zh_TWscope 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.rstandglossary.rst, which do not translate an English document, and the notice itself.
arch/index.rstanddev-tools/sparse.rsthave 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.txtis not touched: Sphinx does not read .txt sources, so an include there would never be processed.
Well explained!
Quoted 3 lines
or
Thanks.
Re: [PATCH 3/3] docs/zh_TW: link filesystems/ and cpu-freq/ from the index
In reply to Chen-Yu YehQuoted 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 thezh_TWdocumentation. As agreed in thezh_TWscope discussion, link them rather than drop them.The English documentation reaches both through
subsystem-apis.rst, which thezh_TWindex lists only as a TODO item. Translatesubsystem-apis.rst, with the two translated areas in its toctrees and the rest under TODOList aszh_CNdoes, 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.
葉宸佑
maintainerRe: [PATCH 1/3] docs/zh_TW: add a notice for translations not kept in sync
In reply to Weijie YuanQuoted 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