This commit is contained in:
Jérémy Munsch 2024-06-10 13:58:45 +02:00
parent c08266d81b
commit 0ba88f51eb
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC
3 changed files with 8 additions and 3 deletions

View file

@ -275,5 +275,6 @@
"up to date on the latest news around nature & respect.": "die aktuellsten Neuigkeiten und Entwicklungen rund um Nature & Respect.",
"You must accept reCaptcha cookies to use the forms.": "Um die Formulare nutzen zu können, müssen Sie reCaptcha-Cookies akzeptieren.",
"Accept this cookie to use the forms": "Akzeptieren Sie dieses Cookie, um die Formulare zu verwenden",
"Authorize": "Autorisieren"
"Authorize": "Autorisieren",
"Privacy Policy": "Datenschutzrichtlinie"
}

View file

@ -20,7 +20,7 @@
<span>{!! nl2br(e($strings->banner_title)) !!}</span>
</div>
<div class="cn-banner-para-p">
<p>{!! clean($strings->banner_text) !!}</p>
<p>{!! $strings->banner_text !!}</p>
</div>
</div>
</div>

View file

@ -24,7 +24,11 @@ $strings = (object)[
'button_allow_all_title' => __('cookie-notice.button_allow_all_title'),
'button_validate_and_close' => Str::upper(__('cookie-notice.button_validate_and_close')),
'banner_title' => __('cookie-notice.banner_title', ['site_name' => $site_name]),
'banner_text' => __('cookie-notice.banner_text'),
'banner_text' => sprintf(
"%s<br><br>%s",
__('cookie-notice.banner_text'),
"<a class='underline' href='" . route('privacy') . "'>" . __('Privacy Policy') . "</a>"
),
'panel_title' => __('cookie-notice.panel_title'),
'panel_content' => __('cookie-notice.panel_content'),
'panel_subtitle' => __('cookie-notice.panel_subtitle'),