Translate the titles clears stale pending flags when source pages have no translatable metadata, and toasts no longer report 0 titles translated forever.
**Translate the titles** no longer loops forever when the warning was stale — pages with no translatable source metadata clear their flag, and the toast tells you what actually happened.
What we fixed
The Translations tab already separated page bodies from text metadata (title, summary, tag, description). When the metadata batch failed or left a variant flagged, Translate the titles retried only that step — without re-translating MDX or spending credits on bodies you already had.One edge case kept the warning card alive: a variant could stay flagged translation_metadata_pending even when its source page had no translatable text (empty title and summary). The retry added nothing to the AI batch, never cleared the flag, and the toast reported 0 page titles translated on every click.
Stale flags now clear on retry
When Translate the titles finds a flagged variant whose source has nothing to translate, it clears the pending flag instead of counting the page as still owed. Readiness stops reporting phantom untranslated titles, and the warning disappears.
Honest toasts
The success line now distinguishes three outcomes:
N titles translated — metadata actually changed.
That warning was out of date — only stale flags were cleared; nothing needed translating.
N translated, M still pending — a partial batch; retry again after a moment.
If nothing changed at all, there is no toast — better than announcing zero work.
What to do
No action required. If you dismissed a Page titles not translated warning because retry kept saying zero, open the language again and tap Translate the titles once — the card should clear, or real titles will translate.