From 7bc465f6dc03186accb2aff7cfad5e0f920ff881 Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Thu, 6 Oct 2022 14:55:33 +1100 Subject: [PATCH] Fixed grammatical errors --- public/js/settings.js | 4 ++-- resources/views/admin/users.blade.php | 4 ++-- resources/views/auth/login.blade.php | 4 ++-- resources/views/auth/register.blade.php | 20 ++++++++++---------- resources/views/invite/index.blade.php | 8 ++++---- resources/views/misc/settings.blade.php | 10 +++++----- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/public/js/settings.js b/public/js/settings.js index 3f57644..67d43d0 100644 --- a/public/js/settings.js +++ b/public/js/settings.js @@ -16,9 +16,9 @@ function openPopup(id) { active = 2; setActiveSetting(2); document.querySelector('.popup .email_change').removeAttribute('id'); - document.querySelector('.popup #heading').innerHTML = "Change E-Mail"; + document.querySelector('.popup #heading').innerHTML = "Change Email"; document.querySelector('.popup .warningtext').innerHTML = null; - document.querySelector('.popup #desc').innerHTML = "Enter your new E-Mail below as well as confirming it.
E-Mails are primarily used to reset passwords."; + document.querySelector('.popup #desc').innerHTML = "Enter your new Email below as well as confirming it.
Emails are primarily used to reset passwords."; break; case 3: active = 3; diff --git a/resources/views/admin/users.blade.php b/resources/views/admin/users.blade.php index a9f73fa..6a75881 100644 --- a/resources/views/admin/users.blade.php +++ b/resources/views/admin/users.blade.php @@ -294,9 +294,9 @@

Username: {{ $user->name }}

@if ($user->admin) -

E-Mail: Admin E-Mail Hidden

+

Email: Admin Email Hidden

@else -

E-Mail: {{ $user->email }}

+

Email: {{ $user->email }}

@endif

ID: {{ $user->id }}

DOB: {{ Carbon\Carbon::parse($user->dob)->format('d/m/Y') }}

diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 3f58b4c..981ef71 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -14,7 +14,7 @@
@csrf -

Username/E-Mail Address

+

Username or Email Address

@if ($errors->has('name') || $errors->has('email')) @@ -39,7 +39,7 @@ @if (Route::has('password.request'))

- Forgot Your Password? + Forgot your password? @endif diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index 3a527f5..cda4687 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -12,7 +12,7 @@

Welcome to ARCHBLOX!

Have an account already? Click here to log in.


-

Before entering anything, please read the Privacy Policy and the Before signing up, please read the Privacy Policy and the Terms of Service.


@@ -20,21 +20,21 @@

Username

-

Usernames must be 3-20 characters, and must not break the rules.

+

Usernames must be 3-20 alphanumeric characters and can include underscores, dashes, points, and spaces.

@error('name')
{{ $message }}
@enderror
-

E-Mail Address

+

Email Address

@error('email')
{{ $message }}
@enderror -

Confirm E-Mail Address

+

Confirm Email Address

@error('email_confirmation') @@ -53,8 +53,8 @@

Password

-

Don't reuse or use weak passwords!

-

Recommend to be 8 or more characters, with atleast 1 capital letter, 1 symbol and 1 number.

+

Don't reuse passwords, or use weak passwords!

+

Passwords must be 8 or more characters with at least 1 capital letter, 1 symbol, and 1 number.

@error('password')
{{ $message }} @@ -65,12 +65,12 @@ @error('key')
- Incorrect invite key. + Invalid invite key! The invite key may be inactive or it no longer exists.
@enderror -

An Invite Key is required to sign up. You can obtain one from a person that has played ARCHBLOX.

-

Don't beg for keys.

+

An Invite Key is required to sign up. You can obtain one from a person that has an ARCHBLOX Account.

+

Don't bother random people for keys, or beg for one.


- + @endsection \ No newline at end of file diff --git a/resources/views/invite/index.blade.php b/resources/views/invite/index.blade.php index a0bc897..7609623 100644 --- a/resources/views/invite/index.blade.php +++ b/resources/views/invite/index.blade.php @@ -25,15 +25,15 @@ @foreach ($data['fetchKeys'] as $fKey)
-

Invite Key - @if (!$fKey->active) +

Invite Key | @if (!$fKey->active) You Invited: {{ App\Models\User::find($fKey->user_invited)->name }} - - + | @endif Created {{ $fKey->created_at->format('d/m/Y') }}

@if ($fKey->active) -
Status: Active
+
Active
@else -
Status: Inactive
+
Inactive
@endif
{{ $fKey->key }}
diff --git a/resources/views/misc/settings.blade.php b/resources/views/misc/settings.blade.php index 3330e7a..1ea3df0 100644 --- a/resources/views/misc/settings.blade.php +++ b/resources/views/misc/settings.blade.php @@ -41,10 +41,10 @@
@@ -127,7 +127,7 @@ style="flex-wrap: wrap; flex-direction: row-reverse; width: 50%; text-align: end; align-content: flex-end;">

Username: {{ Auth::user()->name }}

-

E-Mail: {{ Auth::user()->email }}

Date of Birth: {{ Auth::user()->dob }}