i18n: instant lang switch via HTMX trigger + refresh paid-plans terms

This commit is contained in:
Giorgio Gilestro 2026-05-27 21:02:03 +02:00
parent f4d9c9f2ec
commit e4dc6d0071
4 changed files with 22 additions and 25 deletions

View file

@ -25,7 +25,7 @@
<article id="log-content"
class="log-page__content"
hx-get="/api/log/by-date/{{ selected_iso }}?as=html"
hx-trigger="load, tone-changed"
hx-trigger="load, tone-changed, lang-changed"
hx-swap="innerHTML">
<div class="empty">loading log…</div>
</article>