Dongliang Mu <dzm91@xxxxxxxxxxx> writes:Thanks, jon.
The checktransupdate.py script helps track the translation status ofI have applied this, it seems like a useful tool.
the documentation in different locales, e.g., zh_CN and verify if
these documenation is up-to-date. More specially, it uses `git log`
commit to find the latest english commit from the translation commit
(order by author date) and the latest english commits from HEAD. If
differences occur, report the file and commits that need to be updated.
Signed-off-by: Dongliang Mu <dzm91@xxxxxxxxxxx>
Signed-off-by: Cheng Ziqiu <chengziqiu@xxxxxxxxxxx>
---
v1->v2: revise the output format of git commits
add some description and usage of this script
scripts/checktransupdate.py | 203 ++++++++++++++++++++++++++++++++++++
1 file changed, 203 insertions(+)
create mode 100755 scripts/checktransupdate.py
I do wish the code looked like something a bit closer to the kernel
coding style, but so it goes.
Thanks,
jon