From 20341aaf881736b23fddf948683c377cb39afa97 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 7 Dec 2017 14:06:28 +0200 Subject: [PATCH] Localization fixes --- resources/lang/fr/texts.php | 1 + resources/views/partials/system_settings.blade.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/lang/fr/texts.php b/resources/lang/fr/texts.php index ae54a797c5..eba2080240 100644 --- a/resources/lang/fr/texts.php +++ b/resources/lang/fr/texts.php @@ -2515,6 +2515,7 @@ Lorsque les montant apparaîtront sur votre relevé, veuillez revenir sur cette 'self_host_login' => 'Self-Host Login', 'set_self_hoat_url' => 'Self-Host URL', 'local_storage_required' => 'Error: local storage is not available.', + 'none' => 'None', ); diff --git a/resources/views/partials/system_settings.blade.php b/resources/views/partials/system_settings.blade.php index f58728da04..77331408ab 100644 --- a/resources/views/partials/system_settings.blade.php +++ b/resources/views/partials/system_settings.blade.php @@ -17,7 +17,7 @@
{{--- Former::select('database[default]')->label('driver')->options(['mysql' => 'MySQL', 'pgsql' => 'PostgreSQL', 'sqlite' => 'SQLite']) ->value(isset($_ENV['DB_TYPE']) ? $_ENV['DB_TYPE'] : 'mysql') ---}} - {!! Former::plaintext('Driver')->value('MySQL') !!} + {!! Former::plaintext('driver')->value('MySQL') !!} {!! Former::text('database[type][host]')->label('host')->value(isset($_ENV['DB_HOST']) ? $_ENV['DB_HOST'] : 'localhost') !!} {!! Former::text('database[type][database]')->label('database')->value(isset($_ENV['DB_DATABASE']) ? $_ENV['DB_DATABASE'] : 'ninja') !!} {!! Former::text('database[type][username]')->label('username')->value(isset($_ENV['DB_USERNAME']) ? $_ENV['DB_USERNAME'] : 'ninja') !!} @@ -46,7 +46,7 @@ {!! Former::text('mail[port]')->label('port') ->value(isset($_ENV['MAIL_PORT']) ? $_ENV['MAIL_PORT'] : '587') !!} {!! Former::select('mail[encryption]')->label('encryption') - ->options(['tls' => 'TLS', 'ssl' => 'SSL', '' => 'None']) + ->options(['tls' => 'TLS', 'ssl' => 'SSL', '' => trans('texts.none')]) ->value(isset($_ENV['MAIL_ENCRYPTION']) ? $_ENV['MAIL_ENCRYPTION'] : 'tls') !!} {!! Former::password('mail[password]')->label('password') ->value(isset($_ENV['MAIL_PASSWORD']) ? $_ENV['MAIL_PASSWORD'] : '') !!}