Files
superset2/scripts
Amin Ghadersohi 8a8533a91d chore(i18n): harden apply_do_not_translate per review
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>
2026-07-02 21:14:10 -07:00
..