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:
parent
7363c2ecff
commit
b3ee1e5bcb
1 changed files with 2 additions and 6 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue