vienalatina/scripts
Claude 3d41e7f337
Notice a renamed post so it gets translated
changed_markdown() filtered the push diff to A and M. Git classifies a rename
as R, so the file renamed last night never reached the translate step: the post
published in Spanish alone, and because the language switcher only renders when
.IsTranslated is true, its page shows no ES/DE/PT links at all.

--no-renames makes git report the same change as a delete plus an add, and the
add is an ordinary translation source. Verified against a real repository: the
old filter returned nothing for a rename, the new one returns the new path.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NizVpJ2dwzCbjCrTLCjeHn
2026-09-22 09:28:23 +00:00
..
translation Switch translation to OPUS-MT; mount models instead of baking them 2026-09-18 12:41:45 +00:00
fetch-models.sh Switch translation to OPUS-MT; mount models instead of baking them 2026-09-18 12:41:45 +00:00
translate.py Notice a renamed post so it gets translated 2026-09-22 09:28:23 +00:00
wp-to-hugo.py Replace DeepL with a self-hosted translation engine 2026-09-14 16:34:25 +00:00