From 9d5e3cd3c765e350a3796fae8f61b692cf9cee8f Mon Sep 17 00:00:00 2001 From: Dominik Hebeler <dominik@suma-ev.de> Date: Tue, 11 May 2021 07:31:47 +0000 Subject: [PATCH] Added translation --- resources/lang/de/settings.php | 2 ++ resources/lang/en/settings.php | 2 ++ resources/views/settings/index.blade.php | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/lang/de/settings.php b/resources/lang/de/settings.php index 3925e423a..407d2c6a0 100644 --- a/resources/lang/de/settings.php +++ b/resources/lang/de/settings.php @@ -36,6 +36,8 @@ return [ 'off' => 'Aus', 'on' => 'An', + 'more' => 'Weitere Einstellungen', + // Translations from the settings overview 'noSettings' => 'Aktuell sind keine Einstellungen gesetzt!', 'allSettings.header' => 'Auf :root gesetzte Einstellungen', diff --git a/resources/lang/en/settings.php b/resources/lang/en/settings.php index d45aec158..8ae9eb546 100644 --- a/resources/lang/en/settings.php +++ b/resources/lang/en/settings.php @@ -36,6 +36,8 @@ return [ 'off' => 'off', 'on' => 'on', + 'more' => 'Weitere Einstellungen', + // Translations from the settings overview 'noSettings' => "Currently no settings are set!", 'allSettings.header' => "Settings on :root", diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.php index f7546d11e..51361b85e 100644 --- a/resources/views/settings/index.blade.php +++ b/resources/views/settings/index.blade.php @@ -124,7 +124,7 @@ <div class="card-light"> - <h2>Weitere Einstellungen</h2> + <h2>@lang('settings.more')</h2> <p>@lang('settings.hint')</p> <form id="setting-form" action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), route('enableSetting')) }}" method="post" class="form"> <input type="hidden" name="fokus" value="{{ $fokus }}"> -- GitLab