From b3ee1e5bcbebffab92d41c3e69dfb868695dd052 Mon Sep 17 00:00:00 2001
From: Graham McIntire
Date: Fri, 6 Mar 2026 15:56:35 -0600
Subject: [PATCH] fix: remove raw() from Gettext interpolation in login page
Gettext interpolation expects plain strings, not safe tuples.
Split the translation into separate parts instead.
---
.../controllers/user_session_html/new.html.heex | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/lib/towerops_web/controllers/user_session_html/new.html.heex b/lib/towerops_web/controllers/user_session_html/new.html.heex
index 2f888bdf..b3b17180 100644
--- a/lib/towerops_web/controllers/user_session_html/new.html.heex
+++ b/lib/towerops_web/controllers/user_session_html/new.html.heex
@@ -65,12 +65,8 @@
{t_auth("You are running the local mail adapter.")}
- {t_auth("To see sent emails, visit %{link}.",
- link:
- raw(
- ~s(#{t_auth("the mailbox page")})
- )
- )}
+ {t_auth("To see sent emails, visit")}
+ {t_auth("the mailbox page")}.