fix: remove raw() from Gettext interpolation in login page

Gettext interpolation expects plain strings, not safe tuples.
Split the translation into separate parts instead.
This commit is contained in:
Graham McIntire 2026-03-06 15:56:35 -06:00
parent 7363c2ecff
commit b3ee1e5bcb
No known key found for this signature in database

View file

@ -65,12 +65,8 @@
{t_auth("You are running the local mail adapter.")}
</p>
<p class="mt-1 text-sm text-blue-700 dark:text-blue-200">
{t_auth("To see sent emails, visit %{link}.",
link:
raw(
~s(<a href="/dev/mailbox" class="font-medium underline">#{t_auth("the mailbox page")}</a>)
)
)}
{t_auth("To see sent emails, visit")}
<a href="/dev/mailbox" class="font-medium underline">{t_auth("the mailbox page")}</a>.
</p>
</div>
</div>