From d53124c67fa20b3e54411ec97267987861d6e4b9 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@hebeler.club>
Date: Tue, 5 Sep 2023 10:10:35 +0200
Subject: [PATCH] fix link to contact page

---
 metager/lang/en/team.php                    | 2 +-
 metager/resources/views/team/team.blade.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/metager/lang/en/team.php b/metager/lang/en/team.php
index 5aa5b5f5f..6d46cc04a 100644
--- a/metager/lang/en/team.php
+++ b/metager/lang/en/team.php
@@ -15,7 +15,7 @@ return [
         '9' => 'trainee',
     ],
     'contact' => [
-        '1' => 'Please report your questions/problems about MetaGer etc. using the <a href="/en/kontakt/">contact form with encryption</a>.',
+        '1' => 'Please report your questions/problems about MetaGer etc. using the <a href=":link_contact">contact form</a>.',
         '2' => 'If you get any emails with strange contents from us please read more about this: <a href="https://metager.de/wsb/fakemail/">https://metager.de/wsb/fakemail/</a>',
         '3' => 'Only in reasoned exceptions, if you want to reach someone directly, you should mail them. Because team members might be on vacation, sick etc.',
     ],
diff --git a/metager/resources/views/team/team.blade.php b/metager/resources/views/team/team.blade.php
index 7ea4e1daf..718070e95 100644
--- a/metager/resources/views/team/team.blade.php
+++ b/metager/resources/views/team/team.blade.php
@@ -34,7 +34,7 @@
 		</ul>
 	</div>
 	<div class="card">
-		<p>{!! trans('team.contact.1') !!}</p>
+		<p>@lang('team.contact.1', ['link_contact' => route('contact')])</p>
 		<p>{!! trans('team.contact.2') !!}</p>
 		<p>{!! trans('team.contact.3') !!}</p>
 	</div>
-- 
GitLab