From 336d3b101e7c727dbc7592dbd4a10ef63bf61bed Mon Sep 17 00:00:00 2001
From: karl <karl@suma-ev.de>
Date: Tue, 21 Jun 2016 12:54:01 +0200
Subject: [PATCH] =?UTF-8?q?Die=20Errorseiten=20404=20und=20500=20werden=20?=
 =?UTF-8?q?bei=20entsprechenden=20Fehlern=20auch=20=C3=BCbersetzt=20angeze?=
 =?UTF-8?q?igt.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 resources/lang/de/404.php            | 6 ++++++
 resources/lang/de/500.php            | 6 ++++++
 resources/lang/en/404.php            | 6 ++++++
 resources/lang/en/500.php            | 6 ++++++
 resources/views/errors/404.blade.php | 8 ++++++++
 resources/views/errors/500.blade.php | 8 ++++++++
 6 files changed, 40 insertions(+)
 create mode 100644 resources/lang/de/404.php
 create mode 100644 resources/lang/de/500.php
 create mode 100644 resources/lang/en/404.php
 create mode 100644 resources/lang/en/500.php
 create mode 100644 resources/views/errors/404.blade.php
 create mode 100644 resources/views/errors/500.blade.php

diff --git a/resources/lang/de/404.php b/resources/lang/de/404.php
new file mode 100644
index 000000000..f3b46c81c
--- /dev/null
+++ b/resources/lang/de/404.php
@@ -0,0 +1,6 @@
+<?php
+
+return [
+	'1' => 'Fehler 404, Seite nicht gefunden',
+	'2' => 'M&ouml;glicherweise haben Sie einen falschen oder veralteten Link eingegeben.',
+];
\ No newline at end of file
diff --git a/resources/lang/de/500.php b/resources/lang/de/500.php
new file mode 100644
index 000000000..9a2ccaae6
--- /dev/null
+++ b/resources/lang/de/500.php
@@ -0,0 +1,6 @@
+<?php
+
+return [
+	'1' => 'Ups. Das h&auml;tte nicht passieren d&uuml;rfen.',
+	'2' => 'Bei Ihrer Anfrage ist etwas schief gegangen. Wir versuchen, m&ouml;glichst schnell, der Sache auf den Grund zu gehen.',
+];
\ No newline at end of file
diff --git a/resources/lang/en/404.php b/resources/lang/en/404.php
new file mode 100644
index 000000000..be3c32e39
--- /dev/null
+++ b/resources/lang/en/404.php
@@ -0,0 +1,6 @@
+<?php
+
+return [
+	'1' => 'Error 404, Page not found',
+	'2' => 'Maybe you entered a wrong or old link.',
+];
\ No newline at end of file
diff --git a/resources/lang/en/500.php b/resources/lang/en/500.php
new file mode 100644
index 000000000..32ed51d7b
--- /dev/null
+++ b/resources/lang/en/500.php
@@ -0,0 +1,6 @@
+<?php
+
+return [
+	'1' => 'Oops. That should not have happened.',
+	'2' => 'Something went wrong with your request. We are drilling down on it as soon as possible.',
+];
\ No newline at end of file
diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php
new file mode 100644
index 000000000..ccfb1914b
--- /dev/null
+++ b/resources/views/errors/404.blade.php
@@ -0,0 +1,8 @@
+@extends('layouts.subPages')
+
+@section('title', 'Fehler 404 - Seite nicht gefunden')
+
+@section('content')
+<h1>{{ trans('404.1') }}</h1>
+<p>{{ trans('404.2') }}</p>
+@endsection
\ No newline at end of file
diff --git a/resources/views/errors/500.blade.php b/resources/views/errors/500.blade.php
new file mode 100644
index 000000000..5c78212eb
--- /dev/null
+++ b/resources/views/errors/500.blade.php
@@ -0,0 +1,8 @@
+@extends('layouts.subPages')
+
+@section('title', 'Fehler 500 - Interner Serverfehler')
+
+@section('content')
+<h1>{{ trans('500.1') }}</h1>
+<p>{{ trans('500.2') }}</p>
+@endsection
\ No newline at end of file
-- 
GitLab