Files
computer-playbook/tests/unit/python/utils
kevinveenbirkenbachandClaude Opus 5 89e5e559c6 fix(i18n): stop reporting an untouched entry as a damaged translation
The client seeds every entry with its own source and only replaces the ones that carry words, so a word-free msgid keeps the source verbatim. That was harmless until 9679fa4221: tighten and resegment judge a translation against a rule rather than against its source, so an identity mapping became condemnable as soon as the source itself broke the rule. The gate then reported a source defect as translation damage and prune could not help, because the next run seeds the same source again.

Return False when the translation equals its source. A source that breaks a rule is what the source-side lints are for.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-25 15:15:46 +02:00
..
…