Skip to content

Conversation

VectorWorkshopBaoErJie
Copy link
Contributor

The update includes all English version md file formats, as well as a set of testable syntax consistency checking work for translations.

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
文档一致性检查器
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please replace code comments in Chinese with code comments in English

#### Specify Custom Directories

```bash
python scripts/docs_consistency_checker.py --en-dir /path/to/english/docs --zh-dir /path/to/chinese/docs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please generalise the script so that it uses language neutral arguments. This script is just as useful when comparing any two languages, it doesn't necessarily have to be English and Chinese.

Copy link
Contributor

@britzl britzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the amazing effort! I would like to see some changes to the consistency checker tool before we merge this. Or if we split this PR in two, one for the updated translation and one for the consistency checker. You decide!

@VectorWorkshopBaoErJie
Copy link
Contributor Author

Changes have been made to the script's versatility.

@britzl britzl merged commit ab87153 into defold:master Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants