mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 19:56:53 +00:00
LibreTranslate rewrote anything that read like prose: assets/img/ became Vermoegenswerte/img/ and ](path) collapsed to )path). Mask multi-segment repository paths, bare filenames and markdown link targets alongside the spans that were already protected, so the translator never sees them. The catalogs still carry the earlier damage, so add a prune subcommand. It compares the protected spans of source and translation and empties every entry whose translation altered them, which lets the next run refill it. A pass over the German docs catalog cleared 85 entries without losing a single intact translation. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>