diff --git a/config/app.php b/config/app.php index 334ff5b2..7ca6180b 100644 --- a/config/app.php +++ b/config/app.php @@ -81,7 +81,7 @@ return [ | */ - 'locale' => 'en', + 'locale' => env('LOCALE', 'en'), /* |-------------------------------------------------------------------------- diff --git a/resources/lang/de.json b/resources/lang/de.json new file mode 100644 index 00000000..6d4e07a1 --- /dev/null +++ b/resources/lang/de.json @@ -0,0 +1,25 @@ +{ + + + "Activity Logs": "Aktivitäts logs", + "No recent activity from cronjobs": "Keine neuen aktivitäten von Cronjobs", + "Check the docs for it here": "Zur Dokumentation", + "Are cronjobs running?": "Sind die Cronjobs gestartet?", + "Causer": "Verursacher", + "Description": "Beschreibung", + "Created at": "Erstellt am", + + "Edit Configuration": "Einstellungen bearbeiten", + "Text Field": "Textfeld", + "Cancel": "Abbrechen", + "Save": "Speichern", + "true": "wahr", + "false": "falsch", + + "Configurations": "Einstellungen", + "Dashboard": "Dashboard", + "Key": "Schlüssel", + "Value": "Wert", + "Type": "Typ" + +} diff --git a/resources/views/admin/activitylogs/index.blade.php b/resources/views/admin/activitylogs/index.blade.php index 978e8c9c..6a49b5a0 100644 --- a/resources/views/admin/activitylogs/index.blade.php +++ b/resources/views/admin/activitylogs/index.blade.php @@ -6,12 +6,12 @@
-

Activity Logs

+

{{ __('Activity Logs')}}

@@ -32,8 +32,8 @@
@else
-

No recent activity from cronjobs

-

Are cronjobs running? Check the docs for it here

+

{{ __('No recent activity from cronjobs')}}

+

{{ __('Are cronjobs running?')}} {{ __('Check the docs for it here')}}

@endif @@ -42,7 +42,7 @@
-
Activity Logs
+
{{ __('Activity Logs')}}
@@ -63,16 +63,16 @@ - - - + + + @foreach($logs as $log) -
CauserDescriptionCreated At{{ __('Causer') }}{{ __('Description') }}{{ __('Created at') }}
@if($log->causer) {{json_decode($log->causer)->name}} - @else + @if($log->causer) {{json_decode($log->causer)->name}} + @else System @endif diff --git a/resources/views/admin/configurations/editModel.blade.php b/resources/views/admin/configurations/editModel.blade.php index b040c2f0..e2dde89c 100644 --- a/resources/views/admin/configurations/editModel.blade.php +++ b/resources/views/admin/configurations/editModel.blade.php @@ -8,14 +8,14 @@ @method('PATCH')