Addresses code-review feedback on apply_do_not_translate.py:
- Strip each registry line before the blank/comment check, so trailing
whitespace or an indented comment can't yield a msgid that fails to match the
.pot (Critical).
- Fail fast with a non-zero exit when the registry file is missing, rather than
silently producing catalogs without do-not-translate markers; an existing but
empty registry remains a valid no-op (Major).
- Add explicit type annotations to the module-level constants.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>