From 69c38bf686f756968d2a4a25a4c2005a2152d4c2 Mon Sep 17 00:00:00 2001 From: akemidx Date: Wed, 1 Feb 2023 20:32:16 -0500 Subject: [PATCH 1/3] translations on the User Creation page --- resources/lang/en/admin/users/general.php | 5 +++++ resources/views/setup/user.blade.php | 13 ++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/resources/lang/en/admin/users/general.php b/resources/lang/en/admin/users/general.php index daa568e8bf..e845ed09b7 100644 --- a/resources/lang/en/admin/users/general.php +++ b/resources/lang/en/admin/users/general.php @@ -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', ]; diff --git a/resources/views/setup/user.blade.php b/resources/views/setup/user.blade.php index eaa74fb857..b6ff3293dc 100644 --- a/resources/views/setup/user.blade.php +++ b/resources/views/setup/user.blade.php @@ -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') -

This is the account information you'll use to access the site for the first time.

+

{{ trans('admin/user/general.create_user_page_explaination') }}

{{ csrf_field() }} @@ -157,10 +156,10 @@ Create a User ::
- +
@@ -168,7 +167,7 @@ Create a User :: @stop @section('button') - +
@parent @stop From dfc2aa35f41575a67e77c378c2582566404f9c6a Mon Sep 17 00:00:00 2001 From: akemidx <116301219+akemidx@users.noreply.github.com> Date: Fri, 17 Feb 2023 12:51:58 -0500 Subject: [PATCH 2/3] Update general.php --- resources/lang/en/admin/users/general.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lang/en/admin/users/general.php b/resources/lang/en/admin/users/general.php index 96e283c159..d58a0bc673 100644 --- a/resources/lang/en/admin/users/general.php +++ b/resources/lang/en/admin/users/general.php @@ -42,8 +42,8 @@ return [ '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.', + 'create_user_page_explanation' => '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', -]; \ No newline at end of file +]; From f33b6a3e26316a2a1c0a89c02079c39a7f937d91 Mon Sep 17 00:00:00 2001 From: akemidx <116301219+akemidx@users.noreply.github.com> Date: Fri, 17 Feb 2023 12:52:54 -0500 Subject: [PATCH 3/3] Update user.blade.php --- resources/views/setup/user.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/setup/user.blade.php b/resources/views/setup/user.blade.php index b6ff3293dc..a45d37a3e0 100644 --- a/resources/views/setup/user.blade.php +++ b/resources/views/setup/user.blade.php @@ -8,7 +8,7 @@ {{-- Page content --}} @section('content') -

{{ trans('admin/user/general.create_user_page_explaination') }}

+

{{ trans('admin/user/general.create_user_page_explanation') }}

{{ csrf_field() }}