Skip to content

Translate project-owned Chinese text to English - #151

Merged
majinghe merged 1 commit into
mainfrom
cursor/translate-chinese-to-english-a1bd
Nov 12, 2026
Merged

majinghe merged 1 commit into
mainfrom
cursor/translate-chinese-to-english-a1bd

Conversation

@majinghe

Copy link
Copy Markdown
Collaborator

Summary

Project-owned Chinese text is now English. Identifiers, APIs, CLI flags, environment variables, filenames that code depends on, and control flow are unchanged.

Translated:

  • Heal design and operations docs (docs/validation-heal-contract.md, docs/validation-heal-operations.md, docs/validation-heal-cases.md, docs/validation-heal-environment-gates.md, docs/validation-migration-implementation-review.md)
  • The unreferenced Chinese retest note, moved from docs/suite-environment-retest.zh-CN.md to docs/suite-environment-retest.md
  • Heal procedure steps, recovery text, verdicts, and source assertions in scripts/validation_heal/recipes.json and validation-cases.json
  • Environment-gate and evidence-block reasons in scripts/validation_heal/execution_policy.py and scripts/validation_heal/environment_gate.py, kept identical to the recipe executionPolicy objects
  • Matching findings and notes in validation-migration-review.json
  • The Obsidian note title cited in rustfs_heal_test.md
  • The environment-gate report assertion in test_validation_heal_environment_gate.py, which now looks for dedicated faultfs

validation-migration-review.json pins SHA-256 digests of reviewed implementation files. Those digests were refreshed for the four files whose text changed (execution_policy.py, environment_gate.py, recipes.json, and test_validation_heal_environment_gate.py). Implementation status, gaps, and references are the same.

Chinese left on purpose

These strings are non-ASCII fixtures. They exist to exercise CJK keys, metadata, journal decoding, or object bodies, and the tests assert the exact bytes:

  • Heal object keys and prefixes such as 中文/文件/0252.bin, 中文/空 格%25.bin, and a/中文 空%2F.bin (race.py, heal_workload.py, scopes.py, versions.py, and the G06 note in docs/validation-heal-operations.md)
  • Version metadata samples 中文值-<nonce> and 中文文件.bin
  • Replication object special/中文-对象.txt with body 你好 RustFS
  • S3 compatibility key a b/中文/%20+#?.txt
  • Journal and caller-abort samples 完整消息, 中文/对象.bin, 中文/marker.bin, and 中文/literal%2F space.bin

Tests

  • scripts/validation_catalog.py check
  • scripts/validation_migration_review.py --require-complete
  • scripts/validation_heal/matrix.py check (84 cases, 302 branches, 534 topology templates)
  • unittest for test_validation_migration.py and test_validation_heal_environment_gate.py
  • test_validation_heal.py, scope, MRF, and journal-fault tests (249 tests; the two errors are a missing botocore import in this environment, unrelated to the text change)
Open in Web Open in Cursor 

Translate docs, Heal procedure catalogs, environment-gate reasons, and
review notes into English without changing identifiers or control flow.
Keep non-ASCII object keys and payloads that exercise CJK encoding, and
refresh the implementation-review digests for the files whose text changed.

Co-authored-by: hector <majinghe@users.noreply.github.com>
@majinghe
majinghe merged commit 97f195e into main Nov 12, 2026
1 check passed
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