mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 04:06:42 +00:00
utils/i18n/libretranslate.py had grown two jobs: bringing a LibreTranslate up, and talking to one. The HTTP half moves to utils/i18n/client.py with the batch size, the retry constants, the SERVER_CODES map that turns the catalog's bare ISO 639-1 codes into the script-qualified ones the server answers to, the Outcome dataclass and merge(). The deploy module keeps the name it is imported by and re-exports the three client symbols, so every existing caller is untouched; the exported class is the same object, not a wrapper. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>