diff --git a/app/Http/routes.php b/app/Http/routes.php index 0a14c8b4190df79a2f5bd3f8f4599fbef5e1f809..e64b582fb0ec391a6357f3c122e49287823b1722 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -90,7 +90,7 @@ Route::get('settings', function() { return view('settings') - ->with('title', 'Einstellungen') // TODO Titel übersetzen + ->with('title', trans('titles.settings')) ->with('css', 'settings.css') ->with('js', ['settings.js']); }); diff --git a/resources/lang/de/titles.php b/resources/lang/de/titles.php index bd320e15dc26f01fe7da74fab8ef28b7106b91d6..daae85227ae7672cce7bf61c988ea319529e8ff0 100644 --- a/resources/lang/de/titles.php +++ b/resources/lang/de/titles.php @@ -9,5 +9,6 @@ return [ 'spende' => 'Spenden - MetaGer', 'datenschutz' => 'Datenschutz und Privatsphäre - MetaGer', 'hilfe' => 'Hilfe - MetaGer', - 'widget' => 'MetaGer Widget' + 'widget' => 'MetaGer Widget', + 'settings' => 'Einstellungen', ]; \ No newline at end of file diff --git a/resources/lang/en/titles.php b/resources/lang/en/titles.php index 67c4be275595b3479d5b63c25f494e365404ae0f..93761e82b8529fff6cf8171164b17fa56939e05f 100644 --- a/resources/lang/en/titles.php +++ b/resources/lang/en/titles.php @@ -9,5 +9,6 @@ return [ 'spende' => 'Donation - MetaGer', 'datenschutz' => 'Privacy - MetaGer', 'hilfe' => 'Help - MetaGer', - 'widget' => 'MetaGer Widget' + 'widget' => 'MetaGer Widget', + 'settings' => 'Settings', ]; \ No newline at end of file