translations on the User Creation page

This commit is contained in:
akemidx 2023-02-01 20:32:16 -05:00
parent 0ffd40a217
commit 69c38bf686
2 changed files with 11 additions and 7 deletions

View file

@ -41,4 +41,9 @@ return [
'remote' => 'Remote',
'remote_help' => 'This can be useful if you need to filter by remote users who never or rarely come into your physical locations.',
'not_remote_label' => 'This is not a remote user',
'create_user' => 'Create a user',
'create_user_page_explaination' => 'This is the account information you will use to access the site for the first time.',
'email_credentials' => 'Email credentials',
'email_credentials_text' => 'Email my credentials to the email address above',
'next_save_user' => 'Next: Save User',
];

View file

@ -1,15 +1,14 @@
@extends('layouts/setup')
{{-- TODO: Translate --}}
{{-- Page title --}}
{{ trans('admin/user/table.createuser') }}
@section('title')
Create a User ::
{{ trans('admin/user/general.create_user') }} ::
@parent
@stop
{{-- Page content --}}
@section('content')
<p> This is the account information you'll use to access the site for the first time. </p>
<p>{{ trans('admin/user/general.create_user_page_explaination') }}</p>
<form action="{{ route('setup.user.save') }}" method="POST">
{{ csrf_field() }}
@ -157,10 +156,10 @@ Create a User ::
<!-- Email credentials -->
<div class="form-group col-lg-12">
<label>Email credentials</label>
<label>{{ trans('admin/user/general.email_credentials') }}</label>
<div class="checkbox">
<label>
<input type="checkbox" value="1" name="email_creds">Email my credentials to the email address above
<input type="checkbox" value="1" name="email_creds">{{ trans('admin/user/general.email_credentials_text') }}
</label>
</div>
</div>
@ -168,7 +167,7 @@ Create a User ::
@stop
@section('button')
<button class="btn btn-primary">Next: Save User</button>
<button class="btn btn-primary">{{ trans('admin/user/general.next_save_user') }}</button>
</form>
@parent
@stop