1 .. SPDX-License-Identifier: GPL-2.0
3 .. include:: ../disclaimer-zh_CN.rst
5 :Original: Documentation/doc-guide/checktransupdate.rst
7 :译者: 慕冬亮 Dongliang Mu <dzm91@hust.edu.cn>
11 这个脚本帮助跟踪不同语言的文档翻译状态,即文档是否与对应的英文版本保持更新。
16 它使用 ``git log`` 命令来跟踪翻译提交的最新英文提交(按作者日期排序)和英文文档的
17 最新提交。如果有任何差异,则该文件被认为是过期的,然后需要更新的提交将被收集并报告。
31 ./scripts/checktransupdate.py --help
37 - ``./scripts/checktransupdate.py -l zh_CN``
38 这将打印 zh_CN 语言中需要更新的所有文件。
39 - ``./scripts/checktransupdate.py Documentation/translations/zh_CN/dev-tools/testing-overview.rst``
46 Documentation/dev-tools/kfence.rst
47 No translation in the locale of zh_CN
49 Documentation/translations/zh_CN/dev-tools/testing-overview.rst
50 commit 42fb9cfd5b18 ("Documentation: dev-tools: Add link to RV docs")
51 1 commits needs resolving in total