mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
write_catalog writes the rendered catalogue to .<name>.po.tmp and moves it over the target. When the write fails, the staging file stayed behind: the translation run that hit a full disk left eleven empty .docs.po.tmp files untracked in locale/. Any failure between the write and the move now deletes the staging file and re-raises, so the target keeps its old bytes and nothing is left in the tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>