From 307b61ad625956e478c16f406061c9751baa928a Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Fri, 11 Oct 2024 14:42:25 +0200 Subject: i18n fixes --- src/application/actions/verifyemail/get.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/application/actions/verifyemail/get.php') diff --git a/src/application/actions/verifyemail/get.php b/src/application/actions/verifyemail/get.php index 77a1ef4..2cc2707 100644 --- a/src/application/actions/verifyemail/get.php +++ b/src/application/actions/verifyemail/get.php @@ -6,8 +6,8 @@ use Symfony\Component\Mailer\Transport; use Symfony\Component\Mime\Address; use Symfony\Component\Mime\Email; -$token = $_GET["token"] ?? throw new Exception("Missing token"); -$sig = $_GET["sig"] ?? throw new Exception("Missing signature"); +$token = $_GET["token"] ?? throw new Exception(__("Missing token")); +$sig = $_GET["sig"] ?? throw new Exception(__("Missing signature")); $user = new User(); $user->activationToken = $token; -- cgit v1.2.3