1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 14:12:44 +01:00

Localization fixes

This commit is contained in:
Hillel Coren 2017-12-07 14:06:28 +02:00
parent d1cb62b444
commit 20341aaf88
2 changed files with 3 additions and 2 deletions

View File

@ -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',
);

View File

@ -17,7 +17,7 @@
<div class="panel-body form-padding-right">
{{--- 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'] : '') !!}