Fehlerseiten

This commit is contained in:
2026-04-09 22:53:40 +02:00
parent 6d1286057a
commit 9685ec3efc
5 changed files with 46 additions and 0 deletions

View File

@@ -220,5 +220,19 @@ return [
'to_date_internal' => 'Fristende',
'from_date_visible' => 'Terminstart',
'to_date_visible' => 'Terminende',
],
'errors' => [
'403' => [
'title' => '403 - Kein Zutritt',
'message' => 'Sie haben keine Berechtigung, diesen Bereich zu betreten. Bitte legitimieren Sie sich ordnungsgemäß.',
],
'404' => [
'title' => '404 - Dokument nicht auffindbar',
'message' => 'Das von Ihnen gesuchte Dokument oder die Seite konnte in unseren Archiven nicht gefunden werden.',
],
'500' => [
'title' => '500 - Interner Behördenfehler',
'message' => 'Es ist ein unerwarteter Fehler in der Bearbeitung aufgetreten. Bitte versuchen Sie es später erneut.',
],
]
];

View File

@@ -220,5 +220,19 @@ return [
'to_date_internal' => 'End date for pre-applications',
'from_date_visible' => 'Start date of appointment',
'to_date_visible' => 'End date of appointment',
],
'errors' => [
'403' => [
'title' => '403 - No Admission',
'message' => 'You are not authorized to access this area. Please provide proper identification.',
],
'404' => [
'title' => '404 - Document not found',
'message' => 'The document or page you were looking for could not be found in our archives.',
],
'500' => [
'title' => '500 - Internal Authority Error',
'message' => 'An unexpected processing error has occurred. Please try again later.',
],
]
];

View File

@@ -0,0 +1,6 @@
@extends('layout.app')
@section('content')
<h1>{{ __('app.errors.403.title') }}</h1>
<p>{{ __('app.errors.403.message') }}</p>
@endsection

View File

@@ -0,0 +1,6 @@
@extends('layout.app')
@section('content')
<h1>{{ __('app.errors.404.title') }}</h1>
<p>{{ __('app.errors.404.message') }}</p>
@endsection

View File

@@ -0,0 +1,6 @@
@extends('layout.app')
@section('content')
<h1>{{ __('app.errors.500.title') }}</h1>
<p>{{ __('app.errors.500.message') }}</p>
@endsection